Table of Contents

Class StatusView

Namespace
idunno.Bluesky.Actor
Assembly
idunno.Bluesky.dll

Provides a view over an actor's current status

public sealed record StatusView : IEquatable<StatusView>

Inheritance

Implements

Inherited Members

Constructors

StatusView(string, JsonNode, EmbeddedView?, IReadOnlyCollection<Label>?, DateTimeOffset?, bool?, bool?, AtUri?, Cid?)

Creates a new instance of idunno.Bluesky.Actor.StatusView.

[JsonConstructor]
public StatusView(string status, JsonNode record, EmbeddedView? embed, IReadOnlyCollection<Label>? labels, DateTimeOffset? expiresAt, bool? isActive, bool? isDisabled, AtUri? uri, Cid? cid)

Parameters

status string

The status for the account.

record JsonNode

A record associated with the status.

embed EmbeddedView?

An idunno.Bluesky.Embed.EmbeddedView associated with the status, if any.

labels IReadOnlyCollection<Label>?

A collection of idunno.AtProto.Labels.Labels associated with the status, if any.

expiresAt DateTimeOffset?

A System.DateTimeOffset when this status will expire, if any.

isActive bool?

A flag indicating whether the status has not expired. Only present when expiresAt was set.

isDisabled bool?

A flag indicating whether the status has been disabled by the service.

uri AtUri?

The idunno.AtProto.AtUri of the status, if any.

cid Cid?

The idunno.AtProto.Cid of the status, if any.

Exceptions

ArgumentNullException

Thrown when status or record is null.

StatusView(string, JsonNode, EmbeddedView?, IReadOnlyCollection<Label>?, DateTimeOffset?, bool?, bool?, AtUri?, Cid?)

Creates a new instance of idunno.Bluesky.Actor.StatusView.

[JsonConstructor]
public StatusView(string status, JsonNode record, EmbeddedView? embed, IReadOnlyCollection<Label>? labels, DateTimeOffset? expiresAt, bool? isActive, bool? isDisabled, AtUri? uri, Cid? cid)

Parameters

status string

The status for the account.

record JsonNode

A record associated with the status.

embed EmbeddedView?

An idunno.Bluesky.Embed.EmbeddedView associated with the status, if any.

labels IReadOnlyCollection<Label>?

A collection of idunno.AtProto.Labels.Labels associated with the status, if any.

expiresAt DateTimeOffset?

A System.DateTimeOffset when this status will expire, if any.

isActive bool?

A flag indicating whether the status has not expired. Only present when expiresAt was set.

isDisabled bool?

A flag indicating whether the status has been disabled by the service.

uri AtUri?

The idunno.AtProto.AtUri of the status, if any.

cid Cid?

The idunno.AtProto.Cid of the status, if any.

Exceptions

ArgumentNullException

Thrown when status or record is null.

StatusView(string, JsonNode, EmbeddedView?, IReadOnlyCollection<Label>?, DateTimeOffset?, bool?, bool?, AtUri?, Cid?)

Creates a new instance of idunno.Bluesky.Actor.StatusView.

[JsonConstructor]
public StatusView(string status, JsonNode record, EmbeddedView? embed, IReadOnlyCollection<Label>? labels, DateTimeOffset? expiresAt, bool? isActive, bool? isDisabled, AtUri? uri, Cid? cid)

Parameters

status string

The status for the account.

record JsonNode

A record associated with the status.

embed EmbeddedView?

An idunno.Bluesky.Embed.EmbeddedView associated with the status, if any.

labels IReadOnlyCollection<Label>?

A collection of idunno.AtProto.Labels.Labels associated with the status, if any.

expiresAt DateTimeOffset?

A System.DateTimeOffset when this status will expire, if any.

isActive bool?

A flag indicating whether the status has not expired. Only present when expiresAt was set.

isDisabled bool?

A flag indicating whether the status has been disabled by the service.

uri AtUri?

The idunno.AtProto.AtUri of the status, if any.

cid Cid?

The idunno.AtProto.Cid of the status, if any.

Exceptions

ArgumentNullException

Thrown when status or record is null.

Properties

Cid

Gets the idunno.AtProto.Cid of the idunno.Bluesky.Actor.StatusView.Status, if any.

public Cid? Cid { get; init; }

Property Value

Cid?

Cid

Gets the idunno.AtProto.Cid of the idunno.Bluesky.Actor.StatusView.Status, if any.

public Cid? Cid { get; init; }

Property Value

Cid?

Cid

Gets the idunno.AtProto.Cid of the idunno.Bluesky.Actor.StatusView.Status, if any.

public Cid? Cid { get; init; }

Property Value

Cid?

Embed

Gets the idunno.Bluesky.Embed.EmbeddedView associated with the idunno.Bluesky.Actor.StatusView.Status, if any.

public EmbeddedView? Embed { get; init; }

Property Value

EmbeddedView?

Embed

Gets the idunno.Bluesky.Embed.EmbeddedView associated with the idunno.Bluesky.Actor.StatusView.Status, if any.

public EmbeddedView? Embed { get; init; }

Property Value

EmbeddedView?

Embed

Gets the idunno.Bluesky.Embed.EmbeddedView associated with the idunno.Bluesky.Actor.StatusView.Status, if any.

public EmbeddedView? Embed { get; init; }

Property Value

EmbeddedView?

ExpiresAt

Gets the System.DateTimeOffset when the idunno.Bluesky.Actor.StatusView.Status will expire, if any.

public DateTimeOffset? ExpiresAt { get; init; }

Property Value

DateTimeOffset?

ExpiresAt

Gets the System.DateTimeOffset when the idunno.Bluesky.Actor.StatusView.Status will expire, if any.

public DateTimeOffset? ExpiresAt { get; init; }

Property Value

DateTimeOffset?

ExpiresAt

Gets the System.DateTimeOffset when the idunno.Bluesky.Actor.StatusView.Status will expire, if any.

public DateTimeOffset? ExpiresAt { get; init; }

Property Value

DateTimeOffset?

IsActive

Gets a flag indicating whether the idunno.Bluesky.Actor.StatusView.Status has not expired. Only present when idunno.Bluesky.Actor.StatusView.ExpiresAt was set.

public bool? IsActive { get; init; }

Property Value

bool?

IsActive

Gets a flag indicating whether the idunno.Bluesky.Actor.StatusView.Status has not expired. Only present when idunno.Bluesky.Actor.StatusView.ExpiresAt was set.

public bool? IsActive { get; init; }

Property Value

bool?

IsActive

Gets a flag indicating whether the idunno.Bluesky.Actor.StatusView.Status has not expired. Only present when idunno.Bluesky.Actor.StatusView.ExpiresAt was set.

public bool? IsActive { get; init; }

Property Value

bool?

IsDisabled

Gets a flag indicating whether the idunno.Bluesky.Actor.StatusView.Status has been disabled by the service.

public bool? IsDisabled { get; init; }

Property Value

bool?

IsDisabled

Gets a flag indicating whether the idunno.Bluesky.Actor.StatusView.Status has been disabled by the service.

public bool? IsDisabled { get; init; }

Property Value

bool?

IsDisabled

Gets a flag indicating whether the idunno.Bluesky.Actor.StatusView.Status has been disabled by the service.

public bool? IsDisabled { get; init; }

Property Value

bool?

Labels

Gets the collection of idunno.AtProto.Labels.Labels associated with the idunno.Bluesky.Actor.StatusView.Status, if any.

public IReadOnlyCollection<Label> Labels { get; init; }

Property Value

IReadOnlyCollection<Label>

Labels

Gets the collection of idunno.AtProto.Labels.Labels associated with the idunno.Bluesky.Actor.StatusView.Status, if any.

public IReadOnlyCollection<Label> Labels { get; init; }

Property Value

IReadOnlyCollection<Label>

Labels

Gets the collection of idunno.AtProto.Labels.Labels associated with the idunno.Bluesky.Actor.StatusView.Status, if any.

public IReadOnlyCollection<Label> Labels { get; init; }

Property Value

IReadOnlyCollection<Label>

Record

Gets the record associated with the idunno.Bluesky.Actor.StatusView.Status.

[JsonRequired]
public JsonNode Record { get; init; }

Property Value

JsonNode

Record

Gets the record associated with the idunno.Bluesky.Actor.StatusView.Status.

[JsonRequired]
public JsonNode Record { get; init; }

Property Value

JsonNode

Record

Gets the record associated with the idunno.Bluesky.Actor.StatusView.Status.

[JsonRequired]
public JsonNode Record { get; init; }

Property Value

JsonNode

Status

Gets the status for the account.

[JsonRequired]
public string Status { get; init; }

Property Value

string

Status

Gets the status for the account.

[JsonRequired]
public string Status { get; init; }

Property Value

string

Status

Gets the status for the account.

[JsonRequired]
public string Status { get; init; }

Property Value

string

Uri

Gets the idunno.AtProto.AtUri of the idunno.Bluesky.Actor.StatusView.Status, if any.

public AtUri? Uri { get; init; }

Property Value

AtUri?

Uri

Gets the idunno.AtProto.AtUri of the idunno.Bluesky.Actor.StatusView.Status, if any.

public AtUri? Uri { get; init; }

Property Value

AtUri?

Uri

Gets the idunno.AtProto.AtUri of the idunno.Bluesky.Actor.StatusView.Status, if any.

public AtUri? Uri { get; init; }

Property Value

AtUri?

Methods

<Clone>$()

public StatusView <Clone>$()

Returns

StatusView

<Clone>$()

public StatusView <Clone>$()

Returns

StatusView

<Clone>$()

public StatusView <Clone>$()

Returns

StatusView

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(StatusView?)

public bool Equals(StatusView? other)

Parameters

other StatusView?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(StatusView?)

public bool Equals(StatusView? other)

Parameters

other StatusView?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(StatusView?)

public bool Equals(StatusView? other)

Parameters

other StatusView?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(StatusView?, StatusView?)

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

Parameters

left StatusView?
right StatusView?

Returns

bool

operator ==(StatusView?, StatusView?)

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

Parameters

left StatusView?
right StatusView?

Returns

bool

operator ==(StatusView?, StatusView?)

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

Parameters

left StatusView?
right StatusView?

Returns

bool

operator !=(StatusView?, StatusView?)

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

Parameters

left StatusView?
right StatusView?

Returns

bool

operator !=(StatusView?, StatusView?)

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

Parameters

left StatusView?
right StatusView?

Returns

bool

operator !=(StatusView?, StatusView?)

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

Parameters

left StatusView?
right StatusView?

Returns

bool