Table of Contents

Class ScheduleRelationships

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

Relationships for the Schedule resource.

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

Constructors

ScheduleRelationships()

public ScheduleRelationships()

ScheduleRelationships(ScheduleRelationships)

protected ScheduleRelationships(ScheduleRelationships original)

Parameters

original ScheduleRelationships

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Organization

Related Organization resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("organization")]
public JsonApiRelationship<OrganizationResource>? Organization { get; init; }

Property Value

JsonApiRelationship<OrganizationResource>

Person

Related Person resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("person")]
public JsonApiRelationship<PersonResource>? Person { get; init; }

Property Value

JsonApiRelationship<PersonResource>

Plan

Related Plan resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("plan")]
public JsonApiRelationship<PlanResource>? Plan { get; init; }

Property Value

JsonApiRelationship<PlanResource>

PlanPerson

Related PlanPerson resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("plan_person")]
public JsonApiRelationship<PlanPersonResource>? PlanPerson { get; init; }

Property Value

JsonApiRelationship<PlanPersonResource>

RespondsToPerson

Related RespondsToPerson resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("responds_to_person")]
public JsonApiRelationship<PersonResource>? RespondsToPerson { get; init; }

Property Value

JsonApiRelationship<PersonResource>

ServiceType

Related ServiceType resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("service_type")]
public JsonApiRelationship<ServiceTypeResource>? ServiceType { get; init; }

Property Value

JsonApiRelationship<ServiceTypeResource>

Team

Related Team resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("team")]
public JsonApiRelationship<TeamResource>? Team { get; init; }

Property Value

JsonApiRelationship<TeamResource>

Times

Related Times resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("times")]
public JsonApiCollectionRelationship<PlanTimeResource>? Times { get; init; }

Property Value

JsonApiCollectionRelationship<PlanTimeResource>

Methods

Equals(ScheduleRelationships?)

public virtual bool Equals(ScheduleRelationships? other)

Parameters

other ScheduleRelationships

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

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

Parameters

left ScheduleRelationships
right ScheduleRelationships

Returns

bool

operator !=(ScheduleRelationships?, ScheduleRelationships?)

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

Parameters

left ScheduleRelationships
right ScheduleRelationships

Returns

bool