Table of Contents

Class SavedFeedsPreference

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

Encapsulates feed preferences for an actor

public record SavedFeedsPreference : Preference, IEquatable<Preference>, IEquatable<SavedFeedsPreference>

Inheritance

Implements

Inherited Members

Constructors

SavedFeedsPreference(ICollection<AtUri>, ICollection<AtUri>, int?)

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

[JsonConstructor]
public SavedFeedsPreference(ICollection<AtUri> saved, ICollection<AtUri> pinned, int? timelineIndex)

Parameters

saved ICollection<AtUri>

A list of idunno.AtProto.AtUris of feeds that the actor has saved.

pinned ICollection<AtUri>

A list of idunno.AtProto.AtUris of feeds that the actor has pinned.

timelineIndex int?

The user's timeline index, if any.

Exceptions

ArgumentNullException

Thrown when saved or pinned is null.

SavedFeedsPreference(SavedFeedsPreference)

protected SavedFeedsPreference(SavedFeedsPreference original)

Parameters

original SavedFeedsPreference

SavedFeedsPreference(ICollection<AtUri>, ICollection<AtUri>, int?)

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

[JsonConstructor]
public SavedFeedsPreference(ICollection<AtUri> saved, ICollection<AtUri> pinned, int? timelineIndex)

Parameters

saved ICollection<AtUri>

A list of idunno.AtProto.AtUris of feeds that the actor has saved.

pinned ICollection<AtUri>

A list of idunno.AtProto.AtUris of feeds that the actor has pinned.

timelineIndex int?

The user's timeline index, if any.

Exceptions

ArgumentNullException

Thrown when saved or pinned is null.

SavedFeedsPreference(SavedFeedsPreference)

protected SavedFeedsPreference(SavedFeedsPreference original)

Parameters

original SavedFeedsPreference

SavedFeedsPreference(ICollection<AtUri>, ICollection<AtUri>, int?)

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

[JsonConstructor]
public SavedFeedsPreference(ICollection<AtUri> saved, ICollection<AtUri> pinned, int? timelineIndex)

Parameters

saved ICollection<AtUri>

A list of idunno.AtProto.AtUris of feeds that the actor has saved.

pinned ICollection<AtUri>

A list of idunno.AtProto.AtUris of feeds that the actor has pinned.

timelineIndex int?

The user's timeline index, if any.

Exceptions

ArgumentNullException

Thrown when saved or pinned is null.

SavedFeedsPreference(SavedFeedsPreference)

protected SavedFeedsPreference(SavedFeedsPreference original)

Parameters

original SavedFeedsPreference

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Pinned

A read only list of idunno.AtProto.AtUris of feeds that the actor has pinned.

[JsonRequired]
public ICollection<AtUri> Pinned { get; init; }

Property Value

ICollection<AtUri>

Exceptions

ArgumentNullException

Thrown when the value set is null.

Pinned

A read only list of idunno.AtProto.AtUris of feeds that the actor has pinned.

[JsonRequired]
public ICollection<AtUri> Pinned { get; init; }

Property Value

ICollection<AtUri>

Exceptions

ArgumentNullException

Thrown when the value set is null.

Pinned

A read only list of idunno.AtProto.AtUris of feeds that the actor has pinned.

[JsonRequired]
public ICollection<AtUri> Pinned { get; init; }

Property Value

ICollection<AtUri>

Exceptions

ArgumentNullException

Thrown when the value set is null.

Saved

A read only list of idunno.AtProto.AtUris of feeds that the actor has saved.

[JsonRequired]
public ICollection<AtUri> Saved { get; init; }

Property Value

ICollection<AtUri>

Exceptions

ArgumentNullException

Thrown when the value set is null.

Saved

A read only list of idunno.AtProto.AtUris of feeds that the actor has saved.

[JsonRequired]
public ICollection<AtUri> Saved { get; init; }

Property Value

ICollection<AtUri>

Exceptions

ArgumentNullException

Thrown when the value set is null.

Saved

A read only list of idunno.AtProto.AtUris of feeds that the actor has saved.

[JsonRequired]
public ICollection<AtUri> Saved { get; init; }

Property Value

ICollection<AtUri>

Exceptions

ArgumentNullException

Thrown when the value set is null.

TimelineIndex

The user's timeline index, if any.

public int? TimelineIndex { get; init; }

Property Value

int?

TimelineIndex

The user's timeline index, if any.

public int? TimelineIndex { get; init; }

Property Value

int?

TimelineIndex

The user's timeline index, if any.

public int? TimelineIndex { get; init; }

Property Value

int?

Methods

<Clone>$()

public override SavedFeedsPreference <Clone>$()

Returns

SavedFeedsPreference

<Clone>$()

public override SavedFeedsPreference <Clone>$()

Returns

SavedFeedsPreference

<Clone>$()

public override SavedFeedsPreference <Clone>$()

Returns

SavedFeedsPreference

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Preference?)

public override sealed bool Equals(Preference? other)

Parameters

other Preference?

Returns

bool

Equals(SavedFeedsPreference?)

public virtual bool Equals(SavedFeedsPreference? other)

Parameters

other SavedFeedsPreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Preference?)

public override sealed bool Equals(Preference? other)

Parameters

other Preference?

Returns

bool

Equals(SavedFeedsPreference?)

public virtual bool Equals(SavedFeedsPreference? other)

Parameters

other SavedFeedsPreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Preference?)

public override sealed bool Equals(Preference? other)

Parameters

other Preference?

Returns

bool

Equals(SavedFeedsPreference?)

public virtual bool Equals(SavedFeedsPreference? other)

Parameters

other SavedFeedsPreference?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SavedFeedsPreference?, SavedFeedsPreference?)

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

Parameters

left SavedFeedsPreference?
right SavedFeedsPreference?

Returns

bool

operator ==(SavedFeedsPreference?, SavedFeedsPreference?)

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

Parameters

left SavedFeedsPreference?
right SavedFeedsPreference?

Returns

bool

operator ==(SavedFeedsPreference?, SavedFeedsPreference?)

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

Parameters

left SavedFeedsPreference?
right SavedFeedsPreference?

Returns

bool

operator !=(SavedFeedsPreference?, SavedFeedsPreference?)

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

Parameters

left SavedFeedsPreference?
right SavedFeedsPreference?

Returns

bool

operator !=(SavedFeedsPreference?, SavedFeedsPreference?)

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

Parameters

left SavedFeedsPreference?
right SavedFeedsPreference?

Returns

bool

operator !=(SavedFeedsPreference?, SavedFeedsPreference?)

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

Parameters

left SavedFeedsPreference?
right SavedFeedsPreference?

Returns

bool