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
didDid-
The idunno.Bluesky.Graph.Relationship.Did of the target actor.
followingAtUri?-
If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null
followedByAtUri?-
If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.
blockingAtUri?-
If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.
blockedByAtUri?-
If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.
blockingByListAtUri?-
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.
blockedByListAtUri?-
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
didDid-
The idunno.Bluesky.Graph.Relationship.Did of the target actor.
followingAtUri?-
If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null
followedByAtUri?-
If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.
blockingAtUri?-
If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.
blockedByAtUri?-
If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.
blockingByListAtUri?-
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.
blockedByListAtUri?-
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
didDid-
The idunno.Bluesky.Graph.Relationship.Did of the target actor.
followingAtUri?-
If the actor follows this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the follow record, otherwise null
followedByAtUri?-
If the actor is followed by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the follow record.
blockingAtUri?-
If the actor blocks this idunno.Bluesky.Graph.Relationship.Did, this is the idunno.AtProto.AtUri of the block record.
blockedByAtUri?-
If the actor is blocked by this idunno.Bluesky.Graph.Relationship.Did, contains the idunno.AtProto.AtUri of the block record.
blockingByListAtUri?-
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.
blockedByListAtUri?-
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
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
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
<Clone>$()
public override Relationship <Clone>$()Returns
<Clone>$()
public override Relationship <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(RelationshipType?)
public override sealed bool Equals(RelationshipType? other)Parameters
otherRelationshipType?
Returns
Equals(Relationship?)
public bool Equals(Relationship? other)Parameters
otherRelationship?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(RelationshipType?)
public override sealed bool Equals(RelationshipType? other)Parameters
otherRelationshipType?
Returns
Equals(Relationship?)
public bool Equals(Relationship? other)Parameters
otherRelationship?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(RelationshipType?)
public override sealed bool Equals(RelationshipType? other)Parameters
otherRelationshipType?
Returns
Equals(Relationship?)
public bool Equals(Relationship? other)Parameters
otherRelationship?
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()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(Relationship?, Relationship?)
public static bool operator ==(Relationship? left, Relationship? right)Parameters
leftRelationship?rightRelationship?
Returns
operator ==(Relationship?, Relationship?)
public static bool operator ==(Relationship? left, Relationship? right)Parameters
leftRelationship?rightRelationship?
Returns
operator ==(Relationship?, Relationship?)
public static bool operator ==(Relationship? left, Relationship? right)Parameters
leftRelationship?rightRelationship?
Returns
operator !=(Relationship?, Relationship?)
public static bool operator !=(Relationship? left, Relationship? right)Parameters
leftRelationship?rightRelationship?
Returns
operator !=(Relationship?, Relationship?)
public static bool operator !=(Relationship? left, Relationship? right)Parameters
leftRelationship?rightRelationship?
Returns
operator !=(Relationship?, Relationship?)
public static bool operator !=(Relationship? left, Relationship? right)Parameters
leftRelationship?rightRelationship?