Class Message
- Namespace
- Crews.PlanningCenter.Api.People.V2023_02_15
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the Message resource.
public record Message : IEquatable<Message>
- Inheritance
-
Message
- Implements
- Inherited Members
Constructors
Message()
public Message()
Message(Message)
protected Message(Message original)
Parameters
originalMessage
Properties
AppName
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("app_name")]
public string? AppName { get; init; }
Property Value
BouncedAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("bounced_at")]
public DateTime? BouncedAt { get; init; }
Property Value
CreatedAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }
Property Value
DeliveryStatus
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("delivery_status")]
public string? DeliveryStatus { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
File
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("file")]
public File? File { get; init; }
Property Value
FromAddress
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("from_address")]
public string? FromAddress { get; init; }
Property Value
FromName
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("from_name")]
public string? FromName { get; init; }
Property Value
Kind
Possible values: email, sms, or church_center_message
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("kind")]
public string? Kind { get; init; }
Property Value
MessageType
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("message_type")]
public string? MessageType { get; init; }
Property Value
ReadAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("read_at")]
public DateTime? ReadAt { get; init; }
Property Value
RejectReason
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("reject_reason")]
public string? RejectReason { get; init; }
Property Value
RejectionNotificationSentAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("rejection_notification_sent_at")]
public DateTime? RejectionNotificationSentAt { get; init; }
Property Value
SentAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("sent_at")]
public DateTime? SentAt { get; init; }
Property Value
Subject
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("subject")]
public string? Subject { get; init; }
Property Value
ToAddresses
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("to_addresses")]
public string? ToAddresses { get; init; }
Property Value
Methods
Equals(Message?)
public virtual bool Equals(Message? other)
Parameters
otherMessage
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Message?, Message?)
public static bool operator ==(Message? left, Message? right)
Parameters
Returns
operator !=(Message?, Message?)
public static bool operator !=(Message? left, Message? right)