pulp_ansible_client 0.2.0b12 → 0.2.0b13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -11
- data/docs/AnsibleAnsibleDistributionRead.md +31 -0
- data/docs/AnsibleAnsibleRemote.md +7 -3
- data/docs/AnsibleAnsibleRemoteRead.md +43 -0
- data/docs/AnsibleAnsibleRepositoryRead.md +27 -0
- data/docs/{AnsibleCollection.md → AnsibleCollectionRead.md} +2 -2
- data/docs/AnsibleCollectionRemote.md +7 -3
- data/docs/AnsibleCollectionRemoteRead.md +45 -0
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionRead.md +67 -0
- data/docs/AnsibleCollectionsApi.md +1 -1
- data/docs/AnsibleRole.md +4 -4
- data/docs/AnsibleRoleRead.md +27 -0
- data/docs/{CollectionImportDetail.md → CollectionImportDetailRead.md} +2 -2
- data/docs/CollectionRead.md +31 -0
- data/docs/CollectionVersionRead.md +37 -0
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentRolesApi.md +5 -5
- data/docs/DistributionsAnsibleApi.md +3 -3
- data/docs/GalaxyCollectionRead.md +23 -0
- data/docs/{GalaxyCollectionVersion.md → GalaxyCollectionVersionRead.md} +2 -2
- data/docs/{GalaxyRole.md → GalaxyRoleRead.md} +2 -2
- data/docs/{GalaxyRoleVersion.md → GalaxyRoleVersionRead.md} +2 -2
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- 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 +1 -1
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +5 -5
- data/docs/PulpAnsibleGalaxyApiRolesApi.md +1 -1
- data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +1 -1
- data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +1 -1
- data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +3 -3
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesAnsibleApi.md +5 -5
- data/docs/RemotesCollectionApi.md +5 -5
- data/docs/RepositoriesAnsibleApi.md +10 -10
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -3
- data/docs/RepositoryVersionRead.md +25 -0
- data/docs/{Tag.md → TagRead.md} +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +3 -3
- data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +6 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_read.rb +327 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_remote.rb +56 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_remote_read.rb +531 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_read.rb +294 -0
- data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_collection_read.rb} +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +56 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote_read.rb +557 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +35 -35
- data/lib/pulp_ansible_client/models/ansible_collection_version_read.rb +816 -0
- data/lib/pulp_ansible_client/models/ansible_role.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_role_read.rb +330 -0
- data/lib/pulp_ansible_client/models/{collection_import_detail.rb → collection_import_detail_read.rb} +3 -3
- data/lib/pulp_ansible_client/models/collection_read.rb +314 -0
- data/lib/pulp_ansible_client/models/collection_version_read.rb +370 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_read.rb +281 -0
- data/lib/pulp_ansible_client/models/{galaxy_collection_version.rb → galaxy_collection_version_read.rb} +3 -3
- data/lib/pulp_ansible_client/models/{galaxy_role.rb → galaxy_role_read.rb} +3 -3
- data/lib/pulp_ansible_client/models/{galaxy_role_version.rb → galaxy_role_version_read.rb} +3 -3
- data/lib/pulp_ansible_client/models/inline_response200.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_version_read.rb +244 -0
- data/lib/pulp_ansible_client/models/{tag.rb → tag_read.rb} +3 -3
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +16 -6
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/content_roles_api_spec.rb +2 -2
- data/spec/api/distributions_ansible_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
- data/spec/api/remotes_ansible_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +2 -2
- data/spec/api/repositories_ansible_api_spec.rb +6 -6
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_distribution_read_spec.rb +83 -0
- data/spec/models/ansible_ansible_remote_read_spec.rb +123 -0
- data/spec/models/ansible_ansible_remote_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_read_spec.rb +71 -0
- data/spec/models/{ansible_collection_spec.rb → ansible_collection_read_spec.rb} +6 -6
- data/spec/models/ansible_collection_remote_read_spec.rb +129 -0
- data/spec/models/ansible_collection_remote_spec.rb +12 -0
- data/spec/models/ansible_collection_version_read_spec.rb +191 -0
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_role_read_spec.rb +71 -0
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/{collection_import_detail_spec.rb → collection_import_detail_read_spec.rb} +6 -6
- data/spec/models/collection_read_spec.rb +83 -0
- data/spec/models/collection_version_read_spec.rb +105 -0
- data/spec/models/galaxy_collection_read_spec.rb +59 -0
- data/spec/models/{galaxy_collection_version_spec.rb → galaxy_collection_version_read_spec.rb} +6 -6
- data/spec/models/{galaxy_role_spec.rb → galaxy_role_read_spec.rb} +6 -6
- data/spec/models/{galaxy_role_version_spec.rb → galaxy_role_version_read_spec.rb} +6 -6
- data/spec/models/repository_version_read_spec.rb +65 -0
- data/spec/models/{tag_spec.rb → tag_read_spec.rb} +6 -6
- metadata +66 -26
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# ViewSet for Role.
|
24
24
|
# @param data [AnsibleRole]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [AnsibleRoleRead]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpAnsibleClient
|
|
33
33
|
# ViewSet for Role.
|
34
34
|
# @param data [AnsibleRole]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(AnsibleRoleRead, Integer, Hash)>] AnsibleRoleRead data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: ContentRolesApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpAnsibleClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'AnsibleRoleRead'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -178,7 +178,7 @@ module PulpAnsibleClient
|
|
178
178
|
# @param [Hash] opts the optional parameters
|
179
179
|
# @option opts [String] :fields A list of fields to include in the response.
|
180
180
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
181
|
-
# @return [
|
181
|
+
# @return [AnsibleRoleRead]
|
182
182
|
def read(role_href, opts = {})
|
183
183
|
data, _status_code, _headers = read_with_http_info(role_href, opts)
|
184
184
|
data
|
@@ -190,7 +190,7 @@ module PulpAnsibleClient
|
|
190
190
|
# @param [Hash] opts the optional parameters
|
191
191
|
# @option opts [String] :fields A list of fields to include in the response.
|
192
192
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
193
|
-
# @return [Array<(
|
193
|
+
# @return [Array<(AnsibleRoleRead, Integer, Hash)>] AnsibleRoleRead data, response status code and response headers
|
194
194
|
def read_with_http_info(role_href, opts = {})
|
195
195
|
if @api_client.config.debugging
|
196
196
|
@api_client.config.logger.debug 'Calling API: ContentRolesApi.read ...'
|
@@ -219,7 +219,7 @@ module PulpAnsibleClient
|
|
219
219
|
post_body = opts[:body]
|
220
220
|
|
221
221
|
# return_type
|
222
|
-
return_type = opts[:return_type] || '
|
222
|
+
return_type = opts[:return_type] || 'AnsibleRoleRead'
|
223
223
|
|
224
224
|
# auth_names
|
225
225
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -310,7 +310,7 @@ module PulpAnsibleClient
|
|
310
310
|
# @param [Hash] opts the optional parameters
|
311
311
|
# @option opts [String] :fields A list of fields to include in the response.
|
312
312
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
313
|
-
# @return [
|
313
|
+
# @return [AnsibleAnsibleDistributionRead]
|
314
314
|
def read(ansible_distribution_href, opts = {})
|
315
315
|
data, _status_code, _headers = read_with_http_info(ansible_distribution_href, opts)
|
316
316
|
data
|
@@ -322,7 +322,7 @@ module PulpAnsibleClient
|
|
322
322
|
# @param [Hash] opts the optional parameters
|
323
323
|
# @option opts [String] :fields A list of fields to include in the response.
|
324
324
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
325
|
-
# @return [Array<(
|
325
|
+
# @return [Array<(AnsibleAnsibleDistributionRead, Integer, Hash)>] AnsibleAnsibleDistributionRead data, response status code and response headers
|
326
326
|
def read_with_http_info(ansible_distribution_href, opts = {})
|
327
327
|
if @api_client.config.debugging
|
328
328
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.read ...'
|
@@ -351,7 +351,7 @@ module PulpAnsibleClient
|
|
351
351
|
post_body = opts[:body]
|
352
352
|
|
353
353
|
# return_type
|
354
|
-
return_type = opts[:return_type] || '
|
354
|
+
return_type = opts[:return_type] || 'AnsibleAnsibleDistributionRead'
|
355
355
|
|
356
356
|
# auth_names
|
357
357
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# @param path [String]
|
24
24
|
# @param data [GalaxyCollection]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [GalaxyCollectionRead]
|
27
27
|
def create(path, data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(path, data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpAnsibleClient
|
|
33
33
|
# @param path [String]
|
34
34
|
# @param data [GalaxyCollection]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(GalaxyCollectionRead, Integer, Hash)>] GalaxyCollectionRead data, response status code and response headers
|
37
37
|
def create_with_http_info(path, data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiCollectionsApi.create ...'
|
@@ -66,7 +66,7 @@ module PulpAnsibleClient
|
|
66
66
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
67
67
|
|
68
68
|
# return_type
|
69
|
-
return_type = opts[:return_type] || '
|
69
|
+
return_type = opts[:return_type] || 'GalaxyCollectionRead'
|
70
70
|
|
71
71
|
# auth_names
|
72
72
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -233,7 +233,7 @@ module PulpAnsibleClient
|
|
233
233
|
# @param [Hash] opts the optional parameters
|
234
234
|
# @option opts [String] :fields A list of fields to include in the response.
|
235
235
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
236
|
-
# @return [
|
236
|
+
# @return [GalaxyCollectionRead]
|
237
237
|
def read(collection_href, opts = {})
|
238
238
|
data, _status_code, _headers = read_with_http_info(collection_href, opts)
|
239
239
|
data
|
@@ -244,7 +244,7 @@ module PulpAnsibleClient
|
|
244
244
|
# @param [Hash] opts the optional parameters
|
245
245
|
# @option opts [String] :fields A list of fields to include in the response.
|
246
246
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
247
|
-
# @return [Array<(
|
247
|
+
# @return [Array<(GalaxyCollectionRead, Integer, Hash)>] GalaxyCollectionRead data, response status code and response headers
|
248
248
|
def read_with_http_info(collection_href, opts = {})
|
249
249
|
if @api_client.config.debugging
|
250
250
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiCollectionsApi.read ...'
|
@@ -273,7 +273,7 @@ module PulpAnsibleClient
|
|
273
273
|
post_body = opts[:body]
|
274
274
|
|
275
275
|
# return_type
|
276
|
-
return_type = opts[:return_type] || '
|
276
|
+
return_type = opts[:return_type] || 'GalaxyCollectionRead'
|
277
277
|
|
278
278
|
# auth_names
|
279
279
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -125,7 +125,7 @@ module PulpAnsibleClient
|
|
125
125
|
# @option opts [String] :fields A list of fields to include in the response.
|
126
126
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
127
127
|
# @option opts [DateTime] :since Filter messages since a given timestamp
|
128
|
-
# @return [
|
128
|
+
# @return [CollectionImportDetailRead]
|
129
129
|
def read(collection_import_href, opts = {})
|
130
130
|
data, _status_code, _headers = read_with_http_info(collection_import_href, opts)
|
131
131
|
data
|
@@ -138,7 +138,7 @@ module PulpAnsibleClient
|
|
138
138
|
# @option opts [String] :fields A list of fields to include in the response.
|
139
139
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
140
140
|
# @option opts [DateTime] :since Filter messages since a given timestamp
|
141
|
-
# @return [Array<(
|
141
|
+
# @return [Array<(CollectionImportDetailRead, Integer, Hash)>] CollectionImportDetailRead data, response status code and response headers
|
142
142
|
def read_with_http_info(collection_import_href, opts = {})
|
143
143
|
if @api_client.config.debugging
|
144
144
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiV3CollectionsApi.read ...'
|
@@ -168,7 +168,7 @@ module PulpAnsibleClient
|
|
168
168
|
post_body = opts[:body]
|
169
169
|
|
170
170
|
# return_type
|
171
|
-
return_type = opts[:return_type] || '
|
171
|
+
return_type = opts[:return_type] || 'CollectionImportDetailRead'
|
172
172
|
|
173
173
|
# auth_names
|
174
174
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# ViewSet for Ansible Remotes.
|
24
24
|
# @param data [AnsibleAnsibleRemote]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [AnsibleAnsibleRemoteRead]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpAnsibleClient
|
|
33
33
|
# ViewSet for Ansible Remotes.
|
34
34
|
# @param data [AnsibleAnsibleRemote]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(AnsibleAnsibleRemoteRead, Integer, Hash)>] AnsibleAnsibleRemoteRead data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: RemotesAnsibleApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpAnsibleClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'AnsibleAnsibleRemoteRead'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -316,7 +316,7 @@ module PulpAnsibleClient
|
|
316
316
|
# @param [Hash] opts the optional parameters
|
317
317
|
# @option opts [String] :fields A list of fields to include in the response.
|
318
318
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
319
|
-
# @return [
|
319
|
+
# @return [AnsibleAnsibleRemoteRead]
|
320
320
|
def read(ansible_remote_href, opts = {})
|
321
321
|
data, _status_code, _headers = read_with_http_info(ansible_remote_href, opts)
|
322
322
|
data
|
@@ -328,7 +328,7 @@ module PulpAnsibleClient
|
|
328
328
|
# @param [Hash] opts the optional parameters
|
329
329
|
# @option opts [String] :fields A list of fields to include in the response.
|
330
330
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
331
|
-
# @return [Array<(
|
331
|
+
# @return [Array<(AnsibleAnsibleRemoteRead, Integer, Hash)>] AnsibleAnsibleRemoteRead data, response status code and response headers
|
332
332
|
def read_with_http_info(ansible_remote_href, opts = {})
|
333
333
|
if @api_client.config.debugging
|
334
334
|
@api_client.config.logger.debug 'Calling API: RemotesAnsibleApi.read ...'
|
@@ -357,7 +357,7 @@ module PulpAnsibleClient
|
|
357
357
|
post_body = opts[:body]
|
358
358
|
|
359
359
|
# return_type
|
360
|
-
return_type = opts[:return_type] || '
|
360
|
+
return_type = opts[:return_type] || 'AnsibleAnsibleRemoteRead'
|
361
361
|
|
362
362
|
# auth_names
|
363
363
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# ViewSet for Collection Remotes.
|
24
24
|
# @param data [AnsibleCollectionRemote]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [AnsibleCollectionRemoteRead]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpAnsibleClient
|
|
33
33
|
# ViewSet for Collection Remotes.
|
34
34
|
# @param data [AnsibleCollectionRemote]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(AnsibleCollectionRemoteRead, Integer, Hash)>] AnsibleCollectionRemoteRead data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpAnsibleClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'AnsibleCollectionRemoteRead'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -316,7 +316,7 @@ module PulpAnsibleClient
|
|
316
316
|
# @param [Hash] opts the optional parameters
|
317
317
|
# @option opts [String] :fields A list of fields to include in the response.
|
318
318
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
319
|
-
# @return [
|
319
|
+
# @return [AnsibleCollectionRemoteRead]
|
320
320
|
def read(collection_remote_href, opts = {})
|
321
321
|
data, _status_code, _headers = read_with_http_info(collection_remote_href, opts)
|
322
322
|
data
|
@@ -328,7 +328,7 @@ module PulpAnsibleClient
|
|
328
328
|
# @param [Hash] opts the optional parameters
|
329
329
|
# @option opts [String] :fields A list of fields to include in the response.
|
330
330
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
331
|
-
# @return [Array<(
|
331
|
+
# @return [Array<(AnsibleCollectionRemoteRead, Integer, Hash)>] AnsibleCollectionRemoteRead data, response status code and response headers
|
332
332
|
def read_with_http_info(collection_remote_href, opts = {})
|
333
333
|
if @api_client.config.debugging
|
334
334
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.read ...'
|
@@ -357,7 +357,7 @@ module PulpAnsibleClient
|
|
357
357
|
post_body = opts[:body]
|
358
358
|
|
359
359
|
# return_type
|
360
|
-
return_type = opts[:return_type] || '
|
360
|
+
return_type = opts[:return_type] || 'AnsibleCollectionRemoteRead'
|
361
361
|
|
362
362
|
# auth_names
|
363
363
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# ViewSet for Ansible Remotes.
|
24
24
|
# @param data [AnsibleAnsibleRepository]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [AnsibleAnsibleRepositoryRead]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpAnsibleClient
|
|
33
33
|
# ViewSet for Ansible Remotes.
|
34
34
|
# @param data [AnsibleAnsibleRepository]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(AnsibleAnsibleRepositoryRead, Integer, Hash)>] AnsibleAnsibleRepositoryRead data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpAnsibleClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'AnsibleAnsibleRepositoryRead'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -84,7 +84,7 @@ module PulpAnsibleClient
|
|
84
84
|
end
|
85
85
|
|
86
86
|
# Delete an ansible repository
|
87
|
-
# Trigger an asynchronous
|
87
|
+
# Trigger an asynchronous delete task
|
88
88
|
# @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @return [AsyncOperationResponse]
|
@@ -94,7 +94,7 @@ module PulpAnsibleClient
|
|
94
94
|
end
|
95
95
|
|
96
96
|
# Delete an ansible repository
|
97
|
-
# Trigger an asynchronous
|
97
|
+
# Trigger an asynchronous delete task
|
98
98
|
# @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -293,22 +293,22 @@ module PulpAnsibleClient
|
|
293
293
|
end
|
294
294
|
|
295
295
|
# Partially update an ansible repository
|
296
|
-
#
|
296
|
+
# Trigger an asynchronous partial update task
|
297
297
|
# @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
|
298
298
|
# @param data [AnsibleAnsibleRepository]
|
299
299
|
# @param [Hash] opts the optional parameters
|
300
|
-
# @return [
|
300
|
+
# @return [AsyncOperationResponse]
|
301
301
|
def partial_update(ansible_repository_href, data, opts = {})
|
302
302
|
data, _status_code, _headers = partial_update_with_http_info(ansible_repository_href, data, opts)
|
303
303
|
data
|
304
304
|
end
|
305
305
|
|
306
306
|
# Partially update an ansible repository
|
307
|
-
#
|
307
|
+
# Trigger an asynchronous partial update task
|
308
308
|
# @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
|
309
309
|
# @param data [AnsibleAnsibleRepository]
|
310
310
|
# @param [Hash] opts the optional parameters
|
311
|
-
# @return [Array<(
|
311
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
312
312
|
def partial_update_with_http_info(ansible_repository_href, data, opts = {})
|
313
313
|
if @api_client.config.debugging
|
314
314
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.partial_update ...'
|
@@ -341,7 +341,7 @@ module PulpAnsibleClient
|
|
341
341
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
342
342
|
|
343
343
|
# return_type
|
344
|
-
return_type = opts[:return_type] || '
|
344
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
345
345
|
|
346
346
|
# auth_names
|
347
347
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -368,7 +368,7 @@ module PulpAnsibleClient
|
|
368
368
|
# @param [Hash] opts the optional parameters
|
369
369
|
# @option opts [String] :fields A list of fields to include in the response.
|
370
370
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
371
|
-
# @return [
|
371
|
+
# @return [AnsibleAnsibleRepositoryRead]
|
372
372
|
def read(ansible_repository_href, opts = {})
|
373
373
|
data, _status_code, _headers = read_with_http_info(ansible_repository_href, opts)
|
374
374
|
data
|
@@ -380,7 +380,7 @@ module PulpAnsibleClient
|
|
380
380
|
# @param [Hash] opts the optional parameters
|
381
381
|
# @option opts [String] :fields A list of fields to include in the response.
|
382
382
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
383
|
-
# @return [Array<(
|
383
|
+
# @return [Array<(AnsibleAnsibleRepositoryRead, Integer, Hash)>] AnsibleAnsibleRepositoryRead data, response status code and response headers
|
384
384
|
def read_with_http_info(ansible_repository_href, opts = {})
|
385
385
|
if @api_client.config.debugging
|
386
386
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.read ...'
|
@@ -409,7 +409,7 @@ module PulpAnsibleClient
|
|
409
409
|
post_body = opts[:body]
|
410
410
|
|
411
411
|
# return_type
|
412
|
-
return_type = opts[:return_type] || '
|
412
|
+
return_type = opts[:return_type] || 'AnsibleAnsibleRepositoryRead'
|
413
413
|
|
414
414
|
# auth_names
|
415
415
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -499,7 +499,7 @@ module PulpAnsibleClient
|
|
499
499
|
end
|
500
500
|
|
501
501
|
# Update an ansible repository
|
502
|
-
# Trigger an asynchronous
|
502
|
+
# Trigger an asynchronous update task
|
503
503
|
# @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
|
504
504
|
# @param data [AnsibleAnsibleRepository]
|
505
505
|
# @param [Hash] opts the optional parameters
|
@@ -510,7 +510,7 @@ module PulpAnsibleClient
|
|
510
510
|
end
|
511
511
|
|
512
512
|
# Update an ansible repository
|
513
|
-
# Trigger an asynchronous
|
513
|
+
# Trigger an asynchronous update task
|
514
514
|
# @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
|
515
515
|
# @param data [AnsibleAnsibleRepository]
|
516
516
|
# @param [Hash] opts the optional parameters
|
@@ -203,7 +203,7 @@ module PulpAnsibleClient
|
|
203
203
|
# @param [Hash] opts the optional parameters
|
204
204
|
# @option opts [String] :fields A list of fields to include in the response.
|
205
205
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
206
|
-
# @return [
|
206
|
+
# @return [RepositoryVersionRead]
|
207
207
|
def read(ansible_repository_version_href, opts = {})
|
208
208
|
data, _status_code, _headers = read_with_http_info(ansible_repository_version_href, opts)
|
209
209
|
data
|
@@ -215,7 +215,7 @@ module PulpAnsibleClient
|
|
215
215
|
# @param [Hash] opts the optional parameters
|
216
216
|
# @option opts [String] :fields A list of fields to include in the response.
|
217
217
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
218
|
-
# @return [Array<(
|
218
|
+
# @return [Array<(RepositoryVersionRead, Integer, Hash)>] RepositoryVersionRead data, response status code and response headers
|
219
219
|
def read_with_http_info(ansible_repository_version_href, opts = {})
|
220
220
|
if @api_client.config.debugging
|
221
221
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleVersionsApi.read ...'
|
@@ -244,7 +244,7 @@ module PulpAnsibleClient
|
|
244
244
|
post_body = opts[:body]
|
245
245
|
|
246
246
|
# return_type
|
247
|
-
return_type = opts[:return_type] || '
|
247
|
+
return_type = opts[:return_type] || 'RepositoryVersionRead'
|
248
248
|
|
249
249
|
# auth_names
|
250
250
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -122,7 +122,7 @@ module PulpAnsibleClient
|
|
122
122
|
|
123
123
|
def initialize
|
124
124
|
@scheme = 'http'
|
125
|
-
@host = '
|
125
|
+
@host = 'pulp'
|
126
126
|
@base_path = ''
|
127
127
|
@api_key = {}
|
128
128
|
@api_key_prefix = {}
|
@@ -202,7 +202,7 @@ module PulpAnsibleClient
|
|
202
202
|
def server_settings
|
203
203
|
[
|
204
204
|
{
|
205
|
-
url: "http://
|
205
|
+
url: "http://pulp/",
|
206
206
|
description: "No description provided",
|
207
207
|
}
|
208
208
|
]
|