Table of Contents

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

did Did

The idunno.AtProto.Did of the actor.

handle Handle

The idunno.AtProto.Handle of the actor.

displayName string?

The display name for the actor.

description string?

The actor's description from their profile.

pronouns string?

The pronouns for the account, if any.

website Uri?

The website for the account, if any.

avatar Uri?

A System.Uri to the actor's avatar, if any.

banner Uri?

A System.Uri to the actor's banner image.

associated ProfileAssociated?

Properties associated with the actor.

viewer ViewerState?

Metadata about the current user's relationship to the actor.

labels IReadOnlyCollection<Label>?

Labels applied to the actor.

indexedAt DateTimeOffset?

The date and time the actor was last indexed.

createdAt DateTimeOffset?

The date and time the actor was created.

verification VerificationState?

The idunno.Bluesky.Actor.VerificationState of the actor, if any.

status StatusView?

The idunno.Bluesky.Actor.StatusView of the actor, if any.

joinedViaStarterPack StarterPackViewBasic?

A view over the starter pack the user joined using, if any.

pinnedPost StrongReference?

A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.

followersCount int

The actor's current follower count.

followsCount int

The number of actors the actor follows.

postsCount int

The number of posts the actor has made.

Exceptions

ArgumentNullException

Thrown when did or handle are 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

did Did

The idunno.AtProto.Did of the actor.

handle Handle

The idunno.AtProto.Handle of the actor.

displayName string?

The display name for the actor.

description string?

The actor's description from their profile.

pronouns string?

The pronouns for the account, if any.

website Uri?

The website for the account, if any.

avatar Uri?

A System.Uri to the actor's avatar, if any.

banner Uri?

A System.Uri to the actor's banner image.

associated ProfileAssociated?

Properties associated with the actor.

viewer ViewerState?

Metadata about the current user's relationship to the actor.

labels IReadOnlyCollection<Label>?

Labels applied to the actor.

indexedAt DateTimeOffset?

The date and time the actor was last indexed.

createdAt DateTimeOffset?

The date and time the actor was created.

verification VerificationState?

The idunno.Bluesky.Actor.VerificationState of the actor, if any.

status StatusView?

The idunno.Bluesky.Actor.StatusView of the actor, if any.

joinedViaStarterPack StarterPackViewBasic?

A view over the starter pack the user joined using, if any.

pinnedPost StrongReference?

A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.

followersCount int

The actor's current follower count.

followsCount int

The number of actors the actor follows.

postsCount int

The number of posts the actor has made.

Exceptions

ArgumentNullException

Thrown when did or handle are 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

did Did

The idunno.AtProto.Did of the actor.

handle Handle

The idunno.AtProto.Handle of the actor.

displayName string?

The display name for the actor.

description string?

The actor's description from their profile.

pronouns string?

The pronouns for the account, if any.

website Uri?

The website for the account, if any.

avatar Uri?

A System.Uri to the actor's avatar, if any.

banner Uri?

A System.Uri to the actor's banner image.

associated ProfileAssociated?

Properties associated with the actor.

viewer ViewerState?

Metadata about the current user's relationship to the actor.

labels IReadOnlyCollection<Label>?

Labels applied to the actor.

indexedAt DateTimeOffset?

The date and time the actor was last indexed.

createdAt DateTimeOffset?

The date and time the actor was created.

verification VerificationState?

The idunno.Bluesky.Actor.VerificationState of the actor, if any.

status StatusView?

The idunno.Bluesky.Actor.StatusView of the actor, if any.

joinedViaStarterPack StarterPackViewBasic?

A view over the starter pack the user joined using, if any.

pinnedPost StrongReference?

A idunno.AtProto.Repo.StrongReference to the actor's pinned post, if any.

followersCount int

The actor's current follower count.

followsCount int

The number of actors the actor follows.

postsCount int

The number of posts the actor has made.

Exceptions

ArgumentNullException

Thrown when did or handle are 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

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

FollowersCount

Gets the actor's current follower count.

public int FollowersCount { get; init; }

Property Value

int

FollowersCount

Gets the actor's current follower count.

public int FollowersCount { get; init; }

Property Value

int

FollowersCount

Gets the actor's current follower count.

public int FollowersCount { get; init; }

Property Value

int

FollowsCount

The number of actors the actor follows.

public int FollowsCount { get; init; }

Property Value

int

FollowsCount

The number of actors the actor follows.

public int FollowsCount { get; init; }

Property Value

int

FollowsCount

The number of actors the actor follows.

public int FollowsCount { get; init; }

Property Value

int

JoinedViaStarterPack

A view over the starter pack the user joined using, if any.

public StarterPackViewBasic? JoinedViaStarterPack { get; init; }

Property Value

StarterPackViewBasic?

JoinedViaStarterPack

A view over the starter pack the user joined using, if any.

public StarterPackViewBasic? JoinedViaStarterPack { get; init; }

Property Value

StarterPackViewBasic?

JoinedViaStarterPack

A view over the starter pack the user joined using, if any.

public StarterPackViewBasic? JoinedViaStarterPack { get; init; }

Property Value

StarterPackViewBasic?

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

int

PostsCount

The number of posts the actor has made.

public int PostsCount { get; init; }

Property Value

int

PostsCount

The number of posts the actor has made.

public int PostsCount { get; init; }

Property Value

int

Methods

<Clone>$()

public override ProfileViewDetailed <Clone>$()

Returns

ProfileViewDetailed

<Clone>$()

public override ProfileViewDetailed <Clone>$()

Returns

ProfileViewDetailed

<Clone>$()

public override ProfileViewDetailed <Clone>$()

Returns

ProfileViewDetailed

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ProfileView?)

public override sealed bool Equals(ProfileView? other)

Parameters

other ProfileView?

Returns

bool

Equals(ProfileViewDetailed?)

public bool Equals(ProfileViewDetailed? other)

Parameters

other ProfileViewDetailed?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ProfileView?)

public override sealed bool Equals(ProfileView? other)

Parameters

other ProfileView?

Returns

bool

Equals(ProfileViewDetailed?)

public bool Equals(ProfileViewDetailed? other)

Parameters

other ProfileViewDetailed?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ProfileView?)

public override sealed bool Equals(ProfileView? other)

Parameters

other ProfileView?

Returns

bool

Equals(ProfileViewDetailed?)

public bool Equals(ProfileViewDetailed? other)

Parameters

other ProfileViewDetailed?

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()

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

left ProfileViewDetailed?
right ProfileViewDetailed?

Returns

bool

operator ==(ProfileViewDetailed?, ProfileViewDetailed?)

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

Parameters

left ProfileViewDetailed?
right ProfileViewDetailed?

Returns

bool

operator ==(ProfileViewDetailed?, ProfileViewDetailed?)

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

Parameters

left ProfileViewDetailed?
right ProfileViewDetailed?

Returns

bool

operator !=(ProfileViewDetailed?, ProfileViewDetailed?)

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

Parameters

left ProfileViewDetailed?
right ProfileViewDetailed?

Returns

bool

operator !=(ProfileViewDetailed?, ProfileViewDetailed?)

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

Parameters

left ProfileViewDetailed?
right ProfileViewDetailed?

Returns

bool

operator !=(ProfileViewDetailed?, ProfileViewDetailed?)

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

Parameters

left ProfileViewDetailed?
right ProfileViewDetailed?

Returns

bool