Class WorkflowStepAssigneeSummaryClient
- Namespace
- Crews.PlanningCenter.Api.People.V2019_01_14
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the WorkflowStepAssigneeSummary resource.
public class WorkflowStepAssigneeSummaryClient : SingletonResourceClient<WorkflowStepAssigneeSummary, WorkflowStepAssigneeSummaryResource, WorkflowStepAssigneeSummaryResponse>
- Inheritance
-
SingletonResourceClient<WorkflowStepAssigneeSummary, WorkflowStepAssigneeSummaryResource, WorkflowStepAssigneeSummaryResponse>WorkflowStepAssigneeSummaryClient
- Inherited Members
Constructors
WorkflowStepAssigneeSummaryClient(HttpClient, Uri)
Client for interacting with the WorkflowStepAssigneeSummary resource.
public WorkflowStepAssigneeSummaryClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Properties
Person
Associated Person.
public PersonClient Person { get; }
Property Value
Methods
GetAsync(CancellationToken)
Fetches the WorkflowStepAssigneeSummary resource asynchronously.
public Task<WorkflowStepAssigneeSummaryResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<WorkflowStepAssigneeSummaryResponse>
A task representing the asynchronous operation, containing the WorkflowStepAssigneeSummary resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
IncludePerson()
Include related Person resources in the response.
public WorkflowStepAssigneeSummaryClient IncludePerson()