Class PostView
- Namespace
- idunno.Bluesky.Feed
- Assembly
- idunno.Bluesky.dll
A view over a post record generated by a Bluesky feed.
public sealed record PostView : PostViewBase, IEquatable<View>, IEquatable<PostViewBase>, IEquatable<PostView>Inheritance
Implements
Inherited Members
Remarks
See https://docs.bsky.app/docs/api/app-bsky-feed-get-posts
See https://github.com/bluesky-social/atproto/blob/main/lexicons/app/bsky/feed/defs.json
Properties
Author
A idunno.Bluesky.Actor.ProfileViewBasic of the author of the post.
[JsonRequired]
public ProfileViewBasic Author { get; init; }Property Value
Author
A idunno.Bluesky.Actor.ProfileViewBasic of the author of the post.
[JsonRequired]
public ProfileViewBasic Author { get; init; }Property Value
Author
A idunno.Bluesky.Actor.ProfileViewBasic of the author of the post.
[JsonRequired]
public ProfileViewBasic Author { get; init; }Property Value
BookmarkCount
The number of times the post has been bookmarked.
[JsonInclude]
public int BookmarkCount { get; init; }Property Value
BookmarkCount
The number of times the post has been bookmarked.
[JsonInclude]
public int BookmarkCount { get; init; }Property Value
BookmarkCount
The number of times the post has been bookmarked.
[JsonInclude]
public int BookmarkCount { get; init; }Property Value
Cid
The content identifier for the post.
[JsonRequired]
public Cid Cid { get; init; }Property Value
- Cid
Cid
The content identifier for the post.
[JsonRequired]
public Cid Cid { get; init; }Property Value
- Cid
Cid
The content identifier for the post.
[JsonRequired]
public Cid Cid { get; init; }Property Value
- Cid
Embed
An optional idunno.Bluesky.Embed.EmbeddedView for embedded media information.
[JsonInclude]
public EmbeddedView? Embed { get; init; }Property Value
Embed
An optional idunno.Bluesky.Embed.EmbeddedView for embedded media information.
[JsonInclude]
public EmbeddedView? Embed { get; init; }Property Value
Embed
An optional idunno.Bluesky.Embed.EmbeddedView for embedded media information.
[JsonInclude]
public EmbeddedView? Embed { get; init; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
IndexedAt
The date and time the post was indexed at.
[JsonInclude]
[JsonRequired]
public DateTimeOffset IndexedAt { get; init; }Property Value
IndexedAt
The date and time the post was indexed at.
[JsonInclude]
[JsonRequired]
public DateTimeOffset IndexedAt { get; init; }Property Value
IndexedAt
The date and time the post was indexed at.
[JsonInclude]
[JsonRequired]
public DateTimeOffset IndexedAt { get; init; }Property Value
Labels
Any labels applied to the post.
[JsonInclude]
public IReadOnlyCollection<Label> Labels { get; init; }Property Value
- IReadOnlyCollection<Label>
Labels
Any labels applied to the post.
[JsonInclude]
public IReadOnlyCollection<Label> Labels { get; init; }Property Value
- IReadOnlyCollection<Label>
Labels
Any labels applied to the post.
[JsonInclude]
public IReadOnlyCollection<Label> Labels { get; init; }Property Value
- IReadOnlyCollection<Label>
LikeCount
The number of likes this post has.
[JsonInclude]
public int LikeCount { get; init; }Property Value
LikeCount
The number of likes this post has.
[JsonInclude]
public int LikeCount { get; init; }Property Value
LikeCount
The number of likes this post has.
[JsonInclude]
public int LikeCount { get; init; }Property Value
QuoteCount
The number of quotes this post has.
[JsonInclude]
public int QuoteCount { get; init; }Property Value
QuoteCount
The number of quotes this post has.
[JsonInclude]
public int QuoteCount { get; init; }Property Value
QuoteCount
The number of quotes this post has.
[JsonInclude]
public int QuoteCount { get; init; }Property Value
Record
The value of the post record.
[JsonRequired]
public Post Record { get; init; }Property Value
Record
The value of the post record.
[JsonRequired]
public Post Record { get; init; }Property Value
Record
The value of the post record.
[JsonRequired]
public Post Record { get; init; }Property Value
ReplyCount
The number of replies to this post.
[JsonInclude]
public int ReplyCount { get; init; }Property Value
ReplyCount
The number of replies to this post.
[JsonInclude]
public int ReplyCount { get; init; }Property Value
ReplyCount
The number of replies to this post.
[JsonInclude]
public int ReplyCount { get; init; }Property Value
RepostCount
The number of times this post has been reposted.
[JsonInclude]
public int RepostCount { get; init; }Property Value
RepostCount
The number of times this post has been reposted.
[JsonInclude]
public int RepostCount { get; init; }Property Value
RepostCount
The number of times this post has been reposted.
[JsonInclude]
public int RepostCount { get; init; }Property Value
SelfLabels
Returns a list of label values for labels that appear to have been applied by the actor to themselves, based on the label source and uri.
[JsonIgnore]
public IReadOnlyList<string> SelfLabels { get; }Property Value
Remarks
Known Bluesky label values can be found in idunno.Bluesky.SelfLabelValues.
SelfLabels
Returns a list of label values for labels that appear to have been applied by the actor to themselves, based on the label source and uri.
[JsonIgnore]
public IReadOnlyList<string> SelfLabels { get; }Property Value
Remarks
Known Bluesky label values can be found in idunno.Bluesky.SelfLabelValues.
SelfLabels
Returns a list of label values for labels that appear to have been applied by the actor to themselves, based on the label source and uri.
[JsonIgnore]
public IReadOnlyList<string> SelfLabels { get; }Property Value
Remarks
Known Bluesky label values can be found in idunno.Bluesky.SelfLabelValues.
StrongReference
A idunno.Bluesky.Feed.PostView.StrongReference to the post.
[JsonIgnore]
public StrongReference StrongReference { get; }Property Value
- StrongReference
StrongReference
A idunno.Bluesky.Feed.PostView.StrongReference to the post.
[JsonIgnore]
public StrongReference StrongReference { get; }Property Value
- StrongReference
StrongReference
A idunno.Bluesky.Feed.PostView.StrongReference to the post.
[JsonIgnore]
public StrongReference StrongReference { get; }Property Value
- StrongReference
ThreadGate
An optional idunno.Bluesky.Feed.PostView.ThreadGate controlling who can reply to a post.
[JsonInclude]
[JsonPropertyName("threadgate")]
public ThreadGateView? ThreadGate { get; init; }Property Value
ThreadGate
An optional idunno.Bluesky.Feed.PostView.ThreadGate controlling who can reply to a post.
[JsonInclude]
[JsonPropertyName("threadgate")]
public ThreadGateView? ThreadGate { get; init; }Property Value
ThreadGate
An optional idunno.Bluesky.Feed.PostView.ThreadGate controlling who can reply to a post.
[JsonInclude]
[JsonPropertyName("threadgate")]
public ThreadGateView? ThreadGate { get; init; }Property Value
Uri
The idunno.AtProto.AtUri for the post.
[JsonRequired]
public AtUri Uri { get; init; }Property Value
- AtUri
Uri
The idunno.AtProto.AtUri for the post.
[JsonRequired]
public AtUri Uri { get; init; }Property Value
- AtUri
Uri
The idunno.AtProto.AtUri for the post.
[JsonRequired]
public AtUri Uri { get; init; }Property Value
- AtUri
Viewer
Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authenticated requests.
[JsonInclude]
public ViewerState? Viewer { get; init; }Property Value
Viewer
Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authenticated requests.
[JsonInclude]
public ViewerState? Viewer { get; init; }Property Value
Viewer
Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authenticated requests.
[JsonInclude]
public ViewerState? Viewer { get; init; }Property Value
Methods
<Clone>$()
public override PostView <Clone>$()Returns
<Clone>$()
public override PostView <Clone>$()Returns
<Clone>$()
public override PostView <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(PostViewBase?)
public override sealed bool Equals(PostViewBase? other)Parameters
otherPostViewBase?
Returns
Equals(PostView?)
public bool Equals(PostView? other)Parameters
otherPostView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(PostViewBase?)
public override sealed bool Equals(PostViewBase? other)Parameters
otherPostViewBase?
Returns
Equals(PostView?)
public bool Equals(PostView? other)Parameters
otherPostView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(PostViewBase?)
public override sealed bool Equals(PostViewBase? other)Parameters
otherPostViewBase?
Returns
Equals(PostView?)
public bool Equals(PostView? other)Parameters
otherPostView?
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 ==(PostView?, PostView?)
public static bool operator ==(PostView? left, PostView? right)Parameters
Returns
operator ==(PostView?, PostView?)
public static bool operator ==(PostView? left, PostView? right)Parameters
Returns
operator ==(PostView?, PostView?)
public static bool operator ==(PostView? left, PostView? right)Parameters
Returns
operator !=(PostView?, PostView?)
public static bool operator !=(PostView? left, PostView? right)Parameters
Returns
operator !=(PostView?, PostView?)
public static bool operator !=(PostView? left, PostView? right)Parameters
Returns
operator !=(PostView?, PostView?)
public static bool operator !=(PostView? left, PostView? right)