Table of Contents

Class PostSelfLabels

Namespace
idunno.Bluesky
Assembly
idunno.Bluesky.dll

Properties for labels to apply to a post.

public sealed record PostSelfLabels : IEquatable<PostSelfLabels>

Inheritance

Implements

Inherited Members

Constructors

PostSelfLabels()

Creates a new instance of idunno.Bluesky.PostSelfLabels

public PostSelfLabels()

PostSelfLabels(SelfLabels)

Creates a new instance of idunno.Bluesky.PostSelfLabels

public PostSelfLabels(SelfLabels labels)

Parameters

labels SelfLabels

The AtProto idunno.AtProto.Labels.SelfLabels to extract specific Bluesky post self labels from.

PostSelfLabels()

Creates a new instance of idunno.Bluesky.PostSelfLabels

public PostSelfLabels()

PostSelfLabels(SelfLabels)

Creates a new instance of idunno.Bluesky.PostSelfLabels

public PostSelfLabels(SelfLabels labels)

Parameters

labels SelfLabels

The AtProto idunno.AtProto.Labels.SelfLabels to extract specific Bluesky post self labels from.

PostSelfLabels()

Creates a new instance of idunno.Bluesky.PostSelfLabels

public PostSelfLabels()

PostSelfLabels(SelfLabels)

Creates a new instance of idunno.Bluesky.PostSelfLabels

public PostSelfLabels(SelfLabels labels)

Parameters

labels SelfLabels

The AtProto idunno.AtProto.Labels.SelfLabels to extract specific Bluesky post self labels from.

Properties

GraphicMedia

Gets or sets a flag indicating the post media contains graphic media. This behaves like idunno.Bluesky.PostSelfLabels.Porn but is for violence or gore.

public bool GraphicMedia { get; set; }

Property Value

bool

GraphicMedia

Gets or sets a flag indicating the post media contains graphic media. This behaves like idunno.Bluesky.PostSelfLabels.Porn but is for violence or gore.

public bool GraphicMedia { get; set; }

Property Value

bool

GraphicMedia

Gets or sets a flag indicating the post media contains graphic media. This behaves like idunno.Bluesky.PostSelfLabels.Porn but is for violence or gore.

public bool GraphicMedia { get; set; }

Property Value

bool

Nudity

Gets or sets a flag indicating the post media contains nudity. This puts a warning on images but isn't 18+ and defaults to ignore.

public bool Nudity { get; set; }

Property Value

bool

Nudity

Gets or sets a flag indicating the post media contains nudity. This puts a warning on images but isn't 18+ and defaults to ignore.

public bool Nudity { get; set; }

Property Value

bool

Nudity

Gets or sets a flag indicating the post media contains nudity. This puts a warning on images but isn't 18+ and defaults to ignore.

public bool Nudity { get; set; }

Property Value

bool

Porn

Gets or sets a flag indicating the post media contains porn. This puts a warning on images and can only be clicked through if the user is 18+ and has enabled adult content.

public bool Porn { get; set; }

Property Value

bool

Porn

Gets or sets a flag indicating the post media contains porn. This puts a warning on images and can only be clicked through if the user is 18+ and has enabled adult content.

public bool Porn { get; set; }

Property Value

bool

Porn

Gets or sets a flag indicating the post media contains porn. This puts a warning on images and can only be clicked through if the user is 18+ and has enabled adult content.

public bool Porn { get; set; }

Property Value

bool

SexualContent

Gets or sets a flag indicating the post media contains sexual content. This behaves like idunno.Bluesky.PostSelfLabels.Porn but is meant to handle less intense sexual content.

public bool SexualContent { get; set; }

Property Value

bool

SexualContent

Gets or sets a flag indicating the post media contains sexual content. This behaves like idunno.Bluesky.PostSelfLabels.Porn but is meant to handle less intense sexual content.

public bool SexualContent { get; set; }

Property Value

bool

SexualContent

Gets or sets a flag indicating the post media contains sexual content. This behaves like idunno.Bluesky.PostSelfLabels.Porn but is meant to handle less intense sexual content.

public bool SexualContent { get; set; }

Property Value

bool

Methods

<Clone>$()

public PostSelfLabels <Clone>$()

Returns

PostSelfLabels

<Clone>$()

public PostSelfLabels <Clone>$()

Returns

PostSelfLabels

<Clone>$()

public PostSelfLabels <Clone>$()

Returns

PostSelfLabels

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(PostSelfLabels?)

public bool Equals(PostSelfLabels? other)

Parameters

other PostSelfLabels?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(PostSelfLabels?)

public bool Equals(PostSelfLabels? other)

Parameters

other PostSelfLabels?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(PostSelfLabels?)

public bool Equals(PostSelfLabels? other)

Parameters

other PostSelfLabels?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

ToSelfLabels()

Converts this instance of idunno.Bluesky.PostSelfLabels to an instance of idunno.AtProto.Labels.SelfLabels.

public SelfLabels ToSelfLabels()

Returns

SelfLabels

A new instance of idunno.AtProto.Labels.SelfLabels containing the post specific labels set in this instance.

ToSelfLabels()

Converts this instance of idunno.Bluesky.PostSelfLabels to an instance of idunno.AtProto.Labels.SelfLabels.

public SelfLabels ToSelfLabels()

Returns

SelfLabels

A new instance of idunno.AtProto.Labels.SelfLabels containing the post specific labels set in this instance.

ToSelfLabels()

Converts this instance of idunno.Bluesky.PostSelfLabels to an instance of idunno.AtProto.Labels.SelfLabels.

public SelfLabels ToSelfLabels()

Returns

SelfLabels

A new instance of idunno.AtProto.Labels.SelfLabels containing the post specific labels set in this instance.

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(PostSelfLabels?, PostSelfLabels?)

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

Parameters

left PostSelfLabels?
right PostSelfLabels?

Returns

bool

operator ==(PostSelfLabels?, PostSelfLabels?)

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

Parameters

left PostSelfLabels?
right PostSelfLabels?

Returns

bool

operator ==(PostSelfLabels?, PostSelfLabels?)

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

Parameters

left PostSelfLabels?
right PostSelfLabels?

Returns

bool

explicit operator SelfLabels(PostSelfLabels)

Converts postSelfLabels to an instance of idunno.AtProto.Labels.SelfLabels.

public static explicit operator SelfLabels(PostSelfLabels postSelfLabels)

Parameters

postSelfLabels PostSelfLabels

The instance of idunno.Bluesky.PostSelfLabels to convert.1

Returns

SelfLabels

A new instance of idunno.AtProto.Labels.SelfLabels containing the post specific labels from postSelfLabels.

Exceptions

ArgumentNullException

Thrown when postSelfLabels is null.

explicit operator SelfLabels(PostSelfLabels)

Converts postSelfLabels to an instance of idunno.AtProto.Labels.SelfLabels.

public static explicit operator SelfLabels(PostSelfLabels postSelfLabels)

Parameters

postSelfLabels PostSelfLabels

The instance of idunno.Bluesky.PostSelfLabels to convert.1

Returns

SelfLabels

A new instance of idunno.AtProto.Labels.SelfLabels containing the post specific labels from postSelfLabels.

Exceptions

ArgumentNullException

Thrown when postSelfLabels is null.

explicit operator SelfLabels(PostSelfLabels)

Converts postSelfLabels to an instance of idunno.AtProto.Labels.SelfLabels.

public static explicit operator SelfLabels(PostSelfLabels postSelfLabels)

Parameters

postSelfLabels PostSelfLabels

The instance of idunno.Bluesky.PostSelfLabels to convert.1

Returns

SelfLabels

A new instance of idunno.AtProto.Labels.SelfLabels containing the post specific labels from postSelfLabels.

Exceptions

ArgumentNullException

Thrown when postSelfLabels is null.

operator !=(PostSelfLabels?, PostSelfLabels?)

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

Parameters

left PostSelfLabels?
right PostSelfLabels?

Returns

bool

operator !=(PostSelfLabels?, PostSelfLabels?)

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

Parameters

left PostSelfLabels?
right PostSelfLabels?

Returns

bool

operator !=(PostSelfLabels?, PostSelfLabels?)

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

Parameters

left PostSelfLabels?
right PostSelfLabels?

Returns

bool