Class RoomSetup
- Namespace
- Crews.PlanningCenter.Api.Calendar.V2020_04_08
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the RoomSetup resource.
public record RoomSetup : IEquatable<RoomSetup>
- Inheritance
-
RoomSetup
- Implements
- Inherited Members
Constructors
RoomSetup()
public RoomSetup()
RoomSetup(RoomSetup)
protected RoomSetup(RoomSetup original)
Parameters
originalRoomSetup
Properties
CreatedAt
UTC time at which the room setup was created
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }
Property Value
Description
A description of the room setup
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
Diagram
An object containing url and thumbnail.url is path to where room setup is stored.thumbnail contains url path to where thumbnail is stored.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("diagram")]
public Image? Diagram { get; init; }
Property Value
DiagramThumbnailUrl
Path to where thumbnail version of room setup is stored
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("diagram_thumbnail_url")]
public string? DiagramThumbnailUrl { get; init; }
Property Value
DiagramUrl
Path to where room setup is stored
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("diagram_url")]
public string? DiagramUrl { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
The name of the room setup
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
UpdatedAt
UTC time at which the room setup was updated
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }
Property Value
Methods
Equals(RoomSetup?)
public virtual bool Equals(RoomSetup? other)
Parameters
otherRoomSetup
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 ==(RoomSetup?, RoomSetup?)
public static bool operator ==(RoomSetup? left, RoomSetup? right)
Parameters
Returns
operator !=(RoomSetup?, RoomSetup?)
public static bool operator !=(RoomSetup? left, RoomSetup? right)