Service

data class Service(val policies: LabelerPolicies, val labels: ServiceLabelsUnion? = null, val createdAt: Timestamp, val reasonTypes: List<Token> = emptyList(), val subjectTypes: List<SubjectType> = emptyList(), val subjectCollections: List<Nsid> = emptyList())

Parameters

reasonTypes

The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.

subjectTypes

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

subjectCollections

Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.

Constructors

Link copied to clipboard
constructor(policies: LabelerPolicies, labels: ServiceLabelsUnion? = null, createdAt: Timestamp, reasonTypes: List<Token> = emptyList(), subjectTypes: List<SubjectType> = emptyList(), subjectCollections: List<Nsid> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.

Link copied to clipboard

Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.

Link copied to clipboard

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