pulp_ansible_client 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -9
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/{V2CollectionsApi.md → ApiCollectionsApi.md} +7 -7
- data/docs/{V1RolesApi.md → ApiRolesApi.md} +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +3 -3
- data/docs/CollectionVersionResponse.md +3 -3
- data/docs/DistributionsAnsibleApi.md +6 -54
- data/docs/GalaxyCollectionResponse.md +2 -2
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/InlineResponse20013.md +6 -8
- data/docs/InlineResponse20014.md +6 -8
- data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +0 -22
- data/docs/RemotesCollectionApi.md +6 -66
- data/docs/RemotesRoleApi.md +6 -66
- data/docs/RepositoriesAnsibleApi.md +6 -30
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -34
- data/docs/VersionsApi.md +120 -0
- data/lib/pulp_ansible_client/api/{v2_collections_api.rb → api_collections_api.rb} +8 -8
- data/lib/pulp_ansible_client/api/{v1_roles_api.rb → api_roles_api.rb} +4 -4
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -63
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +0 -37
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -81
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -81
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -27
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -45
- data/lib/pulp_ansible_client/api/{role_list_api.rb → versions_api.rb} +73 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_response.rb +3 -3
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +2 -2
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response20013.rb +20 -31
- data/lib/pulp_ansible_client/models/inline_response20014.rb +20 -31
- data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -4
- data/spec/api/{v2_collections_api_spec.rb → api_collections_api_spec.rb} +6 -6
- data/spec/api/{v1_roles_api_spec.rb → api_roles_api_spec.rb} +6 -6
- data/spec/api/distributions_ansible_api_spec.rb +0 -21
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +0 -11
- data/spec/api/remotes_collection_api_spec.rb +0 -27
- data/spec/api/remotes_role_api_spec.rb +0 -27
- data/spec/api/repositories_ansible_api_spec.rb +0 -9
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -15
- data/spec/api/{role_list_api_spec.rb → versions_api_spec.rb} +20 -6
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/inline_response20013_spec.rb +3 -9
- data/spec/models/inline_response20014_spec.rb +3 -9
- metadata +14 -18
- data/docs/GalaxyCollectionListApi.md +0 -63
- data/docs/RoleListApi.md +0 -65
- data/lib/pulp_ansible_client/api/galaxy_collection_list_api.rb +0 -91
- data/spec/api/galaxy_collection_list_api_spec.rb +0 -49
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse delete(ansible_collection_remote_href
|
71
|
+
> AsyncOperationResponse delete(ansible_collection_remote_href)
|
72
72
|
|
73
73
|
Delete a collection remote
|
74
74
|
|
@@ -88,21 +88,10 @@ end
|
|
88
88
|
|
89
89
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
90
90
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
91
|
-
opts = {
|
92
|
-
name: 'name_example', # String | name
|
93
|
-
name__in: 'name__in_example', # String | name__in
|
94
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
95
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
96
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
97
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
98
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
99
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
100
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
101
|
-
}
|
102
91
|
|
103
92
|
begin
|
104
93
|
#Delete a collection remote
|
105
|
-
result = api_instance.delete(ansible_collection_remote_href
|
94
|
+
result = api_instance.delete(ansible_collection_remote_href)
|
106
95
|
p result
|
107
96
|
rescue PulpAnsibleClient::ApiError => e
|
108
97
|
puts "Exception when calling RemotesCollectionApi->delete: #{e}"
|
@@ -115,15 +104,6 @@ end
|
|
115
104
|
Name | Type | Description | Notes
|
116
105
|
------------- | ------------- | ------------- | -------------
|
117
106
|
**ansible_collection_remote_href** | **String**| |
|
118
|
-
**name** | **String**| name | [optional]
|
119
|
-
**name__in** | **String**| name__in | [optional]
|
120
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
121
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
122
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
123
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
124
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
125
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
126
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
127
107
|
|
128
108
|
### Return type
|
129
109
|
|
@@ -220,7 +200,7 @@ Name | Type | Description | Notes
|
|
220
200
|
|
221
201
|
## partial_update
|
222
202
|
|
223
|
-
> AsyncOperationResponse partial_update(ansible_collection_remote_href, patchedansible_collection_remote
|
203
|
+
> AsyncOperationResponse partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
224
204
|
|
225
205
|
Update a collection remote
|
226
206
|
|
@@ -241,21 +221,10 @@ end
|
|
241
221
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
242
222
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
243
223
|
patchedansible_collection_remote = PulpAnsibleClient::PatchedansibleCollectionRemote.new # PatchedansibleCollectionRemote |
|
244
|
-
opts = {
|
245
|
-
name: 'name_example', # String | name
|
246
|
-
name__in: 'name__in_example', # String | name__in
|
247
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
248
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
249
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
250
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
251
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
252
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
253
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
254
|
-
}
|
255
224
|
|
256
225
|
begin
|
257
226
|
#Update a collection remote
|
258
|
-
result = api_instance.partial_update(ansible_collection_remote_href, patchedansible_collection_remote
|
227
|
+
result = api_instance.partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
259
228
|
p result
|
260
229
|
rescue PulpAnsibleClient::ApiError => e
|
261
230
|
puts "Exception when calling RemotesCollectionApi->partial_update: #{e}"
|
@@ -269,15 +238,6 @@ Name | Type | Description | Notes
|
|
269
238
|
------------- | ------------- | ------------- | -------------
|
270
239
|
**ansible_collection_remote_href** | **String**| |
|
271
240
|
**patchedansible_collection_remote** | [**PatchedansibleCollectionRemote**](PatchedansibleCollectionRemote.md)| |
|
272
|
-
**name** | **String**| name | [optional]
|
273
|
-
**name__in** | **String**| name__in | [optional]
|
274
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
275
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
276
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
277
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
278
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
279
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
280
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
281
241
|
|
282
242
|
### Return type
|
283
243
|
|
@@ -354,7 +314,7 @@ Name | Type | Description | Notes
|
|
354
314
|
|
355
315
|
## update
|
356
316
|
|
357
|
-
> AsyncOperationResponse update(ansible_collection_remote_href, ansible_collection_remote
|
317
|
+
> AsyncOperationResponse update(ansible_collection_remote_href, ansible_collection_remote)
|
358
318
|
|
359
319
|
Update a collection remote
|
360
320
|
|
@@ -375,21 +335,10 @@ end
|
|
375
335
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
376
336
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
377
337
|
ansible_collection_remote = PulpAnsibleClient::AnsibleCollectionRemote.new # AnsibleCollectionRemote |
|
378
|
-
opts = {
|
379
|
-
name: 'name_example', # String | name
|
380
|
-
name__in: 'name__in_example', # String | name__in
|
381
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
382
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
383
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
384
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
385
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
386
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
387
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
388
|
-
}
|
389
338
|
|
390
339
|
begin
|
391
340
|
#Update a collection remote
|
392
|
-
result = api_instance.update(ansible_collection_remote_href, ansible_collection_remote
|
341
|
+
result = api_instance.update(ansible_collection_remote_href, ansible_collection_remote)
|
393
342
|
p result
|
394
343
|
rescue PulpAnsibleClient::ApiError => e
|
395
344
|
puts "Exception when calling RemotesCollectionApi->update: #{e}"
|
@@ -403,15 +352,6 @@ Name | Type | Description | Notes
|
|
403
352
|
------------- | ------------- | ------------- | -------------
|
404
353
|
**ansible_collection_remote_href** | **String**| |
|
405
354
|
**ansible_collection_remote** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md)| |
|
406
|
-
**name** | **String**| name | [optional]
|
407
|
-
**name__in** | **String**| name__in | [optional]
|
408
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
409
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
410
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
411
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
412
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
413
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
414
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
415
355
|
|
416
356
|
### Return type
|
417
357
|
|
data/docs/RemotesRoleApi.md
CHANGED
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse delete(ansible_role_remote_href
|
71
|
+
> AsyncOperationResponse delete(ansible_role_remote_href)
|
72
72
|
|
73
73
|
Delete a role remote
|
74
74
|
|
@@ -88,21 +88,10 @@ end
|
|
88
88
|
|
89
89
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
90
90
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
91
|
-
opts = {
|
92
|
-
name: 'name_example', # String | name
|
93
|
-
name__in: 'name__in_example', # String | name__in
|
94
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
95
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
96
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
97
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
98
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
99
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
100
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
101
|
-
}
|
102
91
|
|
103
92
|
begin
|
104
93
|
#Delete a role remote
|
105
|
-
result = api_instance.delete(ansible_role_remote_href
|
94
|
+
result = api_instance.delete(ansible_role_remote_href)
|
106
95
|
p result
|
107
96
|
rescue PulpAnsibleClient::ApiError => e
|
108
97
|
puts "Exception when calling RemotesRoleApi->delete: #{e}"
|
@@ -115,15 +104,6 @@ end
|
|
115
104
|
Name | Type | Description | Notes
|
116
105
|
------------- | ------------- | ------------- | -------------
|
117
106
|
**ansible_role_remote_href** | **String**| |
|
118
|
-
**name** | **String**| name | [optional]
|
119
|
-
**name__in** | **String**| name__in | [optional]
|
120
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
121
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
122
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
123
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
124
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
125
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
126
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
127
107
|
|
128
108
|
### Return type
|
129
109
|
|
@@ -220,7 +200,7 @@ Name | Type | Description | Notes
|
|
220
200
|
|
221
201
|
## partial_update
|
222
202
|
|
223
|
-
> AsyncOperationResponse partial_update(ansible_role_remote_href, patchedansible_role_remote
|
203
|
+
> AsyncOperationResponse partial_update(ansible_role_remote_href, patchedansible_role_remote)
|
224
204
|
|
225
205
|
Update a role remote
|
226
206
|
|
@@ -241,21 +221,10 @@ end
|
|
241
221
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
242
222
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
243
223
|
patchedansible_role_remote = PulpAnsibleClient::PatchedansibleRoleRemote.new # PatchedansibleRoleRemote |
|
244
|
-
opts = {
|
245
|
-
name: 'name_example', # String | name
|
246
|
-
name__in: 'name__in_example', # String | name__in
|
247
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
248
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
249
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
250
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
251
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
252
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
253
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
254
|
-
}
|
255
224
|
|
256
225
|
begin
|
257
226
|
#Update a role remote
|
258
|
-
result = api_instance.partial_update(ansible_role_remote_href, patchedansible_role_remote
|
227
|
+
result = api_instance.partial_update(ansible_role_remote_href, patchedansible_role_remote)
|
259
228
|
p result
|
260
229
|
rescue PulpAnsibleClient::ApiError => e
|
261
230
|
puts "Exception when calling RemotesRoleApi->partial_update: #{e}"
|
@@ -269,15 +238,6 @@ Name | Type | Description | Notes
|
|
269
238
|
------------- | ------------- | ------------- | -------------
|
270
239
|
**ansible_role_remote_href** | **String**| |
|
271
240
|
**patchedansible_role_remote** | [**PatchedansibleRoleRemote**](PatchedansibleRoleRemote.md)| |
|
272
|
-
**name** | **String**| name | [optional]
|
273
|
-
**name__in** | **String**| name__in | [optional]
|
274
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
275
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
276
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
277
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
278
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
279
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
280
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
281
241
|
|
282
242
|
### Return type
|
283
243
|
|
@@ -354,7 +314,7 @@ Name | Type | Description | Notes
|
|
354
314
|
|
355
315
|
## update
|
356
316
|
|
357
|
-
> AsyncOperationResponse update(ansible_role_remote_href, ansible_role_remote
|
317
|
+
> AsyncOperationResponse update(ansible_role_remote_href, ansible_role_remote)
|
358
318
|
|
359
319
|
Update a role remote
|
360
320
|
|
@@ -375,21 +335,10 @@ end
|
|
375
335
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
376
336
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
377
337
|
ansible_role_remote = PulpAnsibleClient::AnsibleRoleRemote.new # AnsibleRoleRemote |
|
378
|
-
opts = {
|
379
|
-
name: 'name_example', # String | name
|
380
|
-
name__in: 'name__in_example', # String | name__in
|
381
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
382
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
383
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
384
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
385
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
386
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
387
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
388
|
-
}
|
389
338
|
|
390
339
|
begin
|
391
340
|
#Update a role remote
|
392
|
-
result = api_instance.update(ansible_role_remote_href, ansible_role_remote
|
341
|
+
result = api_instance.update(ansible_role_remote_href, ansible_role_remote)
|
393
342
|
p result
|
394
343
|
rescue PulpAnsibleClient::ApiError => e
|
395
344
|
puts "Exception when calling RemotesRoleApi->update: #{e}"
|
@@ -403,15 +352,6 @@ Name | Type | Description | Notes
|
|
403
352
|
------------- | ------------- | ------------- | -------------
|
404
353
|
**ansible_role_remote_href** | **String**| |
|
405
354
|
**ansible_role_remote** | [**AnsibleRoleRemote**](AnsibleRoleRemote.md)| |
|
406
|
-
**name** | **String**| name | [optional]
|
407
|
-
**name__in** | **String**| name__in | [optional]
|
408
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
409
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
410
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
411
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
412
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
413
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
414
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
415
355
|
|
416
356
|
### Return type
|
417
357
|
|
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
|
|
70
70
|
|
71
71
|
## delete
|
72
72
|
|
73
|
-
> AsyncOperationResponse delete(ansible_ansible_repository_href
|
73
|
+
> AsyncOperationResponse delete(ansible_ansible_repository_href)
|
74
74
|
|
75
75
|
Delete an ansible repository
|
76
76
|
|
@@ -90,15 +90,10 @@ end
|
|
90
90
|
|
91
91
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
92
92
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
93
|
-
opts = {
|
94
|
-
name: 'name_example', # String | name
|
95
|
-
name__in: 'name__in_example', # String | name__in
|
96
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
97
|
-
}
|
98
93
|
|
99
94
|
begin
|
100
95
|
#Delete an ansible repository
|
101
|
-
result = api_instance.delete(ansible_ansible_repository_href
|
96
|
+
result = api_instance.delete(ansible_ansible_repository_href)
|
102
97
|
p result
|
103
98
|
rescue PulpAnsibleClient::ApiError => e
|
104
99
|
puts "Exception when calling RepositoriesAnsibleApi->delete: #{e}"
|
@@ -111,9 +106,6 @@ end
|
|
111
106
|
Name | Type | Description | Notes
|
112
107
|
------------- | ------------- | ------------- | -------------
|
113
108
|
**ansible_ansible_repository_href** | **String**| |
|
114
|
-
**name** | **String**| name | [optional]
|
115
|
-
**name__in** | **String**| name__in | [optional]
|
116
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
117
109
|
|
118
110
|
### Return type
|
119
111
|
|
@@ -253,7 +245,7 @@ Name | Type | Description | Notes
|
|
253
245
|
|
254
246
|
## partial_update
|
255
247
|
|
256
|
-
> AsyncOperationResponse partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository
|
248
|
+
> AsyncOperationResponse partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
257
249
|
|
258
250
|
Update an ansible repository
|
259
251
|
|
@@ -274,15 +266,10 @@ end
|
|
274
266
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
275
267
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
276
268
|
patchedansible_ansible_repository = PulpAnsibleClient::PatchedansibleAnsibleRepository.new # PatchedansibleAnsibleRepository |
|
277
|
-
opts = {
|
278
|
-
name: 'name_example', # String | name
|
279
|
-
name__in: 'name__in_example', # String | name__in
|
280
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
281
|
-
}
|
282
269
|
|
283
270
|
begin
|
284
271
|
#Update an ansible repository
|
285
|
-
result = api_instance.partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository
|
272
|
+
result = api_instance.partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
286
273
|
p result
|
287
274
|
rescue PulpAnsibleClient::ApiError => e
|
288
275
|
puts "Exception when calling RepositoriesAnsibleApi->partial_update: #{e}"
|
@@ -296,9 +283,6 @@ Name | Type | Description | Notes
|
|
296
283
|
------------- | ------------- | ------------- | -------------
|
297
284
|
**ansible_ansible_repository_href** | **String**| |
|
298
285
|
**patchedansible_ansible_repository** | [**PatchedansibleAnsibleRepository**](PatchedansibleAnsibleRepository.md)| |
|
299
|
-
**name** | **String**| name | [optional]
|
300
|
-
**name__in** | **String**| name__in | [optional]
|
301
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
302
286
|
|
303
287
|
### Return type
|
304
288
|
|
@@ -429,7 +413,7 @@ Name | Type | Description | Notes
|
|
429
413
|
|
430
414
|
## update
|
431
415
|
|
432
|
-
> AsyncOperationResponse update(ansible_ansible_repository_href, ansible_ansible_repository
|
416
|
+
> AsyncOperationResponse update(ansible_ansible_repository_href, ansible_ansible_repository)
|
433
417
|
|
434
418
|
Update an ansible repository
|
435
419
|
|
@@ -450,15 +434,10 @@ end
|
|
450
434
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
451
435
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
452
436
|
ansible_ansible_repository = PulpAnsibleClient::AnsibleAnsibleRepository.new # AnsibleAnsibleRepository |
|
453
|
-
opts = {
|
454
|
-
name: 'name_example', # String | name
|
455
|
-
name__in: 'name__in_example', # String | name__in
|
456
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
457
|
-
}
|
458
437
|
|
459
438
|
begin
|
460
439
|
#Update an ansible repository
|
461
|
-
result = api_instance.update(ansible_ansible_repository_href, ansible_ansible_repository
|
440
|
+
result = api_instance.update(ansible_ansible_repository_href, ansible_ansible_repository)
|
462
441
|
p result
|
463
442
|
rescue PulpAnsibleClient::ApiError => e
|
464
443
|
puts "Exception when calling RepositoriesAnsibleApi->update: #{e}"
|
@@ -472,9 +451,6 @@ Name | Type | Description | Notes
|
|
472
451
|
------------- | ------------- | ------------- | -------------
|
473
452
|
**ansible_ansible_repository_href** | **String**| |
|
474
453
|
**ansible_ansible_repository** | [**AnsibleAnsibleRepository**](AnsibleAnsibleRepository.md)| |
|
475
|
-
**name** | **String**| name | [optional]
|
476
|
-
**name__in** | **String**| name__in | [optional]
|
477
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
478
454
|
|
479
455
|
### Return type
|
480
456
|
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
13
13
|
|
14
14
|
## delete
|
15
15
|
|
16
|
-
> AsyncOperationResponse delete(ansible_ansible_repository_version_href
|
16
|
+
> AsyncOperationResponse delete(ansible_ansible_repository_version_href)
|
17
17
|
|
18
18
|
Delete a repository version
|
19
19
|
|
@@ -33,27 +33,10 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
35
35
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
36
|
-
opts = {
|
37
|
-
content: 'content_example', # String | content
|
38
|
-
content__in: 'content__in_example', # String | content__in
|
39
|
-
number: 'number_example', # String | number
|
40
|
-
number__gt: 'number__gt_example', # String | number__gt
|
41
|
-
number__gte: 'number__gte_example', # String | number__gte
|
42
|
-
number__lt: 'number__lt_example', # String | number__lt
|
43
|
-
number__lte: 'number__lte_example', # String | number__lte
|
44
|
-
number__range: 'number__range_example', # String | number__range
|
45
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
46
|
-
pulp_created: 'pulp_created_example', # String | pulp_created
|
47
|
-
pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
|
48
|
-
pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
|
49
|
-
pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
|
50
|
-
pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
|
51
|
-
pulp_created__range: 'pulp_created__range_example' # String | pulp_created__range
|
52
|
-
}
|
53
36
|
|
54
37
|
begin
|
55
38
|
#Delete a repository version
|
56
|
-
result = api_instance.delete(ansible_ansible_repository_version_href
|
39
|
+
result = api_instance.delete(ansible_ansible_repository_version_href)
|
57
40
|
p result
|
58
41
|
rescue PulpAnsibleClient::ApiError => e
|
59
42
|
puts "Exception when calling RepositoriesAnsibleVersionsApi->delete: #{e}"
|
@@ -66,21 +49,6 @@ end
|
|
66
49
|
Name | Type | Description | Notes
|
67
50
|
------------- | ------------- | ------------- | -------------
|
68
51
|
**ansible_ansible_repository_version_href** | **String**| |
|
69
|
-
**content** | **String**| content | [optional]
|
70
|
-
**content__in** | **String**| content__in | [optional]
|
71
|
-
**number** | **String**| number | [optional]
|
72
|
-
**number__gt** | **String**| number__gt | [optional]
|
73
|
-
**number__gte** | **String**| number__gte | [optional]
|
74
|
-
**number__lt** | **String**| number__lt | [optional]
|
75
|
-
**number__lte** | **String**| number__lte | [optional]
|
76
|
-
**number__range** | **String**| number__range | [optional]
|
77
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
78
|
-
**pulp_created** | **String**| pulp_created | [optional]
|
79
|
-
**pulp_created__gt** | **String**| pulp_created__gt | [optional]
|
80
|
-
**pulp_created__gte** | **String**| pulp_created__gte | [optional]
|
81
|
-
**pulp_created__lt** | **String**| pulp_created__lt | [optional]
|
82
|
-
**pulp_created__lte** | **String**| pulp_created__lte | [optional]
|
83
|
-
**pulp_created__range** | **String**| pulp_created__range | [optional]
|
84
52
|
|
85
53
|
### Return type
|
86
54
|
|
data/docs/VersionsApi.md
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
# PulpAnsibleClient::VersionsApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get**](VersionsApi.md#get) | **GET** {ansible_role_href}versions/ |
|
8
|
+
[**get_0**](VersionsApi.md#get_0) | **GET** {ansible_collection_version_href}versions/ |
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## get
|
13
|
+
|
14
|
+
> InlineResponse20010 get(ansible_role_href, opts)
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
APIView for Role Versions.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulp_ansible_client'
|
25
|
+
|
26
|
+
api_instance = PulpAnsibleClient::VersionsApi.new
|
27
|
+
ansible_role_href = 'ansible_role_href_example' # String |
|
28
|
+
opts = {
|
29
|
+
limit: 56, # Integer | Number of results to return per page.
|
30
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
31
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
32
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
33
|
+
}
|
34
|
+
|
35
|
+
begin
|
36
|
+
result = api_instance.get(ansible_role_href, opts)
|
37
|
+
p result
|
38
|
+
rescue PulpAnsibleClient::ApiError => e
|
39
|
+
puts "Exception when calling VersionsApi->get: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
### Parameters
|
44
|
+
|
45
|
+
|
46
|
+
Name | Type | Description | Notes
|
47
|
+
------------- | ------------- | ------------- | -------------
|
48
|
+
**ansible_role_href** | **String**| |
|
49
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
50
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
51
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
52
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
53
|
+
|
54
|
+
### Return type
|
55
|
+
|
56
|
+
[**InlineResponse20010**](InlineResponse20010.md)
|
57
|
+
|
58
|
+
### Authorization
|
59
|
+
|
60
|
+
No authorization required
|
61
|
+
|
62
|
+
### HTTP request headers
|
63
|
+
|
64
|
+
- **Content-Type**: Not defined
|
65
|
+
- **Accept**: application/json
|
66
|
+
|
67
|
+
|
68
|
+
## get_0
|
69
|
+
|
70
|
+
> InlineResponse20012 get_0(ansible_collection_version_href, opts)
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
APIView for Collections by namespace/name.
|
75
|
+
|
76
|
+
### Example
|
77
|
+
|
78
|
+
```ruby
|
79
|
+
# load the gem
|
80
|
+
require 'pulp_ansible_client'
|
81
|
+
|
82
|
+
api_instance = PulpAnsibleClient::VersionsApi.new
|
83
|
+
ansible_collection_version_href = 'ansible_collection_version_href_example' # String |
|
84
|
+
opts = {
|
85
|
+
page: 56, # Integer | A page number within the paginated result set.
|
86
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
87
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
88
|
+
}
|
89
|
+
|
90
|
+
begin
|
91
|
+
result = api_instance.get_0(ansible_collection_version_href, opts)
|
92
|
+
p result
|
93
|
+
rescue PulpAnsibleClient::ApiError => e
|
94
|
+
puts "Exception when calling VersionsApi->get_0: #{e}"
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
98
|
+
### Parameters
|
99
|
+
|
100
|
+
|
101
|
+
Name | Type | Description | Notes
|
102
|
+
------------- | ------------- | ------------- | -------------
|
103
|
+
**ansible_collection_version_href** | **String**| |
|
104
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
105
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
106
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
107
|
+
|
108
|
+
### Return type
|
109
|
+
|
110
|
+
[**InlineResponse20012**](InlineResponse20012.md)
|
111
|
+
|
112
|
+
### Authorization
|
113
|
+
|
114
|
+
No authorization required
|
115
|
+
|
116
|
+
### HTTP request headers
|
117
|
+
|
118
|
+
- **Content-Type**: Not defined
|
119
|
+
- **Accept**: application/json
|
120
|
+
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class ApiCollectionsApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
@@ -40,11 +40,11 @@ module PulpAnsibleClient
|
|
40
40
|
# @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 data, response status code and response headers
|
41
41
|
def get_with_http_info(ansible_collection_href, opts = {})
|
42
42
|
if @api_client.config.debugging
|
43
|
-
@api_client.config.logger.debug 'Calling API:
|
43
|
+
@api_client.config.logger.debug 'Calling API: ApiCollectionsApi.get ...'
|
44
44
|
end
|
45
45
|
# verify the required parameter 'ansible_collection_href' is set
|
46
46
|
if @api_client.config.client_side_validation && ansible_collection_href.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'ansible_collection_href' when calling
|
47
|
+
fail ArgumentError, "Missing the required parameter 'ansible_collection_href' when calling ApiCollectionsApi.get"
|
48
48
|
end
|
49
49
|
# resource path
|
50
50
|
local_var_path = '{ansible_collection_href}api/v2/collections/'.sub('{' + 'ansible_collection_href' + '}', CGI.escape(ansible_collection_href.to_s).gsub('%2F', '/'))
|
@@ -83,7 +83,7 @@ module PulpAnsibleClient
|
|
83
83
|
|
84
84
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
85
85
|
if @api_client.config.debugging
|
86
|
-
@api_client.config.logger.debug "API called:
|
86
|
+
@api_client.config.logger.debug "API called: ApiCollectionsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
87
87
|
end
|
88
88
|
return data, status_code, headers
|
89
89
|
end
|
@@ -105,15 +105,15 @@ module PulpAnsibleClient
|
|
105
105
|
# @return [Array<(GalaxyCollectionResponse, Integer, Hash)>] GalaxyCollectionResponse data, response status code and response headers
|
106
106
|
def post_with_http_info(ansible_collection_href, galaxy_collection, opts = {})
|
107
107
|
if @api_client.config.debugging
|
108
|
-
@api_client.config.logger.debug 'Calling API:
|
108
|
+
@api_client.config.logger.debug 'Calling API: ApiCollectionsApi.post ...'
|
109
109
|
end
|
110
110
|
# verify the required parameter 'ansible_collection_href' is set
|
111
111
|
if @api_client.config.client_side_validation && ansible_collection_href.nil?
|
112
|
-
fail ArgumentError, "Missing the required parameter 'ansible_collection_href' when calling
|
112
|
+
fail ArgumentError, "Missing the required parameter 'ansible_collection_href' when calling ApiCollectionsApi.post"
|
113
113
|
end
|
114
114
|
# verify the required parameter 'galaxy_collection' is set
|
115
115
|
if @api_client.config.client_side_validation && galaxy_collection.nil?
|
116
|
-
fail ArgumentError, "Missing the required parameter 'galaxy_collection' when calling
|
116
|
+
fail ArgumentError, "Missing the required parameter 'galaxy_collection' when calling ApiCollectionsApi.post"
|
117
117
|
end
|
118
118
|
# resource path
|
119
119
|
local_var_path = '{ansible_collection_href}api/v2/collections/'.sub('{' + 'ansible_collection_href' + '}', CGI.escape(ansible_collection_href.to_s).gsub('%2F', '/'))
|
@@ -151,7 +151,7 @@ module PulpAnsibleClient
|
|
151
151
|
|
152
152
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
153
153
|
if @api_client.config.debugging
|
154
|
-
@api_client.config.logger.debug "API called:
|
154
|
+
@api_client.config.logger.debug "API called: ApiCollectionsApi#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
155
155
|
end
|
156
156
|
return data, status_code, headers
|
157
157
|
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class ApiRolesApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
@@ -42,11 +42,11 @@ module PulpAnsibleClient
|
|
42
42
|
# @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
|
43
43
|
def get_with_http_info(ansible_role_href, opts = {})
|
44
44
|
if @api_client.config.debugging
|
45
|
-
@api_client.config.logger.debug 'Calling API:
|
45
|
+
@api_client.config.logger.debug 'Calling API: ApiRolesApi.get ...'
|
46
46
|
end
|
47
47
|
# verify the required parameter 'ansible_role_href' is set
|
48
48
|
if @api_client.config.client_side_validation && ansible_role_href.nil?
|
49
|
-
fail ArgumentError, "Missing the required parameter 'ansible_role_href' when calling
|
49
|
+
fail ArgumentError, "Missing the required parameter 'ansible_role_href' when calling ApiRolesApi.get"
|
50
50
|
end
|
51
51
|
# resource path
|
52
52
|
local_var_path = '{ansible_role_href}api/v1/roles/'.sub('{' + 'ansible_role_href' + '}', CGI.escape(ansible_role_href.to_s).gsub('%2F', '/'))
|
@@ -86,7 +86,7 @@ module PulpAnsibleClient
|
|
86
86
|
|
87
87
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
88
88
|
if @api_client.config.debugging
|
89
|
-
@api_client.config.logger.debug "API called:
|
89
|
+
@api_client.config.logger.debug "API called: ApiRolesApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
90
90
|
end
|
91
91
|
return data, status_code, headers
|
92
92
|
end
|