Table of Contents

Class PlanTime

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

Attributes for the PlanTime resource.

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

Constructors

PlanTime()

public PlanTime()

PlanTime(PlanTime)

protected PlanTime(PlanTime original)

Parameters

original PlanTime

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?

EndsAt

Planned end time.

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

Property Value

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

LiveEndsAt

End time as recorded by Services LIVE.

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

Property Value

DateTime?

LiveStartsAt

Start time as recorded by Services LIVE.

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

Property Value

DateTime?

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

Recorded

Planning Center does not provide a description for this attribute.

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

Property Value

bool?

StartsAt

Planned start time.

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

Property Value

DateTime?

TeamReminders

A Hash that maps a Team ID to a reminder value. If nothing is specified, no reminder is set for that team. A reminder value is an integer (0-7) equal to the number of days before the selected time a reminder should be sent.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("team_reminders")]
public JsonArray? TeamReminders { get; init; }

Property Value

JsonArray

TimeType

Possible values are:

- rehearsal

- service

- other

[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(PlanTime?)

public virtual bool Equals(PlanTime? other)

Parameters

other PlanTime

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

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

Parameters

left PlanTime
right PlanTime

Returns

bool

operator !=(PlanTime?, PlanTime?)

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

Parameters

left PlanTime
right PlanTime

Returns

bool