Class ProfileViewBasic
- Namespace
- idunno.Bluesky.Chat.Actor
- Assembly
- idunno.Bluesky.dll
A basic view of a profile, used in the context of chat conversations.
public sealed record ProfileViewBasic : View, IEquatable<View>, IEquatable<ProfileViewBasic>Inheritance
Implements
Inherited Members
Properties
Associated
Gets the Associated properties for the subject.
public ProfileAssociated? Associated { get; init; }Property Value
Associated
Gets the Associated properties for the subject.
public ProfileAssociated? Associated { get; init; }Property Value
Associated
Gets the Associated properties for the subject.
public ProfileAssociated? Associated { get; init; }Property Value
Avatar
Gets the avatar of the actor.
public Uri? Avatar { get; init; }Property Value
- Uri?
Avatar
Gets the avatar of the actor.
public Uri? Avatar { get; init; }Property Value
- Uri?
Avatar
Gets the avatar of the actor.
public Uri? Avatar { get; init; }Property Value
- Uri?
ChatDisabled
Flag indicating the actor cannot actively participate in conversations
public bool? ChatDisabled { get; init; }Property Value
- bool?
ChatDisabled
Flag indicating the actor cannot actively participate in conversations
public bool? ChatDisabled { get; init; }Property Value
- bool?
ChatDisabled
Flag indicating the actor cannot actively participate in conversations
public bool? ChatDisabled { get; init; }Property Value
- bool?
CreatedAt
Gets the date and time the actor was created at, if any
public DateTimeOffset? CreatedAt { get; init; }Property Value
CreatedAt
Gets the date and time the actor was created at, if any
public DateTimeOffset? CreatedAt { get; init; }Property Value
CreatedAt
Gets the date and time the actor was created at, if any
public DateTimeOffset? CreatedAt { get; init; }Property Value
Did
Gets the did of the actor.
[JsonRequired]
public Did Did { get; init; }Property Value
- Did
Did
Gets the did of the actor.
[JsonRequired]
public Did Did { get; init; }Property Value
- Did
Did
Gets the did of the actor.
[JsonRequired]
public Did Did { get; init; }Property Value
- Did
DisplayName
Gets the display name, if any, of the actor.
public string? DisplayName { get; init; }Property Value
DisplayName
Gets the display name, if any, of the actor.
public string? DisplayName { get; init; }Property Value
DisplayName
Gets the display name, if any, of the actor.
public string? DisplayName { 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
Handle
Gets the handle of the actor.
[JsonRequired]
public Handle Handle { get; init; }Property Value
- Handle
Handle
Gets the handle of the actor.
[JsonRequired]
public Handle Handle { get; init; }Property Value
- Handle
Handle
Gets the handle of the actor.
[JsonRequired]
public Handle Handle { get; init; }Property Value
- Handle
Kind
Gets the kind of member this actor is in the context of a conversation.
public MemberKind? Kind { get; init; }Property Value
Kind
Gets the kind of member this actor is in the context of a conversation.
public MemberKind? Kind { get; init; }Property Value
Kind
Gets the kind of member this actor is in the context of a conversation.
public MemberKind? Kind { get; init; }Property Value
Labels
Gets any labels applied to the actor.
public IReadOnlyCollection<Label> Labels { get; init; }Property Value
- IReadOnlyCollection<Label>
Remarks
Labels will only be populated if a list of subscribed labelers from a user's idunno.Bluesky.Actor.Preferences is passed into an API which returns this class.
Labels
Gets any labels applied to the actor.
public IReadOnlyCollection<Label> Labels { get; init; }Property Value
- IReadOnlyCollection<Label>
Remarks
Labels will only be populated if a list of subscribed labelers from a user's idunno.Bluesky.Actor.Preferences is passed into an API which returns this class.
Labels
Gets any labels applied to the actor.
public IReadOnlyCollection<Label> Labels { get; init; }Property Value
- IReadOnlyCollection<Label>
Remarks
Labels will only be populated if a list of subscribed labelers from a user's idunno.Bluesky.Actor.Preferences is passed into an API which returns this class.
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.
Verification
Gets the verification state of the actor.
public VerificationState? Verification { get; init; }Property Value
Verification
Gets the verification state of the actor.
public VerificationState? Verification { get; init; }Property Value
Verification
Gets the verification state of the actor.
public VerificationState? Verification { get; init; }Property Value
Viewer
Gets metadata about the requesting account's relationship with the subject account. Only has meaningful content for authenticated requests.
public ViewerState? Viewer { get; init; }Property Value
Viewer
Gets metadata about the requesting account's relationship with the subject account. Only has meaningful content for authenticated requests.
public ViewerState? Viewer { get; init; }Property Value
Viewer
Gets metadata about the requesting account's relationship with the subject account. Only has meaningful content for authenticated requests.
public ViewerState? Viewer { get; init; }Property Value
Methods
<Clone>$()
public override ProfileViewBasic <Clone>$()Returns
<Clone>$()
public override ProfileViewBasic <Clone>$()Returns
<Clone>$()
public override ProfileViewBasic <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(ProfileViewBasic?)
public bool Equals(ProfileViewBasic? other)Parameters
otherProfileViewBasic?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(ProfileViewBasic?)
public bool Equals(ProfileViewBasic? other)Parameters
otherProfileViewBasic?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public override sealed bool Equals(View? other)Parameters
otherView?
Returns
Equals(ProfileViewBasic?)
public bool Equals(ProfileViewBasic? other)Parameters
otherProfileViewBasic?
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 ==(ProfileViewBasic?, ProfileViewBasic?)
public static bool operator ==(ProfileViewBasic? left, ProfileViewBasic? right)Parameters
leftProfileViewBasic?rightProfileViewBasic?
Returns
operator ==(ProfileViewBasic?, ProfileViewBasic?)
public static bool operator ==(ProfileViewBasic? left, ProfileViewBasic? right)Parameters
leftProfileViewBasic?rightProfileViewBasic?
Returns
operator ==(ProfileViewBasic?, ProfileViewBasic?)
public static bool operator ==(ProfileViewBasic? left, ProfileViewBasic? right)Parameters
leftProfileViewBasic?rightProfileViewBasic?
Returns
operator !=(ProfileViewBasic?, ProfileViewBasic?)
public static bool operator !=(ProfileViewBasic? left, ProfileViewBasic? right)Parameters
leftProfileViewBasic?rightProfileViewBasic?
Returns
operator !=(ProfileViewBasic?, ProfileViewBasic?)
public static bool operator !=(ProfileViewBasic? left, ProfileViewBasic? right)Parameters
leftProfileViewBasic?rightProfileViewBasic?
Returns
operator !=(ProfileViewBasic?, ProfileViewBasic?)
public static bool operator !=(ProfileViewBasic? left, ProfileViewBasic? right)Parameters
leftProfileViewBasic?rightProfileViewBasic?