Class Calendar
- Namespace
- Crews.PlanningCenter.Api.Calendar.V2020_04_08
- 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
originalCalendar
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
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
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
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
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
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
Methods
Equals(Calendar?)
public virtual bool Equals(Calendar? other)
Parameters
otherCalendar
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 ==(Calendar?, Calendar?)
public static bool operator ==(Calendar? left, Calendar? right)
Parameters
Returns
operator !=(Calendar?, Calendar?)
public static bool operator !=(Calendar? left, Calendar? right)