1.3 KiB
1.3 KiB
ServerStatsResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| photos | int | [default to 0] | |
| usage | int | [default to 0] | |
| usage_by_user | List[UsageByUserDto] | [default to []] | |
| usage_photos | int | [default to 0] | |
| usage_videos | int | [default to 0] | |
| videos | int | [default to 0] |
Example
from generated.immich.openapi_client.models.server_stats_response_dto import ServerStatsResponseDto
# TODO update the JSON string below
json = "{}"
# create an instance of ServerStatsResponseDto from a JSON string
server_stats_response_dto_instance = ServerStatsResponseDto.from_json(json)
# print the JSON string representation of the object
print(ServerStatsResponseDto.to_json())
# convert the object into a dict
server_stats_response_dto_dict = server_stats_response_dto_instance.to_dict()
# create an instance of ServerStatsResponseDto from a dict
server_stats_response_dto_from_dict = ServerStatsResponseDto.from_dict(server_stats_response_dto_dict)