Server Features Dto
immichpy.client.generated.models.server_features_dto.ServerFeaturesDto
pydantic-model
Bases: BaseModel
ServerFeaturesDto
Show JSON schema:
{
"description": "ServerFeaturesDto",
"properties": {
"backups": {
"description": "Whether the backups feature is enabled",
"title": "Backups",
"type": "boolean"
},
"configFile": {
"description": "Whether config file is available",
"title": "Configfile",
"type": "boolean"
},
"duplicateDetection": {
"description": "Whether duplicate detection is enabled",
"title": "Duplicatedetection",
"type": "boolean"
},
"email": {
"description": "Whether email notifications are enabled",
"title": "Email",
"type": "boolean"
},
"facialRecognition": {
"description": "Whether facial recognition is enabled",
"title": "Facialrecognition",
"type": "boolean"
},
"importFaces": {
"description": "Whether face import is enabled",
"title": "Importfaces",
"type": "boolean"
},
"map": {
"description": "Whether map feature is enabled",
"title": "Map",
"type": "boolean"
},
"oauth": {
"description": "Whether OAuth is enabled",
"title": "Oauth",
"type": "boolean"
},
"oauthAutoLaunch": {
"description": "Whether OAuth auto-launch is enabled",
"title": "Oauthautolaunch",
"type": "boolean"
},
"ocr": {
"description": "Whether OCR is enabled",
"title": "Ocr",
"type": "boolean"
},
"passwordLogin": {
"description": "Whether password login is enabled",
"title": "Passwordlogin",
"type": "boolean"
},
"realtimeTranscoding": {
"description": "Whether real-time transcoding is enabled",
"title": "Realtimetranscoding",
"type": "boolean"
},
"reverseGeocoding": {
"description": "Whether reverse geocoding is enabled",
"title": "Reversegeocoding",
"type": "boolean"
},
"search": {
"description": "Whether search is enabled",
"title": "Search",
"type": "boolean"
},
"sidecar": {
"description": "Whether sidecar files are supported",
"title": "Sidecar",
"type": "boolean"
},
"smartSearch": {
"description": "Whether smart search is enabled",
"title": "Smartsearch",
"type": "boolean"
},
"trash": {
"description": "Whether trash feature is enabled",
"title": "Trash",
"type": "boolean"
}
},
"required": [
"backups",
"configFile",
"duplicateDetection",
"email",
"facialRecognition",
"importFaces",
"map",
"oauth",
"oauthAutoLaunch",
"ocr",
"passwordLogin",
"realtimeTranscoding",
"reverseGeocoding",
"search",
"sidecar",
"smartSearch",
"trash"
],
"title": "ServerFeaturesDto",
"type": "object"
}
Config:
validate_by_name:Truevalidate_by_alias:Truevalidate_assignment:Trueprotected_namespaces:()
Fields:
-
backups(StrictBool) -
config_file(StrictBool) -
duplicate_detection(StrictBool) -
email(StrictBool) -
facial_recognition(StrictBool) -
import_faces(StrictBool) -
map(StrictBool) -
oauth(StrictBool) -
oauth_auto_launch(StrictBool) -
ocr(StrictBool) -
password_login(StrictBool) -
realtime_transcoding(StrictBool) -
reverse_geocoding(StrictBool) -
search(StrictBool) -
sidecar(StrictBool) -
smart_search(StrictBool) -
trash(StrictBool)
backups
pydantic-field
backups: StrictBool
Whether the backups feature is enabled
config_file
pydantic-field
config_file: StrictBool
Whether config file is available
duplicate_detection
pydantic-field
duplicate_detection: StrictBool
Whether duplicate detection is enabled
email
pydantic-field
email: StrictBool
Whether email notifications are enabled
facial_recognition
pydantic-field
facial_recognition: StrictBool
Whether facial recognition is enabled
import_faces
pydantic-field
import_faces: StrictBool
Whether face import is enabled
map
pydantic-field
map: StrictBool
Whether map feature is enabled
oauth
pydantic-field
oauth: StrictBool
Whether OAuth is enabled
oauth_auto_launch
pydantic-field
oauth_auto_launch: StrictBool
Whether OAuth auto-launch is enabled
ocr
pydantic-field
ocr: StrictBool
Whether OCR is enabled
password_login
pydantic-field
password_login: StrictBool
Whether password login is enabled
realtime_transcoding
pydantic-field
realtime_transcoding: StrictBool
Whether real-time transcoding is enabled
reverse_geocoding
pydantic-field
reverse_geocoding: StrictBool
Whether reverse geocoding is enabled
search
pydantic-field
search: StrictBool
Whether search is enabled
sidecar
pydantic-field
sidecar: StrictBool
Whether sidecar files are supported
smart_search
pydantic-field
smart_search: StrictBool
Whether smart search is enabled
trash
pydantic-field
trash: StrictBool
Whether trash feature is enabled
from_dict
classmethod
from_dict(obj: Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of ServerFeaturesDto from a dict
Source code in immichpy/client/generated/models/server_features_dto.py
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 | |
from_json
classmethod
from_json(json_str: str) -> Optional[Self]
Create an instance of ServerFeaturesDto from a JSON string
Source code in immichpy/client/generated/models/server_features_dto.py
102 103 104 105 | |
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/server_features_dto.py
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
to_json
to_json() -> str
Returns the JSON representation of the model using alias
Source code in immichpy/client/generated/models/server_features_dto.py
98 99 100 | |
to_str
to_str() -> str
Returns the string representation of the model using alias
Source code in immichpy/client/generated/models/server_features_dto.py
94 95 96 | |