Class AssetPage
Syntax
public abstract class AssetPage : PagedResponse<IAsset>, IAssetPage, IPagedResponse<IAsset>
Constructors
AssetPage(IAsset[], String, IAssetPage)
Declaration
protected AssetPage(IAsset[] assets, string nextPageToken, IAssetPage previousPage)
Parameters
AssetPage(IOrganization, IProject, IAsset[], String, IPagedResponse<IAsset>, Int32)
Declaration
protected AssetPage(IOrganization organization, IProject project, IAsset[] assets, string nextPageToken, IPagedResponse<IAsset> previousPage = null, int pageEndIndex = -1)
Parameters
Properties
Organization
Implement this property to return the organization id of the page.
Declaration
public IOrganization Organization { get; }
Property Value
Implements
Project
Implement this property to return the project id of the page.
Declaration
public IProject Project { get; }
Property Value
Implements
Methods
GetNextAsync<TAsset>(CancellationToken)
Implement this method to return the next set of assets.
Declaration
public abstract Task<IAssetPage> GetNextAsync<TAsset>(CancellationToken token)
where TAsset : IAsset, new()
Parameters
Returns
Type Parameters
Implements