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
savedICollection<AtUri>-
A list of idunno.AtProto.AtUris of feeds that the actor has saved.
pinnedICollection<AtUri>-
A list of idunno.AtProto.AtUris of feeds that the actor has pinned.
timelineIndexint?-
The user's timeline index, if any.
Exceptions
- ArgumentNullException
-
Thrown when
savedorpinnedis null.
SavedFeedsPreference(SavedFeedsPreference)
protected SavedFeedsPreference(SavedFeedsPreference original)Parameters
originalSavedFeedsPreference
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
savedICollection<AtUri>-
A list of idunno.AtProto.AtUris of feeds that the actor has saved.
pinnedICollection<AtUri>-
A list of idunno.AtProto.AtUris of feeds that the actor has pinned.
timelineIndexint?-
The user's timeline index, if any.
Exceptions
- ArgumentNullException
-
Thrown when
savedorpinnedis null.
SavedFeedsPreference(SavedFeedsPreference)
protected SavedFeedsPreference(SavedFeedsPreference original)Parameters
originalSavedFeedsPreference
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
savedICollection<AtUri>-
A list of idunno.AtProto.AtUris of feeds that the actor has saved.
pinnedICollection<AtUri>-
A list of idunno.AtProto.AtUris of feeds that the actor has pinned.
timelineIndexint?-
The user's timeline index, if any.
Exceptions
- ArgumentNullException
-
Thrown when
savedorpinnedis null.
SavedFeedsPreference(SavedFeedsPreference)
protected SavedFeedsPreference(SavedFeedsPreference original)Parameters
originalSavedFeedsPreference
Properties
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
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
<Clone>$()
public override SavedFeedsPreference <Clone>$()Returns
<Clone>$()
public override SavedFeedsPreference <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preference?)
public override sealed bool Equals(Preference? other)Parameters
otherPreference?
Returns
Equals(SavedFeedsPreference?)
public virtual bool Equals(SavedFeedsPreference? other)Parameters
otherSavedFeedsPreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preference?)
public override sealed bool Equals(Preference? other)Parameters
otherPreference?
Returns
Equals(SavedFeedsPreference?)
public virtual bool Equals(SavedFeedsPreference? other)Parameters
otherSavedFeedsPreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preference?)
public override sealed bool Equals(Preference? other)Parameters
otherPreference?
Returns
Equals(SavedFeedsPreference?)
public virtual bool Equals(SavedFeedsPreference? other)Parameters
otherSavedFeedsPreference?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(SavedFeedsPreference?, SavedFeedsPreference?)
public static bool operator ==(SavedFeedsPreference? left, SavedFeedsPreference? right)Parameters
leftSavedFeedsPreference?rightSavedFeedsPreference?
Returns
operator ==(SavedFeedsPreference?, SavedFeedsPreference?)
public static bool operator ==(SavedFeedsPreference? left, SavedFeedsPreference? right)Parameters
leftSavedFeedsPreference?rightSavedFeedsPreference?
Returns
operator ==(SavedFeedsPreference?, SavedFeedsPreference?)
public static bool operator ==(SavedFeedsPreference? left, SavedFeedsPreference? right)Parameters
leftSavedFeedsPreference?rightSavedFeedsPreference?
Returns
operator !=(SavedFeedsPreference?, SavedFeedsPreference?)
public static bool operator !=(SavedFeedsPreference? left, SavedFeedsPreference? right)Parameters
leftSavedFeedsPreference?rightSavedFeedsPreference?
Returns
operator !=(SavedFeedsPreference?, SavedFeedsPreference?)
public static bool operator !=(SavedFeedsPreference? left, SavedFeedsPreference? right)Parameters
leftSavedFeedsPreference?rightSavedFeedsPreference?
Returns
operator !=(SavedFeedsPreference?, SavedFeedsPreference?)
public static bool operator !=(SavedFeedsPreference? left, SavedFeedsPreference? right)Parameters
leftSavedFeedsPreference?rightSavedFeedsPreference?