Class ProfileViewDetailed
- Namespace
- idunno.Bluesky.Actor
- Assembly
- idunno.Bluesky.dll
A detailed view of an actor profile
public sealed record ProfileViewDetailed : ProfileView, IEquatable<View>, IEquatable<ProfileViewBasic>, IEquatable<ProfileView>, IEquatable<ProfileViewDetailed>Inheritance
Implements
Inherited Members
Remarks
See https://github.com/bluesky-social/atproto/blob/main/lexicons/app/bsky/actor/defs.json for the definition.
Constructors
ProfileViewDetailed(Did, Handle, string?, string?, string?, Uri?, Uri?, Uri?, ProfileAssociated?, ViewerState?, IReadOnlyCollection<Label>?, DateTimeOffset?, DateTimeOffset?, VerificationState?, StatusView?, StarterPackViewBasic?, StrongReference?, int, int, int)
Creates a new instance of idunno.Bluesky.Actor.ProfileView
[JsonConstructor]
public ProfileViewDetailed(Did did, Handle handle, string? displayName, string? description, string? pronouns, Uri? website, Uri? avatar, Uri? banner, ProfileAssociated? associated, ViewerState? viewer, IReadOnlyCollection<Label>? labels, DateTimeOffset? indexedAt, DateTimeOffset? createdAt, VerificationState? verification, StatusView? status, StarterPackViewBasic? joinedViaStarterPack = null, StrongReference? pinnedPost = null, int followersCount = 0, int followsCount = 0, int postsCount = 0)Parameters
didDid-
The idunno.AtProto.Did of the actor.
handleHandle-
The idunno.AtProto.Handle of the actor.
displayNamestring?-
The display name for the actor.
descriptionstring?-
The actor's description from their profile.
pronounsstring?-
The pronouns for the account, if any.
websiteUri?-
The website for the account, if any.
avatarUri?-
A System.Uri to the actor's avatar, if any.
bannerUri?-
A System.Uri to the actor's banner image.
associatedProfileAssociated?-
Properties associated with the actor.
viewerViewerState?-
Metadata about the current user's relationship to the actor.
labelsIReadOnlyCollection<Label>?-
Labels applied to the actor.
indexedAtDateTimeOffset?-
The date and time the actor was last indexed.
createdAtDateTimeOffset?-
The date and time the actor was created.
verificationVerificationState?-
The idunno.Bluesky.Actor.VerificationState of the actor, if any.
statusStatusView?-
The idunno.Bluesky.Actor.StatusView of the actor, if any.
joinedViaStarterPackStarterPackViewBasic?-
A view over the starter pack the user joined using, if any.
pinnedPostStrongReference?-
A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.
followersCountint-
The actor's current follower count.
followsCountint-
The number of actors the actor follows.
postsCountint-
The number of posts the actor has made.
Exceptions
- ArgumentNullException
-
Thrown when
didorhandleare null.
ProfileViewDetailed(Did, Handle, string?, string?, string?, Uri?, Uri?, Uri?, ProfileAssociated?, ViewerState?, IReadOnlyCollection<Label>?, DateTimeOffset?, DateTimeOffset?, VerificationState?, StatusView?, StarterPackViewBasic?, StrongReference?, int, int, int)
Creates a new instance of idunno.Bluesky.Actor.ProfileView
[JsonConstructor]
public ProfileViewDetailed(Did did, Handle handle, string? displayName, string? description, string? pronouns, Uri? website, Uri? avatar, Uri? banner, ProfileAssociated? associated, ViewerState? viewer, IReadOnlyCollection<Label>? labels, DateTimeOffset? indexedAt, DateTimeOffset? createdAt, VerificationState? verification, StatusView? status, StarterPackViewBasic? joinedViaStarterPack = null, StrongReference? pinnedPost = null, int followersCount = 0, int followsCount = 0, int postsCount = 0)Parameters
didDid-
The idunno.AtProto.Did of the actor.
handleHandle-
The idunno.AtProto.Handle of the actor.
displayNamestring?-
The display name for the actor.
descriptionstring?-
The actor's description from their profile.
pronounsstring?-
The pronouns for the account, if any.
websiteUri?-
The website for the account, if any.
avatarUri?-
A System.Uri to the actor's avatar, if any.
bannerUri?-
A System.Uri to the actor's banner image.
associatedProfileAssociated?-
Properties associated with the actor.
viewerViewerState?-
Metadata about the current user's relationship to the actor.
labelsIReadOnlyCollection<Label>?-
Labels applied to the actor.
indexedAtDateTimeOffset?-
The date and time the actor was last indexed.
createdAtDateTimeOffset?-
The date and time the actor was created.
verificationVerificationState?-
The idunno.Bluesky.Actor.VerificationState of the actor, if any.
statusStatusView?-
The idunno.Bluesky.Actor.StatusView of the actor, if any.
joinedViaStarterPackStarterPackViewBasic?-
A view over the starter pack the user joined using, if any.
pinnedPostStrongReference?-
A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.
followersCountint-
The actor's current follower count.
followsCountint-
The number of actors the actor follows.
postsCountint-
The number of posts the actor has made.
Exceptions
- ArgumentNullException
-
Thrown when
didorhandleare null.
ProfileViewDetailed(Did, Handle, string?, string?, string?, Uri?, Uri?, Uri?, ProfileAssociated?, ViewerState?, IReadOnlyCollection<Label>?, DateTimeOffset?, DateTimeOffset?, VerificationState?, StatusView?, StarterPackViewBasic?, StrongReference?, int, int, int)
Creates a new instance of idunno.Bluesky.Actor.ProfileView
[JsonConstructor]
public ProfileViewDetailed(Did did, Handle handle, string? displayName, string? description, string? pronouns, Uri? website, Uri? avatar, Uri? banner, ProfileAssociated? associated, ViewerState? viewer, IReadOnlyCollection<Label>? labels, DateTimeOffset? indexedAt, DateTimeOffset? createdAt, VerificationState? verification, StatusView? status, StarterPackViewBasic? joinedViaStarterPack = null, StrongReference? pinnedPost = null, int followersCount = 0, int followsCount = 0, int postsCount = 0)Parameters
didDid-
The idunno.AtProto.Did of the actor.
handleHandle-
The idunno.AtProto.Handle of the actor.
displayNamestring?-
The display name for the actor.
descriptionstring?-
The actor's description from their profile.
pronounsstring?-
The pronouns for the account, if any.
websiteUri?-
The website for the account, if any.
avatarUri?-
A System.Uri to the actor's avatar, if any.
bannerUri?-
A System.Uri to the actor's banner image.
associatedProfileAssociated?-
Properties associated with the actor.
viewerViewerState?-
Metadata about the current user's relationship to the actor.
labelsIReadOnlyCollection<Label>?-
Labels applied to the actor.
indexedAtDateTimeOffset?-
The date and time the actor was last indexed.
createdAtDateTimeOffset?-
The date and time the actor was created.
verificationVerificationState?-
The idunno.Bluesky.Actor.VerificationState of the actor, if any.
statusStatusView?-
The idunno.Bluesky.Actor.StatusView of the actor, if any.
joinedViaStarterPackStarterPackViewBasic?-
A view over the starter pack the user joined using, if any.
pinnedPostStrongReference?-
A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.
followersCountint-
The actor's current follower count.
followsCountint-
The number of actors the actor follows.
postsCountint-
The number of posts the actor has made.
Exceptions
- ArgumentNullException
-
Thrown when
didorhandleare null.
Properties
Banner
Gets the System.Uri to the actor's banner image, if any.
public Uri? Banner { get; init; }Property Value
- Uri?
Banner
Gets the System.Uri to the actor's banner image, if any.
public Uri? Banner { get; init; }Property Value
- Uri?
Banner
Gets the System.Uri to the actor's banner image, if any.
public Uri? Banner { get; init; }Property Value
- Uri?
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
FollowersCount
Gets the actor's current follower count.
public int FollowersCount { get; init; }Property Value
FollowersCount
Gets the actor's current follower count.
public int FollowersCount { get; init; }Property Value
FollowersCount
Gets the actor's current follower count.
public int FollowersCount { get; init; }Property Value
FollowsCount
The number of actors the actor follows.
public int FollowsCount { get; init; }Property Value
FollowsCount
The number of actors the actor follows.
public int FollowsCount { get; init; }Property Value
FollowsCount
The number of actors the actor follows.
public int FollowsCount { get; init; }Property Value
JoinedViaStarterPack
A view over the starter pack the user joined using, if any.
public StarterPackViewBasic? JoinedViaStarterPack { get; init; }Property Value
JoinedViaStarterPack
A view over the starter pack the user joined using, if any.
public StarterPackViewBasic? JoinedViaStarterPack { get; init; }Property Value
JoinedViaStarterPack
A view over the starter pack the user joined using, if any.
public StarterPackViewBasic? JoinedViaStarterPack { get; init; }Property Value
PinnedPost
A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.
public StrongReference? PinnedPost { get; init; }Property Value
- StrongReference?
PinnedPost
A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.
public StrongReference? PinnedPost { get; init; }Property Value
- StrongReference?
PinnedPost
A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.
public StrongReference? PinnedPost { get; init; }Property Value
- StrongReference?
PostsCount
The number of posts the actor has made.
public int PostsCount { get; init; }Property Value
PostsCount
The number of posts the actor has made.
public int PostsCount { get; init; }Property Value
PostsCount
The number of posts the actor has made.
public int PostsCount { get; init; }Property Value
Methods
<Clone>$()
public override ProfileViewDetailed <Clone>$()Returns
<Clone>$()
public override ProfileViewDetailed <Clone>$()Returns
<Clone>$()
public override ProfileViewDetailed <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ProfileView?)
public override sealed bool Equals(ProfileView? other)Parameters
otherProfileView?
Returns
Equals(ProfileViewDetailed?)
public bool Equals(ProfileViewDetailed? other)Parameters
otherProfileViewDetailed?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ProfileView?)
public override sealed bool Equals(ProfileView? other)Parameters
otherProfileView?
Returns
Equals(ProfileViewDetailed?)
public bool Equals(ProfileViewDetailed? other)Parameters
otherProfileViewDetailed?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ProfileView?)
public override sealed bool Equals(ProfileView? other)Parameters
otherProfileView?
Returns
Equals(ProfileViewDetailed?)
public bool Equals(ProfileViewDetailed? other)Parameters
otherProfileViewDetailed?
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()
Gets a string representation of the idunno.Bluesky.Actor.ProfileView. This returns the actor's display name, if any, otherwise returns the actor's handle.
public override string ToString()Returns
- string
-
A string representation of the idunno.Bluesky.Actor.ProfileView.
ToString()
Gets a string representation of the idunno.Bluesky.Actor.ProfileView. This returns the actor's display name, if any, otherwise returns the actor's handle.
public override string ToString()Returns
- string
-
A string representation of the idunno.Bluesky.Actor.ProfileView.
ToString()
Gets a string representation of the idunno.Bluesky.Actor.ProfileView. This returns the actor's display name, if any, otherwise returns the actor's handle.
public override string ToString()Returns
- string
-
A string representation of the idunno.Bluesky.Actor.ProfileView.
Operators
operator ==(ProfileViewDetailed?, ProfileViewDetailed?)
public static bool operator ==(ProfileViewDetailed? left, ProfileViewDetailed? right)Parameters
leftProfileViewDetailed?rightProfileViewDetailed?
Returns
operator ==(ProfileViewDetailed?, ProfileViewDetailed?)
public static bool operator ==(ProfileViewDetailed? left, ProfileViewDetailed? right)Parameters
leftProfileViewDetailed?rightProfileViewDetailed?
Returns
operator ==(ProfileViewDetailed?, ProfileViewDetailed?)
public static bool operator ==(ProfileViewDetailed? left, ProfileViewDetailed? right)Parameters
leftProfileViewDetailed?rightProfileViewDetailed?
Returns
operator !=(ProfileViewDetailed?, ProfileViewDetailed?)
public static bool operator !=(ProfileViewDetailed? left, ProfileViewDetailed? right)Parameters
leftProfileViewDetailed?rightProfileViewDetailed?
Returns
operator !=(ProfileViewDetailed?, ProfileViewDetailed?)
public static bool operator !=(ProfileViewDetailed? left, ProfileViewDetailed? right)Parameters
leftProfileViewDetailed?rightProfileViewDetailed?
Returns
operator !=(ProfileViewDetailed?, ProfileViewDetailed?)
public static bool operator !=(ProfileViewDetailed? left, ProfileViewDetailed? right)Parameters
leftProfileViewDetailed?rightProfileViewDetailed?