Class PaginatedCustomSenderClient
- Namespace
- Crews.PlanningCenter.Api.People.V2023_02_15
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with CustomSender collection resources.
public class PaginatedCustomSenderClient : PaginatedResourceClient<CustomSender, CustomSenderResource, CustomSenderCollectionResponse, CustomSenderResponse>
- Inheritance
-
PaginatedResourceClient<CustomSender, CustomSenderResource, CustomSenderCollectionResponse, CustomSenderResponse>PaginatedCustomSenderClient
- Inherited Members
Constructors
PaginatedCustomSenderClient(HttpClient, Uri)
Client for interacting with CustomSender collection resources.
public PaginatedCustomSenderClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches a paginated list of CustomSender resources asynchronously.
public Task<CustomSenderCollectionResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA 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
OrderByCreatedAtDescending()
Sort response items by the CreatedAt attribute. Use reverse order.
public CustomSenderClient OrderByCreatedAtDescending()
Returns
OrderByName()
Sort response items by the Name attribute.
public CustomSenderClient OrderByName()
Returns
OrderByNameDescending()
Sort response items by the Name attribute. Use reverse order.
public CustomSenderClient OrderByNameDescending()
Returns
OrderByUpdatedAt()
Sort response items by the UpdatedAt attribute.
public CustomSenderClient OrderByUpdatedAt()
Returns
OrderByUpdatedAtDescending()
Sort response items by the UpdatedAt attribute. Use reverse order.
public CustomSenderClient OrderByUpdatedAtDescending()
Returns
OrderByVerificationRequestedAt()
Sort response items by the VerificationRequestedAt attribute.
public CustomSenderClient OrderByVerificationRequestedAt()
Returns
OrderByVerificationRequestedAtDescending()
Sort response items by the VerificationRequestedAt attribute. Use reverse order.
public CustomSenderClient OrderByVerificationRequestedAtDescending()
Returns
OrderByVerifiedAt()
Sort response items by the VerifiedAt attribute.
public CustomSenderClient OrderByVerifiedAt()
Returns
OrderByVerifiedAtDescending()
Sort response items by the VerifiedAt attribute. Use reverse order.
public CustomSenderClient OrderByVerifiedAtDescending()
Returns
WithId(string)
Creates a new instance of a CustomSender client for a specific resource ID.
public CustomSenderClient WithId(string id)
Parameters
idstringThe ID of the resource to create a client for.
Returns
- CustomSenderClient
A new instance of the resource client for the specified resource ID.