Table of Contents

Class Service

Namespace
idunno.Bluesky.Labeler
Assembly
idunno.Bluesky.dll

Encapsulates a declaration of the existence of a labeler service.

[JsonPolymorphic(IgnoreUnrecognizedTypeDiscriminators = true, UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FallBackToBaseType)]
[JsonDerivedType(typeof(Service), "app.bsky.labeler.service")]
public record Service : BlueskyRecord, IEquatable<AtProtoRecord>, IEquatable<BlueskyRecord>, IEquatable<Service>

Inheritance

AtProtoRecord

Implements

Inherited Members

AtProtoRecord.Equals(AtProtoRecord?)
AtProtoRecord.GetHashCode()
AtProtoRecord.ToString()
AtProtoRecord.PrintMembers(StringBuilder)
AtProtoRecord.Equals(object?)
AtProtoRecord.<Clone>$()
AtProtoRecord.EqualityContract
AtProtoRecord.ExtensionData

Constructors

Service(Service)

[SetsRequiredMembers]
protected Service(Service original)

Parameters

original Service

Service()

public Service()

Service(Service)

[SetsRequiredMembers]
protected Service(Service original)

Parameters

original Service

Service()

public Service()

Service(Service)

[SetsRequiredMembers]
protected Service(Service original)

Parameters

original Service

Service()

public Service()

Properties

CreatedAt

Gets the System.DateTimeOffset the labeler declaration was created at.

public required DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

CreatedAt

Gets the System.DateTimeOffset the labeler declaration was created at.

public required DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

CreatedAt

Gets the System.DateTimeOffset the labeler declaration was created at.

public required DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

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

Labels

Gets the labels the labeler declares for itself, if any.

public ICollection<SelfLabel> Labels { get; init; }

Property Value

ICollection<SelfLabel>

Labels

Gets the labels the labeler declares for itself, if any.

public ICollection<SelfLabel> Labels { get; init; }

Property Value

ICollection<SelfLabel>

Labels

Gets the labels the labeler declares for itself, if any.

public ICollection<SelfLabel> Labels { get; init; }

Property Value

ICollection<SelfLabel>

Policies

Gets the policies the labeler publishes.

public required LabelerPolicies Policies { get; init; }

Property Value

LabelerPolicies

Policies

Gets the policies the labeler publishes.

public required LabelerPolicies Policies { get; init; }

Property Value

LabelerPolicies

Policies

Gets the policies the labeler publishes.

public required LabelerPolicies Policies { get; init; }

Property Value

LabelerPolicies

SubjectCollections

Gets the set of record types (collection idunno.AtProto.Nsids) which can be reported to this service. If the value is null, as distinct from an empty collection the labeler accepts reports on any record type.

public ICollection<Nsid>? SubjectCollections { get; init; }

Property Value

ICollection<Nsid>?

SubjectCollections

Gets the set of record types (collection idunno.AtProto.Nsids) which can be reported to this service. If the value is null, as distinct from an empty collection the labeler accepts reports on any record type.

public ICollection<Nsid>? SubjectCollections { get; init; }

Property Value

ICollection<Nsid>?

SubjectCollections

Gets the set of record types (collection idunno.AtProto.Nsids) which can be reported to this service. If the value is null, as distinct from an empty collection the labeler accepts reports on any record type.

public ICollection<Nsid>? SubjectCollections { get; init; }

Property Value

ICollection<Nsid>?

SubjectTypes

Gets the set of subject types (account, record, etc) this service accepts reports on.

public ICollection<string>? SubjectTypes { get; init; }

Property Value

ICollection<string>?

SubjectTypes

Gets the set of subject types (account, record, etc) this service accepts reports on.

public ICollection<string>? SubjectTypes { get; init; }

Property Value

ICollection<string>?

SubjectTypes

Gets the set of subject types (account, record, etc) this service accepts reports on.

public ICollection<string>? SubjectTypes { get; init; }

Property Value

ICollection<string>?

Methods

<Clone>$()

public override Service <Clone>$()

Returns

Service

<Clone>$()

public override Service <Clone>$()

Returns

Service

<Clone>$()

public override Service <Clone>$()

Returns

Service

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BlueskyRecord?)

public override sealed bool Equals(BlueskyRecord? other)

Parameters

other BlueskyRecord?

Returns

bool

Equals(Service?)

public virtual bool Equals(Service? other)

Parameters

other Service?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BlueskyRecord?)

public override sealed bool Equals(BlueskyRecord? other)

Parameters

other BlueskyRecord?

Returns

bool

Equals(Service?)

public virtual bool Equals(Service? other)

Parameters

other Service?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(BlueskyRecord?)

public override sealed bool Equals(BlueskyRecord? other)

Parameters

other BlueskyRecord?

Returns

bool

Equals(Service?)

public virtual bool Equals(Service? other)

Parameters

other Service?

Returns

bool

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

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

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

Parameters

left Service?
right Service?

Returns

bool

operator ==(Service?, Service?)

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

Parameters

left Service?
right Service?

Returns

bool

operator ==(Service?, Service?)

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

Parameters

left Service?
right Service?

Returns

bool

operator !=(Service?, Service?)

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

Parameters

left Service?
right Service?

Returns

bool

operator !=(Service?, Service?)

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

Parameters

left Service?
right Service?

Returns

bool

operator !=(Service?, Service?)

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

Parameters

left Service?
right Service?

Returns

bool