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,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 PipelineCompositionDeleteapiv4admincivariableskeyResponse:
|
|
8
|
+
"""
|
|
9
|
+
Response wrapper for the 'deleteApiV4AdminCiVariablesKey' 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 PipelineCompositionGetapiv4admincivariablesResponse:
|
|
27
|
+
"""
|
|
28
|
+
Response wrapper for the 'getApiV4AdminCiVariables' 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 PipelineCompositionGetapiv4admincivariableskeyResponse:
|
|
46
|
+
"""
|
|
47
|
+
Response wrapper for the 'getApiV4AdminCiVariablesKey' 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 PipelineCompositionPostapiv4admincivariablesResponse:
|
|
65
|
+
"""
|
|
66
|
+
Response wrapper for the 'postApiV4AdminCiVariables' 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 PipelineCompositionPutapiv4admincivariableskeyResponse:
|
|
84
|
+
"""
|
|
85
|
+
Response wrapper for the 'putApiV4AdminCiVariablesKey' 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,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 PlanLimitsGetapiv4applicationplanlimitsResponse:
|
|
8
|
+
"""
|
|
9
|
+
Response wrapper for the 'getApiV4ApplicationPlanLimits' 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 PlanLimitsPutapiv4applicationplanlimitsResponse:
|
|
27
|
+
"""
|
|
28
|
+
Response wrapper for the 'putApiV4ApplicationPlanLimits' 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,195 @@
|
|
|
1
|
+
paths:
|
|
2
|
+
/admin/batched_background_migrations:
|
|
3
|
+
get:
|
|
4
|
+
operationId: list_batched_background_migrations
|
|
5
|
+
/admin/batched_background_migrations/{id}:
|
|
6
|
+
get:
|
|
7
|
+
operationId: get_batched_background_migrations_by_id
|
|
8
|
+
/admin/batched_background_migrations/{id}/pause:
|
|
9
|
+
put:
|
|
10
|
+
operationId: pause_batched_background_migrations
|
|
11
|
+
/admin/batched_background_migrations/{id}/resume:
|
|
12
|
+
put:
|
|
13
|
+
operationId: resume_batched_background_migrations
|
|
14
|
+
/admin/ci/variables:
|
|
15
|
+
get:
|
|
16
|
+
operationId: list_variables
|
|
17
|
+
post:
|
|
18
|
+
operationId: update_variables
|
|
19
|
+
/admin/ci/variables/{key}:
|
|
20
|
+
delete:
|
|
21
|
+
operationId: delete_variable
|
|
22
|
+
get:
|
|
23
|
+
operationId: get_variable
|
|
24
|
+
put:
|
|
25
|
+
operationId: set_variable
|
|
26
|
+
/admin/clusters:
|
|
27
|
+
get:
|
|
28
|
+
operationId: list
|
|
29
|
+
/admin/clusters/add:
|
|
30
|
+
post:
|
|
31
|
+
operationId: add_cluster
|
|
32
|
+
/admin/clusters/{cluster_id}:
|
|
33
|
+
delete:
|
|
34
|
+
operationId: delete_cluster
|
|
35
|
+
get:
|
|
36
|
+
operationId: get_cluster
|
|
37
|
+
put:
|
|
38
|
+
operationId: update_cluster
|
|
39
|
+
/admin/databases/{database_name}/dictionary/tables/{table_name}:
|
|
40
|
+
get:
|
|
41
|
+
operationId: getApiV4AdminDatabasesDatabaseNameDictionaryTablesTableName
|
|
42
|
+
/admin/migrations/{timestamp}/mark:
|
|
43
|
+
post:
|
|
44
|
+
operationId: postApiV4AdminMigrationsTimestampMark
|
|
45
|
+
/application/appearance:
|
|
46
|
+
get:
|
|
47
|
+
operationId: get_appearance
|
|
48
|
+
put:
|
|
49
|
+
operationId: set_appearance
|
|
50
|
+
/application/plan_limits:
|
|
51
|
+
get:
|
|
52
|
+
operationId: get_plan_limits
|
|
53
|
+
put:
|
|
54
|
+
operationId: set_plan_limits
|
|
55
|
+
/applications:
|
|
56
|
+
get:
|
|
57
|
+
operationId: list_applications
|
|
58
|
+
post:
|
|
59
|
+
operationId: add_applications
|
|
60
|
+
/applications/{id}:
|
|
61
|
+
delete:
|
|
62
|
+
operationId: delete_application
|
|
63
|
+
/avatar:
|
|
64
|
+
get:
|
|
65
|
+
operationId: get_avatar
|
|
66
|
+
/broadcast_messages:
|
|
67
|
+
get:
|
|
68
|
+
operationId: get_broadcast_messages
|
|
69
|
+
post:
|
|
70
|
+
operationId: add_broadcast_messages
|
|
71
|
+
/broadcast_messages/{id}:
|
|
72
|
+
delete:
|
|
73
|
+
operationId: delete_broadcast_message
|
|
74
|
+
get:
|
|
75
|
+
operationId: get_broadcast_message
|
|
76
|
+
put:
|
|
77
|
+
operationId: update_broadcast_message
|
|
78
|
+
/bulk_imports:
|
|
79
|
+
get:
|
|
80
|
+
operationId: list_bulk_imports
|
|
81
|
+
post:
|
|
82
|
+
operationId: add_bulk_import
|
|
83
|
+
/bulk_imports/entities:
|
|
84
|
+
get:
|
|
85
|
+
operationId: list_bulk_imports_entities
|
|
86
|
+
/bulk_imports/{import_id}:
|
|
87
|
+
get:
|
|
88
|
+
operationId: get_bulk_imports
|
|
89
|
+
/bulk_imports/{import_id}/entities:
|
|
90
|
+
get:
|
|
91
|
+
operationId: list_bulk_imports_entities
|
|
92
|
+
/bulk_imports/{import_id}/entities/{entity_id}:
|
|
93
|
+
get:
|
|
94
|
+
operationId: get_bulk_imports_entities
|
|
95
|
+
/groups/{id}/access_requests:
|
|
96
|
+
get:
|
|
97
|
+
operationId: list_access_requests
|
|
98
|
+
post:
|
|
99
|
+
operationId: add_access_request
|
|
100
|
+
/groups/{id}/access_requests/{user_id}:
|
|
101
|
+
delete:
|
|
102
|
+
operationId: delete_access_request
|
|
103
|
+
/groups/{id}/access_requests/{user_id}/approve:
|
|
104
|
+
put:
|
|
105
|
+
operationId: approve_access_request
|
|
106
|
+
/groups/{id}/badges:
|
|
107
|
+
get:
|
|
108
|
+
operationId: list_badges
|
|
109
|
+
post:
|
|
110
|
+
operationId: add_badge
|
|
111
|
+
/groups/{id}/badges/render:
|
|
112
|
+
get:
|
|
113
|
+
operationId: render_badges
|
|
114
|
+
/groups/{id}/badges/{badge_id}:
|
|
115
|
+
delete:
|
|
116
|
+
operationId: delete_badge
|
|
117
|
+
get:
|
|
118
|
+
operationId: get_badge
|
|
119
|
+
put:
|
|
120
|
+
operationId: update_badge
|
|
121
|
+
/metadata:
|
|
122
|
+
get:
|
|
123
|
+
operationId: get_metadata
|
|
124
|
+
/projects/{id}/access_requests:
|
|
125
|
+
get:
|
|
126
|
+
operationId: list_access_requests
|
|
127
|
+
post:
|
|
128
|
+
operationId: add_access_request
|
|
129
|
+
/projects/{id}/access_requests/{user_id}:
|
|
130
|
+
delete:
|
|
131
|
+
operationId: delete_access_request
|
|
132
|
+
/projects/{id}/access_requests/{user_id}/approve:
|
|
133
|
+
put:
|
|
134
|
+
operationId: approve_access_request
|
|
135
|
+
/projects/{id}/alert_management_alerts/{alert_iid}/metric_images:
|
|
136
|
+
get:
|
|
137
|
+
operationId: get_metric_images
|
|
138
|
+
post:
|
|
139
|
+
operationId: update_metric_images
|
|
140
|
+
/projects/{id}/alert_management_alerts/{alert_iid}/metric_images/authorize:
|
|
141
|
+
post:
|
|
142
|
+
operationId: authorize_metric_images
|
|
143
|
+
/projects/{id}/alert_management_alerts/{alert_iid}/metric_images/{metric_image_id}:
|
|
144
|
+
delete:
|
|
145
|
+
operationId: delete_metric_image
|
|
146
|
+
put:
|
|
147
|
+
operationId: update_metric_image
|
|
148
|
+
/projects/{id}/badges:
|
|
149
|
+
get:
|
|
150
|
+
operationId: list_badges
|
|
151
|
+
post:
|
|
152
|
+
operationId: create_badges
|
|
153
|
+
/projects/{id}/badges/render:
|
|
154
|
+
get:
|
|
155
|
+
operationId: render_badges
|
|
156
|
+
/projects/{id}/badges/{badge_id}:
|
|
157
|
+
delete:
|
|
158
|
+
operationId: delete_badge
|
|
159
|
+
get:
|
|
160
|
+
operationId: get_badge
|
|
161
|
+
put:
|
|
162
|
+
operationId: update_badge
|
|
163
|
+
/projects/{id}/jobs:
|
|
164
|
+
get:
|
|
165
|
+
operationId: list_jobs
|
|
166
|
+
/projects/{id}/jobs/{job_id}:
|
|
167
|
+
get:
|
|
168
|
+
operationId: get_job
|
|
169
|
+
/projects/{id}/jobs/{job_id}/play:
|
|
170
|
+
post:
|
|
171
|
+
operationId: play_job
|
|
172
|
+
/projects/{id}/repository/branches:
|
|
173
|
+
get:
|
|
174
|
+
operationId: list_branches
|
|
175
|
+
post:
|
|
176
|
+
operationId: create_branche
|
|
177
|
+
/projects/{id}/repository/branches/{branch}:
|
|
178
|
+
delete:
|
|
179
|
+
operationId: delete_branche
|
|
180
|
+
get:
|
|
181
|
+
operationId: get_branch
|
|
182
|
+
head:
|
|
183
|
+
operationId: has_branch
|
|
184
|
+
/projects/{id}/repository/branches/{branch}/protect:
|
|
185
|
+
put:
|
|
186
|
+
operationId: protect
|
|
187
|
+
/projects/{id}/repository/branches/{branch}/unprotect:
|
|
188
|
+
put:
|
|
189
|
+
operationId: unprotect
|
|
190
|
+
/projects/{id}/repository/merged_branches:
|
|
191
|
+
delete:
|
|
192
|
+
operationId: delete_repository_merged_branches
|
|
193
|
+
/version:
|
|
194
|
+
get:
|
|
195
|
+
operationId: get_version
|