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
originalResourceFolder
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
CreatedAt
UTC time at which the folder was created
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Kind
The type of folder, can either be Room or Resource
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("kind")]
public string? Kind { get; init; }
Property Value
Name
The folder name
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
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
UpdatedAt
UTC time at which the folder was updated
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }
Property Value
Methods
Equals(ResourceFolder?)
public virtual bool Equals(ResourceFolder? other)
Parameters
otherResourceFolder
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 ==(ResourceFolder?, ResourceFolder?)
public static bool operator ==(ResourceFolder? left, ResourceFolder? right)
Parameters
leftResourceFolderrightResourceFolder
Returns
operator !=(ResourceFolder?, ResourceFolder?)
public static bool operator !=(ResourceFolder? left, ResourceFolder? right)
Parameters
leftResourceFolderrightResourceFolder