app.bsky.labeler.defs

class atproto_client.models.app.bsky.labeler.defs.LabelerPolicies

Bases: ModelBase

Definition model for app.bsky.labeler.defs.

field label_value_definitions: List[models.ComAtprotoLabelDefs.LabelValueDefinition] | None = None

Label values created by this labeler and scoped exclusively to it. Labels defined here will override global label definitions for this labeler.

field label_values: List[models.ComAtprotoLabelDefs.LabelValue] [Required]

The label values which this labeler publishes. May include global or custom labels.

field py_type: Literal['app.bsky.labeler.defs#labelerPolicies'] = 'app.bsky.labeler.defs#labelerPolicies'
class atproto_client.models.app.bsky.labeler.defs.LabelerView

Bases: ModelBase

Definition model for app.bsky.labeler.defs.

field cid: str [Required]

Cid.

field creator: models.AppBskyActorDefs.ProfileView [Required]

Creator.

field indexed_at: str [Required]

Indexed at.

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field like_count: int | None = None

Like count.

Constraints:
  • ge = 0

field py_type: Literal['app.bsky.labeler.defs#labelerView'] = 'app.bsky.labeler.defs#labelerView'
field uri: str [Required]

Uri.

field viewer: models.AppBskyLabelerDefs.LabelerViewerState | None = None

Viewer.

class atproto_client.models.app.bsky.labeler.defs.LabelerViewDetailed

Bases: ModelBase

Definition model for app.bsky.labeler.defs.

field cid: str [Required]

Cid.

field creator: models.AppBskyActorDefs.ProfileView [Required]

Creator.

field indexed_at: str [Required]

Indexed at.

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field like_count: int | None = None

Like count.

Constraints:
  • ge = 0

field policies: models.AppBskyLabelerDefs.LabelerPolicies [Required]

Policies.

field py_type: Literal['app.bsky.labeler.defs#labelerViewDetailed'] = 'app.bsky.labeler.defs#labelerViewDetailed'
field uri: str [Required]

Uri.

field viewer: models.AppBskyLabelerDefs.LabelerViewerState | None = None

Viewer.

class atproto_client.models.app.bsky.labeler.defs.LabelerViewerState

Bases: ModelBase

Definition model for app.bsky.labeler.defs.

field like: str | None = None

Like.

field py_type: Literal['app.bsky.labeler.defs#labelerViewerState'] = 'app.bsky.labeler.defs#labelerViewerState'