stackit-intake 0.5.1__tar.gz → 0.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/PKG-INFO +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/pyproject.toml +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/__init__.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/api/default_api.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/api_client.py +16 -18
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/configuration.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/exceptions.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/__init__.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/catalog_auth.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/catalog_auth_patch.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/catalog_auth_type.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/client_config.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/create_intake_payload.py +8 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/create_intake_runner_payload.py +8 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/create_intake_user_payload.py +8 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/dremio_auth.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/dremio_auth_patch.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/intake_catalog.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/intake_catalog_patch.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/intake_response.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/intake_runner_response.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/intake_user_response.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/list_intake_runners_response.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/list_intake_users_response.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/list_intakes_response.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/partitioning_type.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/partitioning_update_type.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/update_intake_payload.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/update_intake_runner_payload.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/update_intake_user_payload.py +5 -4
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/user_type.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/rest.py +1 -1
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/.gitignore +0 -0
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/LICENSE.md +0 -0
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/NOTICE.txt +0 -0
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/README.md +0 -0
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/api/__init__.py +0 -0
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/api_response.py +0 -0
- {stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/py.typed +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -66,6 +66,7 @@ class ApiClient:
|
|
|
66
66
|
"date": datetime.date,
|
|
67
67
|
"datetime": datetime.datetime,
|
|
68
68
|
"decimal": decimal.Decimal,
|
|
69
|
+
"UUID": uuid.UUID,
|
|
69
70
|
"object": object,
|
|
70
71
|
}
|
|
71
72
|
_pool = None
|
|
@@ -265,7 +266,7 @@ class ApiClient:
|
|
|
265
266
|
response_text = None
|
|
266
267
|
return_data = None
|
|
267
268
|
try:
|
|
268
|
-
if response_type
|
|
269
|
+
if response_type in ("bytearray", "bytes"):
|
|
269
270
|
return_data = response_data.data
|
|
270
271
|
elif response_type == "file":
|
|
271
272
|
return_data = self.__deserialize_file(response_data)
|
|
@@ -326,25 +327,20 @@ class ApiClient:
|
|
|
326
327
|
return obj.isoformat()
|
|
327
328
|
elif isinstance(obj, decimal.Decimal):
|
|
328
329
|
return str(obj)
|
|
329
|
-
|
|
330
330
|
elif isinstance(obj, dict):
|
|
331
|
-
|
|
331
|
+
return {key: self.sanitize_for_serialization(val) for key, val in obj.items()}
|
|
332
|
+
|
|
333
|
+
# Convert model obj to dict except
|
|
334
|
+
# attributes `openapi_types`, `attribute_map`
|
|
335
|
+
# and attributes which value is not None.
|
|
336
|
+
# Convert attribute name to json key in
|
|
337
|
+
# model definition for request.
|
|
338
|
+
if hasattr(obj, "to_dict") and callable(getattr(obj, "to_dict")): # noqa: B009
|
|
339
|
+
obj_dict = obj.to_dict()
|
|
332
340
|
else:
|
|
333
|
-
|
|
334
|
-
# attributes `openapi_types`, `attribute_map`
|
|
335
|
-
# and attributes which value is not None.
|
|
336
|
-
# Convert attribute name to json key in
|
|
337
|
-
# model definition for request.
|
|
338
|
-
if hasattr(obj, "to_dict") and callable(getattr(obj, "to_dict")): # noqa: B009
|
|
339
|
-
obj_dict = obj.to_dict()
|
|
340
|
-
else:
|
|
341
|
-
obj_dict = obj.__dict__
|
|
342
|
-
|
|
343
|
-
if isinstance(obj_dict, list):
|
|
344
|
-
# here we handle instances that can either be a list or something else, and only became a real list by calling to_dict() # noqa: E501
|
|
345
|
-
return self.sanitize_for_serialization(obj_dict)
|
|
341
|
+
obj_dict = obj.__dict__
|
|
346
342
|
|
|
347
|
-
return
|
|
343
|
+
return self.sanitize_for_serialization(obj_dict)
|
|
348
344
|
|
|
349
345
|
def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
|
|
350
346
|
"""Deserializes response into an object.
|
|
@@ -417,6 +413,8 @@ class ApiClient:
|
|
|
417
413
|
return self.__deserialize_datetime(data)
|
|
418
414
|
elif klass is decimal.Decimal:
|
|
419
415
|
return decimal.Decimal(data)
|
|
416
|
+
elif klass is uuid.UUID:
|
|
417
|
+
return uuid.UUID(data)
|
|
420
418
|
elif issubclass(klass, Enum):
|
|
421
419
|
return self.__deserialize_enum(data, klass)
|
|
422
420
|
else:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.catalog_auth_type import CatalogAuthType
|
|
@@ -34,7 +35,8 @@ class CatalogAuth(BaseModel):
|
|
|
34
35
|
__properties: ClassVar[List[str]] = ["dremio", "type"]
|
|
35
36
|
|
|
36
37
|
model_config = ConfigDict(
|
|
37
|
-
|
|
38
|
+
validate_by_name=True,
|
|
39
|
+
validate_by_alias=True,
|
|
38
40
|
validate_assignment=True,
|
|
39
41
|
protected_namespaces=(),
|
|
40
42
|
)
|
|
@@ -45,8 +47,7 @@ class CatalogAuth(BaseModel):
|
|
|
45
47
|
|
|
46
48
|
def to_json(self) -> str:
|
|
47
49
|
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
|
|
49
|
-
return json.dumps(self.to_dict())
|
|
50
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
50
51
|
|
|
51
52
|
@classmethod
|
|
52
53
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
{stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/catalog_auth_patch.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.catalog_auth_type import CatalogAuthType
|
|
@@ -34,7 +35,8 @@ class CatalogAuthPatch(BaseModel):
|
|
|
34
35
|
__properties: ClassVar[List[str]] = ["dremio", "type"]
|
|
35
36
|
|
|
36
37
|
model_config = ConfigDict(
|
|
37
|
-
|
|
38
|
+
validate_by_name=True,
|
|
39
|
+
validate_by_alias=True,
|
|
38
40
|
validate_assignment=True,
|
|
39
41
|
protected_namespaces=(),
|
|
40
42
|
)
|
|
@@ -45,8 +47,7 @@ class CatalogAuthPatch(BaseModel):
|
|
|
45
47
|
|
|
46
48
|
def to_json(self) -> str:
|
|
47
49
|
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
|
|
49
|
-
return json.dumps(self.to_dict())
|
|
50
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
50
51
|
|
|
51
52
|
@classmethod
|
|
52
53
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Self
|
|
22
23
|
|
|
23
24
|
|
|
@@ -31,7 +32,8 @@ class ClientConfig(BaseModel):
|
|
|
31
32
|
__properties: ClassVar[List[str]] = ["java", "librdkafka"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
34
|
-
|
|
35
|
+
validate_by_name=True,
|
|
36
|
+
validate_by_alias=True,
|
|
35
37
|
validate_assignment=True,
|
|
36
38
|
protected_namespaces=(),
|
|
37
39
|
)
|
|
@@ -42,8 +44,7 @@ class ClientConfig(BaseModel):
|
|
|
42
44
|
|
|
43
45
|
def to_json(self) -> str:
|
|
44
46
|
"""Returns the JSON representation of the model using alias"""
|
|
45
|
-
|
|
46
|
-
return json.dumps(self.to_dict())
|
|
47
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
47
48
|
|
|
48
49
|
@classmethod
|
|
49
50
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
{stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/create_intake_payload.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -20,6 +20,7 @@ from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
|
20
20
|
from uuid import UUID
|
|
21
21
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
23
|
+
from pydantic_core import to_jsonable_python
|
|
23
24
|
from typing_extensions import Annotated, Self
|
|
24
25
|
|
|
25
26
|
from stackit.intake.models.intake_catalog import IntakeCatalog
|
|
@@ -49,12 +50,16 @@ class CreateIntakePayload(BaseModel):
|
|
|
49
50
|
@field_validator("display_name")
|
|
50
51
|
def display_name_validate_regular_expression(cls, value):
|
|
51
52
|
"""Validates the regular expression"""
|
|
53
|
+
if not isinstance(value, str):
|
|
54
|
+
value = str(value)
|
|
55
|
+
|
|
52
56
|
if not re.match(r"^[\p{L}\p{N} -]{1,32}$", value):
|
|
53
57
|
raise ValueError(r"must validate the regular expression /^[\p{L}\p{N} -]{1,32}$/")
|
|
54
58
|
return value
|
|
55
59
|
|
|
56
60
|
model_config = ConfigDict(
|
|
57
|
-
|
|
61
|
+
validate_by_name=True,
|
|
62
|
+
validate_by_alias=True,
|
|
58
63
|
validate_assignment=True,
|
|
59
64
|
protected_namespaces=(),
|
|
60
65
|
)
|
|
@@ -65,8 +70,7 @@ class CreateIntakePayload(BaseModel):
|
|
|
65
70
|
|
|
66
71
|
def to_json(self) -> str:
|
|
67
72
|
"""Returns the JSON representation of the model using alias"""
|
|
68
|
-
|
|
69
|
-
return json.dumps(self.to_dict())
|
|
73
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
70
74
|
|
|
71
75
|
@classmethod
|
|
72
76
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -19,6 +19,7 @@ import re # noqa: F401
|
|
|
19
19
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
22
|
+
from pydantic_core import to_jsonable_python
|
|
22
23
|
from typing_extensions import Annotated, Self
|
|
23
24
|
|
|
24
25
|
|
|
@@ -54,12 +55,16 @@ class CreateIntakeRunnerPayload(BaseModel):
|
|
|
54
55
|
@field_validator("display_name")
|
|
55
56
|
def display_name_validate_regular_expression(cls, value):
|
|
56
57
|
"""Validates the regular expression"""
|
|
58
|
+
if not isinstance(value, str):
|
|
59
|
+
value = str(value)
|
|
60
|
+
|
|
57
61
|
if not re.match(r"^[\p{L}\p{N} -]{1,32}$", value):
|
|
58
62
|
raise ValueError(r"must validate the regular expression /^[\p{L}\p{N} -]{1,32}$/")
|
|
59
63
|
return value
|
|
60
64
|
|
|
61
65
|
model_config = ConfigDict(
|
|
62
|
-
|
|
66
|
+
validate_by_name=True,
|
|
67
|
+
validate_by_alias=True,
|
|
63
68
|
validate_assignment=True,
|
|
64
69
|
protected_namespaces=(),
|
|
65
70
|
)
|
|
@@ -70,8 +75,7 @@ class CreateIntakeRunnerPayload(BaseModel):
|
|
|
70
75
|
|
|
71
76
|
def to_json(self) -> str:
|
|
72
77
|
"""Returns the JSON representation of the model using alias"""
|
|
73
|
-
|
|
74
|
-
return json.dumps(self.to_dict())
|
|
78
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
75
79
|
|
|
76
80
|
@classmethod
|
|
77
81
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -19,6 +19,7 @@ import re # noqa: F401
|
|
|
19
19
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
22
|
+
from pydantic_core import to_jsonable_python
|
|
22
23
|
from typing_extensions import Annotated, Self
|
|
23
24
|
|
|
24
25
|
from stackit.intake.models.user_type import UserType
|
|
@@ -48,12 +49,16 @@ class CreateIntakeUserPayload(BaseModel):
|
|
|
48
49
|
@field_validator("display_name")
|
|
49
50
|
def display_name_validate_regular_expression(cls, value):
|
|
50
51
|
"""Validates the regular expression"""
|
|
52
|
+
if not isinstance(value, str):
|
|
53
|
+
value = str(value)
|
|
54
|
+
|
|
51
55
|
if not re.match(r"^[\p{L}\p{N} -]{1,32}$", value):
|
|
52
56
|
raise ValueError(r"must validate the regular expression /^[\p{L}\p{N} -]{1,32}$/")
|
|
53
57
|
return value
|
|
54
58
|
|
|
55
59
|
model_config = ConfigDict(
|
|
56
|
-
|
|
60
|
+
validate_by_name=True,
|
|
61
|
+
validate_by_alias=True,
|
|
57
62
|
validate_assignment=True,
|
|
58
63
|
protected_namespaces=(),
|
|
59
64
|
)
|
|
@@ -64,8 +69,7 @@ class CreateIntakeUserPayload(BaseModel):
|
|
|
64
69
|
|
|
65
70
|
def to_json(self) -> str:
|
|
66
71
|
"""Returns the JSON representation of the model using alias"""
|
|
67
|
-
|
|
68
|
-
return json.dumps(self.to_dict())
|
|
72
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
69
73
|
|
|
70
74
|
@classmethod
|
|
71
75
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
|
|
@@ -35,7 +36,8 @@ class DremioAuth(BaseModel):
|
|
|
35
36
|
__properties: ClassVar[List[str]] = ["personalAccessToken", "tokenEndpoint"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
|
-
|
|
39
|
+
validate_by_name=True,
|
|
40
|
+
validate_by_alias=True,
|
|
39
41
|
validate_assignment=True,
|
|
40
42
|
protected_namespaces=(),
|
|
41
43
|
)
|
|
@@ -46,8 +48,7 @@ class DremioAuth(BaseModel):
|
|
|
46
48
|
|
|
47
49
|
def to_json(self) -> str:
|
|
48
50
|
"""Returns the JSON representation of the model using alias"""
|
|
49
|
-
|
|
50
|
-
return json.dumps(self.to_dict())
|
|
51
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
51
52
|
|
|
52
53
|
@classmethod
|
|
53
54
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
{stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/dremio_auth_patch.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
|
|
@@ -35,7 +36,8 @@ class DremioAuthPatch(BaseModel):
|
|
|
35
36
|
__properties: ClassVar[List[str]] = ["personalAccessToken", "tokenEndpoint"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
|
-
|
|
39
|
+
validate_by_name=True,
|
|
40
|
+
validate_by_alias=True,
|
|
39
41
|
validate_assignment=True,
|
|
40
42
|
protected_namespaces=(),
|
|
41
43
|
)
|
|
@@ -46,8 +48,7 @@ class DremioAuthPatch(BaseModel):
|
|
|
46
48
|
|
|
47
49
|
def to_json(self) -> str:
|
|
48
50
|
"""Returns the JSON representation of the model using alias"""
|
|
49
|
-
|
|
50
|
-
return json.dumps(self.to_dict())
|
|
51
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
51
52
|
|
|
52
53
|
@classmethod
|
|
53
54
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.catalog_auth import CatalogAuth
|
|
@@ -62,7 +63,8 @@ class IntakeCatalog(BaseModel):
|
|
|
62
63
|
]
|
|
63
64
|
|
|
64
65
|
model_config = ConfigDict(
|
|
65
|
-
|
|
66
|
+
validate_by_name=True,
|
|
67
|
+
validate_by_alias=True,
|
|
66
68
|
validate_assignment=True,
|
|
67
69
|
protected_namespaces=(),
|
|
68
70
|
)
|
|
@@ -73,8 +75,7 @@ class IntakeCatalog(BaseModel):
|
|
|
73
75
|
|
|
74
76
|
def to_json(self) -> str:
|
|
75
77
|
"""Returns the JSON representation of the model using alias"""
|
|
76
|
-
|
|
77
|
-
return json.dumps(self.to_dict())
|
|
78
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
78
79
|
|
|
79
80
|
@classmethod
|
|
80
81
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
{stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/intake_catalog_patch.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.catalog_auth_patch import CatalogAuthPatch
|
|
@@ -63,7 +64,8 @@ class IntakeCatalogPatch(BaseModel):
|
|
|
63
64
|
]
|
|
64
65
|
|
|
65
66
|
model_config = ConfigDict(
|
|
66
|
-
|
|
67
|
+
validate_by_name=True,
|
|
68
|
+
validate_by_alias=True,
|
|
67
69
|
validate_assignment=True,
|
|
68
70
|
protected_namespaces=(),
|
|
69
71
|
)
|
|
@@ -74,8 +76,7 @@ class IntakeCatalogPatch(BaseModel):
|
|
|
74
76
|
|
|
75
77
|
def to_json(self) -> str:
|
|
76
78
|
"""Returns the JSON representation of the model using alias"""
|
|
77
|
-
|
|
78
|
-
return json.dumps(self.to_dict())
|
|
79
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
79
80
|
|
|
80
81
|
@classmethod
|
|
81
82
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -21,6 +21,7 @@ from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
|
21
21
|
from uuid import UUID
|
|
22
22
|
|
|
23
23
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
24
|
+
from pydantic_core import to_jsonable_python
|
|
24
25
|
from typing_extensions import Annotated, Self
|
|
25
26
|
|
|
26
27
|
from stackit.intake.models.intake_catalog import IntakeCatalog
|
|
@@ -98,7 +99,8 @@ class IntakeResponse(BaseModel):
|
|
|
98
99
|
return value
|
|
99
100
|
|
|
100
101
|
model_config = ConfigDict(
|
|
101
|
-
|
|
102
|
+
validate_by_name=True,
|
|
103
|
+
validate_by_alias=True,
|
|
102
104
|
validate_assignment=True,
|
|
103
105
|
protected_namespaces=(),
|
|
104
106
|
)
|
|
@@ -109,8 +111,7 @@ class IntakeResponse(BaseModel):
|
|
|
109
111
|
|
|
110
112
|
def to_json(self) -> str:
|
|
111
113
|
"""Returns the JSON representation of the model using alias"""
|
|
112
|
-
|
|
113
|
-
return json.dumps(self.to_dict())
|
|
114
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
114
115
|
|
|
115
116
|
@classmethod
|
|
116
117
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
{stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/intake_runner_response.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -21,6 +21,7 @@ from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
|
21
21
|
from uuid import UUID
|
|
22
22
|
|
|
23
23
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
24
|
+
from pydantic_core import to_jsonable_python
|
|
24
25
|
from typing_extensions import Annotated, Self
|
|
25
26
|
|
|
26
27
|
|
|
@@ -82,7 +83,8 @@ class IntakeRunnerResponse(BaseModel):
|
|
|
82
83
|
return value
|
|
83
84
|
|
|
84
85
|
model_config = ConfigDict(
|
|
85
|
-
|
|
86
|
+
validate_by_name=True,
|
|
87
|
+
validate_by_alias=True,
|
|
86
88
|
validate_assignment=True,
|
|
87
89
|
protected_namespaces=(),
|
|
88
90
|
)
|
|
@@ -93,8 +95,7 @@ class IntakeRunnerResponse(BaseModel):
|
|
|
93
95
|
|
|
94
96
|
def to_json(self) -> str:
|
|
95
97
|
"""Returns the JSON representation of the model using alias"""
|
|
96
|
-
|
|
97
|
-
return json.dumps(self.to_dict())
|
|
98
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
98
99
|
|
|
99
100
|
@classmethod
|
|
100
101
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
{stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/intake_user_response.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -21,6 +21,7 @@ from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
|
21
21
|
from uuid import UUID
|
|
22
22
|
|
|
23
23
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
24
|
+
from pydantic_core import to_jsonable_python
|
|
24
25
|
from typing_extensions import Annotated, Self
|
|
25
26
|
|
|
26
27
|
from stackit.intake.models.client_config import ClientConfig
|
|
@@ -81,7 +82,8 @@ class IntakeUserResponse(BaseModel):
|
|
|
81
82
|
return value
|
|
82
83
|
|
|
83
84
|
model_config = ConfigDict(
|
|
84
|
-
|
|
85
|
+
validate_by_name=True,
|
|
86
|
+
validate_by_alias=True,
|
|
85
87
|
validate_assignment=True,
|
|
86
88
|
protected_namespaces=(),
|
|
87
89
|
)
|
|
@@ -92,8 +94,7 @@ class IntakeUserResponse(BaseModel):
|
|
|
92
94
|
|
|
93
95
|
def to_json(self) -> str:
|
|
94
96
|
"""Returns the JSON representation of the model using alias"""
|
|
95
|
-
|
|
96
|
-
return json.dumps(self.to_dict())
|
|
97
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
97
98
|
|
|
98
99
|
@classmethod
|
|
99
100
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.intake_runner_response import IntakeRunnerResponse
|
|
@@ -35,7 +36,8 @@ class ListIntakeRunnersResponse(BaseModel):
|
|
|
35
36
|
__properties: ClassVar[List[str]] = ["intakeRunners", "nextPageToken"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
|
-
|
|
39
|
+
validate_by_name=True,
|
|
40
|
+
validate_by_alias=True,
|
|
39
41
|
validate_assignment=True,
|
|
40
42
|
protected_namespaces=(),
|
|
41
43
|
)
|
|
@@ -46,8 +48,7 @@ class ListIntakeRunnersResponse(BaseModel):
|
|
|
46
48
|
|
|
47
49
|
def to_json(self) -> str:
|
|
48
50
|
"""Returns the JSON representation of the model using alias"""
|
|
49
|
-
|
|
50
|
-
return json.dumps(self.to_dict())
|
|
51
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
51
52
|
|
|
52
53
|
@classmethod
|
|
53
54
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.intake_user_response import IntakeUserResponse
|
|
@@ -35,7 +36,8 @@ class ListIntakeUsersResponse(BaseModel):
|
|
|
35
36
|
__properties: ClassVar[List[str]] = ["intakeUsers", "nextPageToken"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
|
-
|
|
39
|
+
validate_by_name=True,
|
|
40
|
+
validate_by_alias=True,
|
|
39
41
|
validate_assignment=True,
|
|
40
42
|
protected_namespaces=(),
|
|
41
43
|
)
|
|
@@ -46,8 +48,7 @@ class ListIntakeUsersResponse(BaseModel):
|
|
|
46
48
|
|
|
47
49
|
def to_json(self) -> str:
|
|
48
50
|
"""Returns the JSON representation of the model using alias"""
|
|
49
|
-
|
|
50
|
-
return json.dumps(self.to_dict())
|
|
51
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
51
52
|
|
|
52
53
|
@classmethod
|
|
53
54
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
{stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/list_intakes_response.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.intake_response import IntakeResponse
|
|
@@ -35,7 +36,8 @@ class ListIntakesResponse(BaseModel):
|
|
|
35
36
|
__properties: ClassVar[List[str]] = ["intakes", "nextPageToken"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
|
-
|
|
39
|
+
validate_by_name=True,
|
|
40
|
+
validate_by_alias=True,
|
|
39
41
|
validate_assignment=True,
|
|
40
42
|
protected_namespaces=(),
|
|
41
43
|
)
|
|
@@ -46,8 +48,7 @@ class ListIntakesResponse(BaseModel):
|
|
|
46
48
|
|
|
47
49
|
def to_json(self) -> str:
|
|
48
50
|
"""Returns the JSON representation of the model using alias"""
|
|
49
|
-
|
|
50
|
-
return json.dumps(self.to_dict())
|
|
51
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
51
52
|
|
|
52
53
|
@classmethod
|
|
53
54
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
{stackit_intake-0.5.1 → stackit_intake-0.6.0}/src/stackit/intake/models/update_intake_payload.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -19,6 +19,7 @@ from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
|
19
19
|
from uuid import UUID
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
|
+
from pydantic_core import to_jsonable_python
|
|
22
23
|
from typing_extensions import Annotated, Self
|
|
23
24
|
|
|
24
25
|
from stackit.intake.models.intake_catalog_patch import IntakeCatalogPatch
|
|
@@ -49,7 +50,8 @@ class UpdateIntakePayload(BaseModel):
|
|
|
49
50
|
__properties: ClassVar[List[str]] = ["catalog", "description", "displayName", "intakeRunnerId", "labels"]
|
|
50
51
|
|
|
51
52
|
model_config = ConfigDict(
|
|
52
|
-
|
|
53
|
+
validate_by_name=True,
|
|
54
|
+
validate_by_alias=True,
|
|
53
55
|
validate_assignment=True,
|
|
54
56
|
protected_namespaces=(),
|
|
55
57
|
)
|
|
@@ -60,8 +62,7 @@ class UpdateIntakePayload(BaseModel):
|
|
|
60
62
|
|
|
61
63
|
def to_json(self) -> str:
|
|
62
64
|
"""Returns the JSON representation of the model using alias"""
|
|
63
|
-
|
|
64
|
-
return json.dumps(self.to_dict())
|
|
65
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
65
66
|
|
|
66
67
|
@classmethod
|
|
67
68
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
|
|
@@ -56,7 +57,8 @@ class UpdateIntakeRunnerPayload(BaseModel):
|
|
|
56
57
|
]
|
|
57
58
|
|
|
58
59
|
model_config = ConfigDict(
|
|
59
|
-
|
|
60
|
+
validate_by_name=True,
|
|
61
|
+
validate_by_alias=True,
|
|
60
62
|
validate_assignment=True,
|
|
61
63
|
protected_namespaces=(),
|
|
62
64
|
)
|
|
@@ -67,8 +69,7 @@ class UpdateIntakeRunnerPayload(BaseModel):
|
|
|
67
69
|
|
|
68
70
|
def to_json(self) -> str:
|
|
69
71
|
"""Returns the JSON representation of the model using alias"""
|
|
70
|
-
|
|
71
|
-
return json.dumps(self.to_dict())
|
|
72
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
72
73
|
|
|
73
74
|
@classmethod
|
|
74
75
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.7
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,6 +18,7 @@ import pprint
|
|
|
18
18
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from pydantic_core import to_jsonable_python
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.user_type import UserType
|
|
@@ -48,7 +49,8 @@ class UpdateIntakeUserPayload(BaseModel):
|
|
|
48
49
|
__properties: ClassVar[List[str]] = ["description", "displayName", "labels", "password", "type"]
|
|
49
50
|
|
|
50
51
|
model_config = ConfigDict(
|
|
51
|
-
|
|
52
|
+
validate_by_name=True,
|
|
53
|
+
validate_by_alias=True,
|
|
52
54
|
validate_assignment=True,
|
|
53
55
|
protected_namespaces=(),
|
|
54
56
|
)
|
|
@@ -59,8 +61,7 @@ class UpdateIntakeUserPayload(BaseModel):
|
|
|
59
61
|
|
|
60
62
|
def to_json(self) -> str:
|
|
61
63
|
"""Returns the JSON representation of the model using alias"""
|
|
62
|
-
|
|
63
|
-
return json.dumps(self.to_dict())
|
|
64
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
64
65
|
|
|
65
66
|
@classmethod
|
|
66
67
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|