codecraftai-restclient-gitlab 1.2.0__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 (70) hide show
  1. ccai/gitlab/py.typed +0 -0
  2. ccai/gitlab/rest/aspectsrest.py +120 -0
  3. ccai/gitlab/rest/clients/__init__.py +0 -0
  4. ccai/gitlab/rest/clients/gitlabrestclient.py +118 -0
  5. ccai/gitlab/rest/clients/groups/__init__.py +0 -0
  6. ccai/gitlab/rest/clients/groups/accessrequests.py +230 -0
  7. ccai/gitlab/rest/clients/groups/admin.py +41 -0
  8. ccai/gitlab/rest/clients/groups/alertmanagement.py +149 -0
  9. ccai/gitlab/rest/clients/groups/application.py +68 -0
  10. ccai/gitlab/rest/clients/groups/applications.py +95 -0
  11. ccai/gitlab/rest/clients/groups/avatar.py +41 -0
  12. ccai/gitlab/rest/clients/groups/badges.py +338 -0
  13. ccai/gitlab/rest/clients/groups/batchedbackgroundmigrations.py +122 -0
  14. ccai/gitlab/rest/clients/groups/branches.py +230 -0
  15. ccai/gitlab/rest/clients/groups/broadcastmessages.py +149 -0
  16. ccai/gitlab/rest/clients/groups/bulkimports.py +176 -0
  17. ccai/gitlab/rest/clients/groups/clusters.py +149 -0
  18. ccai/gitlab/rest/clients/groups/jobs.py +95 -0
  19. ccai/gitlab/rest/clients/groups/metadata.py +68 -0
  20. ccai/gitlab/rest/clients/groups/migrations.py +41 -0
  21. ccai/gitlab/rest/clients/groups/pipelinecomposition.py +146 -0
  22. ccai/gitlab/rest/clients/groups/planlimits.py +68 -0
  23. ccai/gitlab/rest/clients/parameters/__init__.py +0 -0
  24. ccai/gitlab/rest/clients/parameters/accessrequests.py +222 -0
  25. ccai/gitlab/rest/clients/parameters/admin.py +31 -0
  26. ccai/gitlab/rest/clients/parameters/alertmanagement.py +147 -0
  27. ccai/gitlab/rest/clients/parameters/application.py +27 -0
  28. ccai/gitlab/rest/clients/parameters/applications.py +51 -0
  29. ccai/gitlab/rest/clients/parameters/avatar.py +31 -0
  30. ccai/gitlab/rest/clients/parameters/badges.py +344 -0
  31. ccai/gitlab/rest/clients/parameters/batchedbackgroundmigrations.py +105 -0
  32. ccai/gitlab/rest/clients/parameters/branches.py +236 -0
  33. ccai/gitlab/rest/clients/parameters/broadcastmessages.py +123 -0
  34. ccai/gitlab/rest/clients/parameters/bulkimports.py +173 -0
  35. ccai/gitlab/rest/clients/parameters/clusters.py +100 -0
  36. ccai/gitlab/rest/clients/parameters/jobs.py +88 -0
  37. ccai/gitlab/rest/clients/parameters/metadata.py +11 -0
  38. ccai/gitlab/rest/clients/parameters/migrations.py +29 -0
  39. ccai/gitlab/rest/clients/parameters/pipelinecomposition.py +123 -0
  40. ccai/gitlab/rest/clients/parameters/planlimits.py +47 -0
  41. ccai/gitlab/rest/clients/responses/__init__.py +0 -0
  42. ccai/gitlab/rest/clients/responses/accessrequests.py +157 -0
  43. ccai/gitlab/rest/clients/responses/admin.py +24 -0
  44. ccai/gitlab/rest/clients/responses/alertmanagement.py +100 -0
  45. ccai/gitlab/rest/clients/responses/application.py +43 -0
  46. ccai/gitlab/rest/clients/responses/applications.py +62 -0
  47. ccai/gitlab/rest/clients/responses/avatar.py +24 -0
  48. ccai/gitlab/rest/clients/responses/badges.py +233 -0
  49. ccai/gitlab/rest/clients/responses/batchedbackgroundmigrations.py +81 -0
  50. ccai/gitlab/rest/clients/responses/branches.py +157 -0
  51. ccai/gitlab/rest/clients/responses/broadcastmessages.py +100 -0
  52. ccai/gitlab/rest/clients/responses/bulkimports.py +119 -0
  53. ccai/gitlab/rest/clients/responses/clusters.py +100 -0
  54. ccai/gitlab/rest/clients/responses/jobs.py +62 -0
  55. ccai/gitlab/rest/clients/responses/metadata.py +43 -0
  56. ccai/gitlab/rest/clients/responses/migrations.py +24 -0
  57. ccai/gitlab/rest/clients/responses/pipelinecomposition.py +100 -0
  58. ccai/gitlab/rest/clients/responses/planlimits.py +43 -0
  59. ccai/gitlab/rest/descriptions/gitlab-openapi-hints.yaml +195 -0
  60. ccai/gitlab/rest/descriptions/gitlab-openapi-spec.yaml +3635 -0
  61. ccai/gitlab/rest/generation/__init__.py +0 -0
  62. ccai/gitlab/rest/generation/restclientgenerator.py +581 -0
  63. ccai/gitlab/rest/itemsresult.py +274 -0
  64. ccai/gitlab/rest/restapigroup.py +17 -0
  65. ccai/gitlab/rest/restclientbase.py +676 -0
  66. ccai/gitlab/rest/restclientutils.py +0 -0
  67. codecraftai_restclient_gitlab-1.2.0.dist-info/METADATA +90 -0
  68. codecraftai_restclient_gitlab-1.2.0.dist-info/RECORD +70 -0
  69. codecraftai_restclient_gitlab-1.2.0.dist-info/WHEEL +4 -0
  70. codecraftai_restclient_gitlab-1.2.0.dist-info/licenses/LICENSE.md +204 -0
@@ -0,0 +1,81 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict
4
+
5
+ from requests import Response
6
+
7
+ class BatchedBackgroundMigrationsGetapiv4adminbatchedbackgroundmigrationsResponse:
8
+ """
9
+ Response wrapper for the 'getApiV4AdminBatchedBackgroundMigrations' operation.
10
+ """
11
+ def __init__(self, response: Response):
12
+ self.response = response
13
+ self.status_code = response.status_code
14
+ self.headers: Dict[str, Any] = dict(response.headers)
15
+ try:
16
+ self.data = response.json()
17
+ except Exception:
18
+ self.data = response.content
19
+ return
20
+
21
+ @property
22
+ def ok(self) -> bool:
23
+ rtnval = True if 200 <= self.status_code < 300 else False
24
+ return rtnval
25
+
26
+ class BatchedBackgroundMigrationsGetapiv4adminbatchedbackgroundmigrationsidResponse:
27
+ """
28
+ Response wrapper for the 'getApiV4AdminBatchedBackgroundMigrationsId' operation.
29
+ """
30
+ def __init__(self, response: Response):
31
+ self.response = response
32
+ self.status_code = response.status_code
33
+ self.headers: Dict[str, Any] = dict(response.headers)
34
+ try:
35
+ self.data = response.json()
36
+ except Exception:
37
+ self.data = response.content
38
+ return
39
+
40
+ @property
41
+ def ok(self) -> bool:
42
+ rtnval = True if 200 <= self.status_code < 300 else False
43
+ return rtnval
44
+
45
+ class BatchedBackgroundMigrationsPutapiv4adminbatchedbackgroundmigrationsidpauseResponse:
46
+ """
47
+ Response wrapper for the 'putApiV4AdminBatchedBackgroundMigrationsIdPause' operation.
48
+ """
49
+ def __init__(self, response: Response):
50
+ self.response = response
51
+ self.status_code = response.status_code
52
+ self.headers: Dict[str, Any] = dict(response.headers)
53
+ try:
54
+ self.data = response.json()
55
+ except Exception:
56
+ self.data = response.content
57
+ return
58
+
59
+ @property
60
+ def ok(self) -> bool:
61
+ rtnval = True if 200 <= self.status_code < 300 else False
62
+ return rtnval
63
+
64
+ class BatchedBackgroundMigrationsPutapiv4adminbatchedbackgroundmigrationsidresumeResponse:
65
+ """
66
+ Response wrapper for the 'putApiV4AdminBatchedBackgroundMigrationsIdResume' operation.
67
+ """
68
+ def __init__(self, response: Response):
69
+ self.response = response
70
+ self.status_code = response.status_code
71
+ self.headers: Dict[str, Any] = dict(response.headers)
72
+ try:
73
+ self.data = response.json()
74
+ except Exception:
75
+ self.data = response.content
76
+ return
77
+
78
+ @property
79
+ def ok(self) -> bool:
80
+ rtnval = True if 200 <= self.status_code < 300 else False
81
+ return rtnval
@@ -0,0 +1,157 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict
4
+
5
+ from requests import Response
6
+
7
+ class BranchesDeleteapiv4projectsidrepositorybranchesbranchResponse:
8
+ """
9
+ Response wrapper for the 'deleteApiV4ProjectsIdRepositoryBranchesBranch' operation.
10
+ """
11
+ def __init__(self, response: Response):
12
+ self.response = response
13
+ self.status_code = response.status_code
14
+ self.headers: Dict[str, Any] = dict(response.headers)
15
+ try:
16
+ self.data = response.json()
17
+ except Exception:
18
+ self.data = response.content
19
+ return
20
+
21
+ @property
22
+ def ok(self) -> bool:
23
+ rtnval = True if 200 <= self.status_code < 300 else False
24
+ return rtnval
25
+
26
+ class BranchesDeleteapiv4projectsidrepositorymergedbranchesResponse:
27
+ """
28
+ Response wrapper for the 'deleteApiV4ProjectsIdRepositoryMergedBranches' operation.
29
+ """
30
+ def __init__(self, response: Response):
31
+ self.response = response
32
+ self.status_code = response.status_code
33
+ self.headers: Dict[str, Any] = dict(response.headers)
34
+ try:
35
+ self.data = response.json()
36
+ except Exception:
37
+ self.data = response.content
38
+ return
39
+
40
+ @property
41
+ def ok(self) -> bool:
42
+ rtnval = True if 200 <= self.status_code < 300 else False
43
+ return rtnval
44
+
45
+ class BranchesGetapiv4projectsidrepositorybranchesResponse:
46
+ """
47
+ Response wrapper for the 'getApiV4ProjectsIdRepositoryBranches' operation.
48
+ """
49
+ def __init__(self, response: Response):
50
+ self.response = response
51
+ self.status_code = response.status_code
52
+ self.headers: Dict[str, Any] = dict(response.headers)
53
+ try:
54
+ self.data = response.json()
55
+ except Exception:
56
+ self.data = response.content
57
+ return
58
+
59
+ @property
60
+ def ok(self) -> bool:
61
+ rtnval = True if 200 <= self.status_code < 300 else False
62
+ return rtnval
63
+
64
+ class BranchesGetapiv4projectsidrepositorybranchesbranchResponse:
65
+ """
66
+ Response wrapper for the 'getApiV4ProjectsIdRepositoryBranchesBranch' operation.
67
+ """
68
+ def __init__(self, response: Response):
69
+ self.response = response
70
+ self.status_code = response.status_code
71
+ self.headers: Dict[str, Any] = dict(response.headers)
72
+ try:
73
+ self.data = response.json()
74
+ except Exception:
75
+ self.data = response.content
76
+ return
77
+
78
+ @property
79
+ def ok(self) -> bool:
80
+ rtnval = True if 200 <= self.status_code < 300 else False
81
+ return rtnval
82
+
83
+ class BranchesHeadapiv4projectsidrepositorybranchesbranchResponse:
84
+ """
85
+ Response wrapper for the 'headApiV4ProjectsIdRepositoryBranchesBranch' operation.
86
+ """
87
+ def __init__(self, response: Response):
88
+ self.response = response
89
+ self.status_code = response.status_code
90
+ self.headers: Dict[str, Any] = dict(response.headers)
91
+ try:
92
+ self.data = response.json()
93
+ except Exception:
94
+ self.data = response.content
95
+ return
96
+
97
+ @property
98
+ def ok(self) -> bool:
99
+ rtnval = True if 200 <= self.status_code < 300 else False
100
+ return rtnval
101
+
102
+ class BranchesPostapiv4projectsidrepositorybranchesResponse:
103
+ """
104
+ Response wrapper for the 'postApiV4ProjectsIdRepositoryBranches' operation.
105
+ """
106
+ def __init__(self, response: Response):
107
+ self.response = response
108
+ self.status_code = response.status_code
109
+ self.headers: Dict[str, Any] = dict(response.headers)
110
+ try:
111
+ self.data = response.json()
112
+ except Exception:
113
+ self.data = response.content
114
+ return
115
+
116
+ @property
117
+ def ok(self) -> bool:
118
+ rtnval = True if 200 <= self.status_code < 300 else False
119
+ return rtnval
120
+
121
+ class BranchesPutapiv4projectsidrepositorybranchesbranchprotectResponse:
122
+ """
123
+ Response wrapper for the 'putApiV4ProjectsIdRepositoryBranchesBranchProtect' operation.
124
+ """
125
+ def __init__(self, response: Response):
126
+ self.response = response
127
+ self.status_code = response.status_code
128
+ self.headers: Dict[str, Any] = dict(response.headers)
129
+ try:
130
+ self.data = response.json()
131
+ except Exception:
132
+ self.data = response.content
133
+ return
134
+
135
+ @property
136
+ def ok(self) -> bool:
137
+ rtnval = True if 200 <= self.status_code < 300 else False
138
+ return rtnval
139
+
140
+ class BranchesPutapiv4projectsidrepositorybranchesbranchunprotectResponse:
141
+ """
142
+ Response wrapper for the 'putApiV4ProjectsIdRepositoryBranchesBranchUnprotect' operation.
143
+ """
144
+ def __init__(self, response: Response):
145
+ self.response = response
146
+ self.status_code = response.status_code
147
+ self.headers: Dict[str, Any] = dict(response.headers)
148
+ try:
149
+ self.data = response.json()
150
+ except Exception:
151
+ self.data = response.content
152
+ return
153
+
154
+ @property
155
+ def ok(self) -> bool:
156
+ rtnval = True if 200 <= self.status_code < 300 else False
157
+ return rtnval
@@ -0,0 +1,100 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict
4
+
5
+ from requests import Response
6
+
7
+ class BroadcastMessagesDeleteapiv4broadcastmessagesidResponse:
8
+ """
9
+ Response wrapper for the 'deleteApiV4BroadcastMessagesId' operation.
10
+ """
11
+ def __init__(self, response: Response):
12
+ self.response = response
13
+ self.status_code = response.status_code
14
+ self.headers: Dict[str, Any] = dict(response.headers)
15
+ try:
16
+ self.data = response.json()
17
+ except Exception:
18
+ self.data = response.content
19
+ return
20
+
21
+ @property
22
+ def ok(self) -> bool:
23
+ rtnval = True if 200 <= self.status_code < 300 else False
24
+ return rtnval
25
+
26
+ class BroadcastMessagesGetapiv4broadcastmessagesResponse:
27
+ """
28
+ Response wrapper for the 'getApiV4BroadcastMessages' operation.
29
+ """
30
+ def __init__(self, response: Response):
31
+ self.response = response
32
+ self.status_code = response.status_code
33
+ self.headers: Dict[str, Any] = dict(response.headers)
34
+ try:
35
+ self.data = response.json()
36
+ except Exception:
37
+ self.data = response.content
38
+ return
39
+
40
+ @property
41
+ def ok(self) -> bool:
42
+ rtnval = True if 200 <= self.status_code < 300 else False
43
+ return rtnval
44
+
45
+ class BroadcastMessagesGetapiv4broadcastmessagesidResponse:
46
+ """
47
+ Response wrapper for the 'getApiV4BroadcastMessagesId' operation.
48
+ """
49
+ def __init__(self, response: Response):
50
+ self.response = response
51
+ self.status_code = response.status_code
52
+ self.headers: Dict[str, Any] = dict(response.headers)
53
+ try:
54
+ self.data = response.json()
55
+ except Exception:
56
+ self.data = response.content
57
+ return
58
+
59
+ @property
60
+ def ok(self) -> bool:
61
+ rtnval = True if 200 <= self.status_code < 300 else False
62
+ return rtnval
63
+
64
+ class BroadcastMessagesPostapiv4broadcastmessagesResponse:
65
+ """
66
+ Response wrapper for the 'postApiV4BroadcastMessages' operation.
67
+ """
68
+ def __init__(self, response: Response):
69
+ self.response = response
70
+ self.status_code = response.status_code
71
+ self.headers: Dict[str, Any] = dict(response.headers)
72
+ try:
73
+ self.data = response.json()
74
+ except Exception:
75
+ self.data = response.content
76
+ return
77
+
78
+ @property
79
+ def ok(self) -> bool:
80
+ rtnval = True if 200 <= self.status_code < 300 else False
81
+ return rtnval
82
+
83
+ class BroadcastMessagesPutapiv4broadcastmessagesidResponse:
84
+ """
85
+ Response wrapper for the 'putApiV4BroadcastMessagesId' operation.
86
+ """
87
+ def __init__(self, response: Response):
88
+ self.response = response
89
+ self.status_code = response.status_code
90
+ self.headers: Dict[str, Any] = dict(response.headers)
91
+ try:
92
+ self.data = response.json()
93
+ except Exception:
94
+ self.data = response.content
95
+ return
96
+
97
+ @property
98
+ def ok(self) -> bool:
99
+ rtnval = True if 200 <= self.status_code < 300 else False
100
+ return rtnval
@@ -0,0 +1,119 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict
4
+
5
+ from requests import Response
6
+
7
+ class BulkImportsGetapiv4bulkimportsResponse:
8
+ """
9
+ Response wrapper for the 'getApiV4BulkImports' operation.
10
+ """
11
+ def __init__(self, response: Response):
12
+ self.response = response
13
+ self.status_code = response.status_code
14
+ self.headers: Dict[str, Any] = dict(response.headers)
15
+ try:
16
+ self.data = response.json()
17
+ except Exception:
18
+ self.data = response.content
19
+ return
20
+
21
+ @property
22
+ def ok(self) -> bool:
23
+ rtnval = True if 200 <= self.status_code < 300 else False
24
+ return rtnval
25
+
26
+ class BulkImportsGetapiv4bulkimportsentitiesResponse:
27
+ """
28
+ Response wrapper for the 'getApiV4BulkImportsEntities' operation.
29
+ """
30
+ def __init__(self, response: Response):
31
+ self.response = response
32
+ self.status_code = response.status_code
33
+ self.headers: Dict[str, Any] = dict(response.headers)
34
+ try:
35
+ self.data = response.json()
36
+ except Exception:
37
+ self.data = response.content
38
+ return
39
+
40
+ @property
41
+ def ok(self) -> bool:
42
+ rtnval = True if 200 <= self.status_code < 300 else False
43
+ return rtnval
44
+
45
+ class BulkImportsGetapiv4bulkimportsimportidResponse:
46
+ """
47
+ Response wrapper for the 'getApiV4BulkImportsImportId' operation.
48
+ """
49
+ def __init__(self, response: Response):
50
+ self.response = response
51
+ self.status_code = response.status_code
52
+ self.headers: Dict[str, Any] = dict(response.headers)
53
+ try:
54
+ self.data = response.json()
55
+ except Exception:
56
+ self.data = response.content
57
+ return
58
+
59
+ @property
60
+ def ok(self) -> bool:
61
+ rtnval = True if 200 <= self.status_code < 300 else False
62
+ return rtnval
63
+
64
+ class BulkImportsGetapiv4bulkimportsimportidentitiesResponse:
65
+ """
66
+ Response wrapper for the 'getApiV4BulkImportsImportIdEntities' operation.
67
+ """
68
+ def __init__(self, response: Response):
69
+ self.response = response
70
+ self.status_code = response.status_code
71
+ self.headers: Dict[str, Any] = dict(response.headers)
72
+ try:
73
+ self.data = response.json()
74
+ except Exception:
75
+ self.data = response.content
76
+ return
77
+
78
+ @property
79
+ def ok(self) -> bool:
80
+ rtnval = True if 200 <= self.status_code < 300 else False
81
+ return rtnval
82
+
83
+ class BulkImportsGetapiv4bulkimportsimportidentitiesentityidResponse:
84
+ """
85
+ Response wrapper for the 'getApiV4BulkImportsImportIdEntitiesEntityId' operation.
86
+ """
87
+ def __init__(self, response: Response):
88
+ self.response = response
89
+ self.status_code = response.status_code
90
+ self.headers: Dict[str, Any] = dict(response.headers)
91
+ try:
92
+ self.data = response.json()
93
+ except Exception:
94
+ self.data = response.content
95
+ return
96
+
97
+ @property
98
+ def ok(self) -> bool:
99
+ rtnval = True if 200 <= self.status_code < 300 else False
100
+ return rtnval
101
+
102
+ class BulkImportsPostapiv4bulkimportsResponse:
103
+ """
104
+ Response wrapper for the 'postApiV4BulkImports' operation.
105
+ """
106
+ def __init__(self, response: Response):
107
+ self.response = response
108
+ self.status_code = response.status_code
109
+ self.headers: Dict[str, Any] = dict(response.headers)
110
+ try:
111
+ self.data = response.json()
112
+ except Exception:
113
+ self.data = response.content
114
+ return
115
+
116
+ @property
117
+ def ok(self) -> bool:
118
+ rtnval = True if 200 <= self.status_code < 300 else False
119
+ return rtnval
@@ -0,0 +1,100 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict
4
+
5
+ from requests import Response
6
+
7
+ class ClustersDeleteapiv4adminclustersclusteridResponse:
8
+ """
9
+ Response wrapper for the 'deleteApiV4AdminClustersClusterId' operation.
10
+ """
11
+ def __init__(self, response: Response):
12
+ self.response = response
13
+ self.status_code = response.status_code
14
+ self.headers: Dict[str, Any] = dict(response.headers)
15
+ try:
16
+ self.data = response.json()
17
+ except Exception:
18
+ self.data = response.content
19
+ return
20
+
21
+ @property
22
+ def ok(self) -> bool:
23
+ rtnval = True if 200 <= self.status_code < 300 else False
24
+ return rtnval
25
+
26
+ class ClustersGetapiv4adminclustersResponse:
27
+ """
28
+ Response wrapper for the 'getApiV4AdminClusters' operation.
29
+ """
30
+ def __init__(self, response: Response):
31
+ self.response = response
32
+ self.status_code = response.status_code
33
+ self.headers: Dict[str, Any] = dict(response.headers)
34
+ try:
35
+ self.data = response.json()
36
+ except Exception:
37
+ self.data = response.content
38
+ return
39
+
40
+ @property
41
+ def ok(self) -> bool:
42
+ rtnval = True if 200 <= self.status_code < 300 else False
43
+ return rtnval
44
+
45
+ class ClustersGetapiv4adminclustersclusteridResponse:
46
+ """
47
+ Response wrapper for the 'getApiV4AdminClustersClusterId' operation.
48
+ """
49
+ def __init__(self, response: Response):
50
+ self.response = response
51
+ self.status_code = response.status_code
52
+ self.headers: Dict[str, Any] = dict(response.headers)
53
+ try:
54
+ self.data = response.json()
55
+ except Exception:
56
+ self.data = response.content
57
+ return
58
+
59
+ @property
60
+ def ok(self) -> bool:
61
+ rtnval = True if 200 <= self.status_code < 300 else False
62
+ return rtnval
63
+
64
+ class ClustersPostapiv4adminclustersaddResponse:
65
+ """
66
+ Response wrapper for the 'postApiV4AdminClustersAdd' operation.
67
+ """
68
+ def __init__(self, response: Response):
69
+ self.response = response
70
+ self.status_code = response.status_code
71
+ self.headers: Dict[str, Any] = dict(response.headers)
72
+ try:
73
+ self.data = response.json()
74
+ except Exception:
75
+ self.data = response.content
76
+ return
77
+
78
+ @property
79
+ def ok(self) -> bool:
80
+ rtnval = True if 200 <= self.status_code < 300 else False
81
+ return rtnval
82
+
83
+ class ClustersPutapiv4adminclustersclusteridResponse:
84
+ """
85
+ Response wrapper for the 'putApiV4AdminClustersClusterId' operation.
86
+ """
87
+ def __init__(self, response: Response):
88
+ self.response = response
89
+ self.status_code = response.status_code
90
+ self.headers: Dict[str, Any] = dict(response.headers)
91
+ try:
92
+ self.data = response.json()
93
+ except Exception:
94
+ self.data = response.content
95
+ return
96
+
97
+ @property
98
+ def ok(self) -> bool:
99
+ rtnval = True if 200 <= self.status_code < 300 else False
100
+ return rtnval
@@ -0,0 +1,62 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict
4
+
5
+ from requests import Response
6
+
7
+ class JobsGetsinglejobResponse:
8
+ """
9
+ Response wrapper for the 'getSingleJob' operation.
10
+ """
11
+ def __init__(self, response: Response):
12
+ self.response = response
13
+ self.status_code = response.status_code
14
+ self.headers: Dict[str, Any] = dict(response.headers)
15
+ try:
16
+ self.data = response.json()
17
+ except Exception:
18
+ self.data = response.content
19
+ return
20
+
21
+ @property
22
+ def ok(self) -> bool:
23
+ rtnval = True if 200 <= self.status_code < 300 else False
24
+ return rtnval
25
+
26
+ class JobsListprojectjobsResponse:
27
+ """
28
+ Response wrapper for the 'listProjectJobs' operation.
29
+ """
30
+ def __init__(self, response: Response):
31
+ self.response = response
32
+ self.status_code = response.status_code
33
+ self.headers: Dict[str, Any] = dict(response.headers)
34
+ try:
35
+ self.data = response.json()
36
+ except Exception:
37
+ self.data = response.content
38
+ return
39
+
40
+ @property
41
+ def ok(self) -> bool:
42
+ rtnval = True if 200 <= self.status_code < 300 else False
43
+ return rtnval
44
+
45
+ class JobsTriggermanualjobResponse:
46
+ """
47
+ Response wrapper for the 'triggerManualJob' operation.
48
+ """
49
+ def __init__(self, response: Response):
50
+ self.response = response
51
+ self.status_code = response.status_code
52
+ self.headers: Dict[str, Any] = dict(response.headers)
53
+ try:
54
+ self.data = response.json()
55
+ except Exception:
56
+ self.data = response.content
57
+ return
58
+
59
+ @property
60
+ def ok(self) -> bool:
61
+ rtnval = True if 200 <= self.status_code < 300 else False
62
+ return rtnval
@@ -0,0 +1,43 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict
4
+
5
+ from requests import Response
6
+
7
+ class MetadataGetapiv4metadataResponse:
8
+ """
9
+ Response wrapper for the 'getApiV4Metadata' operation.
10
+ """
11
+ def __init__(self, response: Response):
12
+ self.response = response
13
+ self.status_code = response.status_code
14
+ self.headers: Dict[str, Any] = dict(response.headers)
15
+ try:
16
+ self.data = response.json()
17
+ except Exception:
18
+ self.data = response.content
19
+ return
20
+
21
+ @property
22
+ def ok(self) -> bool:
23
+ rtnval = True if 200 <= self.status_code < 300 else False
24
+ return rtnval
25
+
26
+ class MetadataGetapiv4versionResponse:
27
+ """
28
+ Response wrapper for the 'getApiV4Version' operation.
29
+ """
30
+ def __init__(self, response: Response):
31
+ self.response = response
32
+ self.status_code = response.status_code
33
+ self.headers: Dict[str, Any] = dict(response.headers)
34
+ try:
35
+ self.data = response.json()
36
+ except Exception:
37
+ self.data = response.content
38
+ return
39
+
40
+ @property
41
+ def ok(self) -> bool:
42
+ rtnval = True if 200 <= self.status_code < 300 else False
43
+ return rtnval
@@ -0,0 +1,24 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict
4
+
5
+ from requests import Response
6
+
7
+ class MigrationsPostapiv4adminmigrationstimestampmarkResponse:
8
+ """
9
+ Response wrapper for the 'postApiV4AdminMigrationsTimestampMark' operation.
10
+ """
11
+ def __init__(self, response: Response):
12
+ self.response = response
13
+ self.status_code = response.status_code
14
+ self.headers: Dict[str, Any] = dict(response.headers)
15
+ try:
16
+ self.data = response.json()
17
+ except Exception:
18
+ self.data = response.content
19
+ return
20
+
21
+ @property
22
+ def ok(self) -> bool:
23
+ rtnval = True if 200 <= self.status_code < 300 else False
24
+ return rtnval