Class PaginatedCheckInClient
- Namespace
- Crews.PlanningCenter.Api.CheckIns.V2019_07_17
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with CheckIn collection resources.
public class PaginatedCheckInClient : PaginatedResourceClient<CheckIn, CheckInResource, CheckInCollectionResponse, CheckInResponse>
- Inheritance
-
PaginatedCheckInClient
- Inherited Members
Constructors
PaginatedCheckInClient(HttpClient, Uri)
Client for interacting with CheckIn collection resources.
public PaginatedCheckInClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches a paginated list of CheckIn resources asynchronously.
public Task<CheckInCollectionResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<CheckInCollectionResponse>
A task representing the asynchronous operation, containing a paginated list of CheckIn resources.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
IncludeCheckInTimes()
Include related CheckInTimes resources in the response.
public CheckInClient IncludeCheckInTimes()
Returns
IncludeCheckedInAt()
Include related CheckedInAt resources in the response.
public CheckInClient IncludeCheckedInAt()
Returns
IncludeCheckedInBy()
Include related CheckedInBy resources in the response.
public CheckInClient IncludeCheckedInBy()
Returns
IncludeCheckedOutBy()
Include related CheckedOutBy resources in the response.
public CheckInClient IncludeCheckedOutBy()
Returns
IncludeEvent()
Include related Event resources in the response.
public CheckInClient IncludeEvent()
Returns
IncludeEventPeriod()
Include related EventPeriod resources in the response.
public CheckInClient IncludeEventPeriod()
Returns
IncludeEventTimes()
Include related EventTimes resources in the response.
public CheckInClient IncludeEventTimes()
Returns
IncludeLocations()
Include related Locations resources in the response.
public CheckInClient IncludeLocations()
Returns
IncludeOptions()
Include related Options resources in the response.
public CheckInClient IncludeOptions()
Returns
IncludePerson()
Include related Person resources in the response.
public CheckInClient IncludePerson()
Returns
OrderByCheckedOutAt()
Sort response items by the CheckedOutAt attribute.
public CheckInClient OrderByCheckedOutAt()
Returns
OrderByCheckedOutAtDescending()
Sort response items by the CheckedOutAt attribute. Use reverse order.
public CheckInClient OrderByCheckedOutAtDescending()
Returns
OrderByCreatedAt()
Sort response items by the CreatedAt attribute.
public CheckInClient OrderByCreatedAt()
Returns
OrderByCreatedAtDescending()
Sort response items by the CreatedAt attribute. Use reverse order.
public CheckInClient OrderByCreatedAtDescending()
Returns
OrderByFirstName()
Sort response items by the FirstName attribute.
public CheckInClient OrderByFirstName()
Returns
OrderByFirstNameDescending()
Sort response items by the FirstName attribute. Use reverse order.
public CheckInClient OrderByFirstNameDescending()
Returns
OrderByLastName()
Sort response items by the LastName attribute.
public CheckInClient OrderByLastName()
Returns
OrderByLastNameDescending()
Sort response items by the LastName attribute. Use reverse order.
public CheckInClient OrderByLastNameDescending()
Returns
OrderByNumber()
Sort response items by the Number attribute.
public CheckInClient OrderByNumber()
Returns
OrderByNumberDescending()
Sort response items by the Number attribute. Use reverse order.
public CheckInClient OrderByNumberDescending()
Returns
OrderByUpdatedAt()
Sort response items by the UpdatedAt attribute.
public CheckInClient OrderByUpdatedAt()
Returns
OrderByUpdatedAtDescending()
Sort response items by the UpdatedAt attribute. Use reverse order.
public CheckInClient OrderByUpdatedAtDescending()
Returns
WhereAccountCenterPersonId(int)
Query response items by the AccountCenterPersonId attribute.
public CheckInClient WhereAccountCenterPersonId(int value)
Parameters
valueint
Returns
WhereCreatedAt(DateTime)
Query response items by the CreatedAt attribute.
public CheckInClient WhereCreatedAt(DateTime value)
Parameters
valueDateTime
Returns
WhereSecurityCode(string)
Query response items by the SecurityCode attribute.
public CheckInClient WhereSecurityCode(string value)
Parameters
valuestring
Returns
WhereUpdatedAt(DateTime)
Query response items by the UpdatedAt attribute.
public CheckInClient WhereUpdatedAt(DateTime value)
Parameters
valueDateTime
Returns
WithId(string)
Creates a new instance of a CheckIn client for a specific resource ID.
public CheckInClient WithId(string id)
Parameters
idstringThe ID of the resource to create a client for.
Returns
- CheckInClient
A new instance of the resource client for the specified resource ID.