1.3 KiB
1.3 KiB
PersonResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| birth_date | date | Person date of birth | |
| color | str | Person color (hex) | [optional] |
| id | UUID | Person ID | |
| is_favorite | bool | Is favorite | [optional] |
| is_hidden | bool | Is hidden | |
| name | str | Person name | |
| thumbnail_path | str | Thumbnail path | |
| updated_at | datetime | Last update date | [optional] |
Example
from generated.immich.openapi_client.models.person_response_dto import PersonResponseDto
# TODO update the JSON string below
json = "{}"
# create an instance of PersonResponseDto from a JSON string
person_response_dto_instance = PersonResponseDto.from_json(json)
# print the JSON string representation of the object
print(PersonResponseDto.to_json())
# convert the object into a dict
person_response_dto_dict = person_response_dto_instance.to_dict()
# create an instance of PersonResponseDto from a dict
person_response_dto_from_dict = PersonResponseDto.from_dict(person_response_dto_dict)