Table of Contents

Class SavedFeed

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

Encapsulates feed preferences for an actor

public sealed record SavedFeed : IEquatable<SavedFeed>

Inheritance

Implements

Inherited Members

Constructors

SavedFeed(string, SavedFeedPreferenceType, string, bool)

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

public SavedFeed(string id, SavedFeedPreferenceType type, string value, bool pinned)

Parameters

id string

The identifier of the feed preference.

type SavedFeedPreferenceType

The type of the feed preference.

value string

The value of the feed preference.

pinned bool

A flag indicating whether the feed is pinned.

Exceptions

ArgumentNullException

Thrown when id or value is null.

ArgumentOutOfRangeException

Thrown when type is idunno.Bluesky.Actor.SavedFeedPreferenceType.Unknown.

SavedFeed(string, SavedFeedPreferenceType, string, bool)

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

public SavedFeed(string id, SavedFeedPreferenceType type, string value, bool pinned)

Parameters

id string

The identifier of the feed preference.

type SavedFeedPreferenceType

The type of the feed preference.

value string

The value of the feed preference.

pinned bool

A flag indicating whether the feed is pinned.

Exceptions

ArgumentNullException

Thrown when id or value is null.

ArgumentOutOfRangeException

Thrown when type is idunno.Bluesky.Actor.SavedFeedPreferenceType.Unknown.

SavedFeed(string, SavedFeedPreferenceType, string, bool)

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

public SavedFeed(string id, SavedFeedPreferenceType type, string value, bool pinned)

Parameters

id string

The identifier of the feed preference.

type SavedFeedPreferenceType

The type of the feed preference.

value string

The value of the feed preference.

pinned bool

A flag indicating whether the feed is pinned.

Exceptions

ArgumentNullException

Thrown when id or value is null.

ArgumentOutOfRangeException

Thrown when type is idunno.Bluesky.Actor.SavedFeedPreferenceType.Unknown.

Properties

Id

Gets the identifier of the feed preference.

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

Property Value

string

Id

Gets the identifier of the feed preference.

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

Property Value

string

Id

Gets the identifier of the feed preference.

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

Property Value

string

Pinned

Gets a flag indicating whether the feed is pinned.

[JsonRequired]
public bool Pinned { get; init; }

Property Value

bool

Pinned

Gets a flag indicating whether the feed is pinned.

[JsonRequired]
public bool Pinned { get; init; }

Property Value

bool

Pinned

Gets a flag indicating whether the feed is pinned.

[JsonRequired]
public bool Pinned { get; init; }

Property Value

bool

Type

Gets the type of the feed preference.

[JsonIgnore]
public SavedFeedPreferenceType Type { get; }

Property Value

SavedFeedPreferenceType

Remarks

A type this library does not recognize is reported as idunno.Bluesky.Actor.SavedFeedPreferenceType.Unknown.

Type

Gets the type of the feed preference.

[JsonIgnore]
public SavedFeedPreferenceType Type { get; }

Property Value

SavedFeedPreferenceType

Remarks

A type this library does not recognize is reported as idunno.Bluesky.Actor.SavedFeedPreferenceType.Unknown.

Type

Gets the type of the feed preference.

[JsonIgnore]
public SavedFeedPreferenceType Type { get; }

Property Value

SavedFeedPreferenceType

Remarks

A type this library does not recognize is reported as idunno.Bluesky.Actor.SavedFeedPreferenceType.Unknown.

Value

Gets the value of the feed preference.

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

Property Value

string

Value

Gets the value of the feed preference.

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

Property Value

string

Value

Gets the value of the feed preference.

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

Property Value

string

Methods

<Clone>$()

public SavedFeed <Clone>$()

Returns

SavedFeed

<Clone>$()

public SavedFeed <Clone>$()

Returns

SavedFeed

<Clone>$()

public SavedFeed <Clone>$()

Returns

SavedFeed

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(SavedFeed?)

public bool Equals(SavedFeed? other)

Parameters

other SavedFeed?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(SavedFeed?)

public bool Equals(SavedFeed? other)

Parameters

other SavedFeed?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(SavedFeed?)

public bool Equals(SavedFeed? other)

Parameters

other SavedFeed?

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

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

Parameters

left SavedFeed?
right SavedFeed?

Returns

bool

operator ==(SavedFeed?, SavedFeed?)

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

Parameters

left SavedFeed?
right SavedFeed?

Returns

bool

operator ==(SavedFeed?, SavedFeed?)

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

Parameters

left SavedFeed?
right SavedFeed?

Returns

bool

operator !=(SavedFeed?, SavedFeed?)

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

Parameters

left SavedFeed?
right SavedFeed?

Returns

bool

operator !=(SavedFeed?, SavedFeed?)

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

Parameters

left SavedFeed?
right SavedFeed?

Returns

bool

operator !=(SavedFeed?, SavedFeed?)

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

Parameters

left SavedFeed?
right SavedFeed?

Returns

bool