Class PaginatedAttachmentActivityClient
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with AttachmentActivity collection resources.
public class PaginatedAttachmentActivityClient : PaginatedResourceClient<AttachmentActivity, AttachmentActivityResource, AttachmentActivityCollectionResponse, AttachmentActivityResponse>
- Inheritance
-
PaginatedResourceClient<AttachmentActivity, AttachmentActivityResource, AttachmentActivityCollectionResponse, AttachmentActivityResponse>PaginatedAttachmentActivityClient
- Inherited Members
Constructors
PaginatedAttachmentActivityClient(HttpClient, Uri)
Client for interacting with AttachmentActivity collection resources.
public PaginatedAttachmentActivityClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches a paginated list of AttachmentActivity resources asynchronously.
public Task<AttachmentActivityCollectionResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<AttachmentActivityCollectionResponse>
A task representing the asynchronous operation, containing a paginated list of AttachmentActivity resources.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.