com.atproto.server.create_invite_code#
- pydantic model atproto.xrpc_client.models.com.atproto.server.create_invite_code.Data#
Bases:
DataModelBase
Input data model for
com.atproto.server.createInviteCode
.Show JSON schema
{ "title": "Data", "description": "Input data model for :obj:`com.atproto.server.createInviteCode`.", "type": "object", "properties": { "useCount": { "title": "Usecount", "type": "integer" }, "forAccount": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Foraccount" } }, "additionalProperties": false, "required": [ "useCount" ] }
- field for_account: Optional[str] = None (alias 'forAccount')#
For account.
- field use_count: int [Required] (alias 'useCount')#
Use count.
- class atproto.xrpc_client.models.com.atproto.server.create_invite_code.DataDict#
Bases:
TypedDict
- for_account: typing_extensions.NotRequired[Optional[str]]#
For account.
- use_count: int#
Use count.
- pydantic model atproto.xrpc_client.models.com.atproto.server.create_invite_code.Response#
Bases:
ResponseModelBase
Output data model for
com.atproto.server.createInviteCode
.Show JSON schema
{ "title": "Response", "description": "Output data model for :obj:`com.atproto.server.createInviteCode`.", "type": "object", "properties": { "code": { "title": "Code", "type": "string" } }, "additionalProperties": false, "required": [ "code" ] }
- Fields:
- field code: str [Required]#
Code.