Table of Contents

Class ResourceSuggestion

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

Attributes for the ResourceSuggestion resource.

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

Constructors

ResourceSuggestion()

public ResourceSuggestion()

ResourceSuggestion(ResourceSuggestion)

protected ResourceSuggestion(ResourceSuggestion original)

Parameters

original ResourceSuggestion

Properties

CreatedAt

UTC time at which the suggestion was created

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }

Property Value

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Quantity

How many resources should be requested

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("quantity")]
public int? Quantity { get; init; }

Property Value

int?

UpdatedAt

UTC time at which the suggestion was updated

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }

Property Value

DateTime?

Methods

Equals(ResourceSuggestion?)

public virtual bool Equals(ResourceSuggestion? other)

Parameters

other ResourceSuggestion

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

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

Parameters

left ResourceSuggestion
right ResourceSuggestion

Returns

bool

operator !=(ResourceSuggestion?, ResourceSuggestion?)

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

Parameters

left ResourceSuggestion
right ResourceSuggestion

Returns

bool