app.bsky.feed.describe_feed_generator#

pydantic model atproto.xrpc_client.models.app.bsky.feed.describe_feed_generator.Feed#

Bases: ModelBase

Definition model for app.bsky.feed.describeFeedGenerator.

Show JSON schema
{
   "title": "Feed",
   "description": "Definition model for :obj:`app.bsky.feed.describeFeedGenerator`.",
   "type": "object",
   "properties": {
      "uri": {
         "title": "Uri",
         "type": "string"
      },
      "$type": {
         "const": "app.bsky.feed.describeFeedGenerator#feed",
         "default": "app.bsky.feed.describeFeedGenerator#feed",
         "title": "$Type"
      }
   },
   "additionalProperties": false,
   "required": [
      "uri"
   ]
}

Fields:
field py_type: typing_extensions.Literal[app.bsky.feed.describeFeedGenerator#feed] = 'app.bsky.feed.describeFeedGenerator#feed' (alias '$type')#
field uri: str [Required]#

Uri.

Bases: ModelBase

Definition model for app.bsky.feed.describeFeedGenerator.

Show JSON schema
{
   "title": "Links",
   "description": "Definition model for :obj:`app.bsky.feed.describeFeedGenerator`.",
   "type": "object",
   "properties": {
      "privacyPolicy": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Privacypolicy"
      },
      "termsOfService": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Termsofservice"
      },
      "$type": {
         "const": "app.bsky.feed.describeFeedGenerator#links",
         "default": "app.bsky.feed.describeFeedGenerator#links",
         "title": "$Type"
      }
   },
   "additionalProperties": false
}

Fields:
field privacy_policy: Optional[str] = None (alias 'privacyPolicy')#

Privacy policy.

field py_type: typing_extensions.Literal[app.bsky.feed.describeFeedGenerator#links] = 'app.bsky.feed.describeFeedGenerator#links' (alias '$type')#
field terms_of_service: Optional[str] = None (alias 'termsOfService')#

Terms of service.

pydantic model atproto.xrpc_client.models.app.bsky.feed.describe_feed_generator.Response#

Bases: ResponseModelBase

Output data model for app.bsky.feed.describeFeedGenerator.

Show JSON schema
{
   "title": "Response",
   "description": "Output data model for :obj:`app.bsky.feed.describeFeedGenerator`.",
   "type": "object",
   "properties": {
      "did": {
         "title": "Did",
         "type": "string"
      },
      "feeds": {
         "items": {
            "$ref": "#/$defs/Feed"
         },
         "title": "Feeds",
         "type": "array"
      },
      "links": {
         "anyOf": [
            {
               "$ref": "#/$defs/Links"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "Feed": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.feed.describeFeedGenerator`.",
         "properties": {
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "$type": {
               "const": "app.bsky.feed.describeFeedGenerator#feed",
               "default": "app.bsky.feed.describeFeedGenerator#feed",
               "title": "$Type"
            }
         },
         "required": [
            "uri"
         ],
         "title": "Feed",
         "type": "object"
      },
      "Links": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.feed.describeFeedGenerator`.",
         "properties": {
            "privacyPolicy": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Privacypolicy"
            },
            "termsOfService": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Termsofservice"
            },
            "$type": {
               "const": "app.bsky.feed.describeFeedGenerator#links",
               "default": "app.bsky.feed.describeFeedGenerator#links",
               "title": "$Type"
            }
         },
         "title": "Links",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "did",
      "feeds"
   ]
}

Fields:
field did: str [Required]#

Did.

field feeds: List[models.AppBskyFeedDescribeFeedGenerator.Feed] [Required]#

Feeds.

Links.