com.germnetwork.declaration
A declaration of a Germ Network account
- class atproto_client.models.com.germnetwork.declaration.MessageMe
Bases:
ModelBaseDefinition model for
com.germnetwork.declaration.- field message_me_url: Uri [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
- field show_button_to: Literal['none', 'usersIFollow', '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 current_key: str | bytes [Required]
Opaque value, an ed25519 public key prefixed with a byte enum.
- field message_me: models.ComGermnetworkDeclaration.MessageMe | None = None
- 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
- class atproto_client.models.com.germnetwork.declaration.GetRecordResponse
Bases:
SugarResponseModelBaseGet record response for
models.ComGermnetworkDeclaration.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 records: Dict[str, models.ComGermnetworkDeclaration.Record] [Required]
Map of URIs to records.
- 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.