Exif Response Dto
immichpy.client.generated.models.exif_response_dto.ExifResponseDto
pydantic-model
Bases: BaseModel
ExifResponseDto
Show JSON schema:
{
"description": "ExifResponseDto",
"properties": {
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "City name",
"title": "City"
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Country name",
"title": "Country"
},
"dateTimeOriginal": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Original date/time",
"title": "Datetimeoriginal"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Image description",
"title": "Description"
},
"exifImageHeight": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Image height in pixels",
"title": "Exifimageheight"
},
"exifImageWidth": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Image width in pixels",
"title": "Exifimagewidth"
},
"exposureTime": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Exposure time",
"title": "Exposuretime"
},
"fNumber": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "F-number (aperture)",
"title": "Fnumber"
},
"fileSizeInByte": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "File size in bytes",
"title": "Filesizeinbyte"
},
"focalLength": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Focal length in mm",
"title": "Focallength"
},
"iso": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO sensitivity",
"title": "Iso"
},
"latitude": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "GPS latitude",
"title": "Latitude"
},
"lensModel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Lens model",
"title": "Lensmodel"
},
"longitude": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "GPS longitude",
"title": "Longitude"
},
"make": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Camera make",
"title": "Make"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Camera model",
"title": "Model"
},
"modifyDate": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Modification date/time",
"title": "Modifydate"
},
"orientation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Image orientation",
"title": "Orientation"
},
"projectionType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Projection type",
"title": "Projectiontype"
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Rating",
"title": "Rating"
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "State/province name",
"title": "State"
},
"timeZone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Time zone",
"title": "Timezone"
}
},
"title": "ExifResponseDto",
"type": "object"
}
Config:
populate_by_name:Truevalidate_assignment:Trueprotected_namespaces:()
Fields:
-
city(Optional[StrictStr]) -
country(Optional[StrictStr]) -
date_time_original(Optional[datetime]) -
description(Optional[StrictStr]) -
exif_image_height(Optional[Union[StrictFloat, StrictInt]]) -
exif_image_width(Optional[Union[StrictFloat, StrictInt]]) -
exposure_time(Optional[StrictStr]) -
f_number(Optional[Union[StrictFloat, StrictInt]]) -
file_size_in_byte(Optional[StrictInt]) -
focal_length(Optional[Union[StrictFloat, StrictInt]]) -
iso(Optional[Union[StrictFloat, StrictInt]]) -
latitude(Optional[Union[StrictFloat, StrictInt]]) -
lens_model(Optional[StrictStr]) -
longitude(Optional[Union[StrictFloat, StrictInt]]) -
make(Optional[StrictStr]) -
model(Optional[StrictStr]) -
modify_date(Optional[datetime]) -
orientation(Optional[StrictStr]) -
projection_type(Optional[StrictStr]) -
rating(Optional[Union[StrictFloat, StrictInt]]) -
state(Optional[StrictStr]) -
time_zone(Optional[StrictStr])
city
pydantic-field
city: Optional[StrictStr] = None
City name
country
pydantic-field
country: Optional[StrictStr] = None
Country name
date_time_original
pydantic-field
date_time_original: Optional[datetime] = None
Original date/time
description
pydantic-field
description: Optional[StrictStr] = None
Image description
exif_image_height
pydantic-field
exif_image_height: Optional[Union[StrictFloat, StrictInt]] = None
Image height in pixels
exif_image_width
pydantic-field
exif_image_width: Optional[Union[StrictFloat, StrictInt]] = None
Image width in pixels
exposure_time
pydantic-field
exposure_time: Optional[StrictStr] = None
Exposure time
f_number
pydantic-field
f_number: Optional[Union[StrictFloat, StrictInt]] = None
F-number (aperture)
file_size_in_byte
pydantic-field
file_size_in_byte: Optional[StrictInt] = None
File size in bytes
focal_length
pydantic-field
focal_length: Optional[Union[StrictFloat, StrictInt]] = None
Focal length in mm
iso
pydantic-field
iso: Optional[Union[StrictFloat, StrictInt]] = None
ISO sensitivity
latitude
pydantic-field
latitude: Optional[Union[StrictFloat, StrictInt]] = None
GPS latitude
lens_model
pydantic-field
lens_model: Optional[StrictStr] = None
Lens model
longitude
pydantic-field
longitude: Optional[Union[StrictFloat, StrictInt]] = None
GPS longitude
make
pydantic-field
make: Optional[StrictStr] = None
Camera make
model
pydantic-field
model: Optional[StrictStr] = None
Camera model
modify_date
pydantic-field
modify_date: Optional[datetime] = None
Modification date/time
orientation
pydantic-field
orientation: Optional[StrictStr] = None
Image orientation
projection_type
pydantic-field
projection_type: Optional[StrictStr] = None
Projection type
rating
pydantic-field
rating: Optional[Union[StrictFloat, StrictInt]] = None
Rating
state
pydantic-field
state: Optional[StrictStr] = None
State/province name
time_zone
pydantic-field
time_zone: Optional[StrictStr] = None
Time zone
from_dict
classmethod
from_dict(obj: Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of ExifResponseDto from a dict
Source code in immichpy/client/generated/models/exif_response_dto.py
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | |
from_json
classmethod
from_json(json_str: str) -> Optional[Self]
Create an instance of ExifResponseDto from a JSON string
Source code in immichpy/client/generated/models/exif_response_dto.py
127 128 129 130 | |
to_dict
to_dict() -> Dict[str, Any]
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic's
self.model_dump(by_alias=True):
Noneis only added to the output dict for nullable fields that were set at model initialization. Other fields with valueNoneare ignored.
Source code in immichpy/client/generated/models/exif_response_dto.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 | |
to_json
to_json() -> str
Returns the JSON representation of the model using alias
Source code in immichpy/client/generated/models/exif_response_dto.py
122 123 124 125 | |
to_str
to_str() -> str
Returns the string representation of the model using alias
Source code in immichpy/client/generated/models/exif_response_dto.py
118 119 120 | |