1.2 KiB
1.2 KiB
PlacesResponseDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| admin1name | str | Administrative level 1 name (state/province) | [optional] |
| admin2name | str | Administrative level 2 name (county/district) | [optional] |
| latitude | float | Latitude coordinate | |
| longitude | float | Longitude coordinate | |
| name | str | Place name |
Example
from generated.immich.openapi_client.models.places_response_dto import PlacesResponseDto
# TODO update the JSON string below
json = "{}"
# create an instance of PlacesResponseDto from a JSON string
places_response_dto_instance = PlacesResponseDto.from_json(json)
# print the JSON string representation of the object
print(PlacesResponseDto.to_json())
# convert the object into a dict
places_response_dto_dict = places_response_dto_instance.to_dict()
# create an instance of PlacesResponseDto from a dict
places_response_dto_from_dict = PlacesResponseDto.from_dict(places_response_dto_dict)