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.
- ccai/gitlab/py.typed +0 -0
- ccai/gitlab/rest/aspectsrest.py +120 -0
- ccai/gitlab/rest/clients/__init__.py +0 -0
- ccai/gitlab/rest/clients/gitlabrestclient.py +118 -0
- ccai/gitlab/rest/clients/groups/__init__.py +0 -0
- ccai/gitlab/rest/clients/groups/accessrequests.py +230 -0
- ccai/gitlab/rest/clients/groups/admin.py +41 -0
- ccai/gitlab/rest/clients/groups/alertmanagement.py +149 -0
- ccai/gitlab/rest/clients/groups/application.py +68 -0
- ccai/gitlab/rest/clients/groups/applications.py +95 -0
- ccai/gitlab/rest/clients/groups/avatar.py +41 -0
- ccai/gitlab/rest/clients/groups/badges.py +338 -0
- ccai/gitlab/rest/clients/groups/batchedbackgroundmigrations.py +122 -0
- ccai/gitlab/rest/clients/groups/branches.py +230 -0
- ccai/gitlab/rest/clients/groups/broadcastmessages.py +149 -0
- ccai/gitlab/rest/clients/groups/bulkimports.py +176 -0
- ccai/gitlab/rest/clients/groups/clusters.py +149 -0
- ccai/gitlab/rest/clients/groups/jobs.py +95 -0
- ccai/gitlab/rest/clients/groups/metadata.py +68 -0
- ccai/gitlab/rest/clients/groups/migrations.py +41 -0
- ccai/gitlab/rest/clients/groups/pipelinecomposition.py +146 -0
- ccai/gitlab/rest/clients/groups/planlimits.py +68 -0
- ccai/gitlab/rest/clients/parameters/__init__.py +0 -0
- ccai/gitlab/rest/clients/parameters/accessrequests.py +222 -0
- ccai/gitlab/rest/clients/parameters/admin.py +31 -0
- ccai/gitlab/rest/clients/parameters/alertmanagement.py +147 -0
- ccai/gitlab/rest/clients/parameters/application.py +27 -0
- ccai/gitlab/rest/clients/parameters/applications.py +51 -0
- ccai/gitlab/rest/clients/parameters/avatar.py +31 -0
- ccai/gitlab/rest/clients/parameters/badges.py +344 -0
- ccai/gitlab/rest/clients/parameters/batchedbackgroundmigrations.py +105 -0
- ccai/gitlab/rest/clients/parameters/branches.py +236 -0
- ccai/gitlab/rest/clients/parameters/broadcastmessages.py +123 -0
- ccai/gitlab/rest/clients/parameters/bulkimports.py +173 -0
- ccai/gitlab/rest/clients/parameters/clusters.py +100 -0
- ccai/gitlab/rest/clients/parameters/jobs.py +88 -0
- ccai/gitlab/rest/clients/parameters/metadata.py +11 -0
- ccai/gitlab/rest/clients/parameters/migrations.py +29 -0
- ccai/gitlab/rest/clients/parameters/pipelinecomposition.py +123 -0
- ccai/gitlab/rest/clients/parameters/planlimits.py +47 -0
- ccai/gitlab/rest/clients/responses/__init__.py +0 -0
- ccai/gitlab/rest/clients/responses/accessrequests.py +157 -0
- ccai/gitlab/rest/clients/responses/admin.py +24 -0
- ccai/gitlab/rest/clients/responses/alertmanagement.py +100 -0
- ccai/gitlab/rest/clients/responses/application.py +43 -0
- ccai/gitlab/rest/clients/responses/applications.py +62 -0
- ccai/gitlab/rest/clients/responses/avatar.py +24 -0
- ccai/gitlab/rest/clients/responses/badges.py +233 -0
- ccai/gitlab/rest/clients/responses/batchedbackgroundmigrations.py +81 -0
- ccai/gitlab/rest/clients/responses/branches.py +157 -0
- ccai/gitlab/rest/clients/responses/broadcastmessages.py +100 -0
- ccai/gitlab/rest/clients/responses/bulkimports.py +119 -0
- ccai/gitlab/rest/clients/responses/clusters.py +100 -0
- ccai/gitlab/rest/clients/responses/jobs.py +62 -0
- ccai/gitlab/rest/clients/responses/metadata.py +43 -0
- ccai/gitlab/rest/clients/responses/migrations.py +24 -0
- ccai/gitlab/rest/clients/responses/pipelinecomposition.py +100 -0
- ccai/gitlab/rest/clients/responses/planlimits.py +43 -0
- ccai/gitlab/rest/descriptions/gitlab-openapi-hints.yaml +195 -0
- ccai/gitlab/rest/descriptions/gitlab-openapi-spec.yaml +3635 -0
- ccai/gitlab/rest/generation/__init__.py +0 -0
- ccai/gitlab/rest/generation/restclientgenerator.py +581 -0
- ccai/gitlab/rest/itemsresult.py +274 -0
- ccai/gitlab/rest/restapigroup.py +17 -0
- ccai/gitlab/rest/restclientbase.py +676 -0
- ccai/gitlab/rest/restclientutils.py +0 -0
- codecraftai_restclient_gitlab-1.2.0.dist-info/METADATA +90 -0
- codecraftai_restclient_gitlab-1.2.0.dist-info/RECORD +70 -0
- codecraftai_restclient_gitlab-1.2.0.dist-info/WHEEL +4 -0
- codecraftai_restclient_gitlab-1.2.0.dist-info/licenses/LICENSE.md +204 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Auto-generated by RestClientGenerator. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from typing import Any, Dict, Optional
|
|
5
|
+
|
|
6
|
+
@dataclass
|
|
7
|
+
class BroadcastMessagesDeleteapiv4broadcastmessagesidParams:
|
|
8
|
+
"""
|
|
9
|
+
Parameters for the 'deleteApiV4BroadcastMessagesId' operation.
|
|
10
|
+
"""
|
|
11
|
+
id: int
|
|
12
|
+
|
|
13
|
+
def path_params(self) -> Dict[str, Any]:
|
|
14
|
+
params: Dict[str, Any] = {}
|
|
15
|
+
if self.id is not None:
|
|
16
|
+
params['id'] = self.id
|
|
17
|
+
return params
|
|
18
|
+
|
|
19
|
+
def query_params(self) -> Dict[str, Any]:
|
|
20
|
+
params: Dict[str, Any] = {}
|
|
21
|
+
return params
|
|
22
|
+
|
|
23
|
+
def header_params(self) -> Dict[str, Any]:
|
|
24
|
+
params: Dict[str, Any] = {}
|
|
25
|
+
return params
|
|
26
|
+
|
|
27
|
+
def body_params(self) -> Any:
|
|
28
|
+
return None
|
|
29
|
+
|
|
30
|
+
@dataclass
|
|
31
|
+
class BroadcastMessagesGetapiv4broadcastmessagesParams:
|
|
32
|
+
"""
|
|
33
|
+
Parameters for the 'getApiV4BroadcastMessages' operation.
|
|
34
|
+
"""
|
|
35
|
+
page: Optional[int] = 1
|
|
36
|
+
per_page: Optional[int] = 20
|
|
37
|
+
|
|
38
|
+
def path_params(self) -> Dict[str, Any]:
|
|
39
|
+
params: Dict[str, Any] = {}
|
|
40
|
+
return params
|
|
41
|
+
|
|
42
|
+
def query_params(self) -> Dict[str, Any]:
|
|
43
|
+
params: Dict[str, Any] = {}
|
|
44
|
+
if self.page is not None:
|
|
45
|
+
params['page'] = self.page
|
|
46
|
+
if self.per_page is not None:
|
|
47
|
+
params['per_page'] = self.per_page
|
|
48
|
+
return params
|
|
49
|
+
|
|
50
|
+
def header_params(self) -> Dict[str, Any]:
|
|
51
|
+
params: Dict[str, Any] = {}
|
|
52
|
+
return params
|
|
53
|
+
|
|
54
|
+
def body_params(self) -> Any:
|
|
55
|
+
return None
|
|
56
|
+
|
|
57
|
+
@dataclass
|
|
58
|
+
class BroadcastMessagesGetapiv4broadcastmessagesidParams:
|
|
59
|
+
"""
|
|
60
|
+
Parameters for the 'getApiV4BroadcastMessagesId' operation.
|
|
61
|
+
"""
|
|
62
|
+
id: int
|
|
63
|
+
|
|
64
|
+
def path_params(self) -> Dict[str, Any]:
|
|
65
|
+
params: Dict[str, Any] = {}
|
|
66
|
+
if self.id is not None:
|
|
67
|
+
params['id'] = self.id
|
|
68
|
+
return params
|
|
69
|
+
|
|
70
|
+
def query_params(self) -> Dict[str, Any]:
|
|
71
|
+
params: Dict[str, Any] = {}
|
|
72
|
+
return params
|
|
73
|
+
|
|
74
|
+
def header_params(self) -> Dict[str, Any]:
|
|
75
|
+
params: Dict[str, Any] = {}
|
|
76
|
+
return params
|
|
77
|
+
|
|
78
|
+
def body_params(self) -> Any:
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
@dataclass
|
|
82
|
+
class BroadcastMessagesPostapiv4broadcastmessagesParams:
|
|
83
|
+
body: Optional[Any] = None
|
|
84
|
+
|
|
85
|
+
def path_params(self) -> Dict[str, Any]:
|
|
86
|
+
params: Dict[str, Any] = {}
|
|
87
|
+
return params
|
|
88
|
+
|
|
89
|
+
def query_params(self) -> Dict[str, Any]:
|
|
90
|
+
params: Dict[str, Any] = {}
|
|
91
|
+
return params
|
|
92
|
+
|
|
93
|
+
def header_params(self) -> Dict[str, Any]:
|
|
94
|
+
params: Dict[str, Any] = {}
|
|
95
|
+
return params
|
|
96
|
+
|
|
97
|
+
def body_params(self) -> Any:
|
|
98
|
+
return self.body
|
|
99
|
+
|
|
100
|
+
@dataclass
|
|
101
|
+
class BroadcastMessagesPutapiv4broadcastmessagesidParams:
|
|
102
|
+
"""
|
|
103
|
+
Parameters for the 'putApiV4BroadcastMessagesId' operation.
|
|
104
|
+
"""
|
|
105
|
+
id: int
|
|
106
|
+
body: Optional[Any] = None
|
|
107
|
+
|
|
108
|
+
def path_params(self) -> Dict[str, Any]:
|
|
109
|
+
params: Dict[str, Any] = {}
|
|
110
|
+
if self.id is not None:
|
|
111
|
+
params['id'] = self.id
|
|
112
|
+
return params
|
|
113
|
+
|
|
114
|
+
def query_params(self) -> Dict[str, Any]:
|
|
115
|
+
params: Dict[str, Any] = {}
|
|
116
|
+
return params
|
|
117
|
+
|
|
118
|
+
def header_params(self) -> Dict[str, Any]:
|
|
119
|
+
params: Dict[str, Any] = {}
|
|
120
|
+
return params
|
|
121
|
+
|
|
122
|
+
def body_params(self) -> Any:
|
|
123
|
+
return self.body
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# Auto-generated by RestClientGenerator. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from typing import Any, Dict, Optional
|
|
5
|
+
|
|
6
|
+
@dataclass
|
|
7
|
+
class BulkImportsGetapiv4bulkimportsParams:
|
|
8
|
+
"""
|
|
9
|
+
Parameters for the 'getApiV4BulkImports' operation.
|
|
10
|
+
"""
|
|
11
|
+
page: Optional[int] = 1
|
|
12
|
+
per_page: Optional[int] = 20
|
|
13
|
+
sort: Optional[str] = "desc"
|
|
14
|
+
status: Optional[str] = None
|
|
15
|
+
|
|
16
|
+
def path_params(self) -> Dict[str, Any]:
|
|
17
|
+
params: Dict[str, Any] = {}
|
|
18
|
+
return params
|
|
19
|
+
|
|
20
|
+
def query_params(self) -> Dict[str, Any]:
|
|
21
|
+
params: Dict[str, Any] = {}
|
|
22
|
+
if self.page is not None:
|
|
23
|
+
params['page'] = self.page
|
|
24
|
+
if self.per_page is not None:
|
|
25
|
+
params['per_page'] = self.per_page
|
|
26
|
+
if self.sort is not None:
|
|
27
|
+
params['sort'] = self.sort
|
|
28
|
+
if self.status is not None:
|
|
29
|
+
params['status'] = self.status
|
|
30
|
+
return params
|
|
31
|
+
|
|
32
|
+
def header_params(self) -> Dict[str, Any]:
|
|
33
|
+
params: Dict[str, Any] = {}
|
|
34
|
+
return params
|
|
35
|
+
|
|
36
|
+
def body_params(self) -> Any:
|
|
37
|
+
return None
|
|
38
|
+
|
|
39
|
+
@dataclass
|
|
40
|
+
class BulkImportsGetapiv4bulkimportsentitiesParams:
|
|
41
|
+
"""
|
|
42
|
+
Parameters for the 'getApiV4BulkImportsEntities' operation.
|
|
43
|
+
"""
|
|
44
|
+
page: Optional[int] = 1
|
|
45
|
+
per_page: Optional[int] = 20
|
|
46
|
+
sort: Optional[str] = "desc"
|
|
47
|
+
status: Optional[str] = None
|
|
48
|
+
|
|
49
|
+
def path_params(self) -> Dict[str, Any]:
|
|
50
|
+
params: Dict[str, Any] = {}
|
|
51
|
+
return params
|
|
52
|
+
|
|
53
|
+
def query_params(self) -> Dict[str, Any]:
|
|
54
|
+
params: Dict[str, Any] = {}
|
|
55
|
+
if self.page is not None:
|
|
56
|
+
params['page'] = self.page
|
|
57
|
+
if self.per_page is not None:
|
|
58
|
+
params['per_page'] = self.per_page
|
|
59
|
+
if self.sort is not None:
|
|
60
|
+
params['sort'] = self.sort
|
|
61
|
+
if self.status is not None:
|
|
62
|
+
params['status'] = self.status
|
|
63
|
+
return params
|
|
64
|
+
|
|
65
|
+
def header_params(self) -> Dict[str, Any]:
|
|
66
|
+
params: Dict[str, Any] = {}
|
|
67
|
+
return params
|
|
68
|
+
|
|
69
|
+
def body_params(self) -> Any:
|
|
70
|
+
return None
|
|
71
|
+
|
|
72
|
+
@dataclass
|
|
73
|
+
class BulkImportsGetapiv4bulkimportsimportidParams:
|
|
74
|
+
"""
|
|
75
|
+
Parameters for the 'getApiV4BulkImportsImportId' operation.
|
|
76
|
+
"""
|
|
77
|
+
import_id: int
|
|
78
|
+
|
|
79
|
+
def path_params(self) -> Dict[str, Any]:
|
|
80
|
+
params: Dict[str, Any] = {}
|
|
81
|
+
if self.import_id is not None:
|
|
82
|
+
params['import_id'] = self.import_id
|
|
83
|
+
return params
|
|
84
|
+
|
|
85
|
+
def query_params(self) -> Dict[str, Any]:
|
|
86
|
+
params: Dict[str, Any] = {}
|
|
87
|
+
return params
|
|
88
|
+
|
|
89
|
+
def header_params(self) -> Dict[str, Any]:
|
|
90
|
+
params: Dict[str, Any] = {}
|
|
91
|
+
return params
|
|
92
|
+
|
|
93
|
+
def body_params(self) -> Any:
|
|
94
|
+
return None
|
|
95
|
+
|
|
96
|
+
@dataclass
|
|
97
|
+
class BulkImportsGetapiv4bulkimportsimportidentitiesParams:
|
|
98
|
+
"""
|
|
99
|
+
Parameters for the 'getApiV4BulkImportsImportIdEntities' operation.
|
|
100
|
+
"""
|
|
101
|
+
import_id: int
|
|
102
|
+
status: Optional[str] = None
|
|
103
|
+
page: Optional[int] = 1
|
|
104
|
+
per_page: Optional[int] = 20
|
|
105
|
+
|
|
106
|
+
def path_params(self) -> Dict[str, Any]:
|
|
107
|
+
params: Dict[str, Any] = {}
|
|
108
|
+
if self.import_id is not None:
|
|
109
|
+
params['import_id'] = self.import_id
|
|
110
|
+
return params
|
|
111
|
+
|
|
112
|
+
def query_params(self) -> Dict[str, Any]:
|
|
113
|
+
params: Dict[str, Any] = {}
|
|
114
|
+
if self.status is not None:
|
|
115
|
+
params['status'] = self.status
|
|
116
|
+
if self.page is not None:
|
|
117
|
+
params['page'] = self.page
|
|
118
|
+
if self.per_page is not None:
|
|
119
|
+
params['per_page'] = self.per_page
|
|
120
|
+
return params
|
|
121
|
+
|
|
122
|
+
def header_params(self) -> Dict[str, Any]:
|
|
123
|
+
params: Dict[str, Any] = {}
|
|
124
|
+
return params
|
|
125
|
+
|
|
126
|
+
def body_params(self) -> Any:
|
|
127
|
+
return None
|
|
128
|
+
|
|
129
|
+
@dataclass
|
|
130
|
+
class BulkImportsGetapiv4bulkimportsimportidentitiesentityidParams:
|
|
131
|
+
"""
|
|
132
|
+
Parameters for the 'getApiV4BulkImportsImportIdEntitiesEntityId' operation.
|
|
133
|
+
"""
|
|
134
|
+
import_id: int
|
|
135
|
+
entity_id: int
|
|
136
|
+
|
|
137
|
+
def path_params(self) -> Dict[str, Any]:
|
|
138
|
+
params: Dict[str, Any] = {}
|
|
139
|
+
if self.import_id is not None:
|
|
140
|
+
params['import_id'] = self.import_id
|
|
141
|
+
if self.entity_id is not None:
|
|
142
|
+
params['entity_id'] = self.entity_id
|
|
143
|
+
return params
|
|
144
|
+
|
|
145
|
+
def query_params(self) -> Dict[str, Any]:
|
|
146
|
+
params: Dict[str, Any] = {}
|
|
147
|
+
return params
|
|
148
|
+
|
|
149
|
+
def header_params(self) -> Dict[str, Any]:
|
|
150
|
+
params: Dict[str, Any] = {}
|
|
151
|
+
return params
|
|
152
|
+
|
|
153
|
+
def body_params(self) -> Any:
|
|
154
|
+
return None
|
|
155
|
+
|
|
156
|
+
@dataclass
|
|
157
|
+
class BulkImportsPostapiv4bulkimportsParams:
|
|
158
|
+
body: Optional[Any] = None
|
|
159
|
+
|
|
160
|
+
def path_params(self) -> Dict[str, Any]:
|
|
161
|
+
params: Dict[str, Any] = {}
|
|
162
|
+
return params
|
|
163
|
+
|
|
164
|
+
def query_params(self) -> Dict[str, Any]:
|
|
165
|
+
params: Dict[str, Any] = {}
|
|
166
|
+
return params
|
|
167
|
+
|
|
168
|
+
def header_params(self) -> Dict[str, Any]:
|
|
169
|
+
params: Dict[str, Any] = {}
|
|
170
|
+
return params
|
|
171
|
+
|
|
172
|
+
def body_params(self) -> Any:
|
|
173
|
+
return self.body
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Auto-generated by RestClientGenerator. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from typing import Any, Dict, Optional
|
|
5
|
+
|
|
6
|
+
@dataclass
|
|
7
|
+
class ClustersDeleteapiv4adminclustersclusteridParams:
|
|
8
|
+
"""
|
|
9
|
+
Parameters for the 'deleteApiV4AdminClustersClusterId' operation.
|
|
10
|
+
"""
|
|
11
|
+
cluster_id: int
|
|
12
|
+
|
|
13
|
+
def path_params(self) -> Dict[str, Any]:
|
|
14
|
+
params: Dict[str, Any] = {}
|
|
15
|
+
if self.cluster_id is not None:
|
|
16
|
+
params['cluster_id'] = self.cluster_id
|
|
17
|
+
return params
|
|
18
|
+
|
|
19
|
+
def query_params(self) -> Dict[str, Any]:
|
|
20
|
+
params: Dict[str, Any] = {}
|
|
21
|
+
return params
|
|
22
|
+
|
|
23
|
+
def header_params(self) -> Dict[str, Any]:
|
|
24
|
+
params: Dict[str, Any] = {}
|
|
25
|
+
return params
|
|
26
|
+
|
|
27
|
+
def body_params(self) -> Any:
|
|
28
|
+
return None
|
|
29
|
+
|
|
30
|
+
@dataclass
|
|
31
|
+
class ClustersGetapiv4adminclustersParams:
|
|
32
|
+
pass
|
|
33
|
+
|
|
34
|
+
@dataclass
|
|
35
|
+
class ClustersGetapiv4adminclustersclusteridParams:
|
|
36
|
+
"""
|
|
37
|
+
Parameters for the 'getApiV4AdminClustersClusterId' operation.
|
|
38
|
+
"""
|
|
39
|
+
cluster_id: int
|
|
40
|
+
|
|
41
|
+
def path_params(self) -> Dict[str, Any]:
|
|
42
|
+
params: Dict[str, Any] = {}
|
|
43
|
+
if self.cluster_id is not None:
|
|
44
|
+
params['cluster_id'] = self.cluster_id
|
|
45
|
+
return params
|
|
46
|
+
|
|
47
|
+
def query_params(self) -> Dict[str, Any]:
|
|
48
|
+
params: Dict[str, Any] = {}
|
|
49
|
+
return params
|
|
50
|
+
|
|
51
|
+
def header_params(self) -> Dict[str, Any]:
|
|
52
|
+
params: Dict[str, Any] = {}
|
|
53
|
+
return params
|
|
54
|
+
|
|
55
|
+
def body_params(self) -> Any:
|
|
56
|
+
return None
|
|
57
|
+
|
|
58
|
+
@dataclass
|
|
59
|
+
class ClustersPostapiv4adminclustersaddParams:
|
|
60
|
+
body: Optional[Any] = None
|
|
61
|
+
|
|
62
|
+
def path_params(self) -> Dict[str, Any]:
|
|
63
|
+
params: Dict[str, Any] = {}
|
|
64
|
+
return params
|
|
65
|
+
|
|
66
|
+
def query_params(self) -> Dict[str, Any]:
|
|
67
|
+
params: Dict[str, Any] = {}
|
|
68
|
+
return params
|
|
69
|
+
|
|
70
|
+
def header_params(self) -> Dict[str, Any]:
|
|
71
|
+
params: Dict[str, Any] = {}
|
|
72
|
+
return params
|
|
73
|
+
|
|
74
|
+
def body_params(self) -> Any:
|
|
75
|
+
return self.body
|
|
76
|
+
|
|
77
|
+
@dataclass
|
|
78
|
+
class ClustersPutapiv4adminclustersclusteridParams:
|
|
79
|
+
"""
|
|
80
|
+
Parameters for the 'putApiV4AdminClustersClusterId' operation.
|
|
81
|
+
"""
|
|
82
|
+
cluster_id: int
|
|
83
|
+
body: Optional[Any] = None
|
|
84
|
+
|
|
85
|
+
def path_params(self) -> Dict[str, Any]:
|
|
86
|
+
params: Dict[str, Any] = {}
|
|
87
|
+
if self.cluster_id is not None:
|
|
88
|
+
params['cluster_id'] = self.cluster_id
|
|
89
|
+
return params
|
|
90
|
+
|
|
91
|
+
def query_params(self) -> Dict[str, Any]:
|
|
92
|
+
params: Dict[str, Any] = {}
|
|
93
|
+
return params
|
|
94
|
+
|
|
95
|
+
def header_params(self) -> Dict[str, Any]:
|
|
96
|
+
params: Dict[str, Any] = {}
|
|
97
|
+
return params
|
|
98
|
+
|
|
99
|
+
def body_params(self) -> Any:
|
|
100
|
+
return self.body
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Auto-generated by RestClientGenerator. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from typing import Any, Dict, List, Optional
|
|
5
|
+
|
|
6
|
+
@dataclass
|
|
7
|
+
class JobsGetsinglejobParams:
|
|
8
|
+
"""
|
|
9
|
+
Parameters for the 'getSingleJob' operation.
|
|
10
|
+
"""
|
|
11
|
+
id: str
|
|
12
|
+
job_id: int
|
|
13
|
+
|
|
14
|
+
def path_params(self) -> Dict[str, Any]:
|
|
15
|
+
params: Dict[str, Any] = {}
|
|
16
|
+
if self.id is not None:
|
|
17
|
+
params['id'] = self.id
|
|
18
|
+
if self.job_id is not None:
|
|
19
|
+
params['job_id'] = self.job_id
|
|
20
|
+
return params
|
|
21
|
+
|
|
22
|
+
def query_params(self) -> Dict[str, Any]:
|
|
23
|
+
params: Dict[str, Any] = {}
|
|
24
|
+
return params
|
|
25
|
+
|
|
26
|
+
def header_params(self) -> Dict[str, Any]:
|
|
27
|
+
params: Dict[str, Any] = {}
|
|
28
|
+
return params
|
|
29
|
+
|
|
30
|
+
def body_params(self) -> Any:
|
|
31
|
+
return None
|
|
32
|
+
|
|
33
|
+
@dataclass
|
|
34
|
+
class JobsListprojectjobsParams:
|
|
35
|
+
"""
|
|
36
|
+
Parameters for the 'listProjectJobs' operation.
|
|
37
|
+
"""
|
|
38
|
+
id: str
|
|
39
|
+
scope: Optional[List[str]] = None
|
|
40
|
+
|
|
41
|
+
def path_params(self) -> Dict[str, Any]:
|
|
42
|
+
params: Dict[str, Any] = {}
|
|
43
|
+
if self.id is not None:
|
|
44
|
+
params['id'] = self.id
|
|
45
|
+
return params
|
|
46
|
+
|
|
47
|
+
def query_params(self) -> Dict[str, Any]:
|
|
48
|
+
params: Dict[str, Any] = {}
|
|
49
|
+
if self.scope is not None:
|
|
50
|
+
params['scope'] = self.scope
|
|
51
|
+
return params
|
|
52
|
+
|
|
53
|
+
def header_params(self) -> Dict[str, Any]:
|
|
54
|
+
params: Dict[str, Any] = {}
|
|
55
|
+
return params
|
|
56
|
+
|
|
57
|
+
def body_params(self) -> Any:
|
|
58
|
+
return None
|
|
59
|
+
|
|
60
|
+
@dataclass
|
|
61
|
+
class JobsTriggermanualjobParams:
|
|
62
|
+
"""
|
|
63
|
+
Parameters for the 'triggerManualJob' operation.
|
|
64
|
+
"""
|
|
65
|
+
id: str
|
|
66
|
+
job_id: int
|
|
67
|
+
job_variables_attributes: Optional[List[str]] = None
|
|
68
|
+
|
|
69
|
+
def path_params(self) -> Dict[str, Any]:
|
|
70
|
+
params: Dict[str, Any] = {}
|
|
71
|
+
if self.id is not None:
|
|
72
|
+
params['id'] = self.id
|
|
73
|
+
if self.job_id is not None:
|
|
74
|
+
params['job_id'] = self.job_id
|
|
75
|
+
return params
|
|
76
|
+
|
|
77
|
+
def query_params(self) -> Dict[str, Any]:
|
|
78
|
+
params: Dict[str, Any] = {}
|
|
79
|
+
if self.job_variables_attributes is not None:
|
|
80
|
+
params['job_variables_attributes'] = self.job_variables_attributes
|
|
81
|
+
return params
|
|
82
|
+
|
|
83
|
+
def header_params(self) -> Dict[str, Any]:
|
|
84
|
+
params: Dict[str, Any] = {}
|
|
85
|
+
return params
|
|
86
|
+
|
|
87
|
+
def body_params(self) -> Any:
|
|
88
|
+
return None
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Auto-generated by RestClientGenerator. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from typing import Any, Dict, Optional
|
|
5
|
+
|
|
6
|
+
@dataclass
|
|
7
|
+
class MigrationsPostapiv4adminmigrationstimestampmarkParams:
|
|
8
|
+
"""
|
|
9
|
+
Parameters for the 'postApiV4AdminMigrationsTimestampMark' operation.
|
|
10
|
+
"""
|
|
11
|
+
timestamp: int
|
|
12
|
+
body: Optional[Any] = None
|
|
13
|
+
|
|
14
|
+
def path_params(self) -> Dict[str, Any]:
|
|
15
|
+
params: Dict[str, Any] = {}
|
|
16
|
+
if self.timestamp is not None:
|
|
17
|
+
params['timestamp'] = self.timestamp
|
|
18
|
+
return params
|
|
19
|
+
|
|
20
|
+
def query_params(self) -> Dict[str, Any]:
|
|
21
|
+
params: Dict[str, Any] = {}
|
|
22
|
+
return params
|
|
23
|
+
|
|
24
|
+
def header_params(self) -> Dict[str, Any]:
|
|
25
|
+
params: Dict[str, Any] = {}
|
|
26
|
+
return params
|
|
27
|
+
|
|
28
|
+
def body_params(self) -> Any:
|
|
29
|
+
return self.body
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Auto-generated by RestClientGenerator. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from typing import Any, Dict, Optional
|
|
5
|
+
|
|
6
|
+
@dataclass
|
|
7
|
+
class PipelineCompositionDeleteapiv4admincivariableskeyParams:
|
|
8
|
+
"""
|
|
9
|
+
Parameters for the 'deleteApiV4AdminCiVariablesKey' operation.
|
|
10
|
+
"""
|
|
11
|
+
key: str
|
|
12
|
+
|
|
13
|
+
def path_params(self) -> Dict[str, Any]:
|
|
14
|
+
params: Dict[str, Any] = {}
|
|
15
|
+
if self.key is not None:
|
|
16
|
+
params['key'] = self.key
|
|
17
|
+
return params
|
|
18
|
+
|
|
19
|
+
def query_params(self) -> Dict[str, Any]:
|
|
20
|
+
params: Dict[str, Any] = {}
|
|
21
|
+
return params
|
|
22
|
+
|
|
23
|
+
def header_params(self) -> Dict[str, Any]:
|
|
24
|
+
params: Dict[str, Any] = {}
|
|
25
|
+
return params
|
|
26
|
+
|
|
27
|
+
def body_params(self) -> Any:
|
|
28
|
+
return None
|
|
29
|
+
|
|
30
|
+
@dataclass
|
|
31
|
+
class PipelineCompositionGetapiv4admincivariablesParams:
|
|
32
|
+
"""
|
|
33
|
+
Parameters for the 'getApiV4AdminCiVariables' operation.
|
|
34
|
+
"""
|
|
35
|
+
page: Optional[int] = 1
|
|
36
|
+
per_page: Optional[int] = 20
|
|
37
|
+
|
|
38
|
+
def path_params(self) -> Dict[str, Any]:
|
|
39
|
+
params: Dict[str, Any] = {}
|
|
40
|
+
return params
|
|
41
|
+
|
|
42
|
+
def query_params(self) -> Dict[str, Any]:
|
|
43
|
+
params: Dict[str, Any] = {}
|
|
44
|
+
if self.page is not None:
|
|
45
|
+
params['page'] = self.page
|
|
46
|
+
if self.per_page is not None:
|
|
47
|
+
params['per_page'] = self.per_page
|
|
48
|
+
return params
|
|
49
|
+
|
|
50
|
+
def header_params(self) -> Dict[str, Any]:
|
|
51
|
+
params: Dict[str, Any] = {}
|
|
52
|
+
return params
|
|
53
|
+
|
|
54
|
+
def body_params(self) -> Any:
|
|
55
|
+
return None
|
|
56
|
+
|
|
57
|
+
@dataclass
|
|
58
|
+
class PipelineCompositionGetapiv4admincivariableskeyParams:
|
|
59
|
+
"""
|
|
60
|
+
Parameters for the 'getApiV4AdminCiVariablesKey' operation.
|
|
61
|
+
"""
|
|
62
|
+
key: str
|
|
63
|
+
|
|
64
|
+
def path_params(self) -> Dict[str, Any]:
|
|
65
|
+
params: Dict[str, Any] = {}
|
|
66
|
+
if self.key is not None:
|
|
67
|
+
params['key'] = self.key
|
|
68
|
+
return params
|
|
69
|
+
|
|
70
|
+
def query_params(self) -> Dict[str, Any]:
|
|
71
|
+
params: Dict[str, Any] = {}
|
|
72
|
+
return params
|
|
73
|
+
|
|
74
|
+
def header_params(self) -> Dict[str, Any]:
|
|
75
|
+
params: Dict[str, Any] = {}
|
|
76
|
+
return params
|
|
77
|
+
|
|
78
|
+
def body_params(self) -> Any:
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
@dataclass
|
|
82
|
+
class PipelineCompositionPostapiv4admincivariablesParams:
|
|
83
|
+
body: Optional[Any] = None
|
|
84
|
+
|
|
85
|
+
def path_params(self) -> Dict[str, Any]:
|
|
86
|
+
params: Dict[str, Any] = {}
|
|
87
|
+
return params
|
|
88
|
+
|
|
89
|
+
def query_params(self) -> Dict[str, Any]:
|
|
90
|
+
params: Dict[str, Any] = {}
|
|
91
|
+
return params
|
|
92
|
+
|
|
93
|
+
def header_params(self) -> Dict[str, Any]:
|
|
94
|
+
params: Dict[str, Any] = {}
|
|
95
|
+
return params
|
|
96
|
+
|
|
97
|
+
def body_params(self) -> Any:
|
|
98
|
+
return self.body
|
|
99
|
+
|
|
100
|
+
@dataclass
|
|
101
|
+
class PipelineCompositionPutapiv4admincivariableskeyParams:
|
|
102
|
+
"""
|
|
103
|
+
Parameters for the 'putApiV4AdminCiVariablesKey' operation.
|
|
104
|
+
"""
|
|
105
|
+
key: str
|
|
106
|
+
body: Optional[Any] = None
|
|
107
|
+
|
|
108
|
+
def path_params(self) -> Dict[str, Any]:
|
|
109
|
+
params: Dict[str, Any] = {}
|
|
110
|
+
if self.key is not None:
|
|
111
|
+
params['key'] = self.key
|
|
112
|
+
return params
|
|
113
|
+
|
|
114
|
+
def query_params(self) -> Dict[str, Any]:
|
|
115
|
+
params: Dict[str, Any] = {}
|
|
116
|
+
return params
|
|
117
|
+
|
|
118
|
+
def header_params(self) -> Dict[str, Any]:
|
|
119
|
+
params: Dict[str, Any] = {}
|
|
120
|
+
return params
|
|
121
|
+
|
|
122
|
+
def body_params(self) -> Any:
|
|
123
|
+
return self.body
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Auto-generated by RestClientGenerator. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from typing import Any, Dict, Optional
|
|
5
|
+
|
|
6
|
+
@dataclass
|
|
7
|
+
class PlanLimitsGetapiv4applicationplanlimitsParams:
|
|
8
|
+
"""
|
|
9
|
+
Parameters for the 'getApiV4ApplicationPlanLimits' operation.
|
|
10
|
+
"""
|
|
11
|
+
plan_name: Optional[str] = "default"
|
|
12
|
+
|
|
13
|
+
def path_params(self) -> Dict[str, Any]:
|
|
14
|
+
params: Dict[str, Any] = {}
|
|
15
|
+
return params
|
|
16
|
+
|
|
17
|
+
def query_params(self) -> Dict[str, Any]:
|
|
18
|
+
params: Dict[str, Any] = {}
|
|
19
|
+
if self.plan_name is not None:
|
|
20
|
+
params['plan_name'] = self.plan_name
|
|
21
|
+
return params
|
|
22
|
+
|
|
23
|
+
def header_params(self) -> Dict[str, Any]:
|
|
24
|
+
params: Dict[str, Any] = {}
|
|
25
|
+
return params
|
|
26
|
+
|
|
27
|
+
def body_params(self) -> Any:
|
|
28
|
+
return None
|
|
29
|
+
|
|
30
|
+
@dataclass
|
|
31
|
+
class PlanLimitsPutapiv4applicationplanlimitsParams:
|
|
32
|
+
body: Optional[Any] = None
|
|
33
|
+
|
|
34
|
+
def path_params(self) -> Dict[str, Any]:
|
|
35
|
+
params: Dict[str, Any] = {}
|
|
36
|
+
return params
|
|
37
|
+
|
|
38
|
+
def query_params(self) -> Dict[str, Any]:
|
|
39
|
+
params: Dict[str, Any] = {}
|
|
40
|
+
return params
|
|
41
|
+
|
|
42
|
+
def header_params(self) -> Dict[str, Any]:
|
|
43
|
+
params: Dict[str, Any] = {}
|
|
44
|
+
return params
|
|
45
|
+
|
|
46
|
+
def body_params(self) -> Any:
|
|
47
|
+
return self.body
|
|
File without changes
|