Table of Contents

Class EventResourceRequest

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

Attributes for the EventResourceRequest resource.

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

Constructors

EventResourceRequest()

public EventResourceRequest()

EventResourceRequest(EventResourceRequest)

protected EventResourceRequest(EventResourceRequest original)

Parameters

original EventResourceRequest

Properties

ApprovalSent

Whether or not an email has been sent to request approval

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("approval_sent")]
public bool? ApprovalSent { get; init; }

Property Value

bool?

ApprovalStatus

Possible values:
- A: approved
- P: pending
- R: rejected

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("approval_status")]
public string? ApprovalStatus { get; init; }

Property Value

string

CreatedAt

UTC time at which request 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

Notes

Additional information about the room or resource request

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("notes")]
public string? Notes { get; init; }

Property Value

string

Quantity

How many of the rooms or resources are being requested

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

Property Value

int?

UpdatedAt

UTC time at which request was updated

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

Property Value

DateTime?

VisibleOnKiosks

Whether this resource request is visible on kiosks

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("visible_on_kiosks")]
public bool? VisibleOnKiosks { get; init; }

Property Value

bool?

Methods

Equals(EventResourceRequest?)

public virtual bool Equals(EventResourceRequest? other)

Parameters

other EventResourceRequest

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

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

Parameters

left EventResourceRequest
right EventResourceRequest

Returns

bool

operator !=(EventResourceRequest?, EventResourceRequest?)

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

Parameters

left EventResourceRequest
right EventResourceRequest

Returns

bool