Class PaginatedMessageGroupClient
- Namespace
- Crews.PlanningCenter.Api.People.V2025_07_17
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with MessageGroup collection resources.
public class PaginatedMessageGroupClient : PaginatedResourceClient<MessageGroup, MessageGroupResource, MessageGroupCollectionResponse, MessageGroupResponse>
- Inheritance
-
PaginatedResourceClient<MessageGroup, MessageGroupResource, MessageGroupCollectionResponse, MessageGroupResponse>PaginatedMessageGroupClient
- Inherited Members
Constructors
PaginatedMessageGroupClient(HttpClient, Uri)
Client for interacting with MessageGroup collection resources.
public PaginatedMessageGroupClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches a paginated list of MessageGroup resources asynchronously.
public Task<MessageGroupCollectionResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<MessageGroupCollectionResponse>
A task representing the asynchronous operation, containing a paginated list of MessageGroup resources.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
IncludeApp()
Include related App resources in the response.
public MessageGroupClient IncludeApp()
Returns
IncludeFrom()
Include related From resources in the response.
public MessageGroupClient IncludeFrom()
Returns
IncludeMessages()
Include related Messages resources in the response.
public MessageGroupClient IncludeMessages()
Returns
OrderByContainsUserGeneratedContent()
Sort response items by the ContainsUserGeneratedContent attribute.
public MessageGroupClient OrderByContainsUserGeneratedContent()
Returns
OrderByContainsUserGeneratedContentDescending()
Sort response items by the ContainsUserGeneratedContent attribute. Use reverse order.
public MessageGroupClient OrderByContainsUserGeneratedContentDescending()
Returns
OrderByCreatedAt()
Sort response items by the CreatedAt attribute.
public MessageGroupClient OrderByCreatedAt()
Returns
OrderByCreatedAtDescending()
Sort response items by the CreatedAt attribute. Use reverse order.
public MessageGroupClient OrderByCreatedAtDescending()
Returns
OrderByFromAddress()
Sort response items by the FromAddress attribute.
public MessageGroupClient OrderByFromAddress()
Returns
OrderByFromAddressDescending()
Sort response items by the FromAddress attribute. Use reverse order.
public MessageGroupClient OrderByFromAddressDescending()
Returns
OrderByMessageCount()
Sort response items by the MessageCount attribute.
public MessageGroupClient OrderByMessageCount()
Returns
OrderByMessageCountDescending()
Sort response items by the MessageCount attribute. Use reverse order.
public MessageGroupClient OrderByMessageCountDescending()
Returns
OrderByMessageType()
Sort response items by the MessageType attribute.
public MessageGroupClient OrderByMessageType()
Returns
OrderByMessageTypeDescending()
Sort response items by the MessageType attribute. Use reverse order.
public MessageGroupClient OrderByMessageTypeDescending()
Returns
OrderByReplyToAddress()
Sort response items by the ReplyToAddress attribute.
public MessageGroupClient OrderByReplyToAddress()
Returns
OrderByReplyToAddressDescending()
Sort response items by the ReplyToAddress attribute. Use reverse order.
public MessageGroupClient OrderByReplyToAddressDescending()
Returns
OrderByReplyToName()
Sort response items by the ReplyToName attribute.
public MessageGroupClient OrderByReplyToName()
Returns
OrderByReplyToNameDescending()
Sort response items by the ReplyToName attribute. Use reverse order.
public MessageGroupClient OrderByReplyToNameDescending()
Returns
OrderBySubject()
Sort response items by the Subject attribute.
public MessageGroupClient OrderBySubject()
Returns
OrderBySubjectDescending()
Sort response items by the Subject attribute. Use reverse order.
public MessageGroupClient OrderBySubjectDescending()
Returns
OrderBySystemMessage()
Sort response items by the SystemMessage attribute.
public MessageGroupClient OrderBySystemMessage()
Returns
OrderBySystemMessageDescending()
Sort response items by the SystemMessage attribute. Use reverse order.
public MessageGroupClient OrderBySystemMessageDescending()
Returns
OrderByTransactionalMessage()
Sort response items by the TransactionalMessage attribute.
public MessageGroupClient OrderByTransactionalMessage()
Returns
OrderByTransactionalMessageDescending()
Sort response items by the TransactionalMessage attribute. Use reverse order.
public MessageGroupClient OrderByTransactionalMessageDescending()
Returns
OrderByUuid()
Sort response items by the Uuid attribute.
public MessageGroupClient OrderByUuid()
Returns
OrderByUuidDescending()
Sort response items by the Uuid attribute. Use reverse order.
public MessageGroupClient OrderByUuidDescending()
Returns
WhereContainsUserGeneratedContent(bool)
Query response items by the ContainsUserGeneratedContent attribute.
public MessageGroupClient WhereContainsUserGeneratedContent(bool value)
Parameters
valuebool
Returns
WhereCreatedAt(DateTime)
Query response items by the CreatedAt attribute.
public MessageGroupClient WhereCreatedAt(DateTime value)
Parameters
valueDateTime
Returns
WhereFromAddress(string)
Query response items by the FromAddress attribute.
public MessageGroupClient WhereFromAddress(string value)
Parameters
valuestring
Returns
WhereMessageCount(int)
Query response items by the MessageCount attribute.
public MessageGroupClient WhereMessageCount(int value)
Parameters
valueint
Returns
WhereMessageType(string)
Query response items by the MessageType attribute.
public MessageGroupClient WhereMessageType(string value)
Parameters
valuestring
Returns
WhereReplyToAddress(string)
Query response items by the ReplyToAddress attribute.
public MessageGroupClient WhereReplyToAddress(string value)
Parameters
valuestring
Returns
WhereReplyToName(string)
Query response items by the ReplyToName attribute.
public MessageGroupClient WhereReplyToName(string value)
Parameters
valuestring
Returns
WhereSubject(string)
Query response items by the Subject attribute.
public MessageGroupClient WhereSubject(string value)
Parameters
valuestring
Returns
WhereSystemMessage(bool)
Query response items by the SystemMessage attribute.
public MessageGroupClient WhereSystemMessage(bool value)
Parameters
valuebool
Returns
WhereTransactionalMessage(bool)
Query response items by the TransactionalMessage attribute.
public MessageGroupClient WhereTransactionalMessage(bool value)
Parameters
valuebool
Returns
WhereUuid(string)
Query response items by the Uuid attribute.
public MessageGroupClient WhereUuid(string value)
Parameters
valuestring
Returns
WithId(string)
Creates a new instance of a MessageGroup client for a specific resource ID.
public MessageGroupClient WithId(string id)
Parameters
idstringThe ID of the resource to create a client for.
Returns
- MessageGroupClient
A new instance of the resource client for the specified resource ID.