com.atproto.label.subscribe_labels#

pydantic model atproto.xrpc_client.models.com.atproto.label.subscribe_labels.Info#

Bases: ModelBase

Definition model for com.atproto.label.subscribeLabels.

Show JSON schema
{
   "title": "Info",
   "description": "Definition model for :obj:`com.atproto.label.subscribeLabels`.",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "type": "string"
      },
      "message": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Message"
      },
      "$type": {
         "const": "com.atproto.label.subscribeLabels#info",
         "default": "com.atproto.label.subscribeLabels#info",
         "title": "$Type"
      }
   },
   "additionalProperties": false,
   "required": [
      "name"
   ]
}

Fields:
field message: Optional[str] = None#

Message.

field name: str [Required]#

Name.

field py_type: typing_extensions.Literal[com.atproto.label.subscribeLabels#info] = 'com.atproto.label.subscribeLabels#info' (alias '$type')#
pydantic model atproto.xrpc_client.models.com.atproto.label.subscribe_labels.Labels#

Bases: ModelBase

Definition model for com.atproto.label.subscribeLabels.

Show JSON schema
{
   "title": "Labels",
   "description": "Definition model for :obj:`com.atproto.label.subscribeLabels`.",
   "type": "object",
   "properties": {
      "labels": {
         "items": {
            "$ref": "#/$defs/Label"
         },
         "title": "Labels",
         "type": "array"
      },
      "seq": {
         "title": "Seq",
         "type": "integer"
      },
      "$type": {
         "const": "com.atproto.label.subscribeLabels#labels",
         "default": "com.atproto.label.subscribeLabels#labels",
         "title": "$Type"
      }
   },
   "$defs": {
      "Label": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto resource (eg, repo or record)",
         "properties": {
            "cts": {
               "title": "Cts",
               "type": "string"
            },
            "src": {
               "title": "Src",
               "type": "string"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "val": {
               "maxLength": 128,
               "title": "Val",
               "type": "string"
            },
            "cid": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Cid"
            },
            "neg": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Neg"
            },
            "$type": {
               "const": "com.atproto.label.defs#label",
               "default": "com.atproto.label.defs#label",
               "title": "$Type"
            }
         },
         "required": [
            "cts",
            "src",
            "uri",
            "val"
         ],
         "title": "Label",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "labels",
      "seq"
   ]
}

Fields:
field labels: List[models.ComAtprotoLabelDefs.Label] [Required]#

Labels.

field py_type: typing_extensions.Literal[com.atproto.label.subscribeLabels#labels] = 'com.atproto.label.subscribeLabels#labels' (alias '$type')#
field seq: int [Required]#

Seq.

pydantic model atproto.xrpc_client.models.com.atproto.label.subscribe_labels.Params#

Bases: ParamsModelBase

Parameters model for com.atproto.label.subscribeLabels.

Show JSON schema
{
   "title": "Params",
   "description": "Parameters model for :obj:`com.atproto.label.subscribeLabels`.",
   "type": "object",
   "properties": {
      "cursor": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Cursor"
      }
   },
   "additionalProperties": false
}

Fields:
field cursor: Optional[int] = None#

The last known event to backfill from.

class atproto.xrpc_client.models.com.atproto.label.subscribe_labels.ParamsDict#

Bases: TypedDict

cursor: typing_extensions.NotRequired[Optional[int]]#

The last known event to backfill from.