1.7 KiB
1.7 KiB
AlbumResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| album_name | str | ||
| album_thumbnail_asset_id | str | ||
| album_users | List[AlbumUserResponseDto] | ||
| asset_count | int | ||
| assets | List[AssetResponseDto] | ||
| created_at | datetime | ||
| description | str | ||
| end_date | datetime | [optional] | |
| has_shared_link | bool | ||
| id | str | ||
| is_activity_enabled | bool | ||
| last_modified_asset_timestamp | datetime | [optional] | |
| order | AssetOrder | [optional] | |
| owner | UserResponseDto | ||
| owner_id | str | ||
| shared | bool | ||
| start_date | datetime | [optional] | |
| updated_at | datetime |
Example
from generated.immich.openapi_client.models.album_response_dto import AlbumResponseDto
# TODO update the JSON string below
json = "{}"
# create an instance of AlbumResponseDto from a JSON string
album_response_dto_instance = AlbumResponseDto.from_json(json)
# print the JSON string representation of the object
print(AlbumResponseDto.to_json())
# convert the object into a dict
album_response_dto_dict = album_response_dto_instance.to_dict()
# create an instance of AlbumResponseDto from a dict
album_response_dto_from_dict = AlbumResponseDto.from_dict(album_response_dto_dict)