com.atproto.server.create_invite_codes¶
- class atproto_client.models.com.atproto.server.create_invite_codes.AccountCodes¶
Bases:
ModelBase
Definition model for
com.atproto.server.createInviteCodes
.- field account: str [Required]¶
Account.
- field codes: List[str] [Required]¶
Codes.
- field py_type: Literal['com.atproto.server.createInviteCodes#accountCodes'] = 'com.atproto.server.createInviteCodes#accountCodes'¶
- class atproto_client.models.com.atproto.server.create_invite_codes.Data¶
Bases:
DataModelBase
Input data model for
com.atproto.server.createInviteCodes
.- field code_count: int = 1¶
Code count.
- field for_accounts: List[str] | None = None¶
For accounts.
- field use_count: int [Required]¶
Use count.
- class atproto_client.models.com.atproto.server.create_invite_codes.DataDict(*args, **kwargs)¶
Bases:
dict
- code_count: int¶
Code count.
- for_accounts: typing_extensions.NotRequired[List[str] | None]¶
For accounts.
- use_count: int¶
Use count.
- class atproto_client.models.com.atproto.server.create_invite_codes.Response¶
Bases:
ResponseModelBase
Output data model for
com.atproto.server.createInviteCodes
.- field codes: List[models.ComAtprotoServerCreateInviteCodes.AccountCodes] [Required]¶
Codes.