Class ServiceTime
- Namespace
- Crews.PlanningCenter.Api.People.V2025_07_17
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the ServiceTime resource.
public record ServiceTime : IEquatable<ServiceTime>
- Inheritance
-
ServiceTime
- Implements
- Inherited Members
Constructors
ServiceTime()
public ServiceTime()
ServiceTime(ServiceTime)
protected ServiceTime(ServiceTime original)
Parameters
originalServiceTime
Properties
Day
Possible values: sunday, monday, tuesday, wednesday, thursday, friday, or saturday
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("day")]
public string? Day { get; init; }
Property Value
Description
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
StartTime
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("start_time")]
public int? StartTime { get; init; }
Property Value
- int?
Methods
Equals(ServiceTime?)
public virtual bool Equals(ServiceTime? other)
Parameters
otherServiceTime
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 ==(ServiceTime?, ServiceTime?)
public static bool operator ==(ServiceTime? left, ServiceTime? right)
Parameters
leftServiceTimerightServiceTime
Returns
operator !=(ServiceTime?, ServiceTime?)
public static bool operator !=(ServiceTime? left, ServiceTime? right)
Parameters
leftServiceTimerightServiceTime