1.3 KiB
1.3 KiB
SessionResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| app_version | str | App version | |
| created_at | str | Creation date | |
| current | bool | Is current session | |
| device_os | str | Device OS | |
| device_type | str | Device type | |
| expires_at | str | Expiration date | [optional] |
| id | UUID | Session ID | |
| is_pending_sync_reset | bool | Is pending sync reset | |
| updated_at | str | Last update date |
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)