Table of Contents

Class RoomSetup

Namespace
Crews.PlanningCenter.Api.Calendar.V2018_08_01
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

original RoomSetup

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

DateTime?

Description

A description of the room setup

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

Property Value

string

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

Image

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

string

DiagramUrl

Path to where room setup is stored

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

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

The name of the room setup

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

Property Value

string

UpdatedAt

UTC time at which the room setup was updated

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

Property Value

DateTime?

Methods

Equals(RoomSetup?)

public virtual bool Equals(RoomSetup? other)

Parameters

other RoomSetup

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

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

Parameters

left RoomSetup
right RoomSetup

Returns

bool

operator !=(RoomSetup?, RoomSetup?)

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

Parameters

left RoomSetup
right RoomSetup

Returns

bool