Table of Contents

Class ResourceFolder

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

Attributes for the ResourceFolder resource.

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

Constructors

ResourceFolder()

public ResourceFolder()

ResourceFolder(ResourceFolder)

protected ResourceFolder(ResourceFolder original)

Parameters

original ResourceFolder

Properties

Ancestry

Planning Center does not provide a description for this attribute.

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

Property Value

string

CreatedAt

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

Kind

The type of folder, can either be Room or Resource

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

Property Value

string

Name

The folder name

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

Property Value

string

PathName

A string representing the location of the folder if it is nested.

Each parent folder is separated by /

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

Property Value

string

UpdatedAt

UTC time at which the folder was updated

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

Property Value

DateTime?

Methods

Equals(ResourceFolder?)

public virtual bool Equals(ResourceFolder? other)

Parameters

other ResourceFolder

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

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

Parameters

left ResourceFolder
right ResourceFolder

Returns

bool

operator !=(ResourceFolder?, ResourceFolder?)

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

Parameters

left ResourceFolder
right ResourceFolder

Returns

bool