Class PaginatedRsvpClient
- Namespace
- Crews.PlanningCenter.Api.Groups.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with Rsvp collection resources.
public class PaginatedRsvpClient : PaginatedResourceClient<Rsvp, RsvpResource, RsvpCollectionResponse, RsvpResponse>
- Inheritance
-
PaginatedRsvpClient
- Inherited Members
Constructors
PaginatedRsvpClient(HttpClient, Uri)
Client for interacting with Rsvp collection resources.
public PaginatedRsvpClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches a paginated list of Rsvp resources asynchronously.
public Task<RsvpCollectionResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<RsvpCollectionResponse>
A task representing the asynchronous operation, containing a paginated list of Rsvp resources.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
OrderByResponse()
Sort response items by the Response attribute.
public RsvpClient OrderByResponse()
Returns
OrderByResponseDescending()
Sort response items by the Response attribute. Use reverse order.
public RsvpClient OrderByResponseDescending()
Returns
WhereResponse(string)
Query response items by the Response attribute.
public RsvpClient WhereResponse(string value)
Parameters
valuestring