pulp_ansible_client 0.2.0b14 → 0.2.0b15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -20
- data/docs/{AnsibleCollectionRead.md → AnsibleCollection.md} +2 -2
- data/docs/AnsibleCollectionRemote.md +5 -1
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleRole.md +3 -3
- data/docs/{CollectionImportDetailRead.md → CollectionImportDetail.md} +2 -2
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/ContentRolesApi.md +4 -4
- data/docs/DistributionsAnsibleApi.md +2 -2
- data/docs/{GalaxyCollectionVersionRead.md → GalaxyCollectionVersion.md} +2 -2
- data/docs/{GalaxyRoleRead.md → GalaxyRole.md} +2 -2
- data/docs/{GalaxyRoleVersionRead.md → GalaxyRoleVersion.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/PulpAnsibleGalaxyApiCollectionsApi.md +4 -4
- data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +2 -2
- data/docs/RemotesAnsibleApi.md +4 -4
- data/docs/RemotesCollectionApi.md +4 -4
- data/docs/RepositoriesAnsibleApi.md +4 -4
- data/docs/RepositoriesAnsibleVersionsApi.md +6 -4
- data/docs/{TagRead.md → Tag.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 +6 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/models/{ansible_collection_read.rb → ansible_collection.rb} +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +75 -5
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/{collection_import_detail_read.rb → collection_import_detail.rb} +3 -3
- data/lib/pulp_ansible_client/models/{galaxy_collection_version_read.rb → galaxy_collection_version.rb} +3 -3
- data/lib/pulp_ansible_client/models/{galaxy_role_read.rb → galaxy_role.rb} +3 -3
- data/lib/pulp_ansible_client/models/{galaxy_role_version_read.rb → galaxy_role_version.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/{tag_read.rb → tag.rb} +3 -3
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +6 -16
- 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 +2 -2
- data/spec/api/repositories_ansible_versions_api_spec.rb +3 -2
- data/spec/models/ansible_collection_remote_spec.rb +12 -0
- data/spec/models/{ansible_collection_read_spec.rb → ansible_collection_spec.rb} +6 -6
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/{collection_import_detail_read_spec.rb → collection_import_detail_spec.rb} +6 -6
- data/spec/models/{galaxy_collection_version_read_spec.rb → galaxy_collection_version_spec.rb} +6 -6
- data/spec/models/{galaxy_role_read_spec.rb → galaxy_role_spec.rb} +6 -6
- data/spec/models/{galaxy_role_version_read_spec.rb → galaxy_role_version_spec.rb} +6 -6
- data/spec/models/{tag_read_spec.rb → tag_spec.rb} +6 -6
- metadata +26 -66
- data/docs/AnsibleAnsibleDistributionRead.md +0 -31
- data/docs/AnsibleAnsibleRemoteRead.md +0 -43
- data/docs/AnsibleAnsibleRepositoryRead.md +0 -27
- data/docs/AnsibleCollectionRemoteRead.md +0 -45
- data/docs/AnsibleCollectionVersionRead.md +0 -67
- data/docs/AnsibleRoleRead.md +0 -27
- data/docs/CollectionRead.md +0 -31
- data/docs/CollectionVersionRead.md +0 -37
- data/docs/GalaxyCollectionRead.md +0 -23
- data/docs/RepositoryVersionRead.md +0 -25
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_read.rb +0 -327
- data/lib/pulp_ansible_client/models/ansible_ansible_remote_read.rb +0 -531
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_read.rb +0 -294
- data/lib/pulp_ansible_client/models/ansible_collection_remote_read.rb +0 -557
- data/lib/pulp_ansible_client/models/ansible_collection_version_read.rb +0 -816
- data/lib/pulp_ansible_client/models/ansible_role_read.rb +0 -330
- data/lib/pulp_ansible_client/models/collection_read.rb +0 -314
- data/lib/pulp_ansible_client/models/collection_version_read.rb +0 -370
- data/lib/pulp_ansible_client/models/galaxy_collection_read.rb +0 -281
- data/lib/pulp_ansible_client/models/repository_version_read.rb +0 -244
- data/spec/models/ansible_ansible_distribution_read_spec.rb +0 -83
- data/spec/models/ansible_ansible_remote_read_spec.rb +0 -123
- data/spec/models/ansible_ansible_repository_read_spec.rb +0 -71
- data/spec/models/ansible_collection_remote_read_spec.rb +0 -129
- data/spec/models/ansible_collection_version_read_spec.rb +0 -191
- data/spec/models/ansible_role_read_spec.rb +0 -71
- data/spec/models/collection_read_spec.rb +0 -83
- data/spec/models/collection_version_read_spec.rb +0 -105
- data/spec/models/galaxy_collection_read_spec.rb +0 -59
- data/spec/models/repository_version_read_spec.rb +0 -65
|
@@ -99,8 +99,9 @@ opts = {
|
|
|
99
99
|
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
|
100
100
|
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
|
101
101
|
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
|
102
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
|
103
102
|
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
|
103
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
|
104
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
104
105
|
limit: 56, # Integer | Number of results to return per page.
|
|
105
106
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
106
107
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
@@ -134,8 +135,9 @@ Name | Type | Description | Notes
|
|
|
134
135
|
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
|
135
136
|
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
136
137
|
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
|
137
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
138
138
|
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
139
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
140
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
139
141
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
140
142
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
141
143
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
@@ -157,7 +159,7 @@ Name | Type | Description | Notes
|
|
|
157
159
|
|
|
158
160
|
## read
|
|
159
161
|
|
|
160
|
-
>
|
|
162
|
+
> RepositoryVersion read(ansible_repository_version_href, opts)
|
|
161
163
|
|
|
162
164
|
Inspect a repository version
|
|
163
165
|
|
|
@@ -202,7 +204,7 @@ Name | Type | Description | Notes
|
|
|
202
204
|
|
|
203
205
|
### Return type
|
|
204
206
|
|
|
205
|
-
[**
|
|
207
|
+
[**RepositoryVersion**](RepositoryVersion.md)
|
|
206
208
|
|
|
207
209
|
### Authorization
|
|
208
210
|
|
data/docs/{TagRead.md → Tag.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpAnsibleClient::
|
|
1
|
+
# PulpAnsibleClient::Tag
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
```ruby
|
|
12
12
|
require 'PulpAnsibleClient'
|
|
13
13
|
|
|
14
|
-
instance = PulpAnsibleClient::
|
|
14
|
+
instance = PulpAnsibleClient::Tag.new(name: null)
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
|
|
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
|
23
23
|
# ViewSet for Ansible Collection.
|
|
24
24
|
# @param data [AnsibleCollectionVersion]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @return [
|
|
26
|
+
# @return [AnsibleCollectionVersion]
|
|
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 Collection.
|
|
34
34
|
# @param data [AnsibleCollectionVersion]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
|
-
# @return [Array<(
|
|
36
|
+
# @return [Array<(AnsibleCollectionVersion, Integer, Hash)>] AnsibleCollectionVersion 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: ContentCollectionVersionsApi.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] || 'AnsibleCollectionVersion'
|
|
66
66
|
|
|
67
67
|
# auth_names
|
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
|
@@ -193,7 +193,7 @@ module PulpAnsibleClient
|
|
|
193
193
|
# @param [Hash] opts the optional parameters
|
|
194
194
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
195
195
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
196
|
-
# @return [
|
|
196
|
+
# @return [AnsibleCollectionVersion]
|
|
197
197
|
def read(collection_version_href, opts = {})
|
|
198
198
|
data, _status_code, _headers = read_with_http_info(collection_version_href, opts)
|
|
199
199
|
data
|
|
@@ -205,7 +205,7 @@ module PulpAnsibleClient
|
|
|
205
205
|
# @param [Hash] opts the optional parameters
|
|
206
206
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
207
207
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
208
|
-
# @return [Array<(
|
|
208
|
+
# @return [Array<(AnsibleCollectionVersion, Integer, Hash)>] AnsibleCollectionVersion data, response status code and response headers
|
|
209
209
|
def read_with_http_info(collection_version_href, opts = {})
|
|
210
210
|
if @api_client.config.debugging
|
|
211
211
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.read ...'
|
|
@@ -234,7 +234,7 @@ module PulpAnsibleClient
|
|
|
234
234
|
post_body = opts[:body]
|
|
235
235
|
|
|
236
236
|
# return_type
|
|
237
|
-
return_type = opts[:return_type] || '
|
|
237
|
+
return_type = opts[:return_type] || 'AnsibleCollectionVersion'
|
|
238
238
|
|
|
239
239
|
# auth_names
|
|
240
240
|
auth_names = opts[:auth_names] || ['Basic']
|
|
@@ -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 [AnsibleRole]
|
|
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<(AnsibleRole, Integer, Hash)>] AnsibleRole 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] || 'AnsibleRole'
|
|
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 [AnsibleRole]
|
|
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<(AnsibleRole, Integer, Hash)>] AnsibleRole 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] || 'AnsibleRole'
|
|
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 [AnsibleAnsibleDistribution]
|
|
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<(AnsibleAnsibleDistribution, Integer, Hash)>] AnsibleAnsibleDistribution 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] || 'AnsibleAnsibleDistribution'
|
|
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 [GalaxyCollection]
|
|
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<(GalaxyCollection, Integer, Hash)>] GalaxyCollection 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] || 'GalaxyCollection'
|
|
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 [GalaxyCollection]
|
|
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<(GalaxyCollection, Integer, Hash)>] GalaxyCollection 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] || 'GalaxyCollection'
|
|
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 [CollectionImportDetail]
|
|
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<(CollectionImportDetail, Integer, Hash)>] CollectionImportDetail 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] || 'CollectionImportDetail'
|
|
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 [AnsibleAnsibleRemote]
|
|
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<(AnsibleAnsibleRemote, Integer, Hash)>] AnsibleAnsibleRemote 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] || 'AnsibleAnsibleRemote'
|
|
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 [AnsibleAnsibleRemote]
|
|
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<(AnsibleAnsibleRemote, Integer, Hash)>] AnsibleAnsibleRemote 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] || 'AnsibleAnsibleRemote'
|
|
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 [AnsibleCollectionRemote]
|
|
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<(AnsibleCollectionRemote, Integer, Hash)>] AnsibleCollectionRemote 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] || 'AnsibleCollectionRemote'
|
|
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 [AnsibleCollectionRemote]
|
|
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<(AnsibleCollectionRemote, Integer, Hash)>] AnsibleCollectionRemote 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] || 'AnsibleCollectionRemote'
|
|
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 [AnsibleAnsibleRepository]
|
|
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<(AnsibleAnsibleRepository, Integer, Hash)>] AnsibleAnsibleRepository 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] || 'AnsibleAnsibleRepository'
|
|
66
66
|
|
|
67
67
|
# auth_names
|
|
68
68
|
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 [AnsibleAnsibleRepository]
|
|
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<(AnsibleAnsibleRepository, Integer, Hash)>] AnsibleAnsibleRepository 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] || 'AnsibleAnsibleRepository'
|
|
413
413
|
|
|
414
414
|
# auth_names
|
|
415
415
|
auth_names = opts[:auth_names] || ['Basic']
|
|
@@ -97,8 +97,9 @@ module PulpAnsibleClient
|
|
|
97
97
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
98
98
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
99
99
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
100
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
101
100
|
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
101
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
|
102
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
102
103
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
103
104
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
104
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -125,8 +126,9 @@ module PulpAnsibleClient
|
|
|
125
126
|
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
126
127
|
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
127
128
|
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
128
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
129
129
|
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
130
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
|
131
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
130
132
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
131
133
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
132
134
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -157,8 +159,9 @@ module PulpAnsibleClient
|
|
|
157
159
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
|
158
160
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
|
159
161
|
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
|
160
|
-
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
161
162
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
|
163
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
164
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
|
162
165
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
163
166
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
164
167
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
@@ -203,7 +206,7 @@ module PulpAnsibleClient
|
|
|
203
206
|
# @param [Hash] opts the optional parameters
|
|
204
207
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
205
208
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
206
|
-
# @return [
|
|
209
|
+
# @return [RepositoryVersion]
|
|
207
210
|
def read(ansible_repository_version_href, opts = {})
|
|
208
211
|
data, _status_code, _headers = read_with_http_info(ansible_repository_version_href, opts)
|
|
209
212
|
data
|
|
@@ -215,7 +218,7 @@ module PulpAnsibleClient
|
|
|
215
218
|
# @param [Hash] opts the optional parameters
|
|
216
219
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
217
220
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
218
|
-
# @return [Array<(
|
|
221
|
+
# @return [Array<(RepositoryVersion, Integer, Hash)>] RepositoryVersion data, response status code and response headers
|
|
219
222
|
def read_with_http_info(ansible_repository_version_href, opts = {})
|
|
220
223
|
if @api_client.config.debugging
|
|
221
224
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleVersionsApi.read ...'
|
|
@@ -244,7 +247,7 @@ module PulpAnsibleClient
|
|
|
244
247
|
post_body = opts[:body]
|
|
245
248
|
|
|
246
249
|
# return_type
|
|
247
|
-
return_type = opts[:return_type] || '
|
|
250
|
+
return_type = opts[:return_type] || 'RepositoryVersion'
|
|
248
251
|
|
|
249
252
|
# auth_names
|
|
250
253
|
auth_names = opts[:auth_names] || ['Basic']
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
|
-
class
|
|
16
|
+
class AnsibleCollection
|
|
17
17
|
# The name of the Collection.
|
|
18
18
|
attr_accessor :name
|
|
19
19
|
|
|
@@ -46,13 +46,13 @@ module PulpAnsibleClient
|
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
47
47
|
def initialize(attributes = {})
|
|
48
48
|
if (!attributes.is_a?(Hash))
|
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::
|
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::AnsibleCollection` initialize method"
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
53
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
54
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::
|
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::AnsibleCollection`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
56
56
|
end
|
|
57
57
|
h[k.to_sym] = v
|
|
58
58
|
}
|