Table of Contents

Class EventTime

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

Attributes for the EventTime resource.

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

Constructors

EventTime()

public EventTime()

EventTime(EventTime)

protected EventTime(EventTime original)

Parameters

original EventTime

Properties

EndsAt

UTC time at which the event time ends

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

Property Value

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

Name of the event time

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

Property Value

DateTime?

StartsAt

UTC time at which the event time starts

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

Property Value

DateTime?

VisibleOnKiosks

Set to true if the time is visible on kiosk

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

Property Value

bool?

VisibleOnWidgetAndIcal

Set to true if the time is visible on widget or iCal

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

Property Value

bool?

Methods

Equals(EventTime?)

public virtual bool Equals(EventTime? other)

Parameters

other EventTime

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

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

Parameters

left EventTime
right EventTime

Returns

bool

operator !=(EventTime?, EventTime?)

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

Parameters

left EventTime
right EventTime

Returns

bool