kelvin-python-api-client 0.0.1__py3-none-any.whl

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.
Files changed (43) hide show
  1. kelvin/api/client/__init__.py +15 -0
  2. kelvin/api/client/api/app_manager.py +646 -0
  3. kelvin/api/client/api/app_registry.py +342 -0
  4. kelvin/api/client/api/asset.py +1012 -0
  5. kelvin/api/client/api/asset_insights.py +67 -0
  6. kelvin/api/client/api/bridge.py +306 -0
  7. kelvin/api/client/api/control_change.py +398 -0
  8. kelvin/api/client/api/data_tag.py +499 -0
  9. kelvin/api/client/api/datastreams.py +1021 -0
  10. kelvin/api/client/api/filestorage.py +234 -0
  11. kelvin/api/client/api/instance.py +559 -0
  12. kelvin/api/client/api/orchestration.py +717 -0
  13. kelvin/api/client/api/parameters.py +417 -0
  14. kelvin/api/client/api/recommendation.py +804 -0
  15. kelvin/api/client/api/secret.py +173 -0
  16. kelvin/api/client/api/thread.py +435 -0
  17. kelvin/api/client/api/timeseries.py +273 -0
  18. kelvin/api/client/api/user.py +382 -0
  19. kelvin/api/client/api/workload.py +437 -0
  20. kelvin/api/client/base_client.py +924 -0
  21. kelvin/api/client/base_model.py +187 -0
  22. kelvin/api/client/client.py +181 -0
  23. kelvin/api/client/config.py +709 -0
  24. kelvin/api/client/data_model.py +523 -0
  25. kelvin/api/client/dataframe_conversion.py +172 -0
  26. kelvin/api/client/deeplist.py +285 -0
  27. kelvin/api/client/error.py +77 -0
  28. kelvin/api/client/model/__init__.py +3 -0
  29. kelvin/api/client/model/enum.py +82 -0
  30. kelvin/api/client/model/pagination.py +61 -0
  31. kelvin/api/client/model/requests.py +3352 -0
  32. kelvin/api/client/model/response.py +68 -0
  33. kelvin/api/client/model/responses.py +4799 -0
  34. kelvin/api/client/model/type.py +2025 -0
  35. kelvin/api/client/py.typed +0 -0
  36. kelvin/api/client/retry.py +88 -0
  37. kelvin/api/client/serialize.py +222 -0
  38. kelvin/api/client/utils.py +316 -0
  39. kelvin/api/client/version.py +16 -0
  40. kelvin_python_api_client-0.0.1.dist-info/METADATA +75 -0
  41. kelvin_python_api_client-0.0.1.dist-info/RECORD +43 -0
  42. kelvin_python_api_client-0.0.1.dist-info/WHEEL +5 -0
  43. kelvin_python_api_client-0.0.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,68 @@
1
+ # generated by datamodel-codegen:
2
+ # filename: openapi.json
3
+ # timestamp: 2024-04-08T09:50:50+00:00
4
+
5
+ from __future__ import annotations
6
+
7
+ from enum import Enum
8
+ from typing import Any, Dict, List, Optional
9
+
10
+ from pydantic import Field
11
+
12
+ from kelvin.api.client.data_model import DataModelBase
13
+
14
+
15
+ class Error(DataModelBase):
16
+ """
17
+ Error object.
18
+
19
+ Parameters
20
+ ----------
21
+ name: Optional[str]
22
+ title: Optional[str]
23
+ description: Optional[str]
24
+ solution: Optional[str]
25
+ payload: Optional[List[Dict[str, Any]]]
26
+
27
+ """
28
+
29
+ name: Optional[str] = Field(None, description="ID of the error.", max_length=64, min_length=1)
30
+ title: Optional[str] = Field(None, description="Title of the error.", max_length=64, min_length=1)
31
+ description: Optional[str] = Field(None, description="A description of what the problem may be.")
32
+ solution: Optional[str] = Field(None, description="A possible solution to the problem.")
33
+ payload: Optional[List[Dict[str, Any]]] = Field(
34
+ None,
35
+ description="Optional additional information. For example an array of objects listing all the errors that triggered the 4XX response.",
36
+ )
37
+
38
+
39
+ class Type(Enum):
40
+ system = "system"
41
+
42
+
43
+ class ErrorLegacy(DataModelBase):
44
+ """
45
+ ErrorLegacy object.
46
+
47
+ Parameters
48
+ ----------
49
+ description: Optional[str]
50
+ name: Optional[str]
51
+ payload: Optional[List[Dict[str, Any]]]
52
+ solution: Optional[str]
53
+ title: Optional[str]
54
+ type: Optional[Type]
55
+
56
+ """
57
+
58
+ description: Optional[str] = Field(None, description="Description of what the error is about.")
59
+ name: Optional[str] = Field(None, description="Unique identifier name of the error.", max_length=64, min_length=1)
60
+ payload: Optional[List[Dict[str, Any]]] = Field(
61
+ None,
62
+ description="A dictionary of all the individual error names, error titles, descriptions and solutions within the submitted information.",
63
+ )
64
+ solution: Optional[str] = Field(None, description="Possible solutions to resolve the error.")
65
+ title: Optional[str] = Field(
66
+ None, description="The Display name (title) of the error.", max_length=64, min_length=1
67
+ )
68
+ type: Optional[Type] = Field(None, description="The type of error that has occured, e.g. `system`.")