Table of Contents

Class EventResourceAnswerRelationships

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

Relationships for the EventResourceAnswer resource.

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

Constructors

EventResourceAnswerRelationships()

public EventResourceAnswerRelationships()

EventResourceAnswerRelationships(EventResourceAnswerRelationships)

protected EventResourceAnswerRelationships(EventResourceAnswerRelationships original)

Parameters

original EventResourceAnswerRelationships

Properties

CreatedBy

Related CreatedBy resource.

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

Property Value

JsonApiRelationship<PersonResource>

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EventResourceRequest

Related EventResourceRequest resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("event_resource_request")]
public JsonApiRelationship<EventResourceRequestResource>? EventResourceRequest { get; init; }

Property Value

JsonApiRelationship<EventResourceRequestResource>

ResourceQuestion

Related ResourceQuestion resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("resource_question")]
public JsonApiRelationship<ResourceQuestionResource>? ResourceQuestion { get; init; }

Property Value

JsonApiRelationship<ResourceQuestionResource>

UpdatedBy

Related UpdatedBy resource.

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

Property Value

JsonApiRelationship<PersonResource>

Methods

Equals(EventResourceAnswerRelationships?)

public virtual bool Equals(EventResourceAnswerRelationships? other)

Parameters

other EventResourceAnswerRelationships

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

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

Parameters

left EventResourceAnswerRelationships
right EventResourceAnswerRelationships

Returns

bool

operator !=(EventResourceAnswerRelationships?, EventResourceAnswerRelationships?)

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

Parameters

left EventResourceAnswerRelationships
right EventResourceAnswerRelationships

Returns

bool