Table of Contents

Class ThreadItemPost

Namespace
idunno.Bluesky.Unspecced
Assembly
idunno.Bluesky.dll

Encapsulates a post in a thread, and properties associated with the post in the context of the thread.

public sealed record ThreadItemPost : ThreadItemValue, IEquatable<ThreadItemValue>, IEquatable<ThreadItemPost>

Inheritance

Implements

Inherited Members

Properties

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

HiddenByThreadGate

Flag indicating whether the threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.

[JsonRequired]
[JsonPropertyName("hiddenByThreadgate")]
public bool HiddenByThreadGate { get; init; }

Property Value

bool

HiddenByThreadGate

Flag indicating whether the threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.

[JsonRequired]
[JsonPropertyName("hiddenByThreadgate")]
public bool HiddenByThreadGate { get; init; }

Property Value

bool

HiddenByThreadGate

Flag indicating whether the threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.

[JsonRequired]
[JsonPropertyName("hiddenByThreadgate")]
public bool HiddenByThreadGate { get; init; }

Property Value

bool

MoreParents

Flag indicating whether this post has more parents that were not present in the response.

[JsonRequired]
public bool MoreParents { get; init; }

Property Value

bool

MoreParents

Flag indicating whether this post has more parents that were not present in the response.

[JsonRequired]
public bool MoreParents { get; init; }

Property Value

bool

MoreParents

Flag indicating whether this post has more parents that were not present in the response.

[JsonRequired]
public bool MoreParents { get; init; }

Property Value

bool

MoreReplies

Gets the number of more replies the post has that were not present in the response. This is best-effort and might not be accurate.

[JsonRequired]
public int MoreReplies { get; init; }

Property Value

int

MoreReplies

Gets the number of more replies the post has that were not present in the response. This is best-effort and might not be accurate.

[JsonRequired]
public int MoreReplies { get; init; }

Property Value

int

MoreReplies

Gets the number of more replies the post has that were not present in the response. This is best-effort and might not be accurate.

[JsonRequired]
public int MoreReplies { get; init; }

Property Value

int

MutedByViewer

Flag indicating whether the post is by an account muted by the viewer requesting it.

[JsonRequired]
public bool MutedByViewer { get; init; }

Property Value

bool

MutedByViewer

Flag indicating whether the post is by an account muted by the viewer requesting it.

[JsonRequired]
public bool MutedByViewer { get; init; }

Property Value

bool

MutedByViewer

Flag indicating whether the post is by an account muted by the viewer requesting it.

[JsonRequired]
public bool MutedByViewer { get; init; }

Property Value

bool

OpThread

Flag indicating whether this post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.

[JsonRequired]
public bool OpThread { get; init; }

Property Value

bool

OpThread

Flag indicating whether this post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.

[JsonRequired]
public bool OpThread { get; init; }

Property Value

bool

OpThread

Flag indicating whether this post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.

[JsonRequired]
public bool OpThread { get; init; }

Property Value

bool

OpThreadPostCount

Gets the total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread (see idunno.Bluesky.Unspecced.ThreadItemPost.OpThread).

public int? OpThreadPostCount { get; init; }

Property Value

int?

OpThreadPostCount

Gets the total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread (see idunno.Bluesky.Unspecced.ThreadItemPost.OpThread).

public int? OpThreadPostCount { get; init; }

Property Value

int?

OpThreadPostCount

Gets the total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread (see idunno.Bluesky.Unspecced.ThreadItemPost.OpThread).

public int? OpThreadPostCount { get; init; }

Property Value

int?

OpThreadPostIndex

Gets the 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread (see idunno.Bluesky.Unspecced.ThreadItemPost.OpThread).

public int? OpThreadPostIndex { get; init; }

Property Value

int?

OpThreadPostIndex

Gets the 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread (see idunno.Bluesky.Unspecced.ThreadItemPost.OpThread).

public int? OpThreadPostIndex { get; init; }

Property Value

int?

OpThreadPostIndex

Gets the 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread (see idunno.Bluesky.Unspecced.ThreadItemPost.OpThread).

public int? OpThreadPostIndex { get; init; }

Property Value

int?

Post

Gets the post associated with this thread item.

[JsonRequired]
public PostView Post { get; init; }

Property Value

PostView

Post

Gets the post associated with this thread item.

[JsonRequired]
public PostView Post { get; init; }

Property Value

PostView

Post

Gets the post associated with this thread item.

[JsonRequired]
public PostView Post { get; init; }

Property Value

PostView

Methods

<Clone>$()

public override ThreadItemPost <Clone>$()

Returns

ThreadItemPost

<Clone>$()

public override ThreadItemPost <Clone>$()

Returns

ThreadItemPost

<Clone>$()

public override ThreadItemPost <Clone>$()

Returns

ThreadItemPost

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ThreadItemValue?)

public override sealed bool Equals(ThreadItemValue? other)

Parameters

other ThreadItemValue?

Returns

bool

Equals(ThreadItemPost?)

public bool Equals(ThreadItemPost? other)

Parameters

other ThreadItemPost?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ThreadItemValue?)

public override sealed bool Equals(ThreadItemValue? other)

Parameters

other ThreadItemValue?

Returns

bool

Equals(ThreadItemPost?)

public bool Equals(ThreadItemPost? other)

Parameters

other ThreadItemPost?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ThreadItemValue?)

public override sealed bool Equals(ThreadItemValue? other)

Parameters

other ThreadItemValue?

Returns

bool

Equals(ThreadItemPost?)

public bool Equals(ThreadItemPost? other)

Parameters

other ThreadItemPost?

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

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

Parameters

left ThreadItemPost?
right ThreadItemPost?

Returns

bool

operator ==(ThreadItemPost?, ThreadItemPost?)

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

Parameters

left ThreadItemPost?
right ThreadItemPost?

Returns

bool

operator ==(ThreadItemPost?, ThreadItemPost?)

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

Parameters

left ThreadItemPost?
right ThreadItemPost?

Returns

bool

operator !=(ThreadItemPost?, ThreadItemPost?)

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

Parameters

left ThreadItemPost?
right ThreadItemPost?

Returns

bool

operator !=(ThreadItemPost?, ThreadItemPost?)

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

Parameters

left ThreadItemPost?
right ThreadItemPost?

Returns

bool

operator !=(ThreadItemPost?, ThreadItemPost?)

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

Parameters

left ThreadItemPost?
right ThreadItemPost?

Returns

bool