Class EventTime
- Namespace
- Crews.PlanningCenter.Api.Calendar.V2020_04_08
- 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
originalEventTime
Properties
EndsAt
UTC time at which the event time ends
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("ends_at")]
public DateTime? EndsAt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
Name of the event time
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public DateTime? Name { get; init; }
Property Value
StartsAt
UTC time at which the event time starts
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("starts_at")]
public DateTime? StartsAt { get; init; }
Property Value
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
otherEventTime
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 ==(EventTime?, EventTime?)
public static bool operator ==(EventTime? left, EventTime? right)
Parameters
Returns
operator !=(EventTime?, EventTime?)
public static bool operator !=(EventTime? left, EventTime? right)