Table of Contents

Class StatusPage

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll
public record StatusPage : IStatusPage, IEquatable<StatusPage>
Inheritance
StatusPage
Implements
Inherited Members
Extension Methods

Constructors

StatusPage()

public StatusPage()

StatusPage(StatusPage)

protected StatusPage(StatusPage original)

Parameters

original StatusPage

Properties

Description

The description of the status page.

public string? Description { get; set; }

Property Value

string

DisplayOption

The display option of the status page.

public StatusPageDisplayOption DisplayOption { get; set; }

Property Value

StatusPageDisplayOption

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Id

public long Id { get; set; }

Property Value

long

IsInactiveResourcesHidden

If true, members in an inactive state will be hidden on the frontend.

public bool IsInactiveResourcesHidden { get; set; }

Property Value

bool

Members

The list of units associated with the status page.

public IEnumerable<IStatusPageMember>? Members { get; set; }

Property Value

IEnumerable<IStatusPageMember>

Name

The name of the status page.

public string? Name { get; set; }

Property Value

string

SortNumber

The sort number used to determine the order of status pages.

public int SortNumber { get; set; }

Property Value

int

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(StatusPage?)

public virtual bool Equals(StatusPage? other)

Parameters

other StatusPage

Returns

bool

GetGroups()

Retrieves the already used groups associated with the units in the status page.

public IEnumerable<string> GetGroups()

Returns

IEnumerable<string>

An enumerable collection of unique group names.

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

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

Parameters

left StatusPage
right StatusPage

Returns

bool

operator !=(StatusPage?, StatusPage?)

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

Parameters

left StatusPage
right StatusPage

Returns

bool