pulp_ansible_client 0.7.3 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +1 -1
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +1 -1
- data/lib/pulp_ansible_client/api/api_collections_api.rb +1 -1
- data/lib/pulp_ansible_client/api/api_roles_api.rb +1 -1
- data/lib/pulp_ansible_client/api/collection_import_api.rb +1 -1
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/content_roles_api.rb +1 -1
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +1 -1
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_v3_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +1 -1
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +1 -1
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +1 -1
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +1 -1
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api_client.rb +13 -12
- data/lib/pulp_ansible_client/api_error.rb +1 -1
- data/lib/pulp_ansible_client/configuration.rb +9 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_tag_response.rb +1 -1
- data/lib/pulp_ansible_client/models/artifact_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_one_shot.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
- data/lib/pulp_ansible_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +1 -1
- 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/paginated_collection_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_meta.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_collection_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/policy_enum.rb +1 -1
- data/lib/pulp_ansible_client/models/repo_metadata_response.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_ansible_client/models/repository_version.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/lib/pulp_ansible_client.rb +1 -1
- data/pulp_ansible_client.gemspec +2 -2
- data/spec/api/ansible_collections_api_spec.rb +1 -1
- data/spec/api/ansible_copy_api_spec.rb +1 -1
- data/spec/api/api_collections_api_spec.rb +1 -1
- data/spec/api/api_roles_api_spec.rb +1 -1
- data/spec/api/collection_import_api_spec.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/api/content_roles_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -1
- data/spec/api/galaxy_detail_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_v3_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_tags_api_spec.rb +1 -1
- data/spec/api/remotes_collection_api_spec.rb +1 -1
- data/spec/api/remotes_role_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- data/spec/api/versions_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/ansible_ansible_distribution_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_spec.rb +1 -1
- data/spec/models/ansible_collection_response_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +1 -1
- data/spec/models/ansible_repository_sync_url_spec.rb +1 -1
- data/spec/models/ansible_role_remote_response_spec.rb +1 -1
- data/spec/models/ansible_role_remote_spec.rb +1 -1
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +1 -1
- data/spec/models/ansible_tag_response_spec.rb +1 -1
- data/spec/models/artifact_ref_response_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/collection_import_detail_response_spec.rb +1 -1
- data/spec/models/collection_metadata_response_spec.rb +1 -1
- data/spec/models/collection_namespace_response_spec.rb +1 -1
- data/spec/models/collection_one_shot_spec.rb +1 -1
- data/spec/models/collection_ref_response_spec.rb +1 -1
- data/spec/models/collection_response_spec.rb +1 -1
- data/spec/models/collection_version_docs_response_spec.rb +1 -1
- data/spec/models/collection_version_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/copy_spec.rb +1 -1
- data/spec/models/galaxy_collection_response_spec.rb +1 -1
- data/spec/models/galaxy_collection_spec.rb +1 -1
- data/spec/models/galaxy_collection_version_response_spec.rb +1 -1
- data/spec/models/galaxy_role_response_spec.rb +1 -1
- data/spec/models/galaxy_role_version_response_spec.rb +1 -1
- data/spec/models/paginated_collection_response_list_links_spec.rb +1 -1
- data/spec/models/paginated_collection_response_list_meta_spec.rb +1 -1
- data/spec/models/paginated_collection_response_list_spec.rb +1 -1
- data/spec/models/paginated_collection_version_response_list_spec.rb +1 -1
- data/spec/models/paginated_galaxy_collection_response_list_spec.rb +1 -1
- data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +1 -1
- data/spec/models/paginated_galaxy_role_response_list_spec.rb +1 -1
- data/spec/models/paginated_galaxy_role_version_response_list_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginated_tag_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_ansible_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_ansible_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_collection_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_collection_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_collection_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_role_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_role_response_list_spec.rb +1 -1
- data/spec/models/patchedansible_ansible_distribution_spec.rb +1 -1
- data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
- data/spec/models/patchedansible_collection_remote_spec.rb +1 -1
- data/spec/models/patchedansible_role_remote_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repo_metadata_response_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_response_spec.rb +1 -1
- data/spec/models/unpaginated_collection_version_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +77 -71
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0d0e53720d1b271d282ed9b3c4462fdb43aca4f0b478dde88c83f40bbe981ac
|
4
|
+
data.tar.gz: 497f17fcbb7a33b47353ae32e3661a4acef7cdd5d92f0225f3ecab6a4a909bed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f4e95fa41ffd741bbc98a2b62e9b4c3cff3763beb99e59a056b1693e72efcc5778f41709d1512c00acec3e44a0a94a201e516a8db84da3a35675426d10423a2
|
7
|
+
data.tar.gz: dd22d0c4039ca94a94249f0c0cafc028ebc2ab19bd1b0f6fdf31e05cc8c386a6abab140b537ea4618de29215290258b118d3f361205228d07fed3c4c8ce60dcc
|
data/Gemfile
CHANGED
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.7.
|
10
|
+
- Package version: 0.7.6
|
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.7.
|
27
|
+
gem install ./pulp_ansible_client-0.7.6.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.7.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.7.6.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.7.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.7.6'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
8
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
9
9
|
**pulp_href** | **String** | | [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]
|
@@ -37,8 +37,8 @@ Name | Type | Description | Notes
|
|
37
37
|
```ruby
|
38
38
|
require 'PulpAnsibleClient'
|
39
39
|
|
40
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
41
|
-
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_created: null,
|
41
|
+
artifact: null,
|
42
42
|
pulp_href: null,
|
43
43
|
md5: null,
|
44
44
|
sha1: null,
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
8
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
9
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
20
|
-
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_created: null,
|
20
|
+
artifact: null,
|
21
21
|
pulp_href: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**add_content_units** | **Array<
|
8
|
-
**remove_content_units** | **Array<
|
7
|
+
**add_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
|
8
|
+
**remove_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
|
9
9
|
**base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,8 +53,10 @@ module PulpAnsibleClient
|
|
53
53
|
:client_cert => @config.ssl_client_cert,
|
54
54
|
:client_key => @config.ssl_client_key
|
55
55
|
}
|
56
|
-
|
57
|
-
|
56
|
+
request_options = {
|
57
|
+
:params_encoder => @config.params_encoder
|
58
|
+
}
|
59
|
+
connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
|
58
60
|
conn.basic_auth(config.username, config.password)
|
59
61
|
if opts[:header_params]["Content-Type"] == "multipart/form-data"
|
60
62
|
conn.request :multipart
|
@@ -116,9 +118,6 @@ module PulpAnsibleClient
|
|
116
118
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
117
119
|
|
118
120
|
req_opts = {
|
119
|
-
:method => http_method,
|
120
|
-
:headers => header_params,
|
121
|
-
:params => query_params,
|
122
121
|
:params_encoding => @config.params_encoding,
|
123
122
|
:timeout => @config.timeout,
|
124
123
|
:verbose => @config.debugging
|
@@ -126,13 +125,13 @@ module PulpAnsibleClient
|
|
126
125
|
|
127
126
|
if [:post, :patch, :put, :delete].include?(http_method)
|
128
127
|
req_body = build_request_body(header_params, form_params, opts[:body])
|
129
|
-
req_opts.update :body => req_body
|
130
128
|
if @config.debugging
|
131
129
|
@config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
|
132
130
|
end
|
133
131
|
end
|
134
132
|
request.headers = header_params
|
135
133
|
request.body = req_body
|
134
|
+
request.options = OpenStruct.new(req_opts)
|
136
135
|
request.url url
|
137
136
|
request.params = query_params
|
138
137
|
download_file(request) if opts[:return_type] == 'File'
|
@@ -285,11 +284,13 @@ module PulpAnsibleClient
|
|
285
284
|
tempfile.write(chunk)
|
286
285
|
end
|
287
286
|
request.on_complete do |response|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
287
|
+
if tempfile
|
288
|
+
tempfile.close
|
289
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
290
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
291
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
292
|
+
"explicitly with `tempfile.delete`"
|
293
|
+
end
|
293
294
|
end
|
294
295
|
end
|
295
296
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -109,6 +109,12 @@ module PulpAnsibleClient
|
|
109
109
|
# Client private key file (for client certificate)
|
110
110
|
attr_accessor :ssl_client_key
|
111
111
|
|
112
|
+
# Set this to customize parameters encoder of array parameter.
|
113
|
+
# Default to nil. Faraday uses NestedParamsEncoder when nil.
|
114
|
+
#
|
115
|
+
# @see The params_encoder option of Faraday. Related source code:
|
116
|
+
# https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
|
117
|
+
attr_accessor :params_encoder
|
112
118
|
# Set this to customize parameters encoding of array parameter with multi collectionFormat.
|
113
119
|
# Default to nil.
|
114
120
|
#
|
@@ -133,6 +139,8 @@ module PulpAnsibleClient
|
|
133
139
|
@ssl_ca_file = nil
|
134
140
|
@ssl_client_cert = nil
|
135
141
|
@ssl_client_key = nil
|
142
|
+
@params_encoder = nil
|
143
|
+
@timeout = 60
|
136
144
|
@debugging = false
|
137
145
|
@inject_format = false
|
138
146
|
@force_ending_format = false
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
# Artifact file representing the physical content
|
19
|
-
attr_accessor :artifact
|
20
|
-
|
21
18
|
# Timestamp of creation.
|
22
19
|
attr_accessor :pulp_created
|
23
20
|
|
21
|
+
# Artifact file representing the physical content
|
22
|
+
attr_accessor :artifact
|
23
|
+
|
24
24
|
attr_accessor :pulp_href
|
25
25
|
|
26
26
|
# The MD5 checksum if available.
|
@@ -97,8 +97,8 @@ module PulpAnsibleClient
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
|
-
:'artifact' => :'artifact',
|
101
100
|
:'pulp_created' => :'pulp_created',
|
101
|
+
:'artifact' => :'artifact',
|
102
102
|
:'pulp_href' => :'pulp_href',
|
103
103
|
:'md5' => :'md5',
|
104
104
|
:'sha1' => :'sha1',
|
@@ -130,8 +130,8 @@ module PulpAnsibleClient
|
|
130
130
|
# Attribute type mapping.
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
|
-
:'artifact' => :'String',
|
134
133
|
:'pulp_created' => :'DateTime',
|
134
|
+
:'artifact' => :'String',
|
135
135
|
:'pulp_href' => :'String',
|
136
136
|
:'md5' => :'String',
|
137
137
|
:'sha1' => :'String',
|
@@ -182,14 +182,14 @@ module PulpAnsibleClient
|
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
184
184
|
|
185
|
-
if attributes.key?(:'artifact')
|
186
|
-
self.artifact = attributes[:'artifact']
|
187
|
-
end
|
188
|
-
|
189
185
|
if attributes.key?(:'pulp_created')
|
190
186
|
self.pulp_created = attributes[:'pulp_created']
|
191
187
|
end
|
192
188
|
|
189
|
+
if attributes.key?(:'artifact')
|
190
|
+
self.artifact = attributes[:'artifact']
|
191
|
+
end
|
192
|
+
|
193
193
|
if attributes.key?(:'pulp_href')
|
194
194
|
self.pulp_href = attributes[:'pulp_href']
|
195
195
|
end
|
@@ -550,8 +550,8 @@ module PulpAnsibleClient
|
|
550
550
|
def ==(o)
|
551
551
|
return true if self.equal?(o)
|
552
552
|
self.class == o.class &&
|
553
|
-
artifact == o.artifact &&
|
554
553
|
pulp_created == o.pulp_created &&
|
554
|
+
artifact == o.artifact &&
|
555
555
|
pulp_href == o.pulp_href &&
|
556
556
|
md5 == o.md5 &&
|
557
557
|
sha1 == o.sha1 &&
|
@@ -588,7 +588,7 @@ module PulpAnsibleClient
|
|
588
588
|
# Calculates hash code according to all attributes.
|
589
589
|
# @return [Integer] Hash code
|
590
590
|
def hash
|
591
|
-
[
|
591
|
+
[pulp_created, artifact, pulp_href, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
|
592
592
|
end
|
593
593
|
|
594
594
|
# Builds the object from hash
|