1.2 KiB
1.2 KiB
LibraryStatsResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| photos | int | Number of photos | |
| total | int | Total number of assets | |
| usage | int | Storage usage in bytes | |
| videos | int | Number of videos |
Example
from generated.immich.openapi_client.models.library_stats_response_dto import LibraryStatsResponseDto
# TODO update the JSON string below
json = "{}"
# create an instance of LibraryStatsResponseDto from a JSON string
library_stats_response_dto_instance = LibraryStatsResponseDto.from_json(json)
# print the JSON string representation of the object
print(LibraryStatsResponseDto.to_json())
# convert the object into a dict
library_stats_response_dto_dict = library_stats_response_dto_instance.to_dict()
# create an instance of LibraryStatsResponseDto from a dict
library_stats_response_dto_from_dict = LibraryStatsResponseDto.from_dict(library_stats_response_dto_dict)