com.germnetwork.declaration¶
- class atproto_client.models.com.germnetwork.declaration.CreateRecordResponse¶
Bases:
SugarResponseModelBaseCreate record response for
models.ComGermnetworkDeclaration.Record.- field cid: str [Required]¶
The CID of the record.
- field uri: str [Required]¶
The URI of the record.
- class atproto_client.models.com.germnetwork.declaration.GetRecordResponse¶
Bases:
SugarResponseModelBaseGet record response for
models.ComGermnetworkDeclaration.Record.- field cid: str | None = None¶
The CID of the record.
- field uri: str [Required]¶
The URI of the record.
- field value: models.ComGermnetworkDeclaration.Record [Required]¶
The record.
- class atproto_client.models.com.germnetwork.declaration.ListRecordsResponse¶
Bases:
SugarResponseModelBaseList records response for
models.ComGermnetworkDeclaration.Record.- field cursor: str | None = None¶
Next page cursor.
- field records: Dict[str, models.ComGermnetworkDeclaration.Record] [Required]¶
Map of URIs to records.
- class atproto_client.models.com.germnetwork.declaration.MessageMe¶
Bases:
ModelBaseDefinition model for
com.germnetwork.declaration.- field message_me_url: str [Required]¶
A URL to present to an account that does not have its own com.germnetwork.declaration record, must have an empty fragment component, where the app should fill in the fragment component with the DIDs of the two accounts who wish to message each other.
- Constraints:
min_length = 1
max_length = 2047
func = Validated by:
string_formats.validate_uri()(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- field py_type: Literal['com.germnetwork.declaration#messageMe'] = 'com.germnetwork.declaration#messageMe'¶
- field show_button_to: Literal['none'] | Literal['usersIFollow'] | Literal['everyone'] | str [Required]¶
The policy of who can message the account, this value is included in the keyPackage, but is duplicated here to allow applications to decide if they should show a ‘Message on Germ’ button to the viewer.
- Constraints:
min_length = 1
max_length = 100
- class atproto_client.models.com.germnetwork.declaration.Record¶
Bases:
RecordModelBaseRecord model for
com.germnetwork.declaration.- field continuity_proofs: List[str | bytes] | None = None¶
- Constraints:
max_length = 1000
- field current_key: str | bytes [Required]¶
Opaque value, an ed25519 public key prefixed with a byte enum.
- field key_package: str | bytes | None = None¶
- field message_me: models.ComGermnetworkDeclaration.MessageMe | None = None¶
- field py_type: Literal['com.germnetwork.declaration'] = 'com.germnetwork.declaration'¶
- field version: str [Required]¶
Semver version number, without pre-release or build information, for the format of opaque content.
- Constraints:
min_length = 5
max_length = 14