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,222 @@
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 AccessRequestsDeleteapiv4groupsidaccessrequestsuseridParams:
8
+ """
9
+ Parameters for the 'deleteApiV4GroupsIdAccessRequestsUserId' operation.
10
+ """
11
+ id: str
12
+ user_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.user_id is not None:
19
+ params['user_id'] = self.user_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 AccessRequestsDeleteapiv4projectsidaccessrequestsuseridParams:
35
+ """
36
+ Parameters for the 'deleteApiV4ProjectsIdAccessRequestsUserId' operation.
37
+ """
38
+ id: str
39
+ user_id: int
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
+ if self.user_id is not None:
46
+ params['user_id'] = self.user_id
47
+ return params
48
+
49
+ def query_params(self) -> Dict[str, Any]:
50
+ params: Dict[str, Any] = {}
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 AccessRequestsGetapiv4groupsidaccessrequestsParams:
62
+ """
63
+ Parameters for the 'getApiV4GroupsIdAccessRequests' operation.
64
+ """
65
+ id: str
66
+ page: Optional[int] = 1
67
+ per_page: Optional[int] = 20
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
+ return params
74
+
75
+ def query_params(self) -> Dict[str, Any]:
76
+ params: Dict[str, Any] = {}
77
+ if self.page is not None:
78
+ params['page'] = self.page
79
+ if self.per_page is not None:
80
+ params['per_page'] = self.per_page
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
89
+
90
+ @dataclass
91
+ class AccessRequestsGetapiv4projectsidaccessrequestsParams:
92
+ """
93
+ Parameters for the 'getApiV4ProjectsIdAccessRequests' operation.
94
+ """
95
+ id: str
96
+ page: Optional[int] = 1
97
+ per_page: Optional[int] = 20
98
+
99
+ def path_params(self) -> Dict[str, Any]:
100
+ params: Dict[str, Any] = {}
101
+ if self.id is not None:
102
+ params['id'] = self.id
103
+ return params
104
+
105
+ def query_params(self) -> Dict[str, Any]:
106
+ params: Dict[str, Any] = {}
107
+ if self.page is not None:
108
+ params['page'] = self.page
109
+ if self.per_page is not None:
110
+ params['per_page'] = self.per_page
111
+ return params
112
+
113
+ def header_params(self) -> Dict[str, Any]:
114
+ params: Dict[str, Any] = {}
115
+ return params
116
+
117
+ def body_params(self) -> Any:
118
+ return None
119
+
120
+ @dataclass
121
+ class AccessRequestsPostapiv4groupsidaccessrequestsParams:
122
+ """
123
+ Parameters for the 'postApiV4GroupsIdAccessRequests' operation.
124
+ """
125
+ id: str
126
+
127
+ def path_params(self) -> Dict[str, Any]:
128
+ params: Dict[str, Any] = {}
129
+ if self.id is not None:
130
+ params['id'] = self.id
131
+ return params
132
+
133
+ def query_params(self) -> Dict[str, Any]:
134
+ params: Dict[str, Any] = {}
135
+ return params
136
+
137
+ def header_params(self) -> Dict[str, Any]:
138
+ params: Dict[str, Any] = {}
139
+ return params
140
+
141
+ def body_params(self) -> Any:
142
+ return None
143
+
144
+ @dataclass
145
+ class AccessRequestsPostapiv4projectsidaccessrequestsParams:
146
+ """
147
+ Parameters for the 'postApiV4ProjectsIdAccessRequests' operation.
148
+ """
149
+ id: str
150
+
151
+ def path_params(self) -> Dict[str, Any]:
152
+ params: Dict[str, Any] = {}
153
+ if self.id is not None:
154
+ params['id'] = self.id
155
+ return params
156
+
157
+ def query_params(self) -> Dict[str, Any]:
158
+ params: Dict[str, Any] = {}
159
+ return params
160
+
161
+ def header_params(self) -> Dict[str, Any]:
162
+ params: Dict[str, Any] = {}
163
+ return params
164
+
165
+ def body_params(self) -> Any:
166
+ return None
167
+
168
+ @dataclass
169
+ class AccessRequestsPutapiv4groupsidaccessrequestsuseridapproveParams:
170
+ """
171
+ Parameters for the 'putApiV4GroupsIdAccessRequestsUserIdApprove' operation.
172
+ """
173
+ id: str
174
+ user_id: int
175
+ body: Optional[Any] = None
176
+
177
+ def path_params(self) -> Dict[str, Any]:
178
+ params: Dict[str, Any] = {}
179
+ if self.id is not None:
180
+ params['id'] = self.id
181
+ if self.user_id is not None:
182
+ params['user_id'] = self.user_id
183
+ return params
184
+
185
+ def query_params(self) -> Dict[str, Any]:
186
+ params: Dict[str, Any] = {}
187
+ return params
188
+
189
+ def header_params(self) -> Dict[str, Any]:
190
+ params: Dict[str, Any] = {}
191
+ return params
192
+
193
+ def body_params(self) -> Any:
194
+ return self.body
195
+
196
+ @dataclass
197
+ class AccessRequestsPutapiv4projectsidaccessrequestsuseridapproveParams:
198
+ """
199
+ Parameters for the 'putApiV4ProjectsIdAccessRequestsUserIdApprove' operation.
200
+ """
201
+ id: str
202
+ user_id: int
203
+ body: Optional[Any] = None
204
+
205
+ def path_params(self) -> Dict[str, Any]:
206
+ params: Dict[str, Any] = {}
207
+ if self.id is not None:
208
+ params['id'] = self.id
209
+ if self.user_id is not None:
210
+ params['user_id'] = self.user_id
211
+ return params
212
+
213
+ def query_params(self) -> Dict[str, Any]:
214
+ params: Dict[str, Any] = {}
215
+ return params
216
+
217
+ def header_params(self) -> Dict[str, Any]:
218
+ params: Dict[str, Any] = {}
219
+ return params
220
+
221
+ def body_params(self) -> Any:
222
+ return self.body
@@ -0,0 +1,31 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from dataclasses import dataclass
4
+ from typing import Any, Dict
5
+
6
+ @dataclass
7
+ class AdminGetapiv4admindatabasesdatabasenamedictionarytablestablenameParams:
8
+ """
9
+ Parameters for the 'getApiV4AdminDatabasesDatabaseNameDictionaryTablesTableName' operation.
10
+ """
11
+ database_name: str
12
+ table_name: str
13
+
14
+ def path_params(self) -> Dict[str, Any]:
15
+ params: Dict[str, Any] = {}
16
+ if self.database_name is not None:
17
+ params['database_name'] = self.database_name
18
+ if self.table_name is not None:
19
+ params['table_name'] = self.table_name
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
@@ -0,0 +1,147 @@
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 AlertManagementDeleteapiv4projectsidalertmanagementalertsalertiidmetricimagesmetricimageidParams:
8
+ """
9
+ Parameters for the 'deleteApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId' operation.
10
+ """
11
+ id: str
12
+ alert_iid: int
13
+ metric_image_id: int
14
+
15
+ def path_params(self) -> Dict[str, Any]:
16
+ params: Dict[str, Any] = {}
17
+ if self.id is not None:
18
+ params['id'] = self.id
19
+ if self.alert_iid is not None:
20
+ params['alert_iid'] = self.alert_iid
21
+ if self.metric_image_id is not None:
22
+ params['metric_image_id'] = self.metric_image_id
23
+ return params
24
+
25
+ def query_params(self) -> Dict[str, Any]:
26
+ params: Dict[str, Any] = {}
27
+ return params
28
+
29
+ def header_params(self) -> Dict[str, Any]:
30
+ params: Dict[str, Any] = {}
31
+ return params
32
+
33
+ def body_params(self) -> Any:
34
+ return None
35
+
36
+ @dataclass
37
+ class AlertManagementGetapiv4projectsidalertmanagementalertsalertiidmetricimagesParams:
38
+ """
39
+ Parameters for the 'getApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages' operation.
40
+ """
41
+ id: str
42
+ alert_iid: int
43
+
44
+ def path_params(self) -> Dict[str, Any]:
45
+ params: Dict[str, Any] = {}
46
+ if self.id is not None:
47
+ params['id'] = self.id
48
+ if self.alert_iid is not None:
49
+ params['alert_iid'] = self.alert_iid
50
+ return params
51
+
52
+ def query_params(self) -> Dict[str, Any]:
53
+ params: Dict[str, Any] = {}
54
+ return params
55
+
56
+ def header_params(self) -> Dict[str, Any]:
57
+ params: Dict[str, Any] = {}
58
+ return params
59
+
60
+ def body_params(self) -> Any:
61
+ return None
62
+
63
+ @dataclass
64
+ class AlertManagementPostapiv4projectsidalertmanagementalertsalertiidmetricimagesParams:
65
+ """
66
+ Parameters for the 'postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages' operation.
67
+ """
68
+ id: str
69
+ alert_iid: int
70
+ body: Optional[Any] = None
71
+
72
+ def path_params(self) -> Dict[str, Any]:
73
+ params: Dict[str, Any] = {}
74
+ if self.id is not None:
75
+ params['id'] = self.id
76
+ if self.alert_iid is not None:
77
+ params['alert_iid'] = self.alert_iid
78
+ return params
79
+
80
+ def query_params(self) -> Dict[str, Any]:
81
+ params: Dict[str, Any] = {}
82
+ return params
83
+
84
+ def header_params(self) -> Dict[str, Any]:
85
+ params: Dict[str, Any] = {}
86
+ return params
87
+
88
+ def body_params(self) -> Any:
89
+ return self.body
90
+
91
+ @dataclass
92
+ class AlertManagementPostapiv4projectsidalertmanagementalertsalertiidmetricimagesauthorizeParams:
93
+ """
94
+ Parameters for the 'postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesAuthorize' operation.
95
+ """
96
+ id: str
97
+ alert_iid: int
98
+
99
+ def path_params(self) -> Dict[str, Any]:
100
+ params: Dict[str, Any] = {}
101
+ if self.id is not None:
102
+ params['id'] = self.id
103
+ if self.alert_iid is not None:
104
+ params['alert_iid'] = self.alert_iid
105
+ return params
106
+
107
+ def query_params(self) -> Dict[str, Any]:
108
+ params: Dict[str, Any] = {}
109
+ return params
110
+
111
+ def header_params(self) -> Dict[str, Any]:
112
+ params: Dict[str, Any] = {}
113
+ return params
114
+
115
+ def body_params(self) -> Any:
116
+ return None
117
+
118
+ @dataclass
119
+ class AlertManagementPutapiv4projectsidalertmanagementalertsalertiidmetricimagesmetricimageidParams:
120
+ """
121
+ Parameters for the 'putApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId' operation.
122
+ """
123
+ id: str
124
+ alert_iid: int
125
+ metric_image_id: int
126
+ body: Optional[Any] = None
127
+
128
+ def path_params(self) -> Dict[str, Any]:
129
+ params: Dict[str, Any] = {}
130
+ if self.id is not None:
131
+ params['id'] = self.id
132
+ if self.alert_iid is not None:
133
+ params['alert_iid'] = self.alert_iid
134
+ if self.metric_image_id is not None:
135
+ params['metric_image_id'] = self.metric_image_id
136
+ return params
137
+
138
+ def query_params(self) -> Dict[str, Any]:
139
+ params: Dict[str, Any] = {}
140
+ return params
141
+
142
+ def header_params(self) -> Dict[str, Any]:
143
+ params: Dict[str, Any] = {}
144
+ return params
145
+
146
+ def body_params(self) -> Any:
147
+ return self.body
@@ -0,0 +1,27 @@
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 ApplicationGetapiv4applicationappearanceParams:
8
+ pass
9
+
10
+ @dataclass
11
+ class ApplicationPutapiv4applicationappearanceParams:
12
+ body: Optional[Any] = None
13
+
14
+ def path_params(self) -> Dict[str, Any]:
15
+ params: Dict[str, Any] = {}
16
+ return params
17
+
18
+ def query_params(self) -> Dict[str, Any]:
19
+ params: Dict[str, Any] = {}
20
+ return params
21
+
22
+ def header_params(self) -> Dict[str, Any]:
23
+ params: Dict[str, Any] = {}
24
+ return params
25
+
26
+ def body_params(self) -> Any:
27
+ return self.body
@@ -0,0 +1,51 @@
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 ApplicationsDeleteapiv4applicationsidParams:
8
+ """
9
+ Parameters for the 'deleteApiV4ApplicationsId' 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 ApplicationsGetapiv4applicationsParams:
32
+ pass
33
+
34
+ @dataclass
35
+ class ApplicationsPostapiv4applicationsParams:
36
+ body: Optional[Any] = None
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
+ return params
45
+
46
+ def header_params(self) -> Dict[str, Any]:
47
+ params: Dict[str, Any] = {}
48
+ return params
49
+
50
+ def body_params(self) -> Any:
51
+ return self.body
@@ -0,0 +1,31 @@
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 AvatarGetapiv4avatarParams:
8
+ """
9
+ Parameters for the 'getApiV4Avatar' operation.
10
+ """
11
+ email: str
12
+ size: Optional[int] = None
13
+
14
+ def path_params(self) -> Dict[str, Any]:
15
+ params: Dict[str, Any] = {}
16
+ return params
17
+
18
+ def query_params(self) -> Dict[str, Any]:
19
+ params: Dict[str, Any] = {}
20
+ if self.email is not None:
21
+ params['email'] = self.email
22
+ if self.size is not None:
23
+ params['size'] = self.size
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