Interface IAssetPage
Inherited Members
Namespace: Unity.Cloud.Assets
Syntax
public interface IAssetPage : IPagedResponse<IAsset>
Properties
Organization
Implement this property to return the organization id of the page.
Declaration
IOrganization Organization { get; }
Property Value
| Type | Description |
|---|---|
| IOrganization |
Project
Implement this property to return the project id of the page.
Declaration
IProject Project { get; }
Property Value
| Type | Description |
|---|---|
| IProject |
Methods
GetNextAsync<TAsset>(CancellationToken)
Implement this method to return the next set of assets.
Declaration
Task<IAssetPage> GetNextAsync<TAsset>(CancellationToken token)
where TAsset : IAsset, new()
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | token | The cancellation token |
Returns
| Type | Description |
|---|---|
| Task<IAssetPage> | A task whose result is an IAssetPage. |
Type Parameters
| Name | Description |
|---|---|
| TAsset |