3.1 KiB
3.1 KiB
RandomSearchDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| album_ids | List[UUID] | Filter by album IDs | [optional] |
| city | str | Filter by city name | [optional] |
| country | str | Filter by country name | [optional] |
| created_after | datetime | Filter by creation date (after) | [optional] |
| created_before | datetime | Filter by creation date (before) | [optional] |
| is_encoded | bool | Filter by encoded status | [optional] |
| is_favorite | bool | Filter by favorite status | [optional] |
| is_motion | bool | Filter by motion photo status | [optional] |
| is_not_in_album | bool | Filter assets not in any album | [optional] |
| is_offline | bool | Filter by offline status | [optional] |
| lens_model | str | Filter by lens model | [optional] |
| library_id | UUID | Library ID to filter by | [optional] |
| make | str | Filter by camera make | [optional] |
| model | str | Filter by camera model | [optional] |
| ocr | str | Filter by OCR text content | [optional] |
| person_ids | List[UUID] | Filter by person IDs | [optional] |
| rating | int | Filter by rating [1-5], or null for unrated | [optional] |
| size | int | Number of results to return | [optional] |
| state | str | Filter by state/province name | [optional] |
| tag_ids | List[UUID] | Filter by tag IDs | [optional] |
| taken_after | datetime | Filter by taken date (after) | [optional] |
| taken_before | datetime | Filter by taken date (before) | [optional] |
| trashed_after | datetime | Filter by trash date (after) | [optional] |
| trashed_before | datetime | Filter by trash date (before) | [optional] |
| type | AssetTypeEnum | [optional] | |
| updated_after | datetime | Filter by update date (after) | [optional] |
| updated_before | datetime | Filter by update date (before) | [optional] |
| visibility | AssetVisibility | [optional] | |
| with_deleted | bool | Include deleted assets | [optional] |
| with_exif | bool | Include EXIF data in response | [optional] |
| with_people | bool | Include people data in response | [optional] |
| with_stacked | bool | Include stacked assets | [optional] |
Example
from generated.immich.openapi_client.models.random_search_dto import RandomSearchDto
# TODO update the JSON string below
json = "{}"
# create an instance of RandomSearchDto from a JSON string
random_search_dto_instance = RandomSearchDto.from_json(json)
# print the JSON string representation of the object
print(RandomSearchDto.to_json())
# convert the object into a dict
random_search_dto_dict = random_search_dto_instance.to_dict()
# create an instance of RandomSearchDto from a dict
random_search_dto_from_dict = RandomSearchDto.from_dict(random_search_dto_dict)