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.EqualityContractAtProtoRecord.ExtensionData
Constructors
Service(Service)
[SetsRequiredMembers]
protected Service(Service original)Parameters
originalService
Service()
public Service()Service(Service)
[SetsRequiredMembers]
protected Service(Service original)Parameters
originalService
Service()
public Service()Service(Service)
[SetsRequiredMembers]
protected Service(Service original)Parameters
originalService
Service()
public Service()Properties
CreatedAt
Gets the System.DateTimeOffset the labeler declaration was created at.
public required DateTimeOffset CreatedAt { get; init; }Property Value
CreatedAt
Gets the System.DateTimeOffset the labeler declaration was created at.
public required DateTimeOffset CreatedAt { get; init; }Property Value
CreatedAt
Gets the System.DateTimeOffset the labeler declaration was created at.
public required DateTimeOffset CreatedAt { get; init; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
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
Policies
Gets the policies the labeler publishes.
public required LabelerPolicies Policies { get; init; }Property Value
Policies
Gets the policies the labeler publishes.
public required LabelerPolicies Policies { get; init; }Property Value
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
SubjectTypes
Gets the set of subject types (account, record, etc) this service accepts reports on.
public ICollection<string>? SubjectTypes { get; init; }Property Value
SubjectTypes
Gets the set of subject types (account, record, etc) this service accepts reports on.
public ICollection<string>? SubjectTypes { get; init; }Property Value
Methods
<Clone>$()
public override Service <Clone>$()Returns
<Clone>$()
public override Service <Clone>$()Returns
<Clone>$()
public override Service <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyRecord?)
public override sealed bool Equals(BlueskyRecord? other)Parameters
otherBlueskyRecord?
Returns
Equals(Service?)
public virtual bool Equals(Service? other)Parameters
otherService?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyRecord?)
public override sealed bool Equals(BlueskyRecord? other)Parameters
otherBlueskyRecord?
Returns
Equals(Service?)
public virtual bool Equals(Service? other)Parameters
otherService?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(BlueskyRecord?)
public override sealed bool Equals(BlueskyRecord? other)Parameters
otherBlueskyRecord?
Returns
Equals(Service?)
public virtual bool Equals(Service? other)Parameters
otherService?
Returns
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
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 ==(Service?, Service?)
public static bool operator ==(Service? left, Service? right)Parameters
Returns
operator ==(Service?, Service?)
public static bool operator ==(Service? left, Service? right)Parameters
Returns
operator ==(Service?, Service?)
public static bool operator ==(Service? left, Service? right)Parameters
Returns
operator !=(Service?, Service?)
public static bool operator !=(Service? left, Service? right)Parameters
Returns
operator !=(Service?, Service?)
public static bool operator !=(Service? left, Service? right)Parameters
Returns
operator !=(Service?, Service?)
public static bool operator !=(Service? left, Service? right)