LabelerPolicies constructor
Implementation
@JsonSerializable(includeIfNull: false)
const factory LabelerPolicies({
/// The unique namespace for this lex object.
///
/// `app.bsky.labeler.defs#labelerPolicies`
@Default(appBskyLabelerDefsLabelerPolicies)
@JsonKey(name: r'$type')
String $type,
/// The label values which this labeler publishes. May include global
/// or custom labels.
@ULabelValueConverter() required List<ULabelValue> labelValues,
/// Label values created by this labeler and scoped exclusively to
/// it. Labels defined here will override global label definitions
/// for this labeler.
@LabelValueDefinitionConverter()
List<LabelValueDefinition>? labelValueDefinitions,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _LabelerPolicies;