Table of Contents

Class Message

Namespace
Crews.PlanningCenter.Api.People.V2022_01_05
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

original Message

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

string

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

DateTime?

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

DateTime?

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

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

File

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("file")]
public File? File { get; init; }

Property Value

File

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

string

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

string

Kind

Possible values: email, sms, or church_center_message

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("kind")]
public string? Kind { get; init; }

Property Value

string

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

string

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

DateTime?

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

string

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

DateTime?

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

DateTime?

Subject

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("subject")]
public string? Subject { get; init; }

Property Value

string

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

string

Methods

Equals(Message?)

public virtual bool Equals(Message? other)

Parameters

other Message

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Message?, Message?)

public static bool operator ==(Message? left, Message? right)

Parameters

left Message
right Message

Returns

bool

operator !=(Message?, Message?)

public static bool operator !=(Message? left, Message? right)

Parameters

left Message
right Message

Returns

bool