Table of Contents

Class RelationshipMap

Namespace
idunno.Bluesky.Graph
Assembly
idunno.Bluesky.dll

Represents a map of relationships between the actor idunno.AtProto.Did and other actors in the Bluesky social network.

public sealed record RelationshipMap : IEquatable<RelationshipMap>

Inheritance

Implements

Inherited Members

Constructors

RelationshipMap(Did?, IReadOnlyCollection<RelationshipType>)

Creates a new instance of idunno.Bluesky.Graph.RelationshipMap.

[JsonConstructor]
public RelationshipMap(Did? actor, IReadOnlyCollection<RelationshipType> relationships)

Parameters

actor Did?

The idunno.AtProto.Did of the actor whose relationships are being described.

relationships IReadOnlyCollection<RelationshipType>

A collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor.

RelationshipMap(Did?, IReadOnlyCollection<RelationshipType>)

Creates a new instance of idunno.Bluesky.Graph.RelationshipMap.

[JsonConstructor]
public RelationshipMap(Did? actor, IReadOnlyCollection<RelationshipType> relationships)

Parameters

actor Did?

The idunno.AtProto.Did of the actor whose relationships are being described.

relationships IReadOnlyCollection<RelationshipType>

A collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor.

RelationshipMap(Did?, IReadOnlyCollection<RelationshipType>)

Creates a new instance of idunno.Bluesky.Graph.RelationshipMap.

[JsonConstructor]
public RelationshipMap(Did? actor, IReadOnlyCollection<RelationshipType> relationships)

Parameters

actor Did?

The idunno.AtProto.Did of the actor whose relationships are being described.

relationships IReadOnlyCollection<RelationshipType>

A collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor.

Properties

Actor

Gets the idunno.AtProto.Did of the actor whose relationships are being described.

public Did? Actor { get; init; }

Property Value

Did?

Actor

Gets the idunno.AtProto.Did of the actor whose relationships are being described.

public Did? Actor { get; init; }

Property Value

Did?

Actor

Gets the idunno.AtProto.Did of the actor whose relationships are being described.

public Did? Actor { get; init; }

Property Value

Did?

Relationships

Gets a collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor idunno.Bluesky.Graph.RelationshipMap.Actor and other actors.

[JsonRequired]
public IReadOnlyCollection<RelationshipType> Relationships { get; init; }

Property Value

IReadOnlyCollection<RelationshipType>

Relationships

Gets a collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor idunno.Bluesky.Graph.RelationshipMap.Actor and other actors.

[JsonRequired]
public IReadOnlyCollection<RelationshipType> Relationships { get; init; }

Property Value

IReadOnlyCollection<RelationshipType>

Relationships

Gets a collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor idunno.Bluesky.Graph.RelationshipMap.Actor and other actors.

[JsonRequired]
public IReadOnlyCollection<RelationshipType> Relationships { get; init; }

Property Value

IReadOnlyCollection<RelationshipType>

Methods

<Clone>$()

public RelationshipMap <Clone>$()

Returns

RelationshipMap

<Clone>$()

public RelationshipMap <Clone>$()

Returns

RelationshipMap

<Clone>$()

public RelationshipMap <Clone>$()

Returns

RelationshipMap

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(RelationshipMap?)

public bool Equals(RelationshipMap? other)

Parameters

other RelationshipMap?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(RelationshipMap?)

public bool Equals(RelationshipMap? other)

Parameters

other RelationshipMap?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(RelationshipMap?)

public bool Equals(RelationshipMap? other)

Parameters

other RelationshipMap?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RelationshipMap?, RelationshipMap?)

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

Parameters

left RelationshipMap?
right RelationshipMap?

Returns

bool

operator ==(RelationshipMap?, RelationshipMap?)

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

Parameters

left RelationshipMap?
right RelationshipMap?

Returns

bool

operator ==(RelationshipMap?, RelationshipMap?)

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

Parameters

left RelationshipMap?
right RelationshipMap?

Returns

bool

operator !=(RelationshipMap?, RelationshipMap?)

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

Parameters

left RelationshipMap?
right RelationshipMap?

Returns

bool

operator !=(RelationshipMap?, RelationshipMap?)

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

Parameters

left RelationshipMap?
right RelationshipMap?

Returns

bool

operator !=(RelationshipMap?, RelationshipMap?)

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

Parameters

left RelationshipMap?
right RelationshipMap?

Returns

bool