Table of Contents

Class PaginatedCustomSenderClient

Namespace
Crews.PlanningCenter.Api.People.V2023_03_21
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with CustomSender collection resources.

public class PaginatedCustomSenderClient : PaginatedResourceClient<CustomSender, CustomSenderResource, CustomSenderCollectionResponse, CustomSenderResponse>
Inheritance
PaginatedCustomSenderClient
Inherited Members

Constructors

PaginatedCustomSenderClient(HttpClient, Uri)

Client for interacting with CustomSender collection resources.

public PaginatedCustomSenderClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches a paginated list of CustomSender resources asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<CustomSenderCollectionResponse>

A task representing the asynchronous operation, containing a paginated list of CustomSender resources.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

OrderByCreatedAt()

Sort response items by the CreatedAt attribute.

public CustomSenderClient OrderByCreatedAt()

Returns

CustomSenderClient

OrderByCreatedAtDescending()

Sort response items by the CreatedAt attribute. Use reverse order.

public CustomSenderClient OrderByCreatedAtDescending()

Returns

CustomSenderClient

OrderByName()

Sort response items by the Name attribute.

public CustomSenderClient OrderByName()

Returns

CustomSenderClient

OrderByNameDescending()

Sort response items by the Name attribute. Use reverse order.

public CustomSenderClient OrderByNameDescending()

Returns

CustomSenderClient

OrderByUpdatedAt()

Sort response items by the UpdatedAt attribute.

public CustomSenderClient OrderByUpdatedAt()

Returns

CustomSenderClient

OrderByUpdatedAtDescending()

Sort response items by the UpdatedAt attribute. Use reverse order.

public CustomSenderClient OrderByUpdatedAtDescending()

Returns

CustomSenderClient

OrderByVerificationRequestedAt()

Sort response items by the VerificationRequestedAt attribute.

public CustomSenderClient OrderByVerificationRequestedAt()

Returns

CustomSenderClient

OrderByVerificationRequestedAtDescending()

Sort response items by the VerificationRequestedAt attribute. Use reverse order.

public CustomSenderClient OrderByVerificationRequestedAtDescending()

Returns

CustomSenderClient

OrderByVerifiedAt()

Sort response items by the VerifiedAt attribute.

public CustomSenderClient OrderByVerifiedAt()

Returns

CustomSenderClient

OrderByVerifiedAtDescending()

Sort response items by the VerifiedAt attribute. Use reverse order.

public CustomSenderClient OrderByVerifiedAtDescending()

Returns

CustomSenderClient

WithId(string)

Creates a new instance of a CustomSender client for a specific resource ID.

public CustomSenderClient WithId(string id)

Parameters

id string

The ID of the resource to create a client for.

Returns

CustomSenderClient

A new instance of the resource client for the specified resource ID.