pulp_ansible_client 0.3.0 → 0.4.0
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 +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4871ac88726e25d7c733ffd0564f197307f9e517a07b32657b64be430e57c963
|
4
|
+
data.tar.gz: 3889ed7b836a56b880c7a25f12ec899200f5ca4c2f788a58d9b555307cad84d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d9592f6d4eee1ecb04dbab7296bc3e7d6736a383a81ce643a0960364a3f385018deae466d598fddde3be5bed2b39830f5aab1c420cf2ef3348831e23903705c
|
7
|
+
data.tar.gz: 2aa5601d04c13887fdb8edea7bf6b26f562a73b584c65e6b541ef8832d930d1abff5d379f1bcb6fed8953bd293be9fdcc5cba51ad48fa235f8a5042e2ab29a40
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.
|
10
|
+
- Package version: 0.4.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ansible_client-0.
|
27
|
+
gem install ./pulp_ansible_client-0.4.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.4.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_ansible_client', '~> 0.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.4.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -93,6 +93,9 @@ Class | Method | HTTP request | Description
|
|
93
93
|
------------ | ------------- | ------------- | -------------
|
94
94
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**list**](docs/AnsibleCollectionsApi.md#list) | **GET** /pulp/api/v3/ansible/collections/ | List collections
|
95
95
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**upload_collection**](docs/AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
|
96
|
+
*PulpAnsibleClient::ApiCollectionsApi* | [**get**](docs/ApiCollectionsApi.md#get) | **GET** {ansible_collection_href}api/v2/collections/ |
|
97
|
+
*PulpAnsibleClient::ApiCollectionsApi* | [**post**](docs/ApiCollectionsApi.md#post) | **POST** {ansible_collection_href}api/v2/collections/ |
|
98
|
+
*PulpAnsibleClient::ApiRolesApi* | [**get**](docs/ApiRolesApi.md#get) | **GET** {ansible_role_href}api/v1/roles/ |
|
96
99
|
*PulpAnsibleClient::CollectionImportApi* | [**read**](docs/CollectionImportApi.md#read) | **GET** {ansible_collection_import_href} | Inspect a collection import
|
97
100
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**create**](docs/ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
|
98
101
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**list**](docs/ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
|
@@ -106,7 +109,6 @@ Class | Method | HTTP request | Description
|
|
106
109
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**partial_update**](docs/DistributionsAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_distribution_href} | Update an ansible distribution
|
107
110
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**read**](docs/DistributionsAnsibleApi.md#read) | **GET** {ansible_ansible_distribution_href} | Inspect an ansible distribution
|
108
111
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_ansible_distribution_href} | Update an ansible distribution
|
109
|
-
*PulpAnsibleClient::GalaxyCollectionListApi* | [**get**](docs/GalaxyCollectionListApi.md#get) | **GET** {ansible_collection_version_href}versions/ |
|
110
112
|
*PulpAnsibleClient::GalaxyDetailApi* | [**get**](docs/GalaxyDetailApi.md#get) | **GET** {ansible_collection_href} |
|
111
113
|
*PulpAnsibleClient::PulpAnsibleApiApi* | [**get**](docs/PulpAnsibleApiApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/ |
|
112
114
|
*PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**list**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
|
@@ -143,10 +145,8 @@ Class | Method | HTTP request | Description
|
|
143
145
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**list**](docs/RepositoriesAnsibleVersionsApi.md#list) | **GET** {ansible_ansible_repository_href}versions/ | List repository versions
|
144
146
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**read**](docs/RepositoriesAnsibleVersionsApi.md#read) | **GET** {ansible_ansible_repository_version_href} | Inspect a repository version
|
145
147
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**repair**](docs/RepositoriesAnsibleVersionsApi.md#repair) | **POST** {ansible_ansible_repository_version_href}repair/ |
|
146
|
-
*PulpAnsibleClient::
|
147
|
-
*PulpAnsibleClient::
|
148
|
-
*PulpAnsibleClient::V2CollectionsApi* | [**get**](docs/V2CollectionsApi.md#get) | **GET** {ansible_collection_href}api/v2/collections/ |
|
149
|
-
*PulpAnsibleClient::V2CollectionsApi* | [**post**](docs/V2CollectionsApi.md#post) | **POST** {ansible_collection_href}api/v2/collections/ |
|
148
|
+
*PulpAnsibleClient::VersionsApi* | [**get**](docs/VersionsApi.md#get) | **GET** {ansible_role_href}versions/ |
|
149
|
+
*PulpAnsibleClient::VersionsApi* | [**get_0**](docs/VersionsApi.md#get_0) | **GET** {ansible_collection_version_href}versions/ |
|
150
150
|
|
151
151
|
|
152
152
|
## Documentation for Models
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
14
|
-
**client_url** | **
|
14
|
+
**client_url** | **String** | The URL of a Collection content source. | [optional] [readonly]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
7
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
9
|
**artifact** | **String** | Artifact file representing the physical content |
|
9
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
10
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
11
11
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
12
12
|
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
@@ -36,9 +36,9 @@ Name | Type | Description | Notes
|
|
36
36
|
```ruby
|
37
37
|
require 'PulpAnsibleClient'
|
38
38
|
|
39
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
39
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_created: null,
|
40
|
+
pulp_href: null,
|
40
41
|
artifact: null,
|
41
|
-
pulp_created: null,
|
42
42
|
md5: null,
|
43
43
|
sha1: null,
|
44
44
|
sha224: null,
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
7
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
9
|
**artifact** | **String** | Artifact file representing the physical content |
|
9
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_created: null,
|
20
|
+
pulp_href: null,
|
20
21
|
artifact: null,
|
21
|
-
pulp_created: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
@@ -1,11 +1,11 @@
|
|
1
|
-
# PulpAnsibleClient::
|
1
|
+
# PulpAnsibleClient::ApiCollectionsApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get**](
|
8
|
-
[**post**](
|
7
|
+
[**get**](ApiCollectionsApi.md#get) | **GET** {ansible_collection_href}api/v2/collections/ |
|
8
|
+
[**post**](ApiCollectionsApi.md#post) | **POST** {ansible_collection_href}api/v2/collections/ |
|
9
9
|
|
10
10
|
|
11
11
|
|
@@ -23,7 +23,7 @@ View for Collection models.
|
|
23
23
|
# load the gem
|
24
24
|
require 'pulp_ansible_client'
|
25
25
|
|
26
|
-
api_instance = PulpAnsibleClient::
|
26
|
+
api_instance = PulpAnsibleClient::ApiCollectionsApi.new
|
27
27
|
ansible_collection_href = 'ansible_collection_href_example' # String |
|
28
28
|
opts = {
|
29
29
|
page: 56, # Integer | A page number within the paginated result set.
|
@@ -35,7 +35,7 @@ begin
|
|
35
35
|
result = api_instance.get(ansible_collection_href, opts)
|
36
36
|
p result
|
37
37
|
rescue PulpAnsibleClient::ApiError => e
|
38
|
-
puts "Exception when calling
|
38
|
+
puts "Exception when calling ApiCollectionsApi->get: #{e}"
|
39
39
|
end
|
40
40
|
```
|
41
41
|
|
@@ -77,7 +77,7 @@ Queues a task that creates a new Collection from an uploaded artifact.
|
|
77
77
|
# load the gem
|
78
78
|
require 'pulp_ansible_client'
|
79
79
|
|
80
|
-
api_instance = PulpAnsibleClient::
|
80
|
+
api_instance = PulpAnsibleClient::ApiCollectionsApi.new
|
81
81
|
ansible_collection_href = 'ansible_collection_href_example' # String |
|
82
82
|
galaxy_collection = PulpAnsibleClient::GalaxyCollection.new # GalaxyCollection |
|
83
83
|
|
@@ -85,7 +85,7 @@ begin
|
|
85
85
|
result = api_instance.post(ansible_collection_href, galaxy_collection)
|
86
86
|
p result
|
87
87
|
rescue PulpAnsibleClient::ApiError => e
|
88
|
-
puts "Exception when calling
|
88
|
+
puts "Exception when calling ApiCollectionsApi->post: #{e}"
|
89
89
|
end
|
90
90
|
```
|
91
91
|
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# PulpAnsibleClient::
|
1
|
+
# PulpAnsibleClient::ApiRolesApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get**](
|
7
|
+
[**get**](ApiRolesApi.md#get) | **GET** {ansible_role_href}api/v1/roles/ |
|
8
8
|
|
9
9
|
|
10
10
|
|
@@ -22,7 +22,7 @@ APIView for Roles.
|
|
22
22
|
# load the gem
|
23
23
|
require 'pulp_ansible_client'
|
24
24
|
|
25
|
-
api_instance = PulpAnsibleClient::
|
25
|
+
api_instance = PulpAnsibleClient::ApiRolesApi.new
|
26
26
|
ansible_role_href = 'ansible_role_href_example' # String |
|
27
27
|
opts = {
|
28
28
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -35,7 +35,7 @@ begin
|
|
35
35
|
result = api_instance.get(ansible_role_href, opts)
|
36
36
|
p result
|
37
37
|
rescue PulpAnsibleClient::ApiError => e
|
38
|
-
puts "Exception when calling
|
38
|
+
puts "Exception when calling ApiRolesApi->get: #{e}"
|
39
39
|
end
|
40
40
|
```
|
41
41
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**id** | **String** | |
|
8
8
|
**name** | **String** | |
|
9
|
-
**href** | **
|
9
|
+
**href** | **String** | | [optional] [readonly]
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
data/docs/CollectionResponse.md
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**href** | **
|
7
|
+
**href** | **String** | | [optional] [readonly]
|
8
8
|
**created_at** | **DateTime** | |
|
9
9
|
**updated_at** | **DateTime** | |
|
10
10
|
**namespace** | **String** | | [optional] [readonly]
|
11
11
|
**name** | **String** | | [optional] [readonly]
|
12
12
|
**deprecated** | **Boolean** | |
|
13
|
-
**versions_url** | **
|
14
|
-
**highest_version** | **Object** | | [optional] [readonly]
|
13
|
+
**versions_url** | **String** | | [optional] [readonly]
|
14
|
+
**highest_version** | [**Object**](.md) | | [optional] [readonly]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
@@ -6,12 +6,12 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**version** | **String** | | [optional] [readonly]
|
8
8
|
**certification** | [**CertificationEnum**](CertificationEnum.md) | | [optional]
|
9
|
-
**href** | **
|
9
|
+
**href** | **String** | | [optional] [readonly]
|
10
10
|
**created_at** | **DateTime** | |
|
11
11
|
**updated_at** | **DateTime** | |
|
12
|
-
**artifact** | **
|
12
|
+
**artifact** | **String** | | [optional] [readonly]
|
13
13
|
**collection** | [**CollectionRefResponse**](CollectionRefResponse.md) | | [optional] [readonly]
|
14
|
-
**download_url** | **
|
14
|
+
**download_url** | **String** | | [optional] [readonly]
|
15
15
|
**name** | **String** | | [optional] [readonly]
|
16
16
|
**namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
|
17
17
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
|
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse delete(ansible_ansible_distribution_href
|
71
|
+
> AsyncOperationResponse delete(ansible_ansible_distribution_href)
|
72
72
|
|
73
73
|
Delete an ansible distribution
|
74
74
|
|
@@ -88,19 +88,10 @@ end
|
|
88
88
|
|
89
89
|
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
90
90
|
ansible_ansible_distribution_href = 'ansible_ansible_distribution_href_example' # String |
|
91
|
-
opts = {
|
92
|
-
base_path: 'base_path_example', # String | base_path
|
93
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
94
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
95
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
96
|
-
name: 'name_example', # String | name
|
97
|
-
name__in: 'name__in_example', # String | name__in
|
98
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
99
|
-
}
|
100
91
|
|
101
92
|
begin
|
102
93
|
#Delete an ansible distribution
|
103
|
-
result = api_instance.delete(ansible_ansible_distribution_href
|
94
|
+
result = api_instance.delete(ansible_ansible_distribution_href)
|
104
95
|
p result
|
105
96
|
rescue PulpAnsibleClient::ApiError => e
|
106
97
|
puts "Exception when calling DistributionsAnsibleApi->delete: #{e}"
|
@@ -113,13 +104,6 @@ end
|
|
113
104
|
Name | Type | Description | Notes
|
114
105
|
------------- | ------------- | ------------- | -------------
|
115
106
|
**ansible_ansible_distribution_href** | **String**| |
|
116
|
-
**base_path** | **String**| base_path | [optional]
|
117
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
118
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
119
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
120
|
-
**name** | **String**| name | [optional]
|
121
|
-
**name__in** | **String**| name__in | [optional]
|
122
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
123
107
|
|
124
108
|
### Return type
|
125
109
|
|
@@ -212,7 +196,7 @@ Name | Type | Description | Notes
|
|
212
196
|
|
213
197
|
## partial_update
|
214
198
|
|
215
|
-
> AsyncOperationResponse partial_update(ansible_ansible_distribution_href, patchedansible_ansible_distribution
|
199
|
+
> AsyncOperationResponse partial_update(ansible_ansible_distribution_href, patchedansible_ansible_distribution)
|
216
200
|
|
217
201
|
Update an ansible distribution
|
218
202
|
|
@@ -233,19 +217,10 @@ end
|
|
233
217
|
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
234
218
|
ansible_ansible_distribution_href = 'ansible_ansible_distribution_href_example' # String |
|
235
219
|
patchedansible_ansible_distribution = PulpAnsibleClient::PatchedansibleAnsibleDistribution.new # PatchedansibleAnsibleDistribution |
|
236
|
-
opts = {
|
237
|
-
base_path: 'base_path_example', # String | base_path
|
238
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
239
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
240
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
241
|
-
name: 'name_example', # String | name
|
242
|
-
name__in: 'name__in_example', # String | name__in
|
243
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
244
|
-
}
|
245
220
|
|
246
221
|
begin
|
247
222
|
#Update an ansible distribution
|
248
|
-
result = api_instance.partial_update(ansible_ansible_distribution_href, patchedansible_ansible_distribution
|
223
|
+
result = api_instance.partial_update(ansible_ansible_distribution_href, patchedansible_ansible_distribution)
|
249
224
|
p result
|
250
225
|
rescue PulpAnsibleClient::ApiError => e
|
251
226
|
puts "Exception when calling DistributionsAnsibleApi->partial_update: #{e}"
|
@@ -259,13 +234,6 @@ Name | Type | Description | Notes
|
|
259
234
|
------------- | ------------- | ------------- | -------------
|
260
235
|
**ansible_ansible_distribution_href** | **String**| |
|
261
236
|
**patchedansible_ansible_distribution** | [**PatchedansibleAnsibleDistribution**](PatchedansibleAnsibleDistribution.md)| |
|
262
|
-
**base_path** | **String**| base_path | [optional]
|
263
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
264
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
265
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
266
|
-
**name** | **String**| name | [optional]
|
267
|
-
**name__in** | **String**| name__in | [optional]
|
268
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
269
237
|
|
270
238
|
### Return type
|
271
239
|
|
@@ -342,7 +310,7 @@ Name | Type | Description | Notes
|
|
342
310
|
|
343
311
|
## update
|
344
312
|
|
345
|
-
> AsyncOperationResponse update(ansible_ansible_distribution_href, ansible_ansible_distribution
|
313
|
+
> AsyncOperationResponse update(ansible_ansible_distribution_href, ansible_ansible_distribution)
|
346
314
|
|
347
315
|
Update an ansible distribution
|
348
316
|
|
@@ -363,19 +331,10 @@ end
|
|
363
331
|
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
364
332
|
ansible_ansible_distribution_href = 'ansible_ansible_distribution_href_example' # String |
|
365
333
|
ansible_ansible_distribution = PulpAnsibleClient::AnsibleAnsibleDistribution.new # AnsibleAnsibleDistribution |
|
366
|
-
opts = {
|
367
|
-
base_path: 'base_path_example', # String | base_path
|
368
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
369
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
370
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
371
|
-
name: 'name_example', # String | name
|
372
|
-
name__in: 'name__in_example', # String | name__in
|
373
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
374
|
-
}
|
375
334
|
|
376
335
|
begin
|
377
336
|
#Update an ansible distribution
|
378
|
-
result = api_instance.update(ansible_ansible_distribution_href, ansible_ansible_distribution
|
337
|
+
result = api_instance.update(ansible_ansible_distribution_href, ansible_ansible_distribution)
|
379
338
|
p result
|
380
339
|
rescue PulpAnsibleClient::ApiError => e
|
381
340
|
puts "Exception when calling DistributionsAnsibleApi->update: #{e}"
|
@@ -389,13 +348,6 @@ Name | Type | Description | Notes
|
|
389
348
|
------------- | ------------- | ------------- | -------------
|
390
349
|
**ansible_ansible_distribution_href** | **String**| |
|
391
350
|
**ansible_ansible_distribution** | [**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)| |
|
392
|
-
**base_path** | **String**| base_path | [optional]
|
393
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
394
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
395
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
396
|
-
**name** | **String**| name | [optional]
|
397
|
-
**name__in** | **String**| name__in | [optional]
|
398
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
399
351
|
|
400
352
|
### Return type
|
401
353
|
|
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | |
|
8
8
|
**namespace** | **String** | |
|
9
|
-
**href** | **
|
10
|
-
**versions_url** | **
|
9
|
+
**href** | **String** | | [optional] [readonly]
|
10
|
+
**versions_url** | **String** | | [optional] [readonly]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**version** | **String** | |
|
8
|
-
**href** | **
|
9
|
-
**namespace** | **
|
10
|
-
**collection** | **
|
11
|
-
**artifact** | **
|
8
|
+
**href** | **String** | | [optional] [readonly]
|
9
|
+
**namespace** | **String** | | [optional] [readonly]
|
10
|
+
**collection** | **String** | | [optional] [readonly]
|
11
|
+
**artifact** | **String** | | [optional] [readonly]
|
12
12
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | |
|
13
13
|
|
14
14
|
## Code Sample
|
data/docs/GalaxyRoleResponse.md
CHANGED
data/docs/InlineResponse20013.md
CHANGED
@@ -4,20 +4,18 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**
|
10
|
-
**results** | [**Array<CollectionResponse>**](CollectionResponse.md) | | [optional]
|
7
|
+
**meta** | **Object** | | [optional]
|
8
|
+
**links** | **Object** | | [optional]
|
9
|
+
**data** | [**Array<CollectionResponse>**](CollectionResponse.md) | | [optional]
|
11
10
|
|
12
11
|
## Code Sample
|
13
12
|
|
14
13
|
```ruby
|
15
14
|
require 'PulpAnsibleClient'
|
16
15
|
|
17
|
-
instance = PulpAnsibleClient::InlineResponse20013.new(
|
18
|
-
|
19
|
-
|
20
|
-
results: null)
|
16
|
+
instance = PulpAnsibleClient::InlineResponse20013.new(meta: null,
|
17
|
+
links: null,
|
18
|
+
data: null)
|
21
19
|
```
|
22
20
|
|
23
21
|
|
data/docs/InlineResponse20014.md
CHANGED
@@ -4,20 +4,18 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**
|
10
|
-
**results** | [**Array<CollectionVersionResponse>**](CollectionVersionResponse.md) | | [optional]
|
7
|
+
**meta** | **Object** | | [optional]
|
8
|
+
**links** | **Object** | | [optional]
|
9
|
+
**data** | [**Array<CollectionVersionResponse>**](CollectionVersionResponse.md) | | [optional]
|
11
10
|
|
12
11
|
## Code Sample
|
13
12
|
|
14
13
|
```ruby
|
15
14
|
require 'PulpAnsibleClient'
|
16
15
|
|
17
|
-
instance = PulpAnsibleClient::InlineResponse20014.new(
|
18
|
-
|
19
|
-
|
20
|
-
results: null)
|
16
|
+
instance = PulpAnsibleClient::InlineResponse20014.new(meta: null,
|
17
|
+
links: null,
|
18
|
+
data: null)
|
21
19
|
```
|
22
20
|
|
23
21
|
|
@@ -111,17 +111,6 @@ namespace = 'namespace_example' # String |
|
|
111
111
|
path = 'path_example' # String |
|
112
112
|
version = 'version_example' # String |
|
113
113
|
opts = {
|
114
|
-
certification: 'certification_example', # String | certification
|
115
|
-
deprecated: 'deprecated_example', # String | deprecated
|
116
|
-
is_highest: 'is_highest_example', # String | is_highest
|
117
|
-
name2: 'name_example', # String | name
|
118
|
-
namespace2: 'namespace_example', # String | namespace
|
119
|
-
q: 'q_example', # String | q
|
120
|
-
repository_version: 'repository_version_example', # String | repository_version
|
121
|
-
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
122
|
-
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
123
|
-
tags: 'tags_example', # String | tags
|
124
|
-
version2: 'version_example', # String | version
|
125
114
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
126
115
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
127
116
|
}
|
@@ -143,17 +132,6 @@ Name | Type | Description | Notes
|
|
143
132
|
**namespace** | **String**| |
|
144
133
|
**path** | **String**| |
|
145
134
|
**version** | **String**| |
|
146
|
-
**certification** | **String**| certification | [optional]
|
147
|
-
**deprecated** | **String**| deprecated | [optional]
|
148
|
-
**is_highest** | **String**| is_highest | [optional]
|
149
|
-
**name2** | **String**| name | [optional]
|
150
|
-
**namespace2** | **String**| namespace | [optional]
|
151
|
-
**q** | **String**| q | [optional]
|
152
|
-
**repository_version** | **String**| repository_version | [optional]
|
153
|
-
**repository_version_added** | **String**| repository_version_added | [optional]
|
154
|
-
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
155
|
-
**tags** | **String**| tags | [optional]
|
156
|
-
**version2** | **String**| version | [optional]
|
157
135
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
158
136
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
159
137
|
|