Class ReferenceListOptOut
- Namespace
- idunno.Bluesky.Graph
- Assembly
- idunno.Bluesky.dll
Record requesting that its author be omitted from the public presentation of a reference list. This record is only enforced when the subject list's current purpose is app.bsky.graph.defs#referencelist. AppView indexes at most one record per actor and list pair, and ignores duplicate records.
[JsonPolymorphic(IgnoreUnrecognizedTypeDiscriminators = false, UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FailSerialization)]
[JsonDerivedType(typeof(ReferenceListOptOut), "app.bsky.graph.referencelistoptout")]
public record ReferenceListOptOut : BlueskyTimestampedRecord, IEquatable<AtProtoRecord>, IEquatable<BlueskyRecord>, IEquatable<BlueskyTimestampedRecord>, IEquatable<ReferenceListOptOut>Inheritance
-
AtProtoRecord
Implements
Inherited Members
-
AtProtoRecord.Equals(AtProtoRecord?)AtProtoRecord.GetHashCode()AtProtoRecord.ToString()AtProtoRecord.PrintMembers(StringBuilder)AtProtoRecord.Equals(object?)AtProtoRecord.<Clone>$()AtProtoRecord.EqualityContractAtProtoRecord.ExtensionData
Constructors
ReferenceListOptOut(AtUri, DateTimeOffset)
Creates a new instance of the idunno.Bluesky.Graph.ReferenceListOptOut record.
[JsonConstructor]
public ReferenceListOptOut(AtUri subject, DateTimeOffset createdAt)Parameters
subjectAtUri-
The canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
createdAtDateTimeOffset-
The timestamp when the record was created.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ReferenceListOptOut(AtUri)
Creates a new instance of the idunno.Bluesky.Graph.ReferenceListOptOut record.
public ReferenceListOptOut(AtUri subject)Parameters
subjectAtUri-
The canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ReferenceListOptOut(ReferenceListOptOut)
protected ReferenceListOptOut(ReferenceListOptOut original)Parameters
originalReferenceListOptOut
ReferenceListOptOut(AtUri, DateTimeOffset)
Creates a new instance of the idunno.Bluesky.Graph.ReferenceListOptOut record.
[JsonConstructor]
public ReferenceListOptOut(AtUri subject, DateTimeOffset createdAt)Parameters
subjectAtUri-
The canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
createdAtDateTimeOffset-
The timestamp when the record was created.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ReferenceListOptOut(AtUri)
Creates a new instance of the idunno.Bluesky.Graph.ReferenceListOptOut record.
public ReferenceListOptOut(AtUri subject)Parameters
subjectAtUri-
The canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ReferenceListOptOut(ReferenceListOptOut)
protected ReferenceListOptOut(ReferenceListOptOut original)Parameters
originalReferenceListOptOut
ReferenceListOptOut(AtUri, DateTimeOffset)
Creates a new instance of the idunno.Bluesky.Graph.ReferenceListOptOut record.
[JsonConstructor]
public ReferenceListOptOut(AtUri subject, DateTimeOffset createdAt)Parameters
subjectAtUri-
The canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
createdAtDateTimeOffset-
The timestamp when the record was created.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ReferenceListOptOut(AtUri)
Creates a new instance of the idunno.Bluesky.Graph.ReferenceListOptOut record.
public ReferenceListOptOut(AtUri subject)Parameters
subjectAtUri-
The canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
Exceptions
- ArgumentNullException
-
Thrown when
subjectis null.
ReferenceListOptOut(ReferenceListOptOut)
protected ReferenceListOptOut(ReferenceListOptOut original)Parameters
originalReferenceListOptOut
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
Subject
Gets the canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
public AtUri Subject { get; init; }Property Value
- AtUri
Subject
Gets the canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
public AtUri Subject { get; init; }Property Value
- AtUri
Subject
Gets the canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.
public AtUri Subject { get; init; }Property Value
- AtUri
Methods
<Clone>$()
public override ReferenceListOptOut <Clone>$()Returns
<Clone>$()
public override ReferenceListOptOut <Clone>$()Returns
<Clone>$()
public override ReferenceListOptOut <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyTimestampedRecord?)
public override sealed bool Equals(BlueskyTimestampedRecord? other)Parameters
otherBlueskyTimestampedRecord?
Returns
Equals(ReferenceListOptOut?)
public virtual bool Equals(ReferenceListOptOut? other)Parameters
otherReferenceListOptOut?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyTimestampedRecord?)
public override sealed bool Equals(BlueskyTimestampedRecord? other)Parameters
otherBlueskyTimestampedRecord?
Returns
Equals(ReferenceListOptOut?)
public virtual bool Equals(ReferenceListOptOut? other)Parameters
otherReferenceListOptOut?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyTimestampedRecord?)
public override sealed bool Equals(BlueskyTimestampedRecord? other)Parameters
otherBlueskyTimestampedRecord?
Returns
Equals(ReferenceListOptOut?)
public virtual bool Equals(ReferenceListOptOut? other)Parameters
otherReferenceListOptOut?
Returns
GetHashCode()
Returns the hash code for the current instance.
public override int GetHashCode()Returns
- int
-
The hash code for the current instance.
Remarks
The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.
GetHashCode()
Returns the hash code for the current instance.
public override int GetHashCode()Returns
- int
-
The hash code for the current instance.
Remarks
The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.
GetHashCode()
Returns the hash code for the current instance.
public override int GetHashCode()Returns
- int
-
The hash code for the current instance.
Remarks
The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.
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 ==(ReferenceListOptOut?, ReferenceListOptOut?)
public static bool operator ==(ReferenceListOptOut? left, ReferenceListOptOut? right)Parameters
leftReferenceListOptOut?rightReferenceListOptOut?
Returns
operator ==(ReferenceListOptOut?, ReferenceListOptOut?)
public static bool operator ==(ReferenceListOptOut? left, ReferenceListOptOut? right)Parameters
leftReferenceListOptOut?rightReferenceListOptOut?
Returns
operator ==(ReferenceListOptOut?, ReferenceListOptOut?)
public static bool operator ==(ReferenceListOptOut? left, ReferenceListOptOut? right)Parameters
leftReferenceListOptOut?rightReferenceListOptOut?
Returns
operator !=(ReferenceListOptOut?, ReferenceListOptOut?)
public static bool operator !=(ReferenceListOptOut? left, ReferenceListOptOut? right)Parameters
leftReferenceListOptOut?rightReferenceListOptOut?
Returns
operator !=(ReferenceListOptOut?, ReferenceListOptOut?)
public static bool operator !=(ReferenceListOptOut? left, ReferenceListOptOut? right)Parameters
leftReferenceListOptOut?rightReferenceListOptOut?
Returns
operator !=(ReferenceListOptOut?, ReferenceListOptOut?)
public static bool operator !=(ReferenceListOptOut? left, ReferenceListOptOut? right)Parameters
leftReferenceListOptOut?rightReferenceListOptOut?