Table of Contents

Class BlockoutDate

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

Attributes for the BlockoutDate resource.

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

Constructors

BlockoutDate()

public BlockoutDate()

BlockoutDate(BlockoutDate)

protected BlockoutDate(BlockoutDate original)

Parameters

original BlockoutDate

Properties

EndsAt

End time as a 'wall-clock' timestamp

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

Property Value

DateTime?

EndsAtUtc

Planning Center does not provide a description for this attribute.

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

Property Value

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

GroupIdentifier

Planning Center does not provide a description for this attribute.

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

Property Value

string

Reason

Planning Center does not provide a description for this attribute.

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

Property Value

string

Share

Planning Center does not provide a description for this attribute.

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

Property Value

bool?

StartsAt

Start time as a 'wall-clock' timestamp

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

Property Value

DateTime?

StartsAtUtc

Planning Center does not provide a description for this attribute.

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

Property Value

DateTime?

TimeZone

Planning Center does not provide a description for this attribute.

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

Property Value

string

Methods

Equals(BlockoutDate?)

public virtual bool Equals(BlockoutDate? other)

Parameters

other BlockoutDate

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

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

Parameters

left BlockoutDate
right BlockoutDate

Returns

bool

operator !=(BlockoutDate?, BlockoutDate?)

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

Parameters

left BlockoutDate
right BlockoutDate

Returns

bool