Table of Contents

Class ServiceTime

Namespace
Crews.PlanningCenter.Api.People.V2022_01_05
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

original ServiceTime

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

string

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

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

other ServiceTime

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

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

Parameters

left ServiceTime
right ServiceTime

Returns

bool

operator !=(ServiceTime?, ServiceTime?)

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

Parameters

left ServiceTime
right ServiceTime

Returns

bool