3.2 KiB
3.2 KiB
SmartSearchDto
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] |
| language | str | Search language code | [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] |
| page | int | Page number | [optional] |
| person_ids | List[UUID] | Filter by person IDs | [optional] |
| query | str | Natural language search query | [optional] |
| query_asset_id | UUID | Asset ID to use as search reference | [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] |
Example
from generated.immich.openapi_client.models.smart_search_dto import SmartSearchDto
# TODO update the JSON string below
json = "{}"
# create an instance of SmartSearchDto from a JSON string
smart_search_dto_instance = SmartSearchDto.from_json(json)
# print the JSON string representation of the object
print(SmartSearchDto.to_json())
# convert the object into a dict
smart_search_dto_dict = smart_search_dto_instance.to_dict()
# create an instance of SmartSearchDto from a dict
smart_search_dto_from_dict = SmartSearchDto.from_dict(smart_search_dto_dict)