Sync Ack Delete Dto
immichpy.client.generated.models.sync_ack_delete_dto.SyncAckDeleteDto
pydantic-model
Bases: BaseModel
SyncAckDeleteDto
Show JSON schema:
{
"$defs": {
"SyncEntityType": {
"description": "Sync entity type",
"enum": [
"AuthUserV1",
"UserV1",
"UserDeleteV1",
"AssetV1",
"AssetDeleteV1",
"AssetExifV1",
"AssetEditV1",
"AssetEditDeleteV1",
"AssetMetadataV1",
"AssetMetadataDeleteV1",
"PartnerV1",
"PartnerDeleteV1",
"PartnerAssetV1",
"PartnerAssetBackfillV1",
"PartnerAssetDeleteV1",
"PartnerAssetExifV1",
"PartnerAssetExifBackfillV1",
"PartnerStackBackfillV1",
"PartnerStackDeleteV1",
"PartnerStackV1",
"AlbumV1",
"AlbumDeleteV1",
"AlbumUserV1",
"AlbumUserBackfillV1",
"AlbumUserDeleteV1",
"AlbumAssetCreateV1",
"AlbumAssetUpdateV1",
"AlbumAssetBackfillV1",
"AlbumAssetExifCreateV1",
"AlbumAssetExifUpdateV1",
"AlbumAssetExifBackfillV1",
"AlbumToAssetV1",
"AlbumToAssetDeleteV1",
"AlbumToAssetBackfillV1",
"MemoryV1",
"MemoryDeleteV1",
"MemoryToAssetV1",
"MemoryToAssetDeleteV1",
"StackV1",
"StackDeleteV1",
"PersonV1",
"PersonDeleteV1",
"AssetFaceV1",
"AssetFaceV2",
"AssetFaceDeleteV1",
"UserMetadataV1",
"UserMetadataDeleteV1",
"SyncAckV1",
"SyncResetV1",
"SyncCompleteV1"
],
"title": "SyncEntityType",
"type": "string"
}
},
"description": "SyncAckDeleteDto",
"properties": {
"types": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/SyncEntityType"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Sync entity types to delete acks for",
"title": "Types"
}
},
"title": "SyncAckDeleteDto",
"type": "object"
}
Config:
populate_by_name:Truevalidate_assignment:Trueprotected_namespaces:()
Fields:
types
pydantic-field
types: Optional[List[SyncEntityType]] = None
Sync entity types to delete acks for
from_dict
classmethod
from_dict(obj: Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of SyncAckDeleteDto from a dict
Source code in immichpy/client/generated/models/sync_ack_delete_dto.py
75 76 77 78 79 80 81 82 83 84 85 | |
from_json
classmethod
from_json(json_str: str) -> Optional[Self]
Create an instance of SyncAckDeleteDto from a JSON string
Source code in immichpy/client/generated/models/sync_ack_delete_dto.py
51 52 53 54 | |
to_dict
to_dict() -> Dict[str, Any]
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic's
self.model_dump(by_alias=True):
Noneis only added to the output dict for nullable fields that were set at model initialization. Other fields with valueNoneare ignored.
Source code in immichpy/client/generated/models/sync_ack_delete_dto.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | |
to_json
to_json() -> str
Returns the JSON representation of the model using alias
Source code in immichpy/client/generated/models/sync_ack_delete_dto.py
46 47 48 49 | |
to_str
to_str() -> str
Returns the string representation of the model using alias
Source code in immichpy/client/generated/models/sync_ack_delete_dto.py
42 43 44 | |