1.1 KiB
1.1 KiB
SessionResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| created_at | str | ||
| current | bool | ||
| device_os | str | ||
| device_type | str | ||
| id | str | ||
| updated_at | str |
Example
from generated.immich.openapi_client.models.session_response_dto import SessionResponseDto
# TODO update the JSON string below
json = "{}"
# create an instance of SessionResponseDto from a JSON string
session_response_dto_instance = SessionResponseDto.from_json(json)
# print the JSON string representation of the object
print(SessionResponseDto.to_json())
# convert the object into a dict
session_response_dto_dict = session_response_dto_instance.to_dict()
# create an instance of SessionResponseDto from a dict
session_response_dto_from_dict = SessionResponseDto.from_dict(session_response_dto_dict)