spinnaker_gate_ruby_client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +85 -0
  4. data/LICENSE +201 -0
  5. data/README.md +240 -0
  6. data/Rakefile +8 -0
  7. data/docs/Account.md +14 -0
  8. data/docs/AccountDetails.md +19 -0
  9. data/docs/AmazonInfrastructureControllerApi.md +128 -0
  10. data/docs/ApplicationControllerApi.md +754 -0
  11. data/docs/ArtifactControllerApi.md +111 -0
  12. data/docs/AuthControllerApi.md +212 -0
  13. data/docs/BakeControllerApi.md +143 -0
  14. data/docs/BuildControllerApi.md +493 -0
  15. data/docs/ClusterControllerApi.md +475 -0
  16. data/docs/ConcourseControllerApi.md +161 -0
  17. data/docs/CredentialsControllerApi.md +129 -0
  18. data/docs/EcsServerGroupEventsControllerApi.md +66 -0
  19. data/docs/ExecutionsControllerApi.md +133 -0
  20. data/docs/FirewallControllerApi.md +171 -0
  21. data/docs/GrantedAuthority.md +8 -0
  22. data/docs/HashMapstringobject.md +7 -0
  23. data/docs/HttpEntity.md +8 -0
  24. data/docs/ImageControllerApi.md +178 -0
  25. data/docs/InstanceControllerApi.md +122 -0
  26. data/docs/JobControllerApi.md +69 -0
  27. data/docs/LoadBalancerControllerApi.md +217 -0
  28. data/docs/Mapstringstring.md +7 -0
  29. data/docs/NetworkControllerApi.md +105 -0
  30. data/docs/PipelineConfigControllerApi.md +144 -0
  31. data/docs/PipelineControllerApi.md +1074 -0
  32. data/docs/PipelineTemplateDependent.md +10 -0
  33. data/docs/PipelineTemplatesControllerApi.md +350 -0
  34. data/docs/ProjectControllerApi.md +196 -0
  35. data/docs/PubsubSubscriptionControllerApi.md +48 -0
  36. data/docs/ReorderPipelinesCommand.md +9 -0
  37. data/docs/ReorderPipelinesControllerApi.md +54 -0
  38. data/docs/ResponseEntity.md +10 -0
  39. data/docs/SearchControllerApi.md +68 -0
  40. data/docs/SecurityGroupControllerApi.md +171 -0
  41. data/docs/ServerGroupControllerApi.md +125 -0
  42. data/docs/ServerGroupManagerControllerApi.md +54 -0
  43. data/docs/SnapshotControllerApi.md +110 -0
  44. data/docs/SubnetControllerApi.md +58 -0
  45. data/docs/TaskControllerApi.md +291 -0
  46. data/docs/User.md +18 -0
  47. data/docs/V2CanaryConfigControllerApi.md +259 -0
  48. data/docs/V2CanaryControllerApi.md +356 -0
  49. data/docs/V2PipelineTemplatesControllerApi.md +356 -0
  50. data/docs/Version.md +8 -0
  51. data/docs/VersionControllerApi.md +48 -0
  52. data/docs/WebhookControllerApi.md +105 -0
  53. data/git_push.sh +55 -0
  54. data/lib/swagger_client.rb +85 -0
  55. data/lib/swagger_client/api/amazon_infrastructure_controller_api.rb +161 -0
  56. data/lib/swagger_client/api/application_controller_api.rb +868 -0
  57. data/lib/swagger_client/api/artifact_controller_api.rb +141 -0
  58. data/lib/swagger_client/api/auth_controller_api.rb +258 -0
  59. data/lib/swagger_client/api/bake_controller_api.rb +179 -0
  60. data/lib/swagger_client/api/build_controller_api.rb +588 -0
  61. data/lib/swagger_client/api/cluster_controller_api.rb +591 -0
  62. data/lib/swagger_client/api/concourse_controller_api.rb +209 -0
  63. data/lib/swagger_client/api/credentials_controller_api.rb +163 -0
  64. data/lib/swagger_client/api/ecs_server_group_events_controller_api.rb +101 -0
  65. data/lib/swagger_client/api/executions_controller_api.rb +169 -0
  66. data/lib/swagger_client/api/firewall_controller_api.rb +209 -0
  67. data/lib/swagger_client/api/image_controller_api.rb +222 -0
  68. data/lib/swagger_client/api/instance_controller_api.rb +160 -0
  69. data/lib/swagger_client/api/job_controller_api.rb +99 -0
  70. data/lib/swagger_client/api/load_balancer_controller_api.rb +258 -0
  71. data/lib/swagger_client/api/network_controller_api.rb +127 -0
  72. data/lib/swagger_client/api/pipeline_config_controller_api.rb +176 -0
  73. data/lib/swagger_client/api/pipeline_controller_api.rb +1268 -0
  74. data/lib/swagger_client/api/pipeline_templates_controller_api.rb +404 -0
  75. data/lib/swagger_client/api/project_controller_api.rb +234 -0
  76. data/lib/swagger_client/api/pubsub_subscription_controller_api.rb +69 -0
  77. data/lib/swagger_client/api/reorder_pipelines_controller_api.rb +75 -0
  78. data/lib/swagger_client/api/search_controller_api.rb +94 -0
  79. data/lib/swagger_client/api/security_group_controller_api.rb +209 -0
  80. data/lib/swagger_client/api/server_group_controller_api.rb +163 -0
  81. data/lib/swagger_client/api/server_group_manager_controller_api.rb +75 -0
  82. data/lib/swagger_client/api/snapshot_controller_api.rb +142 -0
  83. data/lib/swagger_client/api/subnet_controller_api.rb +78 -0
  84. data/lib/swagger_client/api/task_controller_api.rb +345 -0
  85. data/lib/swagger_client/api/v2_canary_config_controller_api.rb +300 -0
  86. data/lib/swagger_client/api/v2_canary_controller_api.rb +421 -0
  87. data/lib/swagger_client/api/v2_pipeline_templates_controller_api.rb +412 -0
  88. data/lib/swagger_client/api/version_controller_api.rb +69 -0
  89. data/lib/swagger_client/api/webhook_controller_api.rb +135 -0
  90. data/lib/swagger_client/api_client.rb +388 -0
  91. data/lib/swagger_client/api_error.rb +38 -0
  92. data/lib/swagger_client/configuration.rb +202 -0
  93. data/lib/swagger_client/models/account.rb +241 -0
  94. data/lib/swagger_client/models/account_details.rb +286 -0
  95. data/lib/swagger_client/models/granted_authority.rb +183 -0
  96. data/lib/swagger_client/models/hash_mapstringobject.rb +174 -0
  97. data/lib/swagger_client/models/http_entity.rb +183 -0
  98. data/lib/swagger_client/models/mapstringstring.rb +174 -0
  99. data/lib/swagger_client/models/pipeline_template_dependent.rb +201 -0
  100. data/lib/swagger_client/models/reorder_pipelines_command.rb +194 -0
  101. data/lib/swagger_client/models/response_entity.rb +235 -0
  102. data/lib/swagger_client/models/user.rb +279 -0
  103. data/lib/swagger_client/models/version.rb +183 -0
  104. data/lib/swagger_client/version.rb +15 -0
  105. data/spec/api/amazon_infrastructure_controller_api_spec.rb +65 -0
  106. data/spec/api/application_controller_api_spec.rb +218 -0
  107. data/spec/api/artifact_controller_api_spec.rb +60 -0
  108. data/spec/api/auth_controller_api_spec.rb +86 -0
  109. data/spec/api/bake_controller_api_spec.rb +68 -0
  110. data/spec/api/build_controller_api_spec.rb +155 -0
  111. data/spec/api/cluster_controller_api_spec.rb +155 -0
  112. data/spec/api/concourse_controller_api_spec.rb +73 -0
  113. data/spec/api/credentials_controller_api_spec.rb +70 -0
  114. data/spec/api/ecs_server_group_events_controller_api_spec.rb +50 -0
  115. data/spec/api/executions_controller_api_spec.rb +72 -0
  116. data/spec/api/firewall_controller_api_spec.rb +77 -0
  117. data/spec/api/image_controller_api_spec.rb +80 -0
  118. data/spec/api/instance_controller_api_spec.rb +64 -0
  119. data/spec/api/job_controller_api_spec.rb +51 -0
  120. data/spec/api/load_balancer_controller_api_spec.rb +87 -0
  121. data/spec/api/network_controller_api_spec.rb +58 -0
  122. data/spec/api/pipeline_config_controller_api_spec.rb +68 -0
  123. data/spec/api/pipeline_controller_api_spec.rb +296 -0
  124. data/spec/api/pipeline_templates_controller_api_spec.rb +118 -0
  125. data/spec/api/project_controller_api_spec.rb +81 -0
  126. data/spec/api/pubsub_subscription_controller_api_spec.rb +45 -0
  127. data/spec/api/reorder_pipelines_controller_api_spec.rb +46 -0
  128. data/spec/api/search_controller_api_spec.rb +52 -0
  129. data/spec/api/security_group_controller_api_spec.rb +77 -0
  130. data/spec/api/server_group_controller_api_spec.rb +66 -0
  131. data/spec/api/server_group_manager_controller_api_spec.rb +46 -0
  132. data/spec/api/snapshot_controller_api_spec.rb +60 -0
  133. data/spec/api/subnet_controller_api_spec.rb +47 -0
  134. data/spec/api/task_controller_api_spec.rb +103 -0
  135. data/spec/api/v2_canary_config_controller_api_spec.rb +96 -0
  136. data/spec/api/v2_canary_controller_api_spec.rb +123 -0
  137. data/spec/api/v2_pipeline_templates_controller_api_spec.rb +121 -0
  138. data/spec/api/version_controller_api_spec.rb +45 -0
  139. data/spec/api/webhook_controller_api_spec.rb +60 -0
  140. data/spec/api_client_spec.rb +226 -0
  141. data/spec/configuration_spec.rb +42 -0
  142. data/spec/models/account_details_spec.rb +107 -0
  143. data/spec/models/account_spec.rb +77 -0
  144. data/spec/models/granted_authority_spec.rb +41 -0
  145. data/spec/models/hash_mapstringobject_spec.rb +35 -0
  146. data/spec/models/http_entity_spec.rb +41 -0
  147. data/spec/models/mapstringstring_spec.rb +35 -0
  148. data/spec/models/pipeline_template_dependent_spec.rb +53 -0
  149. data/spec/models/reorder_pipelines_command_spec.rb +47 -0
  150. data/spec/models/response_entity_spec.rb +57 -0
  151. data/spec/models/user_spec.rb +101 -0
  152. data/spec/models/version_spec.rb +41 -0
  153. data/spec/spec_helper.rb +111 -0
  154. data/spinnaker_gate_ruby_client.gemspec +45 -0
  155. metadata +426 -0
@@ -0,0 +1,10 @@
1
+ # SwaggerClient::PipelineTemplateDependent
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **application** | **String** | | [optional]
7
+ **pipeline_config_id** | **String** | | [optional]
8
+ **pipeline_name** | **String** | | [optional]
9
+
10
+
@@ -0,0 +1,350 @@
1
+ # SwaggerClient::PipelineTemplatesControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_using_post**](PipelineTemplatesControllerApi.md#create_using_post) | **POST** /pipelineTemplates | Create a pipeline template.
8
+ [**delete_using_delete**](PipelineTemplatesControllerApi.md#delete_using_delete) | **DELETE** /pipelineTemplates/{id} | Delete a pipeline template.
9
+ [**get_using_get**](PipelineTemplatesControllerApi.md#get_using_get) | **GET** /pipelineTemplates/{id} | Get a pipeline template.
10
+ [**list_pipeline_template_dependents_using_get**](PipelineTemplatesControllerApi.md#list_pipeline_template_dependents_using_get) | **GET** /pipelineTemplates/{id}/dependents | List all pipelines that implement a pipeline template
11
+ [**list_using_get**](PipelineTemplatesControllerApi.md#list_using_get) | **GET** /pipelineTemplates | List pipeline templates.
12
+ [**resolve_templates_using_get**](PipelineTemplatesControllerApi.md#resolve_templates_using_get) | **GET** /pipelineTemplates/resolve | Resolve a pipeline template.
13
+ [**update_using_post**](PipelineTemplatesControllerApi.md#update_using_post) | **POST** /pipelineTemplates/{id} | Update a pipeline template.
14
+
15
+
16
+ # **create_using_post**
17
+ > create_using_post(pipeline_template)
18
+
19
+ Create a pipeline template.
20
+
21
+ ### Example
22
+ ```ruby
23
+ # load the gem
24
+ require 'swagger_client'
25
+
26
+ api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
27
+
28
+ pipeline_template = nil # Object | pipelineTemplate
29
+
30
+
31
+ begin
32
+ #Create a pipeline template.
33
+ api_instance.create_using_post(pipeline_template)
34
+ rescue SwaggerClient::ApiError => e
35
+ puts "Exception when calling PipelineTemplatesControllerApi->create_using_post: #{e}"
36
+ end
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ Name | Type | Description | Notes
42
+ ------------- | ------------- | ------------- | -------------
43
+ **pipeline_template** | **Object**| pipelineTemplate |
44
+
45
+ ### Return type
46
+
47
+ nil (empty response body)
48
+
49
+ ### Authorization
50
+
51
+ No authorization required
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: application/json
56
+ - **Accept**: */*
57
+
58
+
59
+
60
+ # **delete_using_delete**
61
+ > Hash<String, Object> delete_using_delete(id, opts)
62
+
63
+ Delete a pipeline template.
64
+
65
+ ### Example
66
+ ```ruby
67
+ # load the gem
68
+ require 'swagger_client'
69
+
70
+ api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
71
+
72
+ id = 'id_example' # String | id
73
+
74
+ opts = {
75
+ application: 'application_example' # String | application
76
+ }
77
+
78
+ begin
79
+ #Delete a pipeline template.
80
+ result = api_instance.delete_using_delete(id, opts)
81
+ p result
82
+ rescue SwaggerClient::ApiError => e
83
+ puts "Exception when calling PipelineTemplatesControllerApi->delete_using_delete: #{e}"
84
+ end
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+ Name | Type | Description | Notes
90
+ ------------- | ------------- | ------------- | -------------
91
+ **id** | **String**| id |
92
+ **application** | **String**| application | [optional]
93
+
94
+ ### Return type
95
+
96
+ **Hash<String, Object>**
97
+
98
+ ### Authorization
99
+
100
+ No authorization required
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: application/json
105
+ - **Accept**: */*
106
+
107
+
108
+
109
+ # **get_using_get**
110
+ > Hash<String, Object> get_using_get(id)
111
+
112
+ Get a pipeline template.
113
+
114
+ ### Example
115
+ ```ruby
116
+ # load the gem
117
+ require 'swagger_client'
118
+
119
+ api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
120
+
121
+ id = 'id_example' # String | id
122
+
123
+
124
+ begin
125
+ #Get a pipeline template.
126
+ result = api_instance.get_using_get(id)
127
+ p result
128
+ rescue SwaggerClient::ApiError => e
129
+ puts "Exception when calling PipelineTemplatesControllerApi->get_using_get: #{e}"
130
+ end
131
+ ```
132
+
133
+ ### Parameters
134
+
135
+ Name | Type | Description | Notes
136
+ ------------- | ------------- | ------------- | -------------
137
+ **id** | **String**| id |
138
+
139
+ ### Return type
140
+
141
+ **Hash<String, Object>**
142
+
143
+ ### Authorization
144
+
145
+ No authorization required
146
+
147
+ ### HTTP request headers
148
+
149
+ - **Content-Type**: application/json
150
+ - **Accept**: */*
151
+
152
+
153
+
154
+ # **list_pipeline_template_dependents_using_get**
155
+ > Array<Object> list_pipeline_template_dependents_using_get(id, opts)
156
+
157
+ List all pipelines that implement a pipeline template
158
+
159
+ ### Example
160
+ ```ruby
161
+ # load the gem
162
+ require 'swagger_client'
163
+
164
+ api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
165
+
166
+ id = 'id_example' # String | id
167
+
168
+ opts = {
169
+ recursive: true # BOOLEAN | recursive
170
+ }
171
+
172
+ begin
173
+ #List all pipelines that implement a pipeline template
174
+ result = api_instance.list_pipeline_template_dependents_using_get(id, opts)
175
+ p result
176
+ rescue SwaggerClient::ApiError => e
177
+ puts "Exception when calling PipelineTemplatesControllerApi->list_pipeline_template_dependents_using_get: #{e}"
178
+ end
179
+ ```
180
+
181
+ ### Parameters
182
+
183
+ Name | Type | Description | Notes
184
+ ------------- | ------------- | ------------- | -------------
185
+ **id** | **String**| id |
186
+ **recursive** | **BOOLEAN**| recursive | [optional]
187
+
188
+ ### Return type
189
+
190
+ **Array<Object>**
191
+
192
+ ### Authorization
193
+
194
+ No authorization required
195
+
196
+ ### HTTP request headers
197
+
198
+ - **Content-Type**: application/json
199
+ - **Accept**: */*
200
+
201
+
202
+
203
+ # **list_using_get**
204
+ > Array<Object> list_using_get(opts)
205
+
206
+ List pipeline templates.
207
+
208
+ ### Example
209
+ ```ruby
210
+ # load the gem
211
+ require 'swagger_client'
212
+
213
+ api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
214
+
215
+ opts = {
216
+ scopes: ['scopes_example'] # Array<String> | scopes
217
+ }
218
+
219
+ begin
220
+ #List pipeline templates.
221
+ result = api_instance.list_using_get(opts)
222
+ p result
223
+ rescue SwaggerClient::ApiError => e
224
+ puts "Exception when calling PipelineTemplatesControllerApi->list_using_get: #{e}"
225
+ end
226
+ ```
227
+
228
+ ### Parameters
229
+
230
+ Name | Type | Description | Notes
231
+ ------------- | ------------- | ------------- | -------------
232
+ **scopes** | [**Array&lt;String&gt;**](String.md)| scopes | [optional]
233
+
234
+ ### Return type
235
+
236
+ **Array&lt;Object&gt;**
237
+
238
+ ### Authorization
239
+
240
+ No authorization required
241
+
242
+ ### HTTP request headers
243
+
244
+ - **Content-Type**: application/json
245
+ - **Accept**: */*
246
+
247
+
248
+
249
+ # **resolve_templates_using_get**
250
+ > Hash&lt;String, Object&gt; resolve_templates_using_get(source, opts)
251
+
252
+ Resolve a pipeline template.
253
+
254
+ ### Example
255
+ ```ruby
256
+ # load the gem
257
+ require 'swagger_client'
258
+
259
+ api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
260
+
261
+ source = 'source_example' # String | source
262
+
263
+ opts = {
264
+ execution_id: 'execution_id_example', # String | executionId
265
+ pipeline_config_id: 'pipeline_config_id_example' # String | pipelineConfigId
266
+ }
267
+
268
+ begin
269
+ #Resolve a pipeline template.
270
+ result = api_instance.resolve_templates_using_get(source, opts)
271
+ p result
272
+ rescue SwaggerClient::ApiError => e
273
+ puts "Exception when calling PipelineTemplatesControllerApi->resolve_templates_using_get: #{e}"
274
+ end
275
+ ```
276
+
277
+ ### Parameters
278
+
279
+ Name | Type | Description | Notes
280
+ ------------- | ------------- | ------------- | -------------
281
+ **source** | **String**| source |
282
+ **execution_id** | **String**| executionId | [optional]
283
+ **pipeline_config_id** | **String**| pipelineConfigId | [optional]
284
+
285
+ ### Return type
286
+
287
+ **Hash&lt;String, Object&gt;**
288
+
289
+ ### Authorization
290
+
291
+ No authorization required
292
+
293
+ ### HTTP request headers
294
+
295
+ - **Content-Type**: application/json
296
+ - **Accept**: */*
297
+
298
+
299
+
300
+ # **update_using_post**
301
+ > update_using_post(id, pipeline_template, opts)
302
+
303
+ Update a pipeline template.
304
+
305
+ ### Example
306
+ ```ruby
307
+ # load the gem
308
+ require 'swagger_client'
309
+
310
+ api_instance = SwaggerClient::PipelineTemplatesControllerApi.new
311
+
312
+ id = 'id_example' # String | id
313
+
314
+ pipeline_template = nil # Object | pipelineTemplate
315
+
316
+ opts = {
317
+ skip_plan_dependents: false # BOOLEAN | skipPlanDependents
318
+ }
319
+
320
+ begin
321
+ #Update a pipeline template.
322
+ api_instance.update_using_post(id, pipeline_template, opts)
323
+ rescue SwaggerClient::ApiError => e
324
+ puts "Exception when calling PipelineTemplatesControllerApi->update_using_post: #{e}"
325
+ end
326
+ ```
327
+
328
+ ### Parameters
329
+
330
+ Name | Type | Description | Notes
331
+ ------------- | ------------- | ------------- | -------------
332
+ **id** | **String**| id |
333
+ **pipeline_template** | **Object**| pipelineTemplate |
334
+ **skip_plan_dependents** | **BOOLEAN**| skipPlanDependents | [optional] [default to false]
335
+
336
+ ### Return type
337
+
338
+ nil (empty response body)
339
+
340
+ ### Authorization
341
+
342
+ No authorization required
343
+
344
+ ### HTTP request headers
345
+
346
+ - **Content-Type**: application/json
347
+ - **Accept**: */*
348
+
349
+
350
+
@@ -0,0 +1,196 @@
1
+ # SwaggerClient::ProjectControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**all_pipelines_for_project_using_get**](ProjectControllerApi.md#all_pipelines_for_project_using_get) | **GET** /projects/{id}/pipelines | Get all pipelines for project
8
+ [**all_using_get3**](ProjectControllerApi.md#all_using_get3) | **GET** /projects | Get all projects
9
+ [**get_clusters_using_get3**](ProjectControllerApi.md#get_clusters_using_get3) | **GET** /projects/{id}/clusters | Get a project&#39;s clusters
10
+ [**get_using_get1**](ProjectControllerApi.md#get_using_get1) | **GET** /projects/{id} | Get a project
11
+
12
+
13
+ # **all_pipelines_for_project_using_get**
14
+ > Array&lt;Object&gt; all_pipelines_for_project_using_get(id, opts)
15
+
16
+ Get all pipelines for project
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'swagger_client'
22
+
23
+ api_instance = SwaggerClient::ProjectControllerApi.new
24
+
25
+ id = 'id_example' # String | id
26
+
27
+ opts = {
28
+ limit: 5, # Integer | limit
29
+ statuses: 'statuses_example' # String | statuses
30
+ }
31
+
32
+ begin
33
+ #Get all pipelines for project
34
+ result = api_instance.all_pipelines_for_project_using_get(id, opts)
35
+ p result
36
+ rescue SwaggerClient::ApiError => e
37
+ puts "Exception when calling ProjectControllerApi->all_pipelines_for_project_using_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ Name | Type | Description | Notes
44
+ ------------- | ------------- | ------------- | -------------
45
+ **id** | **String**| id |
46
+ **limit** | **Integer**| limit | [optional] [default to 5]
47
+ **statuses** | **String**| statuses | [optional]
48
+
49
+ ### Return type
50
+
51
+ **Array&lt;Object&gt;**
52
+
53
+ ### Authorization
54
+
55
+ No authorization required
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json
60
+ - **Accept**: */*
61
+
62
+
63
+
64
+ # **all_using_get3**
65
+ > Array&lt;Object&gt; all_using_get3
66
+
67
+ Get all projects
68
+
69
+ ### Example
70
+ ```ruby
71
+ # load the gem
72
+ require 'swagger_client'
73
+
74
+ api_instance = SwaggerClient::ProjectControllerApi.new
75
+
76
+ begin
77
+ #Get all projects
78
+ result = api_instance.all_using_get3
79
+ p result
80
+ rescue SwaggerClient::ApiError => e
81
+ puts "Exception when calling ProjectControllerApi->all_using_get3: #{e}"
82
+ end
83
+ ```
84
+
85
+ ### Parameters
86
+ This endpoint does not need any parameter.
87
+
88
+ ### Return type
89
+
90
+ **Array&lt;Object&gt;**
91
+
92
+ ### Authorization
93
+
94
+ No authorization required
95
+
96
+ ### HTTP request headers
97
+
98
+ - **Content-Type**: application/json
99
+ - **Accept**: */*
100
+
101
+
102
+
103
+ # **get_clusters_using_get3**
104
+ > Array&lt;Object&gt; get_clusters_using_get3(id, opts)
105
+
106
+ Get a project's clusters
107
+
108
+ ### Example
109
+ ```ruby
110
+ # load the gem
111
+ require 'swagger_client'
112
+
113
+ api_instance = SwaggerClient::ProjectControllerApi.new
114
+
115
+ id = 'id_example' # String | id
116
+
117
+ opts = {
118
+ x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
119
+ }
120
+
121
+ begin
122
+ #Get a project's clusters
123
+ result = api_instance.get_clusters_using_get3(id, opts)
124
+ p result
125
+ rescue SwaggerClient::ApiError => e
126
+ puts "Exception when calling ProjectControllerApi->get_clusters_using_get3: #{e}"
127
+ end
128
+ ```
129
+
130
+ ### Parameters
131
+
132
+ Name | Type | Description | Notes
133
+ ------------- | ------------- | ------------- | -------------
134
+ **id** | **String**| id |
135
+ **x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
136
+
137
+ ### Return type
138
+
139
+ **Array&lt;Object&gt;**
140
+
141
+ ### Authorization
142
+
143
+ No authorization required
144
+
145
+ ### HTTP request headers
146
+
147
+ - **Content-Type**: application/json
148
+ - **Accept**: */*
149
+
150
+
151
+
152
+ # **get_using_get1**
153
+ > Hash&lt;String, Object&gt; get_using_get1(id)
154
+
155
+ Get a project
156
+
157
+ ### Example
158
+ ```ruby
159
+ # load the gem
160
+ require 'swagger_client'
161
+
162
+ api_instance = SwaggerClient::ProjectControllerApi.new
163
+
164
+ id = 'id_example' # String | id
165
+
166
+
167
+ begin
168
+ #Get a project
169
+ result = api_instance.get_using_get1(id)
170
+ p result
171
+ rescue SwaggerClient::ApiError => e
172
+ puts "Exception when calling ProjectControllerApi->get_using_get1: #{e}"
173
+ end
174
+ ```
175
+
176
+ ### Parameters
177
+
178
+ Name | Type | Description | Notes
179
+ ------------- | ------------- | ------------- | -------------
180
+ **id** | **String**| id |
181
+
182
+ ### Return type
183
+
184
+ **Hash&lt;String, Object&gt;**
185
+
186
+ ### Authorization
187
+
188
+ No authorization required
189
+
190
+ ### HTTP request headers
191
+
192
+ - **Content-Type**: application/json
193
+ - **Accept**: */*
194
+
195
+
196
+