Class ResourceApprovalGroup
- Namespace
- Crews.PlanningCenter.Api.Calendar.V2022_07_07
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the ResourceApprovalGroup resource.
public record ResourceApprovalGroup : IEquatable<ResourceApprovalGroup>
- Inheritance
-
ResourceApprovalGroup
- Implements
- Inherited Members
Constructors
ResourceApprovalGroup()
public ResourceApprovalGroup()
ResourceApprovalGroup(ResourceApprovalGroup)
protected ResourceApprovalGroup(ResourceApprovalGroup original)
Parameters
originalResourceApprovalGroup
Properties
CreatedAt
UTC time at which the approval group was created
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
FormCount
Only available when requested with the ?fields param
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("form_count")]
public int? FormCount { get; init; }
Property Value
- int?
Name
Name of the approval group
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
ResourceCount
The number of resources in the approval group
Only available when requested with the ?fields param
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("resource_count")]
public int? ResourceCount { get; init; }
Property Value
- int?
RoomCount
The number of rooms in the approval group
Only available when requested with the ?fields param
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("room_count")]
public int? RoomCount { get; init; }
Property Value
- int?
UpdatedAt
UTC time at which the approval group was updated
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }
Property Value
Methods
Equals(ResourceApprovalGroup?)
public virtual bool Equals(ResourceApprovalGroup? other)
Parameters
otherResourceApprovalGroup
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 ==(ResourceApprovalGroup?, ResourceApprovalGroup?)
public static bool operator ==(ResourceApprovalGroup? left, ResourceApprovalGroup? right)
Parameters
leftResourceApprovalGrouprightResourceApprovalGroup
Returns
operator !=(ResourceApprovalGroup?, ResourceApprovalGroup?)
public static bool operator !=(ResourceApprovalGroup? left, ResourceApprovalGroup? right)
Parameters
leftResourceApprovalGrouprightResourceApprovalGroup