Table of Contents

Class PlanPerson

Namespace
Crews.PlanningCenter.Api.Services.V2018_11_01
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the PlanPerson resource.

public record PlanPerson : IEquatable<PlanPerson>
Inheritance
PlanPerson
Implements
Inherited Members

Constructors

PlanPerson()

public PlanPerson()

PlanPerson(PlanPerson)

protected PlanPerson(PlanPerson original)

Parameters

original PlanPerson

Properties

CanAcceptPartial

If the person is scheduled to a split team where they could potentially accept 1 time and decline another.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("can_accept_partial")]
public bool? CanAcceptPartial { get; init; }

Property Value

bool?

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?

DeclineReason

Planning Center does not provide a description for this attribute.

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

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

Planning Center does not provide a description for this attribute.

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

Property Value

string

Notes

Planning Center does not provide a description for this attribute.

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

Property Value

string

NotificationChangedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("notification_changed_at")]
public DateTime? NotificationChangedAt { get; init; }

Property Value

DateTime?

NotificationChangedByName

Planning Center does not provide a description for this attribute.

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

Property Value

string

NotificationPreparedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("notification_prepared_at")]
public DateTime? NotificationPreparedAt { get; init; }

Property Value

DateTime?

NotificationReadAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("notification_read_at")]
public DateTime? NotificationReadAt { get; init; }

Property Value

DateTime?

NotificationSenderName

Planning Center does not provide a description for this attribute.

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

Property Value

string

NotificationSentAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("notification_sent_at")]
public DateTime? NotificationSentAt { get; init; }

Property Value

DateTime?

PhotoThumbnail

Planning Center does not provide a description for this attribute.

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

Property Value

string

PrepareNotification

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("prepare_notification")]
public bool? PrepareNotification { get; init; }

Property Value

bool?

ScheduledByIsEligibleForRespondsTo

Only available when requested with the ?fields param

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("scheduled_by_is_eligible_for_responds_to")]
public bool? ScheduledByIsEligibleForRespondsTo { get; init; }

Property Value

bool?

ScheduledByName

Only available when requested with the ?fields param

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

Property Value

string

Status

Accepts one of 'C', 'U', 'D', or 'Confirmed', 'Unconfirmed', or 'Declined'

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

Property Value

string

StatusUpdatedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("status_updated_at")]
public DateTime? StatusUpdatedAt { get; init; }

Property Value

DateTime?

TeamPositionName

Planning Center does not provide a description for this attribute.

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

Property Value

string

UpdatedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }

Property Value

DateTime?

Methods

Equals(PlanPerson?)

public virtual bool Equals(PlanPerson? other)

Parameters

other PlanPerson

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 ==(PlanPerson?, PlanPerson?)

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

Parameters

left PlanPerson
right PlanPerson

Returns

bool

operator !=(PlanPerson?, PlanPerson?)

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

Parameters

left PlanPerson
right PlanPerson

Returns

bool