upvest v0.1.1 Upvest.Tenancy.Asset View Source
Handles operations related to Assets.
You can:
- Retrieve an asset
- List all assets
- List specific number of assets
For more details see https://doc.upvest.co/reference#assets
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
list(client)
View Sourcelist(Upvest.Client.t()) :: {:ok, [Upvest.Tenancy.Asset.t()]} | {:error, Upvest.error()}
List all Asset
Link to this function
list_n(client, count)
View Sourcelist_n(Upvest.Client.t(), non_neg_integer()) :: {:ok, [Upvest.Tenancy.Asset.t()]} | {:error, Upvest.error()}
List specific number of Asset
Link to this function
retrieve(client, id)
View Sourceretrieve(Upvest.Client.t(), binary()) :: {:ok, Upvest.Tenancy.Asset.t()} | {:error, Upvest.error()}
Retrive a(n) Asset by its ID