Table of Contents

Class Relationship

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

Lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)

public sealed record Relationship : RelationshipType, IEquatable<AtProtoObject>, IEquatable<RelationshipType>, IEquatable<Relationship>

Inheritance

AtProtoObject

Implements

Inherited Members

AtProtoObject.ToString()
AtProtoObject.GetHashCode()
AtProtoObject.Equals(object?)
AtProtoObject.Equals(AtProtoObject?)
AtProtoObject.<Clone>$()

Constructors

Relationship(Did, AtUri?, AtUri?, AtUri?, AtUri?, AtUri?, AtUri?)

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

[JsonConstructor]
public Relationship(Did did, AtUri? following, AtUri? followedBy, AtUri? blocking, AtUri? blockedBy, AtUri? blockingByList, AtUri? blockedByList)

Parameters

did Did

The idunno.Bluesky.Graph.Relationship.Did of the target actor.

following AtUri?

If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null

followedBy AtUri?

If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.

blocking AtUri?

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.

blockedBy AtUri?

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.

blockingByList AtUri?

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did via a block list, contains the idunno.AtProto.AtUri of the ListBlock record.

blockedByList AtUri?

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did by a block list, this is the idunno.AtProto.AtUri of the ListBlock record.

Relationship(Did, AtUri?, AtUri?, AtUri?, AtUri?, AtUri?, AtUri?)

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

[JsonConstructor]
public Relationship(Did did, AtUri? following, AtUri? followedBy, AtUri? blocking, AtUri? blockedBy, AtUri? blockingByList, AtUri? blockedByList)

Parameters

did Did

The idunno.Bluesky.Graph.Relationship.Did of the target actor.

following AtUri?

If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null

followedBy AtUri?

If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.

blocking AtUri?

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.

blockedBy AtUri?

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.

blockingByList AtUri?

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did via a block list, contains the idunno.AtProto.AtUri of the ListBlock record.

blockedByList AtUri?

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did by a block list, this is the idunno.AtProto.AtUri of the ListBlock record.

Relationship(Did, AtUri?, AtUri?, AtUri?, AtUri?, AtUri?, AtUri?)

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

[JsonConstructor]
public Relationship(Did did, AtUri? following, AtUri? followedBy, AtUri? blocking, AtUri? blockedBy, AtUri? blockingByList, AtUri? blockedByList)

Parameters

did Did

The idunno.Bluesky.Graph.Relationship.Did of the target actor.

following AtUri?

If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null

followedBy AtUri?

If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.

blocking AtUri?

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.

blockedBy AtUri?

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.

blockingByList AtUri?

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did via a block list, contains the idunno.AtProto.AtUri of the ListBlock record.

blockedByList AtUri?

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did by a block list, this is the idunno.AtProto.AtUri of the ListBlock record.

Properties

BlockedBy

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.

[JsonInclude]
public AtUri? BlockedBy { get; init; }

Property Value

AtUri?

BlockedBy

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.

[JsonInclude]
public AtUri? BlockedBy { get; init; }

Property Value

AtUri?

BlockedBy

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.

[JsonInclude]
public AtUri? BlockedBy { get; init; }

Property Value

AtUri?

BlockedByList

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did via a block list, contains the idunno.AtProto.AtUri of the ListBlock record.

[JsonInclude]
public AtUri? BlockedByList { get; init; }

Property Value

AtUri?

BlockedByList

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did via a block list, contains the idunno.AtProto.AtUri of the ListBlock record.

[JsonInclude]
public AtUri? BlockedByList { get; init; }

Property Value

AtUri?

BlockedByList

If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did via a block list, contains the idunno.AtProto.AtUri of the ListBlock record.

[JsonInclude]
public AtUri? BlockedByList { get; init; }

Property Value

AtUri?

Blocking

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.

[JsonInclude]
public AtUri? Blocking { get; init; }

Property Value

AtUri?

Blocking

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.

[JsonInclude]
public AtUri? Blocking { get; init; }

Property Value

AtUri?

Blocking

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.

[JsonInclude]
public AtUri? Blocking { get; init; }

Property Value

AtUri?

BlockingByList

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did by a block list, this is the idunno.AtProto.AtUri of the ListBlock record.

[JsonInclude]
public AtUri? BlockingByList { get; init; }

Property Value

AtUri?

BlockingByList

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did by a block list, this is the idunno.AtProto.AtUri of the ListBlock record.

[JsonInclude]
public AtUri? BlockingByList { get; init; }

Property Value

AtUri?

BlockingByList

If the actor blocks this idunno.Bluesky.Graph.Relationship.Did by a block list, this is the idunno.AtProto.AtUri of the ListBlock record.

[JsonInclude]
public AtUri? BlockingByList { get; init; }

Property Value

AtUri?

Did

The idunno.AtProto.Did of the target actor.

[JsonInclude]
[JsonRequired]
public Did Did { get; init; }

Property Value

Did

Did

The idunno.AtProto.Did of the target actor.

[JsonInclude]
[JsonRequired]
public Did Did { get; init; }

Property Value

Did

Did

The idunno.AtProto.Did of the target actor.

[JsonInclude]
[JsonRequired]
public Did Did { get; init; }

Property Value

Did

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

FollowedBy

If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.

[JsonInclude]
public AtUri? FollowedBy { get; init; }

Property Value

AtUri?

FollowedBy

If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.

[JsonInclude]
public AtUri? FollowedBy { get; init; }

Property Value

AtUri?

FollowedBy

If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.

[JsonInclude]
public AtUri? FollowedBy { get; init; }

Property Value

AtUri?

Following

If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null.

[JsonInclude]
public AtUri? Following { get; init; }

Property Value

AtUri?

Following

If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null.

[JsonInclude]
public AtUri? Following { get; init; }

Property Value

AtUri?

Following

If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null.

[JsonInclude]
public AtUri? Following { get; init; }

Property Value

AtUri?

Methods

<Clone>$()

public override Relationship <Clone>$()

Returns

Relationship

<Clone>$()

public override Relationship <Clone>$()

Returns

Relationship

<Clone>$()

public override Relationship <Clone>$()

Returns

Relationship

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(RelationshipType?)

public override sealed bool Equals(RelationshipType? other)

Parameters

other RelationshipType?

Returns

bool

Equals(Relationship?)

public bool Equals(Relationship? other)

Parameters

other Relationship?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(RelationshipType?)

public override sealed bool Equals(RelationshipType? other)

Parameters

other RelationshipType?

Returns

bool

Equals(Relationship?)

public bool Equals(Relationship? other)

Parameters

other Relationship?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(RelationshipType?)

public override sealed bool Equals(RelationshipType? other)

Parameters

other RelationshipType?

Returns

bool

Equals(Relationship?)

public bool Equals(Relationship? other)

Parameters

other Relationship?

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

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Relationship?, Relationship?)

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

Parameters

left Relationship?
right Relationship?

Returns

bool

operator ==(Relationship?, Relationship?)

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

Parameters

left Relationship?
right Relationship?

Returns

bool

operator ==(Relationship?, Relationship?)

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

Parameters

left Relationship?
right Relationship?

Returns

bool

operator !=(Relationship?, Relationship?)

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

Parameters

left Relationship?
right Relationship?

Returns

bool

operator !=(Relationship?, Relationship?)

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

Parameters

left Relationship?
right Relationship?

Returns

bool

operator !=(Relationship?, Relationship?)

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

Parameters

left Relationship?
right Relationship?

Returns

bool