Table of Contents

Class Calendar

Namespace
Crews.PlanningCenter.Api.Calendar.V2021_07_20
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the Calendar resource.

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

Constructors

Calendar()

public Calendar()

Calendar(Calendar)

protected Calendar(Calendar original)

Parameters

original Calendar

Properties

Access

Planning Center does not provide a description for this attribute.

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

Property Value

string

AccessRestricted

Planning Center does not provide a description for this attribute.

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

Property Value

bool?

Color

Possible values: blue, aqua, teal, green, yellow, orange, pink, purple, magenta, indigo, aqua_bold, teal_bold, orange_bold, magenta_bold, blue_bold, green_bold, yellow_bold, pink_bold, purple_bold, or indigo_bold

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

Property Value

string

ConfirmableEventCount

The number of pending events that would confirm if the calendar stopped requiring approval

Only available when requested with the ?fields param

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("confirmable_event_count")]
public int? ConfirmableEventCount { get; init; }

Property Value

int?

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?

Default

Planning Center does not provide a description for this attribute.

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

Property Value

bool?

Description

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { 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

RequiresApproval

Planning Center does not provide a description for this attribute.

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

Property Value

bool?

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(Calendar?)

public virtual bool Equals(Calendar? other)

Parameters

other Calendar

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

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

Parameters

left Calendar
right Calendar

Returns

bool

operator !=(Calendar?, Calendar?)

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

Parameters

left Calendar
right Calendar

Returns

bool