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.
Files changed (184) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +4 -4
  4. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  5. data/docs/AnsibleRoleResponse.md +3 -3
  6. data/docs/RepositoryAddRemoveContent.md +2 -2
  7. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +1 -1
  8. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +1 -1
  9. data/lib/pulp_ansible_client/api/api_collections_api.rb +1 -1
  10. data/lib/pulp_ansible_client/api/api_roles_api.rb +1 -1
  11. data/lib/pulp_ansible_client/api/collection_import_api.rb +1 -1
  12. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +1 -1
  13. data/lib/pulp_ansible_client/api/content_roles_api.rb +1 -1
  14. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +1 -1
  15. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +1 -1
  16. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +1 -1
  17. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +1 -1
  18. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +1 -1
  19. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb +1 -1
  20. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
  21. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb +1 -1
  22. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +1 -1
  23. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_v3_api.rb +1 -1
  24. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +1 -1
  25. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +1 -1
  26. data/lib/pulp_ansible_client/api/remotes_role_api.rb +1 -1
  27. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +1 -1
  28. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
  29. data/lib/pulp_ansible_client/api/versions_api.rb +1 -1
  30. data/lib/pulp_ansible_client/api_client.rb +13 -12
  31. data/lib/pulp_ansible_client/api_error.rb +1 -1
  32. data/lib/pulp_ansible_client/configuration.rb +9 -1
  33. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
  34. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
  35. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  36. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
  37. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
  38. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
  39. data/lib/pulp_ansible_client/models/ansible_collection_response.rb +1 -1
  40. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -1
  41. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +12 -12
  42. data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
  43. data/lib/pulp_ansible_client/models/ansible_role.rb +1 -1
  44. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
  45. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
  46. data/lib/pulp_ansible_client/models/ansible_role_response.rb +12 -12
  47. data/lib/pulp_ansible_client/models/ansible_tag_response.rb +1 -1
  48. data/lib/pulp_ansible_client/models/artifact_ref_response.rb +1 -1
  49. data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
  50. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +1 -1
  51. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +1 -1
  52. data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -1
  53. data/lib/pulp_ansible_client/models/collection_one_shot.rb +1 -1
  54. data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
  55. data/lib/pulp_ansible_client/models/collection_response.rb +1 -1
  56. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  57. data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
  58. data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
  59. data/lib/pulp_ansible_client/models/content_summary_response.rb +1 -1
  60. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  61. data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
  62. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +1 -1
  63. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +1 -1
  64. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -1
  65. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -1
  66. data/lib/pulp_ansible_client/models/paginated_collection_response_list.rb +1 -1
  67. data/lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb +1 -1
  68. data/lib/pulp_ansible_client/models/paginated_collection_response_list_meta.rb +1 -1
  69. data/lib/pulp_ansible_client/models/paginated_collection_version_response_list.rb +1 -1
  70. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +1 -1
  71. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +1 -1
  72. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +1 -1
  73. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +1 -1
  74. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +1 -1
  75. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +1 -1
  76. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +1 -1
  77. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +1 -1
  78. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +1 -1
  79. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +1 -1
  80. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +1 -1
  81. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +1 -1
  82. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +1 -1
  83. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +1 -1
  84. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
  85. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
  86. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
  87. data/lib/pulp_ansible_client/models/policy_enum.rb +1 -1
  88. data/lib/pulp_ansible_client/models/repo_metadata_response.rb +1 -1
  89. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +3 -3
  90. data/lib/pulp_ansible_client/models/repository_version.rb +1 -1
  91. data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
  92. data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
  93. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +1 -1
  94. data/lib/pulp_ansible_client/version.rb +2 -2
  95. data/lib/pulp_ansible_client.rb +1 -1
  96. data/pulp_ansible_client.gemspec +2 -2
  97. data/spec/api/ansible_collections_api_spec.rb +1 -1
  98. data/spec/api/ansible_copy_api_spec.rb +1 -1
  99. data/spec/api/api_collections_api_spec.rb +1 -1
  100. data/spec/api/api_roles_api_spec.rb +1 -1
  101. data/spec/api/collection_import_api_spec.rb +1 -1
  102. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  103. data/spec/api/content_roles_api_spec.rb +1 -1
  104. data/spec/api/distributions_ansible_api_spec.rb +1 -1
  105. data/spec/api/galaxy_detail_api_spec.rb +1 -1
  106. data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
  107. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +1 -1
  108. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
  109. data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +1 -1
  110. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
  111. data/spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb +1 -1
  112. data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +1 -1
  113. data/spec/api/pulp_ansible_galaxy_v3_api_spec.rb +1 -1
  114. data/spec/api/pulp_ansible_tags_api_spec.rb +1 -1
  115. data/spec/api/remotes_collection_api_spec.rb +1 -1
  116. data/spec/api/remotes_role_api_spec.rb +1 -1
  117. data/spec/api/repositories_ansible_api_spec.rb +1 -1
  118. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
  119. data/spec/api/versions_api_spec.rb +1 -1
  120. data/spec/api_client_spec.rb +2 -2
  121. data/spec/configuration_spec.rb +1 -1
  122. data/spec/models/ansible_ansible_distribution_response_spec.rb +1 -1
  123. data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
  124. data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
  125. data/spec/models/ansible_ansible_repository_spec.rb +1 -1
  126. data/spec/models/ansible_collection_remote_response_spec.rb +1 -1
  127. data/spec/models/ansible_collection_remote_spec.rb +1 -1
  128. data/spec/models/ansible_collection_response_spec.rb +1 -1
  129. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  130. data/spec/models/ansible_collection_version_spec.rb +1 -1
  131. data/spec/models/ansible_repository_sync_url_spec.rb +1 -1
  132. data/spec/models/ansible_role_remote_response_spec.rb +1 -1
  133. data/spec/models/ansible_role_remote_spec.rb +1 -1
  134. data/spec/models/ansible_role_response_spec.rb +3 -3
  135. data/spec/models/ansible_role_spec.rb +1 -1
  136. data/spec/models/ansible_tag_response_spec.rb +1 -1
  137. data/spec/models/artifact_ref_response_spec.rb +1 -1
  138. data/spec/models/async_operation_response_spec.rb +1 -1
  139. data/spec/models/collection_import_detail_response_spec.rb +1 -1
  140. data/spec/models/collection_metadata_response_spec.rb +1 -1
  141. data/spec/models/collection_namespace_response_spec.rb +1 -1
  142. data/spec/models/collection_one_shot_spec.rb +1 -1
  143. data/spec/models/collection_ref_response_spec.rb +1 -1
  144. data/spec/models/collection_response_spec.rb +1 -1
  145. data/spec/models/collection_version_docs_response_spec.rb +1 -1
  146. data/spec/models/collection_version_response_spec.rb +1 -1
  147. data/spec/models/content_summary_response_spec.rb +1 -1
  148. data/spec/models/content_summary_spec.rb +1 -1
  149. data/spec/models/copy_spec.rb +1 -1
  150. data/spec/models/galaxy_collection_response_spec.rb +1 -1
  151. data/spec/models/galaxy_collection_spec.rb +1 -1
  152. data/spec/models/galaxy_collection_version_response_spec.rb +1 -1
  153. data/spec/models/galaxy_role_response_spec.rb +1 -1
  154. data/spec/models/galaxy_role_version_response_spec.rb +1 -1
  155. data/spec/models/paginated_collection_response_list_links_spec.rb +1 -1
  156. data/spec/models/paginated_collection_response_list_meta_spec.rb +1 -1
  157. data/spec/models/paginated_collection_response_list_spec.rb +1 -1
  158. data/spec/models/paginated_collection_version_response_list_spec.rb +1 -1
  159. data/spec/models/paginated_galaxy_collection_response_list_spec.rb +1 -1
  160. data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +1 -1
  161. data/spec/models/paginated_galaxy_role_response_list_spec.rb +1 -1
  162. data/spec/models/paginated_galaxy_role_version_response_list_spec.rb +1 -1
  163. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  164. data/spec/models/paginated_tag_response_list_spec.rb +1 -1
  165. data/spec/models/paginatedansible_ansible_distribution_response_list_spec.rb +1 -1
  166. data/spec/models/paginatedansible_ansible_repository_response_list_spec.rb +1 -1
  167. data/spec/models/paginatedansible_collection_remote_response_list_spec.rb +1 -1
  168. data/spec/models/paginatedansible_collection_response_list_spec.rb +1 -1
  169. data/spec/models/paginatedansible_collection_version_response_list_spec.rb +1 -1
  170. data/spec/models/paginatedansible_role_remote_response_list_spec.rb +1 -1
  171. data/spec/models/paginatedansible_role_response_list_spec.rb +1 -1
  172. data/spec/models/patchedansible_ansible_distribution_spec.rb +1 -1
  173. data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
  174. data/spec/models/patchedansible_collection_remote_spec.rb +1 -1
  175. data/spec/models/patchedansible_role_remote_spec.rb +1 -1
  176. data/spec/models/policy_enum_spec.rb +1 -1
  177. data/spec/models/repo_metadata_response_spec.rb +1 -1
  178. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  179. data/spec/models/repository_version_response_spec.rb +1 -1
  180. data/spec/models/repository_version_spec.rb +1 -1
  181. data/spec/models/tag_response_spec.rb +1 -1
  182. data/spec/models/unpaginated_collection_version_response_spec.rb +1 -1
  183. data/spec/spec_helper.rb +1 -1
  184. metadata +77 -71
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8455ddbe12f589be8c240f64dd2faa14a6cf3f52d0a61d2eed881f7b59a6ab7
4
- data.tar.gz: b06897147bd91724ed5c76e0bc9d5c6dd76a70a7bdd57176dca6de8e87d02b5e
3
+ metadata.gz: a0d0e53720d1b271d282ed9b3c4462fdb43aca4f0b478dde88c83f40bbe981ac
4
+ data.tar.gz: 497f17fcbb7a33b47353ae32e3661a4acef7cdd5d92f0225f3ecab6a4a909bed
5
5
  SHA512:
6
- metadata.gz: 63993086d0034005347d973b549d48f788e9d91095ad0a5ec769d8e9ef7e62d9518d089e18093d8f22b61981f33f0e1b3a6922bdcfa7ea8933779bb7914ca04f
7
- data.tar.gz: 8a6bfd648a8b9a582695ec0e18c9d196aa854bd5547b5e7481c3c4c7a566fecb5152a8bd38503cf0831fcf69ba89bab66e204f95fa5f8836586a39df1e5498c8
6
+ metadata.gz: 9f4e95fa41ffd741bbc98a2b62e9b4c3cff3763beb99e59a056b1693e72efcc5778f41709d1512c00acec3e44a0a94a201e516a8db84da3a35675426d10423a2
7
+ data.tar.gz: dd22d0c4039ca94a94249f0c0cafc028ebc2ab19bd1b0f6fdf31e05cc8c386a6abab140b537ea4618de29215290258b118d3f361205228d07fed3c4c8ce60dcc
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
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.3
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.3.gem
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.3.gem` to install the development dependencies)
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.3'
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(artifact: null,
41
- pulp_created: null,
40
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_created: null,
41
+ artifact: null,
42
42
  pulp_href: null,
43
43
  md5: null,
44
44
  sha1: null,
@@ -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(artifact: null,
20
- pulp_created: null,
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<Object>** | 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<Object>** | 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]
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
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
- connection = Faraday.new(:url => config.base_url, :ssl => ssl_options) do |conn|
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
- tempfile.close if tempfile
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`"
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
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
- [artifact, pulp_created, 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
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
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12