1.5 KiB
1.5 KiB
SharedLinkResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| album | AlbumResponseDto | [optional] | |
| allow_download | bool | ||
| allow_upload | bool | ||
| assets | List[AssetResponseDto] | ||
| created_at | datetime | ||
| description | str | ||
| expires_at | datetime | ||
| id | str | ||
| key | str | ||
| password | str | ||
| show_metadata | bool | ||
| token | str | [optional] | |
| type | SharedLinkType | ||
| user_id | str |
Example
from generated.immich.openapi_client.models.shared_link_response_dto import SharedLinkResponseDto
# TODO update the JSON string below
json = "{}"
# create an instance of SharedLinkResponseDto from a JSON string
shared_link_response_dto_instance = SharedLinkResponseDto.from_json(json)
# print the JSON string representation of the object
print(SharedLinkResponseDto.to_json())
# convert the object into a dict
shared_link_response_dto_dict = shared_link_response_dto_instance.to_dict()
# create an instance of SharedLinkResponseDto from a dict
shared_link_response_dto_from_dict = SharedLinkResponseDto.from_dict(shared_link_response_dto_dict)