Class PaginatedWorkflowAssigneeSummaryClient
- Namespace
- Crews.PlanningCenter.Api.People.V2025_03_20
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with WorkflowAssigneeSummary collection resources.
public class PaginatedWorkflowAssigneeSummaryClient : PaginatedResourceClient<WorkflowAssigneeSummary, WorkflowAssigneeSummaryResource, WorkflowAssigneeSummaryCollectionResponse, WorkflowAssigneeSummaryResponse>
- Inheritance
-
PaginatedResourceClient<WorkflowAssigneeSummary, WorkflowAssigneeSummaryResource, WorkflowAssigneeSummaryCollectionResponse, WorkflowAssigneeSummaryResponse>PaginatedWorkflowAssigneeSummaryClient
- Inherited Members
Constructors
PaginatedWorkflowAssigneeSummaryClient(HttpClient, Uri)
Client for interacting with WorkflowAssigneeSummary collection resources.
public PaginatedWorkflowAssigneeSummaryClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
AddCustomParameter(string, string)
Adds a custom query parameter to the request URI.
public PaginatedWorkflowAssigneeSummaryClient AddCustomParameter(string parameter, string value)
Parameters
Returns
- PaginatedWorkflowAssigneeSummaryClient
The current PaginatedWorkflowAssigneeSummaryClient instance.
ClearParameters()
Removes the entire query string from the request URI.
public PaginatedWorkflowAssigneeSummaryClient ClearParameters()
Returns
- PaginatedWorkflowAssigneeSummaryClient
The current PaginatedWorkflowAssigneeSummaryClient instance.
Filter(string)
Adds a filter query parameter to the request.
public PaginatedWorkflowAssigneeSummaryClient Filter(string filter)
Parameters
filterstringThe filter criteria.
Returns
- PaginatedWorkflowAssigneeSummaryClient
The current PaginatedWorkflowAssigneeSummaryClient instance.
Remarks
See Planning Center API documentation for details on supported filter values for this resource.
GetAsync(CancellationToken)
Fetches a paginated list of WorkflowAssigneeSummary resources asynchronously.
public Task<WorkflowAssigneeSummaryCollectionResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<WorkflowAssigneeSummaryCollectionResponse>
A task representing the asynchronous operation, containing a paginated list of WorkflowAssigneeSummary resources.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
Offset(int)
Sets the item offset in the paginated response.
public PaginatedWorkflowAssigneeSummaryClient Offset(int count)
Parameters
countintThe number of items to skip.
Returns
- PaginatedWorkflowAssigneeSummaryClient
The current PaginatedWorkflowAssigneeSummaryClient instance.
OrderByFirstName()
Sort response items by the FirstName attribute.
public WorkflowAssigneeSummaryClient OrderByFirstName()
Returns
OrderByFirstNameDescending()
Sort response items by the FirstName attribute. Use reverse order.
public WorkflowAssigneeSummaryClient OrderByFirstNameDescending()
Returns
OrderByLastName()
Sort response items by the LastName attribute.
public WorkflowAssigneeSummaryClient OrderByLastName()
Returns
OrderByLastNameDescending()
Sort response items by the LastName attribute. Use reverse order.
public WorkflowAssigneeSummaryClient OrderByLastNameDescending()
Returns
OrderByName()
Sort response items by the Name attribute.
public WorkflowAssigneeSummaryClient OrderByName()
Returns
OrderByNameDescending()
Sort response items by the Name attribute. Use reverse order.
public WorkflowAssigneeSummaryClient OrderByNameDescending()
Returns
OrderByOverdueCount()
Sort response items by the OverdueCount attribute.
public WorkflowAssigneeSummaryClient OrderByOverdueCount()
Returns
OrderByOverdueCountDescending()
Sort response items by the OverdueCount attribute. Use reverse order.
public WorkflowAssigneeSummaryClient OrderByOverdueCountDescending()
Returns
OrderByReadyCount()
Sort response items by the ReadyCount attribute.
public WorkflowAssigneeSummaryClient OrderByReadyCount()
Returns
OrderByReadyCountDescending()
Sort response items by the ReadyCount attribute. Use reverse order.
public WorkflowAssigneeSummaryClient OrderByReadyCountDescending()
Returns
OrderBySnoozedCount()
Sort response items by the SnoozedCount attribute.
public WorkflowAssigneeSummaryClient OrderBySnoozedCount()
Returns
OrderBySnoozedCountDescending()
Sort response items by the SnoozedCount attribute. Use reverse order.
public WorkflowAssigneeSummaryClient OrderBySnoozedCountDescending()
Returns
PerPage(int)
Sets the number of items to be returned per page in the paginated response.
public PaginatedWorkflowAssigneeSummaryClient PerPage(int count)
Parameters
countintThe number of items to be returned per page.
Returns
- PaginatedWorkflowAssigneeSummaryClient
The current PaginatedWorkflowAssigneeSummaryClient instance.
WithId(string)
Creates a new instance of a WorkflowAssigneeSummary client for a specific resource ID.
public WorkflowAssigneeSummaryClient WithId(string id)
Parameters
idstringThe ID of the resource to create a client for.
Returns
- WorkflowAssigneeSummaryClient
A new instance of the resource client for the specified resource ID.