pulp_ansible_client 0.2.0b5 → 0.2.0b6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -23
- data/docs/{AnsibleDistribution.md → AnsibleAnsibleDistribution.md} +6 -6
- data/docs/AnsibleAnsibleRemote.md +39 -0
- data/docs/AnsibleAnsibleRepository.md +27 -0
- data/docs/AnsibleCollection.md +19 -0
- data/docs/AnsibleCollectionRemote.md +41 -0
- data/docs/AnsibleCollectionVersion.md +67 -0
- data/docs/AnsibleCollectionsApi.md +80 -18
- data/docs/AnsibleRole.md +27 -0
- data/docs/AnsibleTag.md +17 -0
- data/docs/Collection.md +31 -0
- data/docs/CollectionImportDetail.md +2 -2
- data/docs/CollectionMetadata.md +9 -9
- data/docs/{TagNested.md → CollectionNamespace.md} +3 -3
- data/docs/CollectionRef.md +21 -0
- data/docs/CollectionVersion.md +19 -59
- data/docs/ContentCollectionVersionsApi.md +25 -27
- data/docs/ContentRolesApi.md +17 -25
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsAnsibleApi.md +16 -12
- data/docs/GalaxyCollection.md +2 -2
- data/docs/GalaxyCollectionVersion.md +4 -4
- data/docs/GalaxyRole.md +1 -1
- data/docs/GalaxyRoleVersion.md +1 -1
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PulpAnsibleApiApi.md +3 -1
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +16 -9
- data/docs/PulpAnsibleGalaxyApiRolesApi.md +5 -3
- data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +5 -3
- data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +5 -3
- data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +28 -10
- data/docs/PulpAnsibleTagsApi.md +5 -3
- data/docs/RemotesAnsibleApi.md +30 -81
- data/docs/RemotesCollectionApi.md +30 -81
- data/docs/RepositoriesAnsibleApi.md +409 -0
- data/docs/RepositoriesAnsibleVersionsApi.md +214 -0
- data/docs/RepositorySyncURL.md +2 -2
- data/docs/RepositoryVersion.md +25 -0
- data/docs/Tag.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +103 -35
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +40 -57
- data/lib/pulp_ansible_client/api/content_roles_api.rb +28 -58
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +4 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +20 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +7 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +7 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +7 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +59 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +7 -4
- data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +40 -102
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +40 -102
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +498 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +268 -0
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/api_error.rb +1 -1
- data/lib/pulp_ansible_client/configuration.rb +1 -1
- data/lib/pulp_ansible_client/models/{ansible_distribution.rb → ansible_ansible_distribution.rb} +31 -36
- data/lib/pulp_ansible_client/models/{ansible_remote.rb → ansible_ansible_remote.rb} +87 -147
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +294 -0
- data/lib/pulp_ansible_client/models/ansible_collection.rb +265 -0
- data/lib/pulp_ansible_client/models/{collection_remote.rb → ansible_collection_remote.rb} +88 -147
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +816 -0
- data/lib/pulp_ansible_client/models/{role.rb → ansible_role.rb} +31 -60
- data/lib/pulp_ansible_client/models/{tag_nested.rb → ansible_tag.rb} +15 -5
- data/lib/pulp_ansible_client/models/async_operation_response.rb +12 -2
- data/lib/pulp_ansible_client/models/collection.rb +314 -0
- data/lib/pulp_ansible_client/models/collection_import_detail.rb +14 -4
- data/lib/pulp_ansible_client/models/collection_metadata.rb +14 -4
- data/lib/pulp_ansible_client/models/collection_namespace.rb +230 -0
- data/lib/pulp_ansible_client/models/collection_ref.rb +272 -0
- data/lib/pulp_ansible_client/models/collection_version.rb +109 -536
- data/lib/pulp_ansible_client/models/content_summary.rb +246 -0
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +12 -2
- data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +12 -2
- data/lib/pulp_ansible_client/models/galaxy_role.rb +12 -2
- data/lib/pulp_ansible_client/models/galaxy_role_version.rb +12 -2
- data/lib/pulp_ansible_client/models/inline_response200.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response20010.rb +247 -0
- data/lib/pulp_ansible_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_ansible_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_ansible_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_ansible_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2004.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2005.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2006.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2007.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2008.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2009.rb +15 -3
- data/lib/pulp_ansible_client/models/repository_sync_url.rb +22 -12
- data/lib/pulp_ansible_client/models/repository_version.rb +244 -0
- data/lib/pulp_ansible_client/models/tag.rb +12 -2
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/lib/pulp_ansible_client.rb +20 -6
- data/pulp_ansible_client.gemspec +1 -1
- data/spec/api/ansible_collections_api_spec.rb +25 -10
- data/spec/api/content_collection_versions_api_spec.rb +12 -12
- data/spec/api/content_roles_api_spec.rb +8 -11
- data/spec/api/distributions_ansible_api_spec.rb +5 -3
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +6 -3
- data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +3 -2
- data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +3 -2
- data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +3 -2
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +12 -4
- data/spec/api/pulp_ansible_tags_api_spec.rb +3 -2
- data/spec/api/remotes_ansible_api_spec.rb +12 -22
- data/spec/api/remotes_collection_api_spec.rb +12 -22
- data/spec/api/repositories_ansible_api_spec.rb +128 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +91 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/{ansible_distribution_spec.rb → ansible_ansible_distribution_spec.rb} +9 -9
- data/spec/models/{collection_remote_spec.rb → ansible_ansible_remote_spec.rb} +14 -38
- data/spec/models/ansible_ansible_repository_spec.rb +71 -0
- data/spec/models/{ansible_remote_spec.rb → ansible_collection_remote_spec.rb} +20 -32
- data/spec/models/ansible_collection_spec.rb +47 -0
- data/spec/models/ansible_collection_version_spec.rb +191 -0
- data/spec/models/ansible_role_spec.rb +71 -0
- data/spec/models/{tag_nested_spec.rb → ansible_tag_spec.rb} +7 -7
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/collection_import_detail_spec.rb +1 -1
- data/spec/models/collection_metadata_spec.rb +1 -1
- data/spec/models/collection_namespace_spec.rb +41 -0
- data/spec/models/collection_ref_spec.rb +53 -0
- data/spec/models/{role_spec.rb → collection_spec.rb} +15 -21
- data/spec/models/collection_version_spec.rb +14 -130
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/galaxy_collection_spec.rb +1 -1
- data/spec/models/galaxy_collection_version_spec.rb +1 -1
- data/spec/models/galaxy_role_spec.rb +1 -1
- data/spec/models/galaxy_role_version_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/models/tag_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +78 -22
- data/docs/AnsibleRemote.md +0 -45
- data/docs/CollectionRemote.md +0 -47
- data/docs/Role.md +0 -33
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,7 +21,7 @@ module PulpAnsibleClient
|
|
21
21
|
end
|
22
22
|
# Create an ansible distribution
|
23
23
|
# Trigger an asynchronous create task
|
24
|
-
# @param data [
|
24
|
+
# @param data [AnsibleAnsibleDistribution]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
27
27
|
def create(data, opts = {})
|
@@ -31,7 +31,7 @@ module PulpAnsibleClient
|
|
31
31
|
|
32
32
|
# Create an ansible distribution
|
33
33
|
# Trigger an asynchronous create task
|
34
|
-
# @param data [
|
34
|
+
# @param data [AnsibleAnsibleDistribution]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
@@ -157,7 +157,8 @@ module PulpAnsibleClient
|
|
157
157
|
# @option opts [Integer] :limit Number of results to return per page.
|
158
158
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
160
|
-
# @
|
160
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
|
+
# @return [InlineResponse2003]
|
161
162
|
def list(opts = {})
|
162
163
|
data, _status_code, _headers = list_with_http_info(opts)
|
163
164
|
data
|
@@ -175,7 +176,8 @@ module PulpAnsibleClient
|
|
175
176
|
# @option opts [Integer] :limit Number of results to return per page.
|
176
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
178
|
-
# @
|
179
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
+
# @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
|
179
181
|
def list_with_http_info(opts = {})
|
180
182
|
if @api_client.config.debugging
|
181
183
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.list ...'
|
@@ -194,6 +196,7 @@ module PulpAnsibleClient
|
|
194
196
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
195
197
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
196
198
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
199
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
197
200
|
|
198
201
|
# header parameters
|
199
202
|
header_params = opts[:header_params] || {}
|
@@ -207,7 +210,7 @@ module PulpAnsibleClient
|
|
207
210
|
post_body = opts[:body]
|
208
211
|
|
209
212
|
# return_type
|
210
|
-
return_type = opts[:return_type] || '
|
213
|
+
return_type = opts[:return_type] || 'InlineResponse2003'
|
211
214
|
|
212
215
|
# auth_names
|
213
216
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -231,7 +234,7 @@ module PulpAnsibleClient
|
|
231
234
|
# Partially update an ansible distribution
|
232
235
|
# Trigger an asynchronous partial update task
|
233
236
|
# @param ansible_distribution_href [String] URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
234
|
-
# @param data [
|
237
|
+
# @param data [AnsibleAnsibleDistribution]
|
235
238
|
# @param [Hash] opts the optional parameters
|
236
239
|
# @return [AsyncOperationResponse]
|
237
240
|
def partial_update(ansible_distribution_href, data, opts = {})
|
@@ -242,7 +245,7 @@ module PulpAnsibleClient
|
|
242
245
|
# Partially update an ansible distribution
|
243
246
|
# Trigger an asynchronous partial update task
|
244
247
|
# @param ansible_distribution_href [String] URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
245
|
-
# @param data [
|
248
|
+
# @param data [AnsibleAnsibleDistribution]
|
246
249
|
# @param [Hash] opts the optional parameters
|
247
250
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
248
251
|
def partial_update_with_http_info(ansible_distribution_href, data, opts = {})
|
@@ -303,7 +306,8 @@ module PulpAnsibleClient
|
|
303
306
|
# @param ansible_distribution_href [String] URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
304
307
|
# @param [Hash] opts the optional parameters
|
305
308
|
# @option opts [String] :fields A list of fields to include in the response.
|
306
|
-
# @
|
309
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
310
|
+
# @return [AnsibleAnsibleDistribution]
|
307
311
|
def read(ansible_distribution_href, opts = {})
|
308
312
|
data, _status_code, _headers = read_with_http_info(ansible_distribution_href, opts)
|
309
313
|
data
|
@@ -314,7 +318,8 @@ module PulpAnsibleClient
|
|
314
318
|
# @param ansible_distribution_href [String] URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
315
319
|
# @param [Hash] opts the optional parameters
|
316
320
|
# @option opts [String] :fields A list of fields to include in the response.
|
317
|
-
# @
|
321
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
322
|
+
# @return [Array<(AnsibleAnsibleDistribution, Integer, Hash)>] AnsibleAnsibleDistribution data, response status code and response headers
|
318
323
|
def read_with_http_info(ansible_distribution_href, opts = {})
|
319
324
|
if @api_client.config.debugging
|
320
325
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.read ...'
|
@@ -329,6 +334,7 @@ module PulpAnsibleClient
|
|
329
334
|
# query parameters
|
330
335
|
query_params = opts[:query_params] || {}
|
331
336
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
337
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
332
338
|
|
333
339
|
# header parameters
|
334
340
|
header_params = opts[:header_params] || {}
|
@@ -342,7 +348,7 @@ module PulpAnsibleClient
|
|
342
348
|
post_body = opts[:body]
|
343
349
|
|
344
350
|
# return_type
|
345
|
-
return_type = opts[:return_type] || '
|
351
|
+
return_type = opts[:return_type] || 'AnsibleAnsibleDistribution'
|
346
352
|
|
347
353
|
# auth_names
|
348
354
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -366,7 +372,7 @@ module PulpAnsibleClient
|
|
366
372
|
# Update an ansible distribution
|
367
373
|
# Trigger an asynchronous update task
|
368
374
|
# @param ansible_distribution_href [String] URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
369
|
-
# @param data [
|
375
|
+
# @param data [AnsibleAnsibleDistribution]
|
370
376
|
# @param [Hash] opts the optional parameters
|
371
377
|
# @return [AsyncOperationResponse]
|
372
378
|
def update(ansible_distribution_href, data, opts = {})
|
@@ -377,7 +383,7 @@ module PulpAnsibleClient
|
|
377
383
|
# Update an ansible distribution
|
378
384
|
# Trigger an asynchronous update task
|
379
385
|
# @param ansible_distribution_href [String] URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
380
|
-
# @param data [
|
386
|
+
# @param data [AnsibleAnsibleDistribution]
|
381
387
|
# @param [Hash] opts the optional parameters
|
382
388
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
383
389
|
def update_with_http_info(ansible_distribution_href, data, opts = {})
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
26
27
|
# @return [nil]
|
27
28
|
def list(path, opts = {})
|
28
29
|
list_with_http_info(path, opts)
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# @param path [String]
|
34
35
|
# @param [Hash] opts the optional parameters
|
35
36
|
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
38
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
37
39
|
def list_with_http_info(path, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -48,6 +50,7 @@ module PulpAnsibleClient
|
|
48
50
|
# query parameters
|
49
51
|
query_params = opts[:query_params] || {}
|
50
52
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
51
54
|
|
52
55
|
# header parameters
|
53
56
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -92,7 +92,8 @@ module PulpAnsibleClient
|
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
93
|
# @option opts [Integer] :page A page number within the paginated result set.
|
94
94
|
# @option opts [String] :fields A list of fields to include in the response.
|
95
|
-
# @
|
95
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
96
|
+
# @return [InlineResponse20011]
|
96
97
|
def list(path, opts = {})
|
97
98
|
data, _status_code, _headers = list_with_http_info(path, opts)
|
98
99
|
data
|
@@ -103,7 +104,8 @@ module PulpAnsibleClient
|
|
103
104
|
# @param [Hash] opts the optional parameters
|
104
105
|
# @option opts [Integer] :page A page number within the paginated result set.
|
105
106
|
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @
|
107
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
108
|
+
# @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 data, response status code and response headers
|
107
109
|
def list_with_http_info(path, opts = {})
|
108
110
|
if @api_client.config.debugging
|
109
111
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiCollectionsApi.list ...'
|
@@ -119,6 +121,7 @@ module PulpAnsibleClient
|
|
119
121
|
query_params = opts[:query_params] || {}
|
120
122
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
121
123
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
124
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
122
125
|
|
123
126
|
# header parameters
|
124
127
|
header_params = opts[:header_params] || {}
|
@@ -132,7 +135,7 @@ module PulpAnsibleClient
|
|
132
135
|
post_body = opts[:body]
|
133
136
|
|
134
137
|
# return_type
|
135
|
-
return_type = opts[:return_type] || '
|
138
|
+
return_type = opts[:return_type] || 'InlineResponse20011'
|
136
139
|
|
137
140
|
# auth_names
|
138
141
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -159,10 +162,11 @@ module PulpAnsibleClient
|
|
159
162
|
# @option opts [Integer] :limit Number of results to return per page.
|
160
163
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
161
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
162
|
-
# @
|
165
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
166
|
+
# @return [InlineResponse20013]
|
163
167
|
def list_0(path, opts = {})
|
164
|
-
list_0_with_http_info(path, opts)
|
165
|
-
|
168
|
+
data, _status_code, _headers = list_0_with_http_info(path, opts)
|
169
|
+
data
|
166
170
|
end
|
167
171
|
|
168
172
|
# ViewSet for Collections.
|
@@ -171,7 +175,8 @@ module PulpAnsibleClient
|
|
171
175
|
# @option opts [Integer] :limit Number of results to return per page.
|
172
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
173
177
|
# @option opts [String] :fields A list of fields to include in the response.
|
174
|
-
# @
|
178
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
179
|
+
# @return [Array<(InlineResponse20013, Integer, Hash)>] InlineResponse20013 data, response status code and response headers
|
175
180
|
def list_0_with_http_info(path, opts = {})
|
176
181
|
if @api_client.config.debugging
|
177
182
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiCollectionsApi.list_0 ...'
|
@@ -188,9 +193,12 @@ module PulpAnsibleClient
|
|
188
193
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
189
194
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
190
195
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
196
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
191
197
|
|
192
198
|
# header parameters
|
193
199
|
header_params = opts[:header_params] || {}
|
200
|
+
# HTTP header 'Accept' (if needed)
|
201
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
194
202
|
|
195
203
|
# form parameters
|
196
204
|
form_params = opts[:form_params] || {}
|
@@ -199,7 +207,7 @@ module PulpAnsibleClient
|
|
199
207
|
post_body = opts[:body]
|
200
208
|
|
201
209
|
# return_type
|
202
|
-
return_type = opts[:return_type]
|
210
|
+
return_type = opts[:return_type] || 'InlineResponse20013'
|
203
211
|
|
204
212
|
# auth_names
|
205
213
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -224,6 +232,7 @@ module PulpAnsibleClient
|
|
224
232
|
# @param collection_href [String] URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/
|
225
233
|
# @param [Hash] opts the optional parameters
|
226
234
|
# @option opts [String] :fields A list of fields to include in the response.
|
235
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
227
236
|
# @return [GalaxyCollection]
|
228
237
|
def read(collection_href, opts = {})
|
229
238
|
data, _status_code, _headers = read_with_http_info(collection_href, opts)
|
@@ -234,6 +243,7 @@ module PulpAnsibleClient
|
|
234
243
|
# @param collection_href [String] URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/
|
235
244
|
# @param [Hash] opts the optional parameters
|
236
245
|
# @option opts [String] :fields A list of fields to include in the response.
|
246
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
237
247
|
# @return [Array<(GalaxyCollection, Integer, Hash)>] GalaxyCollection data, response status code and response headers
|
238
248
|
def read_with_http_info(collection_href, opts = {})
|
239
249
|
if @api_client.config.debugging
|
@@ -249,6 +259,7 @@ module PulpAnsibleClient
|
|
249
259
|
# query parameters
|
250
260
|
query_params = opts[:query_params] || {}
|
251
261
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
262
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
252
263
|
|
253
264
|
# header parameters
|
254
265
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,7 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [String] :fields A list of fields to include in the response.
|
28
|
-
# @
|
28
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
|
+
# @return [InlineResponse2009]
|
29
30
|
def list(path, opts = {})
|
30
31
|
data, _status_code, _headers = list_with_http_info(path, opts)
|
31
32
|
data
|
@@ -37,7 +38,8 @@ module PulpAnsibleClient
|
|
37
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
38
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
39
40
|
# @option opts [String] :fields A list of fields to include in the response.
|
40
|
-
# @
|
41
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
|
41
43
|
def list_with_http_info(path, opts = {})
|
42
44
|
if @api_client.config.debugging
|
43
45
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiRolesApi.list ...'
|
@@ -54,6 +56,7 @@ module PulpAnsibleClient
|
|
54
56
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
55
57
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
56
58
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
57
60
|
|
58
61
|
# header parameters
|
59
62
|
header_params = opts[:header_params] || {}
|
@@ -67,7 +70,7 @@ module PulpAnsibleClient
|
|
67
70
|
post_body = opts[:body]
|
68
71
|
|
69
72
|
# return_type
|
70
|
-
return_type = opts[:return_type] || '
|
73
|
+
return_type = opts[:return_type] || 'InlineResponse2009'
|
71
74
|
|
72
75
|
# auth_names
|
73
76
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -26,7 +26,8 @@ module PulpAnsibleClient
|
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
28
|
# @option opts [String] :fields A list of fields to include in the response.
|
29
|
-
# @
|
29
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
30
|
+
# @return [InlineResponse20010]
|
30
31
|
def list(path, role_pk, opts = {})
|
31
32
|
data, _status_code, _headers = list_with_http_info(path, role_pk, opts)
|
32
33
|
data
|
@@ -39,7 +40,8 @@ module PulpAnsibleClient
|
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
42
|
# @option opts [String] :fields A list of fields to include in the response.
|
42
|
-
# @
|
43
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
44
|
+
# @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
|
43
45
|
def list_with_http_info(path, role_pk, opts = {})
|
44
46
|
if @api_client.config.debugging
|
45
47
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiV1VersionsApi.list ...'
|
@@ -60,6 +62,7 @@ module PulpAnsibleClient
|
|
60
62
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
61
63
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
62
64
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
65
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
63
66
|
|
64
67
|
# header parameters
|
65
68
|
header_params = opts[:header_params] || {}
|
@@ -73,7 +76,7 @@ module PulpAnsibleClient
|
|
73
76
|
post_body = opts[:body]
|
74
77
|
|
75
78
|
# return_type
|
76
|
-
return_type = opts[:return_type] || '
|
79
|
+
return_type = opts[:return_type] || 'InlineResponse20010'
|
77
80
|
|
78
81
|
# auth_names
|
79
82
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,7 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [String] :fields A list of fields to include in the response.
|
28
|
-
# @
|
28
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
|
+
# @return [InlineResponse20012]
|
29
30
|
def list(collection_href, opts = {})
|
30
31
|
data, _status_code, _headers = list_with_http_info(collection_href, opts)
|
31
32
|
data
|
@@ -37,7 +38,8 @@ module PulpAnsibleClient
|
|
37
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
38
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
39
40
|
# @option opts [String] :fields A list of fields to include in the response.
|
40
|
-
# @
|
41
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @return [Array<(InlineResponse20012, Integer, Hash)>] InlineResponse20012 data, response status code and response headers
|
41
43
|
def list_with_http_info(collection_href, opts = {})
|
42
44
|
if @api_client.config.debugging
|
43
45
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiV2VersionsApi.list ...'
|
@@ -54,6 +56,7 @@ module PulpAnsibleClient
|
|
54
56
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
55
57
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
56
58
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
57
60
|
|
58
61
|
# header parameters
|
59
62
|
header_params = opts[:header_params] || {}
|
@@ -67,7 +70,7 @@ module PulpAnsibleClient
|
|
67
70
|
post_body = opts[:body]
|
68
71
|
|
69
72
|
# return_type
|
70
|
-
return_type = opts[:return_type] || '
|
73
|
+
return_type = opts[:return_type] || 'InlineResponse20012'
|
71
74
|
|
72
75
|
# auth_names
|
73
76
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,20 +19,32 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
#
|
22
|
+
# Upload a collection
|
23
|
+
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
23
24
|
# @param path [String]
|
25
|
+
# @param file [File] The Collection tarball.
|
24
26
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @
|
26
|
-
|
27
|
-
|
28
|
-
|
27
|
+
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
28
|
+
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
29
|
+
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
30
|
+
# @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import.
|
31
|
+
# @return [AsyncOperationResponse]
|
32
|
+
def create(path, file, opts = {})
|
33
|
+
data, _status_code, _headers = create_with_http_info(path, file, opts)
|
34
|
+
data
|
29
35
|
end
|
30
36
|
|
31
|
-
#
|
37
|
+
# Upload a collection
|
38
|
+
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
32
39
|
# @param path [String]
|
40
|
+
# @param file [File] The Collection tarball.
|
33
41
|
# @param [Hash] opts the optional parameters
|
34
|
-
# @
|
35
|
-
|
42
|
+
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
43
|
+
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
44
|
+
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
45
|
+
# @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import.
|
46
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
47
|
+
def create_with_http_info(path, file, opts = {})
|
36
48
|
if @api_client.config.debugging
|
37
49
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiV3CollectionsApi.create ...'
|
38
50
|
end
|
@@ -40,6 +52,26 @@ module PulpAnsibleClient
|
|
40
52
|
if @api_client.config.client_side_validation && path.nil?
|
41
53
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleGalaxyApiV3CollectionsApi.create"
|
42
54
|
end
|
55
|
+
# verify the required parameter 'file' is set
|
56
|
+
if @api_client.config.client_side_validation && file.nil?
|
57
|
+
fail ArgumentError, "Missing the required parameter 'file' when calling PulpAnsibleGalaxyApiV3CollectionsApi.create"
|
58
|
+
end
|
59
|
+
if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
|
60
|
+
fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling PulpAnsibleGalaxyApiV3CollectionsApi.create, the character length must be great than or equal to 1.'
|
61
|
+
end
|
62
|
+
|
63
|
+
if @api_client.config.client_side_validation && !opts[:'expected_namespace'].nil? && opts[:'expected_namespace'].to_s.length < 1
|
64
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_namespace"]" when calling PulpAnsibleGalaxyApiV3CollectionsApi.create, the character length must be great than or equal to 1.'
|
65
|
+
end
|
66
|
+
|
67
|
+
if @api_client.config.client_side_validation && !opts[:'expected_name'].nil? && opts[:'expected_name'].to_s.length < 1
|
68
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_name"]" when calling PulpAnsibleGalaxyApiV3CollectionsApi.create, the character length must be great than or equal to 1.'
|
69
|
+
end
|
70
|
+
|
71
|
+
if @api_client.config.client_side_validation && !opts[:'expected_version'].nil? && opts[:'expected_version'].to_s.length < 1
|
72
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_version"]" when calling PulpAnsibleGalaxyApiV3CollectionsApi.create, the character length must be great than or equal to 1.'
|
73
|
+
end
|
74
|
+
|
43
75
|
# resource path
|
44
76
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
45
77
|
|
@@ -48,15 +80,24 @@ module PulpAnsibleClient
|
|
48
80
|
|
49
81
|
# header parameters
|
50
82
|
header_params = opts[:header_params] || {}
|
83
|
+
# HTTP header 'Accept' (if needed)
|
84
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
85
|
+
# HTTP header 'Content-Type'
|
86
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
51
87
|
|
52
88
|
# form parameters
|
53
89
|
form_params = opts[:form_params] || {}
|
90
|
+
form_params['file'] = file
|
91
|
+
form_params['sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
92
|
+
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
93
|
+
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
94
|
+
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
54
95
|
|
55
96
|
# http body (model)
|
56
97
|
post_body = opts[:body]
|
57
98
|
|
58
99
|
# return_type
|
59
|
-
return_type = opts[:return_type]
|
100
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
60
101
|
|
61
102
|
# auth_names
|
62
103
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -78,10 +119,12 @@ module PulpAnsibleClient
|
|
78
119
|
end
|
79
120
|
|
80
121
|
# Inspect a collection import
|
81
|
-
#
|
122
|
+
# Returns a CollectionImport object.
|
82
123
|
# @param collection_import_href [String] URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/1/
|
83
124
|
# @param [Hash] opts the optional parameters
|
84
125
|
# @option opts [String] :fields A list of fields to include in the response.
|
126
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
127
|
+
# @option opts [DateTime] :since Filter messages since a given timestamp
|
85
128
|
# @return [CollectionImportDetail]
|
86
129
|
def read(collection_import_href, opts = {})
|
87
130
|
data, _status_code, _headers = read_with_http_info(collection_import_href, opts)
|
@@ -89,10 +132,12 @@ module PulpAnsibleClient
|
|
89
132
|
end
|
90
133
|
|
91
134
|
# Inspect a collection import
|
92
|
-
#
|
135
|
+
# Returns a CollectionImport object.
|
93
136
|
# @param collection_import_href [String] URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/1/
|
94
137
|
# @param [Hash] opts the optional parameters
|
95
138
|
# @option opts [String] :fields A list of fields to include in the response.
|
139
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
140
|
+
# @option opts [DateTime] :since Filter messages since a given timestamp
|
96
141
|
# @return [Array<(CollectionImportDetail, Integer, Hash)>] CollectionImportDetail data, response status code and response headers
|
97
142
|
def read_with_http_info(collection_import_href, opts = {})
|
98
143
|
if @api_client.config.debugging
|
@@ -108,6 +153,8 @@ module PulpAnsibleClient
|
|
108
153
|
# query parameters
|
109
154
|
query_params = opts[:query_params] || {}
|
110
155
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
156
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
157
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
111
158
|
|
112
159
|
# header parameters
|
113
160
|
header_params = opts[:header_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,7 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [String] :fields A list of fields to include in the response.
|
28
|
-
# @
|
28
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
|
+
# @return [InlineResponse2004]
|
29
30
|
def list(opts = {})
|
30
31
|
data, _status_code, _headers = list_with_http_info(opts)
|
31
32
|
data
|
@@ -37,7 +38,8 @@ module PulpAnsibleClient
|
|
37
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
38
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
39
40
|
# @option opts [String] :fields A list of fields to include in the response.
|
40
|
-
# @
|
41
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
|
41
43
|
def list_with_http_info(opts = {})
|
42
44
|
if @api_client.config.debugging
|
43
45
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleTagsApi.list ...'
|
@@ -50,6 +52,7 @@ module PulpAnsibleClient
|
|
50
52
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
51
53
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
52
54
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
55
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
53
56
|
|
54
57
|
# header parameters
|
55
58
|
header_params = opts[:header_params] || {}
|
@@ -63,7 +66,7 @@ module PulpAnsibleClient
|
|
63
66
|
post_body = opts[:body]
|
64
67
|
|
65
68
|
# return_type
|
66
|
-
return_type = opts[:return_type] || '
|
69
|
+
return_type = opts[:return_type] || 'InlineResponse2004'
|
67
70
|
|
68
71
|
# auth_names
|
69
72
|
auth_names = opts[:auth_names] || ['Basic']
|