Table of Contents

Class TimePreferenceOption

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

Attributes for the TimePreferenceOption resource.

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

Constructors

TimePreferenceOption()

public TimePreferenceOption()

TimePreferenceOption(TimePreferenceOption)

protected TimePreferenceOption(TimePreferenceOption original)

Parameters

original TimePreferenceOption

Properties

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?

DayOfWeek

Planning Center does not provide a description for this attribute.

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

Property Value

int?

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

MinuteOfDay

0 for 12:00 am, 1 for 12:01 am, 100 for 1:00 am, through 2359 for 11:59pm

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

Property Value

int?

SortIndex

Planning Center does not provide a description for this attribute.

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

Property Value

string

StartsAt

Planning Center does not provide a description for this attribute.

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

Property Value

DateTime?

TimeType

Planning Center does not provide a description for this attribute.

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

public virtual bool Equals(TimePreferenceOption? other)

Parameters

other TimePreferenceOption

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

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

Parameters

left TimePreferenceOption
right TimePreferenceOption

Returns

bool

operator !=(TimePreferenceOption?, TimePreferenceOption?)

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

Parameters

left TimePreferenceOption
right TimePreferenceOption

Returns

bool