Table of Contents

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

original ResourceApprovalGroup

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

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

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

string

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

DateTime?

Methods

Equals(ResourceApprovalGroup?)

public virtual bool Equals(ResourceApprovalGroup? other)

Parameters

other ResourceApprovalGroup

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

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

Parameters

left ResourceApprovalGroup
right ResourceApprovalGroup

Returns

bool

operator !=(ResourceApprovalGroup?, ResourceApprovalGroup?)

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

Parameters

left ResourceApprovalGroup
right ResourceApprovalGroup

Returns

bool