1.4 KiB
1.4 KiB
UpdateAssetDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| date_time_original | str | Original date and time | [optional] |
| description | str | Asset description | [optional] |
| is_favorite | bool | Mark as favorite | [optional] |
| latitude | float | Latitude coordinate | [optional] |
| live_photo_video_id | UUID | Live photo video ID | [optional] |
| longitude | float | Longitude coordinate | [optional] |
| rating | int | Rating in range [1-5] (starred), -1 (rejected), or null (unrated) | [optional] |
| visibility | AssetVisibility | [optional] |
Example
from generated.immich.openapi_client.models.update_asset_dto import UpdateAssetDto
# TODO update the JSON string below
json = "{}"
# create an instance of UpdateAssetDto from a JSON string
update_asset_dto_instance = UpdateAssetDto.from_json(json)
# print the JSON string representation of the object
print(UpdateAssetDto.to_json())
# convert the object into a dict
update_asset_dto_dict = update_asset_dto_instance.to_dict()
# create an instance of UpdateAssetDto from a dict
update_asset_dto_from_dict = UpdateAssetDto.from_dict(update_asset_dto_dict)