Queues Response Legacy Dto
immichpy.client.generated.models.queues_response_legacy_dto.QueuesResponseLegacyDto
pydantic-model
Bases: BaseModel
QueuesResponseLegacyDto
Show JSON schema:
{
"$defs": {
"QueueResponseLegacyDto": {
"description": "QueueResponseLegacyDto",
"properties": {
"jobCounts": {
"$ref": "#/$defs/QueueStatisticsDto"
},
"queueStatus": {
"$ref": "#/$defs/QueueStatusLegacyDto"
}
},
"required": [
"jobCounts",
"queueStatus"
],
"title": "QueueResponseLegacyDto",
"type": "object"
},
"QueueStatisticsDto": {
"description": "QueueStatisticsDto",
"properties": {
"active": {
"description": "Number of active jobs",
"title": "Active",
"type": "integer"
},
"completed": {
"description": "Number of completed jobs",
"title": "Completed",
"type": "integer"
},
"delayed": {
"description": "Number of delayed jobs",
"title": "Delayed",
"type": "integer"
},
"failed": {
"description": "Number of failed jobs",
"title": "Failed",
"type": "integer"
},
"paused": {
"description": "Number of paused jobs",
"title": "Paused",
"type": "integer"
},
"waiting": {
"description": "Number of waiting jobs",
"title": "Waiting",
"type": "integer"
}
},
"required": [
"active",
"completed",
"delayed",
"failed",
"paused",
"waiting"
],
"title": "QueueStatisticsDto",
"type": "object"
},
"QueueStatusLegacyDto": {
"description": "QueueStatusLegacyDto",
"properties": {
"isActive": {
"description": "Whether the queue is currently active (has running jobs)",
"title": "Isactive",
"type": "boolean"
},
"isPaused": {
"description": "Whether the queue is paused",
"title": "Ispaused",
"type": "boolean"
}
},
"required": [
"isActive",
"isPaused"
],
"title": "QueueStatusLegacyDto",
"type": "object"
}
},
"description": "QueuesResponseLegacyDto",
"properties": {
"backgroundTask": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"backupDatabase": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"duplicateDetection": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"editor": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"faceDetection": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"facialRecognition": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"library": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"metadataExtraction": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"migration": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"notifications": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"ocr": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"search": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"sidecar": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"smartSearch": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"storageTemplateMigration": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"thumbnailGeneration": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"videoConversion": {
"$ref": "#/$defs/QueueResponseLegacyDto"
},
"workflow": {
"$ref": "#/$defs/QueueResponseLegacyDto"
}
},
"required": [
"backgroundTask",
"backupDatabase",
"duplicateDetection",
"editor",
"faceDetection",
"facialRecognition",
"library",
"metadataExtraction",
"migration",
"notifications",
"ocr",
"search",
"sidecar",
"smartSearch",
"storageTemplateMigration",
"thumbnailGeneration",
"videoConversion",
"workflow"
],
"title": "QueuesResponseLegacyDto",
"type": "object"
}
Config:
populate_by_name:Truevalidate_assignment:Trueprotected_namespaces:()
Fields:
-
background_task(QueueResponseLegacyDto) -
backup_database(QueueResponseLegacyDto) -
duplicate_detection(QueueResponseLegacyDto) -
editor(QueueResponseLegacyDto) -
face_detection(QueueResponseLegacyDto) -
facial_recognition(QueueResponseLegacyDto) -
library(QueueResponseLegacyDto) -
metadata_extraction(QueueResponseLegacyDto) -
migration(QueueResponseLegacyDto) -
notifications(QueueResponseLegacyDto) -
ocr(QueueResponseLegacyDto) -
search(QueueResponseLegacyDto) -
sidecar(QueueResponseLegacyDto) -
smart_search(QueueResponseLegacyDto) -
storage_template_migration(QueueResponseLegacyDto) -
thumbnail_generation(QueueResponseLegacyDto) -
video_conversion(QueueResponseLegacyDto) -
workflow(QueueResponseLegacyDto)
from_dict
classmethod
from_dict(obj: Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of QueuesResponseLegacyDto from a dict
Source code in immichpy/client/generated/models/queues_response_legacy_dto.py
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 | |
from_json
classmethod
from_json(json_str: str) -> Optional[Self]
Create an instance of QueuesResponseLegacyDto from a JSON string
Source code in immichpy/client/generated/models/queues_response_legacy_dto.py
89 90 91 92 | |
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/queues_response_legacy_dto.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 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 | |
to_json
to_json() -> str
Returns the JSON representation of the model using alias
Source code in immichpy/client/generated/models/queues_response_legacy_dto.py
84 85 86 87 | |
to_str
to_str() -> str
Returns the string representation of the model using alias
Source code in immichpy/client/generated/models/queues_response_legacy_dto.py
80 81 82 | |