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
originalEventResourceRequest
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
CreatedAt
UTC time at which request was created
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Notes
Additional information about the room or resource request
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("notes")]
public string? Notes { get; init; }
Property Value
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
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
otherEventResourceRequest
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(EventResourceRequest?, EventResourceRequest?)
public static bool operator ==(EventResourceRequest? left, EventResourceRequest? right)
Parameters
leftEventResourceRequestrightEventResourceRequest
Returns
operator !=(EventResourceRequest?, EventResourceRequest?)
public static bool operator !=(EventResourceRequest? left, EventResourceRequest? right)
Parameters
leftEventResourceRequestrightEventResourceRequest