Table of Contents

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

ProfileAssociated?

Associated

Gets the Associated properties for the subject.

public ProfileAssociated? Associated { get; init; }

Property Value

ProfileAssociated?

Associated

Gets the Associated properties for the subject.

public ProfileAssociated? Associated { get; init; }

Property Value

ProfileAssociated?

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

DateTimeOffset?

CreatedAt

Gets the date and time the actor was created at, if any

public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

CreatedAt

Gets the date and time the actor was created at, if any

public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

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

string?

DisplayName

Gets the display name, if any, of the actor.

public string? DisplayName { get; init; }

Property Value

string?

DisplayName

Gets the display name, if any, of the actor.

public string? DisplayName { get; init; }

Property Value

string?

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

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

MemberKind?

Kind

Gets the kind of member this actor is in the context of a conversation.

public MemberKind? Kind { get; init; }

Property Value

MemberKind?

Kind

Gets the kind of member this actor is in the context of a conversation.

public MemberKind? Kind { get; init; }

Property Value

MemberKind?

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

IReadOnlyList<string>

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

IReadOnlyList<string>

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

IReadOnlyList<string>

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

VerificationState?

Verification

Gets the verification state of the actor.

public VerificationState? Verification { get; init; }

Property Value

VerificationState?

Verification

Gets the verification state of the actor.

public VerificationState? Verification { get; init; }

Property Value

VerificationState?

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

ViewerState?

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

ViewerState?

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

ViewerState?

Methods

<Clone>$()

public override ProfileViewBasic <Clone>$()

Returns

ProfileViewBasic

<Clone>$()

public override ProfileViewBasic <Clone>$()

Returns

ProfileViewBasic

<Clone>$()

public override ProfileViewBasic <Clone>$()

Returns

ProfileViewBasic

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public override sealed bool Equals(View? other)

Parameters

other View?

Returns

bool

Equals(ProfileViewBasic?)

public bool Equals(ProfileViewBasic? other)

Parameters

other ProfileViewBasic?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public override sealed bool Equals(View? other)

Parameters

other View?

Returns

bool

Equals(ProfileViewBasic?)

public bool Equals(ProfileViewBasic? other)

Parameters

other ProfileViewBasic?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public override sealed bool Equals(View? other)

Parameters

other View?

Returns

bool

Equals(ProfileViewBasic?)

public bool Equals(ProfileViewBasic? other)

Parameters

other ProfileViewBasic?

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 ==(ProfileViewBasic?, ProfileViewBasic?)

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

Parameters

left ProfileViewBasic?
right ProfileViewBasic?

Returns

bool

operator ==(ProfileViewBasic?, ProfileViewBasic?)

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

Parameters

left ProfileViewBasic?
right ProfileViewBasic?

Returns

bool

operator ==(ProfileViewBasic?, ProfileViewBasic?)

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

Parameters

left ProfileViewBasic?
right ProfileViewBasic?

Returns

bool

operator !=(ProfileViewBasic?, ProfileViewBasic?)

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

Parameters

left ProfileViewBasic?
right ProfileViewBasic?

Returns

bool

operator !=(ProfileViewBasic?, ProfileViewBasic?)

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

Parameters

left ProfileViewBasic?
right ProfileViewBasic?

Returns

bool

operator !=(ProfileViewBasic?, ProfileViewBasic?)

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

Parameters

left ProfileViewBasic?
right ProfileViewBasic?

Returns

bool