Table of Contents

Class PaginatedAttachmentActivityClient

Namespace
Crews.PlanningCenter.Api.Services.V2018_11_01
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with AttachmentActivity collection resources.

public class PaginatedAttachmentActivityClient : PaginatedResourceClient<AttachmentActivity, AttachmentActivityResource, AttachmentActivityCollectionResponse, AttachmentActivityResponse>
Inheritance
PaginatedAttachmentActivityClient
Inherited Members

Constructors

PaginatedAttachmentActivityClient(HttpClient, Uri)

Client for interacting with AttachmentActivity collection resources.

public PaginatedAttachmentActivityClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches a paginated list of AttachmentActivity resources asynchronously.

public Task<AttachmentActivityCollectionResponse> GetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.