pulp_ansible_client 0.15.5 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -10
  3. data/docs/AnsibleAnsibleDistribution.md +1 -1
  4. data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
  5. data/docs/AnsibleAnsibleRepository.md +2 -2
  6. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
  7. data/docs/AnsibleCollectionRemote.md +2 -2
  8. data/docs/AnsibleCollectionRemoteResponse.md +2 -4
  9. data/docs/AnsibleCollectionVersion.md +11 -9
  10. data/docs/AnsibleCollectionVersionResponse.md +23 -23
  11. data/docs/AnsibleCollectionsApi.md +6 -10
  12. data/docs/AnsibleGitRemote.md +30 -30
  13. data/docs/AnsibleGitRemoteResponse.md +26 -28
  14. data/docs/AnsibleRoleRemote.md +2 -2
  15. data/docs/AnsibleRoleRemoteResponse.md +3 -5
  16. data/docs/AnsibleRoleResponse.md +3 -3
  17. data/docs/ApiCollectionsApi.md +4 -4
  18. data/docs/ApiRolesApi.md +4 -4
  19. data/docs/CollectionImportApi.md +4 -4
  20. data/docs/CollectionRefResponse.md +1 -1
  21. data/docs/CollectionResponse.md +6 -6
  22. data/docs/CollectionVersionListResponse.md +1 -1
  23. data/docs/CollectionVersionResponse.md +4 -4
  24. data/docs/ContentCollectionDeprecationsApi.md +10 -14
  25. data/docs/ContentCollectionSignaturesApi.md +12 -16
  26. data/docs/ContentCollectionVersionsApi.md +22 -24
  27. data/docs/ContentRolesApi.md +10 -14
  28. data/docs/DistributionsAnsibleApi.md +14 -22
  29. data/docs/GalaxyCollectionResponse.md +4 -4
  30. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  31. data/docs/GalaxyDetailApi.md +4 -4
  32. data/docs/GalaxyRoleResponse.md +1 -1
  33. data/docs/GalaxyRoleVersionResponse.md +1 -1
  34. data/docs/PatchedansibleAnsibleDistribution.md +1 -1
  35. data/docs/PatchedansibleAnsibleRepository.md +2 -2
  36. data/docs/PatchedansibleCollectionRemote.md +2 -2
  37. data/docs/PatchedansibleGitRemote.md +30 -30
  38. data/docs/PatchedansibleRoleRemote.md +2 -2
  39. data/docs/PulpAnsibleApiApi.md +4 -4
  40. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
  41. data/docs/PulpAnsibleApiV3Api.md +4 -4
  42. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
  43. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
  44. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -10
  45. data/docs/PulpAnsibleApiV3CollectionsApi.md +10 -14
  46. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +10 -14
  47. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  48. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
  49. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
  50. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  51. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  52. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  53. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
  54. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
  55. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  56. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
  57. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -10
  58. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +10 -14
  59. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +10 -14
  60. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
  68. data/docs/PulpAnsibleTagsApi.md +4 -4
  69. data/docs/RemotesCollectionApi.md +14 -18
  70. data/docs/RemotesGitApi.md +14 -18
  71. data/docs/RemotesRoleApi.md +14 -18
  72. data/docs/RepositoriesAnsibleApi.md +13 -33
  73. data/docs/RepositoriesAnsibleVersionsApi.md +14 -16
  74. data/docs/RepositoryAddRemoveContent.md +2 -2
  75. data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
  76. data/docs/VersionsApi.md +8 -8
  77. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +9 -15
  78. data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
  79. data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
  80. data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
  81. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +14 -20
  82. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -21
  83. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +45 -60
  84. data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -21
  85. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -31
  86. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +9 -15
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +15 -21
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +15 -21
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  99. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  100. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  101. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
  102. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
  103. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  104. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
  105. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +9 -15
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +15 -21
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +15 -21
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
  116. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
  117. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +19 -25
  118. data/lib/pulp_ansible_client/api/remotes_git_api.rb +19 -25
  119. data/lib/pulp_ansible_client/api/remotes_role_api.rb +19 -25
  120. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +17 -47
  121. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +19 -22
  122. data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
  123. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
  124. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
  125. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -5
  126. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -5
  127. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +3 -5
  128. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +4 -18
  129. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +78 -95
  130. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +53 -161
  131. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -251
  132. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -155
  133. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +3 -5
  134. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +8 -22
  135. data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
  136. data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
  137. data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
  138. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
  139. data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
  140. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
  141. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
  142. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
  143. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
  144. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
  145. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -5
  146. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +3 -5
  147. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -251
  148. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +3 -5
  149. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
  150. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
  151. data/lib/pulp_ansible_client/version.rb +1 -1
  152. data/lib/pulp_ansible_client.rb +0 -1
  153. data/spec/api/ansible_collections_api_spec.rb +3 -5
  154. data/spec/api/api_collections_api_spec.rb +2 -2
  155. data/spec/api/api_roles_api_spec.rb +2 -2
  156. data/spec/api/collection_import_api_spec.rb +2 -2
  157. data/spec/api/content_collection_deprecations_api_spec.rb +5 -7
  158. data/spec/api/content_collection_signatures_api_spec.rb +5 -7
  159. data/spec/api/content_collection_versions_api_spec.rb +10 -11
  160. data/spec/api/content_roles_api_spec.rb +5 -7
  161. data/spec/api/distributions_ansible_api_spec.rb +7 -11
  162. data/spec/api/galaxy_detail_api_spec.rb +2 -2
  163. data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
  164. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
  165. data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
  166. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
  167. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
  168. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -5
  169. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +5 -7
  170. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +5 -7
  171. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  172. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
  173. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
  174. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  175. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  176. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  177. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
  178. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
  179. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  180. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
  181. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -5
  182. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +5 -7
  183. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +5 -7
  184. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
  185. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
  186. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
  187. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
  188. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
  189. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
  190. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
  191. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
  192. data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
  193. data/spec/api/remotes_collection_api_spec.rb +7 -9
  194. data/spec/api/remotes_git_api_spec.rb +7 -9
  195. data/spec/api/remotes_role_api_spec.rb +7 -9
  196. data/spec/api/repositories_ansible_api_spec.rb +6 -16
  197. data/spec/api/repositories_ansible_versions_api_spec.rb +7 -8
  198. data/spec/api/versions_api_spec.rb +4 -4
  199. data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
  200. data/spec/models/ansible_collection_version_response_spec.rb +7 -7
  201. data/spec/models/ansible_collection_version_spec.rb +12 -6
  202. data/spec/models/ansible_git_remote_response_spec.rb +16 -22
  203. data/spec/models/ansible_git_remote_spec.rb +19 -19
  204. data/spec/models/ansible_role_remote_response_spec.rb +0 -6
  205. data/spec/models/ansible_role_response_spec.rb +3 -3
  206. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  207. metadata +102 -106
  208. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
  209. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -215
  210. data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_ansible_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.5
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-15 00:00:00.000000000 Z
11
+ date: 2022-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -87,7 +87,6 @@ files:
87
87
  - docs/AnsibleCollection.md
88
88
  - docs/AnsibleCollectionRemote.md
89
89
  - docs/AnsibleCollectionRemoteResponse.md
90
- - docs/AnsibleCollectionRemoteResponseHiddenFields.md
91
90
  - docs/AnsibleCollectionResponse.md
92
91
  - docs/AnsibleCollectionVersion.md
93
92
  - docs/AnsibleCollectionVersionResponse.md
@@ -268,7 +267,6 @@ files:
268
267
  - lib/pulp_ansible_client/models/ansible_collection.rb
269
268
  - lib/pulp_ansible_client/models/ansible_collection_remote.rb
270
269
  - lib/pulp_ansible_client/models/ansible_collection_remote_response.rb
271
- - lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb
272
270
  - lib/pulp_ansible_client/models/ansible_collection_response.rb
273
271
  - lib/pulp_ansible_client/models/ansible_collection_version.rb
274
272
  - lib/pulp_ansible_client/models/ansible_collection_version_response.rb
@@ -394,7 +392,6 @@ files:
394
392
  - spec/models/ansible_ansible_distribution_spec.rb
395
393
  - spec/models/ansible_ansible_repository_response_spec.rb
396
394
  - spec/models/ansible_ansible_repository_spec.rb
397
- - spec/models/ansible_collection_remote_response_hidden_fields_spec.rb
398
395
  - spec/models/ansible_collection_remote_response_spec.rb
399
396
  - spec/models/ansible_collection_remote_spec.rb
400
397
  - spec/models/ansible_collection_response_spec.rb
@@ -488,131 +485,130 @@ signing_key:
488
485
  specification_version: 4
489
486
  summary: Pulp 3 API Ruby Gem
490
487
  test_files:
491
- - spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb
492
- - spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb
493
- - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
494
- - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
495
- - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb
496
- - spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
497
- - spec/api/remotes_git_api_spec.rb
498
488
  - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
499
- - spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb
500
- - spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb
501
- - spec/api/pulp_ansible_default_api_api_spec.rb
502
- - spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb
503
- - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb
504
- - spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
489
+ - spec/api/pulp_ansible_api_api_spec.rb
490
+ - spec/api/ansible_copy_api_spec.rb
491
+ - spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb
492
+ - spec/api/api_collections_api_spec.rb
493
+ - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
494
+ - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
495
+ - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
505
496
  - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
506
- - spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb
507
- - spec/api/remotes_role_api_spec.rb
508
- - spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb
509
- - spec/api/repositories_ansible_versions_api_spec.rb
510
- - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb
511
- - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
512
- - spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb
497
+ - spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb
498
+ - spec/api/galaxy_detail_api_spec.rb
499
+ - spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb
500
+ - spec/api/api_roles_api_spec.rb
501
+ - spec/api/collection_import_api_spec.rb
513
502
  - spec/api/repositories_ansible_api_spec.rb
503
+ - spec/api/pulp_ansible_tags_api_spec.rb
514
504
  - spec/api/remotes_collection_api_spec.rb
515
- - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
516
- - spec/api/ansible_collections_api_spec.rb
517
505
  - spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb
518
506
  - spec/api/versions_api_spec.rb
507
+ - spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb
508
+ - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb
519
509
  - spec/api/pulp_ansible_default_api_v3_api_spec.rb
520
- - spec/api/content_collection_deprecations_api_spec.rb
521
- - spec/api/distributions_ansible_api_spec.rb
510
+ - spec/api/pulp_ansible_api_v3_api_spec.rb
511
+ - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
522
512
  - spec/api/pulp_ansible_api_v3_collections_api_spec.rb
513
+ - spec/api/pulp_ansible_default_api_api_spec.rb
514
+ - spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb
515
+ - spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb
516
+ - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb
517
+ - spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
518
+ - spec/api/content_collection_deprecations_api_spec.rb
519
+ - spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb
520
+ - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb
521
+ - spec/api/content_collection_signatures_api_spec.rb
522
+ - spec/api/content_collection_versions_api_spec.rb
523
+ - spec/api/ansible_collections_api_spec.rb
523
524
  - spec/api/content_roles_api_spec.rb
524
- - spec/api/pulp_ansible_api_api_spec.rb
525
- - spec/api/pulp_ansible_api_v3_api_spec.rb
526
- - spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb
527
- - spec/api/collection_import_api_spec.rb
528
- - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
529
- - spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb
525
+ - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb
526
+ - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
527
+ - spec/api/repositories_ansible_versions_api_spec.rb
528
+ - spec/api/distributions_ansible_api_spec.rb
529
+ - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
530
+ - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
531
+ - spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb
530
532
  - spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb
531
- - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
533
+ - spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb
534
+ - spec/api/remotes_git_api_spec.rb
535
+ - spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb
536
+ - spec/api/remotes_role_api_spec.rb
532
537
  - spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
533
- - spec/api/api_roles_api_spec.rb
534
- - spec/api/ansible_copy_api_spec.rb
535
- - spec/api/content_collection_versions_api_spec.rb
536
- - spec/api/content_collection_signatures_api_spec.rb
537
- - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb
538
- - spec/api/pulp_ansible_tags_api_spec.rb
539
- - spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb
540
- - spec/api/galaxy_detail_api_spec.rb
541
- - spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
542
- - spec/api/api_collections_api_spec.rb
538
+ - spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
539
+ - spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb
543
540
  - spec/api_client_spec.rb
544
541
  - spec/configuration_spec.rb
545
- - spec/models/ansible_collection_response_spec.rb
546
- - spec/models/collection_import_detail_response_spec.rb
547
- - spec/models/ansible_collection_version_signature_response_spec.rb
548
- - spec/models/copy_spec.rb
549
- - spec/models/collection_namespace_response_spec.rb
550
- - spec/models/ansible_role_remote_spec.rb
551
- - spec/models/ansible_repository_signature_spec.rb
552
- - spec/models/ansible_collection_remote_spec.rb
542
+ - spec/models/tag_response_spec.rb
543
+ - spec/models/paginated_tag_response_list_spec.rb
553
544
  - spec/models/paginatedansible_role_remote_response_list_spec.rb
554
- - spec/models/paginated_collection_response_list_meta_spec.rb
555
- - spec/models/paginated_repository_version_response_list_spec.rb
556
- - spec/models/ansible_ansible_repository_response_spec.rb
557
- - spec/models/ansible_ansible_distribution_spec.rb
558
- - spec/models/paginated_galaxy_role_response_list_spec.rb
545
+ - spec/models/repo_metadata_response_spec.rb
546
+ - spec/models/paginatedansible_git_remote_response_list_spec.rb
547
+ - spec/models/ansible_role_spec.rb
559
548
  - spec/models/ansible_ansible_repository_spec.rb
549
+ - spec/models/paginated_collection_version_list_response_list_spec.rb
560
550
  - spec/models/patchedansible_collection_remote_spec.rb
561
- - spec/models/paginatedansible_collection_remote_response_list_spec.rb
562
- - spec/models/galaxy_collection_response_spec.rb
563
- - spec/models/content_summary_response_spec.rb
564
- - spec/models/paginatedansible_git_remote_response_list_spec.rb
565
- - spec/models/repository_version_response_spec.rb
551
+ - spec/models/ansible_collection_version_signature_response_spec.rb
552
+ - spec/models/patchedansible_ansible_repository_spec.rb
566
553
  - spec/models/patchedansible_role_remote_spec.rb
554
+ - spec/models/collection_version_list_response_spec.rb
555
+ - spec/models/async_operation_response_spec.rb
556
+ - spec/models/paginated_galaxy_role_response_list_spec.rb
557
+ - spec/models/paginated_repository_version_response_list_spec.rb
558
+ - spec/models/repair_spec.rb
559
+ - spec/models/ansible_role_remote_spec.rb
560
+ - spec/models/galaxy_role_version_response_spec.rb
561
+ - spec/models/paginated_collection_response_list_spec.rb
562
+ - spec/models/ansible_ansible_distribution_response_spec.rb
563
+ - spec/models/galaxy_collection_version_response_spec.rb
564
+ - spec/models/ansible_collection_version_response_spec.rb
565
+ - spec/models/paginatedansible_collection_version_signature_response_list_spec.rb
566
+ - spec/models/ansible_role_response_spec.rb
567
+ - spec/models/galaxy_collection_response_spec.rb
567
568
  - spec/models/artifact_ref_response_spec.rb
568
- - spec/models/galaxy_collection_spec.rb
569
+ - spec/models/paginated_galaxy_collection_version_response_list_spec.rb
570
+ - spec/models/repository_version_response_spec.rb
571
+ - spec/models/ansible_repository_rebuild_spec.rb
572
+ - spec/models/collection_version_docs_response_spec.rb
573
+ - spec/models/copy_spec.rb
574
+ - spec/models/ansible_collection_version_spec.rb
575
+ - spec/models/paginatedansible_role_response_list_spec.rb
569
576
  - spec/models/patchedansible_ansible_distribution_spec.rb
570
- - spec/models/ansible_tag_response_spec.rb
571
- - spec/models/client_configuration_response_spec.rb
572
- - spec/models/patchedansible_ansible_repository_spec.rb
573
- - spec/models/paginatedansible_collection_version_signature_response_list_spec.rb
574
- - spec/models/paginated_galaxy_role_version_response_list_spec.rb
575
- - spec/models/repair_spec.rb
577
+ - spec/models/collection_metadata_response_spec.rb
578
+ - spec/models/ansible_collection_remote_spec.rb
579
+ - spec/models/ansible_git_remote_response_spec.rb
580
+ - spec/models/patchedansible_git_remote_spec.rb
581
+ - spec/models/ansible_repository_signature_spec.rb
582
+ - spec/models/ansible_role_remote_response_spec.rb
576
583
  - spec/models/paginated_collection_response_list_links_spec.rb
584
+ - spec/models/ansible_ansible_repository_response_spec.rb
577
585
  - spec/models/unpaginated_collection_version_response_spec.rb
578
- - spec/models/collection_version_docs_response_spec.rb
579
- - spec/models/ansible_collection_remote_response_spec.rb
580
- - spec/models/ansible_role_remote_response_spec.rb
581
- - spec/models/collection_version_response_spec.rb
582
- - spec/models/ansible_role_spec.rb
583
- - spec/models/paginatedansible_ansible_repository_response_list_spec.rb
584
- - spec/models/paginatedansible_role_response_list_spec.rb
585
- - spec/models/galaxy_collection_version_response_spec.rb
586
- - spec/models/paginated_collection_version_list_response_list_spec.rb
587
- - spec/models/ansible_collection_remote_response_hidden_fields_spec.rb
588
586
  - spec/models/paginatedansible_collection_version_response_list_spec.rb
589
- - spec/models/collection_one_shot_spec.rb
590
- - spec/models/policy_enum_spec.rb
591
- - spec/models/collection_metadata_response_spec.rb
592
- - spec/models/paginated_galaxy_collection_response_list_spec.rb
593
- - spec/models/collection_response_spec.rb
594
- - spec/models/paginatedansible_collection_response_list_spec.rb
587
+ - spec/models/ansible_git_remote_spec.rb
588
+ - spec/models/galaxy_collection_spec.rb
589
+ - spec/models/ansible_collection_response_spec.rb
590
+ - spec/models/paginated_collection_response_list_meta_spec.rb
591
+ - spec/models/collection_version_response_spec.rb
592
+ - spec/models/collection_namespace_response_spec.rb
593
+ - spec/models/ansible_collection_version_signature_spec.rb
595
594
  - spec/models/collection_ref_response_spec.rb
595
+ - spec/models/ansible_collection_remote_response_spec.rb
596
+ - spec/models/paginatedansible_ansible_repository_response_list_spec.rb
596
597
  - spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
597
- - spec/models/ansible_repository_sync_url_spec.rb
598
+ - spec/models/client_configuration_response_spec.rb
599
+ - spec/models/paginated_galaxy_collection_response_list_spec.rb
600
+ - spec/models/paginatedansible_collection_remote_response_list_spec.rb
598
601
  - spec/models/repository_add_remove_content_spec.rb
599
- - spec/models/ansible_collection_version_signature_spec.rb
600
- - spec/models/ansible_repository_rebuild_spec.rb
601
- - spec/models/ansible_git_remote_response_spec.rb
602
- - spec/models/ansible_git_remote_spec.rb
603
- - spec/models/paginated_tag_response_list_spec.rb
604
- - spec/models/ansible_ansible_distribution_response_spec.rb
605
- - spec/models/tag_response_spec.rb
606
- - spec/models/ansible_collection_spec.rb
607
- - spec/models/patchedansible_git_remote_spec.rb
602
+ - spec/models/paginated_galaxy_role_version_response_list_spec.rb
608
603
  - spec/models/galaxy_role_response_spec.rb
609
- - spec/models/paginated_galaxy_collection_version_response_list_spec.rb
610
- - spec/models/ansible_collection_version_response_spec.rb
611
- - spec/models/ansible_role_response_spec.rb
612
- - spec/models/galaxy_role_version_response_spec.rb
613
- - spec/models/collection_version_list_response_spec.rb
614
- - spec/models/repo_metadata_response_spec.rb
615
- - spec/models/ansible_collection_version_spec.rb
616
- - spec/models/async_operation_response_spec.rb
617
- - spec/models/paginated_collection_response_list_spec.rb
604
+ - spec/models/ansible_repository_sync_url_spec.rb
605
+ - spec/models/collection_one_shot_spec.rb
606
+ - spec/models/ansible_ansible_distribution_spec.rb
607
+ - spec/models/ansible_tag_response_spec.rb
608
+ - spec/models/paginatedansible_collection_response_list_spec.rb
609
+ - spec/models/policy_enum_spec.rb
610
+ - spec/models/collection_import_detail_response_spec.rb
611
+ - spec/models/ansible_collection_spec.rb
612
+ - spec/models/content_summary_response_spec.rb
613
+ - spec/models/collection_response_spec.rb
618
614
  - spec/spec_helper.rb
@@ -1,19 +0,0 @@
1
- # PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | | [optional]
8
- **is_set** | **Boolean** | | [optional]
9
-
10
- ## Code Sample
11
-
12
- ```ruby
13
- require 'PulpAnsibleClient'
14
-
15
- instance = PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields.new(name: null,
16
- is_set: null)
17
- ```
18
-
19
-
@@ -1,215 +0,0 @@
1
- =begin
2
- #Pulp 3 API
3
-
4
- #Fetch, Upload, Organize, and Distribute Software Packages
5
-
6
- The version of the OpenAPI document: v3
7
- Contact: pulp-list@redhat.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module PulpAnsibleClient
16
- class AnsibleCollectionRemoteResponseHiddenFields
17
- attr_accessor :name
18
-
19
- attr_accessor :is_set
20
-
21
- # Attribute mapping from ruby-style variable name to JSON key.
22
- def self.attribute_map
23
- {
24
- :'name' => :'name',
25
- :'is_set' => :'is_set'
26
- }
27
- end
28
-
29
- # Attribute type mapping.
30
- def self.openapi_types
31
- {
32
- :'name' => :'String',
33
- :'is_set' => :'Boolean'
34
- }
35
- end
36
-
37
- # List of attributes with nullable: true
38
- def self.openapi_nullable
39
- Set.new([
40
- ])
41
- end
42
-
43
- # Initializes the object
44
- # @param [Hash] attributes Model attributes in the form of hash
45
- def initialize(attributes = {})
46
- if (!attributes.is_a?(Hash))
47
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields` initialize method"
48
- end
49
-
50
- # check to see if the attribute exists and convert string to symbol for hash key
51
- attributes = attributes.each_with_object({}) { |(k, v), h|
52
- if (!self.class.attribute_map.key?(k.to_sym))
53
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
- end
55
- h[k.to_sym] = v
56
- }
57
-
58
- if attributes.key?(:'name')
59
- self.name = attributes[:'name']
60
- end
61
-
62
- if attributes.key?(:'is_set')
63
- self.is_set = attributes[:'is_set']
64
- end
65
- end
66
-
67
- # Show invalid properties with the reasons. Usually used together with valid?
68
- # @return Array for valid properties with the reasons
69
- def list_invalid_properties
70
- invalid_properties = Array.new
71
- invalid_properties
72
- end
73
-
74
- # Check to see if the all the properties in the model are valid
75
- # @return true if the model is valid
76
- def valid?
77
- true
78
- end
79
-
80
- # Checks equality by comparing each attribute.
81
- # @param [Object] Object to be compared
82
- def ==(o)
83
- return true if self.equal?(o)
84
- self.class == o.class &&
85
- name == o.name &&
86
- is_set == o.is_set
87
- end
88
-
89
- # @see the `==` method
90
- # @param [Object] Object to be compared
91
- def eql?(o)
92
- self == o
93
- end
94
-
95
- # Calculates hash code according to all attributes.
96
- # @return [Integer] Hash code
97
- def hash
98
- [name, is_set].hash
99
- end
100
-
101
- # Builds the object from hash
102
- # @param [Hash] attributes Model attributes in the form of hash
103
- # @return [Object] Returns the model itself
104
- def self.build_from_hash(attributes)
105
- new.build_from_hash(attributes)
106
- end
107
-
108
- # Builds the object from hash
109
- # @param [Hash] attributes Model attributes in the form of hash
110
- # @return [Object] Returns the model itself
111
- def build_from_hash(attributes)
112
- return nil unless attributes.is_a?(Hash)
113
- self.class.openapi_types.each_pair do |key, type|
114
- if type =~ /\AArray<(.*)>/i
115
- # check to ensure the input is an array given that the attribute
116
- # is documented as an array but the input is not
117
- if attributes[self.class.attribute_map[key]].is_a?(Array)
118
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
119
- end
120
- elsif !attributes[self.class.attribute_map[key]].nil?
121
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
122
- end # or else data not found in attributes(hash), not an issue as the data can be optional
123
- end
124
-
125
- self
126
- end
127
-
128
- # Deserializes the data based on type
129
- # @param string type Data type
130
- # @param string value Value to be deserialized
131
- # @return [Object] Deserialized data
132
- def _deserialize(type, value)
133
- case type.to_sym
134
- when :DateTime
135
- DateTime.parse(value)
136
- when :Date
137
- Date.parse(value)
138
- when :String
139
- value.to_s
140
- when :Integer
141
- value.to_i
142
- when :Float
143
- value.to_f
144
- when :Boolean
145
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
146
- true
147
- else
148
- false
149
- end
150
- when :Object
151
- # generic object (usually a Hash), return directly
152
- value
153
- when /\AArray<(?<inner_type>.+)>\z/
154
- inner_type = Regexp.last_match[:inner_type]
155
- value.map { |v| _deserialize(inner_type, v) }
156
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
157
- k_type = Regexp.last_match[:k_type]
158
- v_type = Regexp.last_match[:v_type]
159
- {}.tap do |hash|
160
- value.each do |k, v|
161
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
162
- end
163
- end
164
- else # model
165
- PulpAnsibleClient.const_get(type).build_from_hash(value)
166
- end
167
- end
168
-
169
- # Returns the string representation of the object
170
- # @return [String] String presentation of the object
171
- def to_s
172
- to_hash.to_s
173
- end
174
-
175
- # to_body is an alias to to_hash (backward compatibility)
176
- # @return [Hash] Returns the object in the form of hash
177
- def to_body
178
- to_hash
179
- end
180
-
181
- # Returns the object in the form of hash
182
- # @return [Hash] Returns the object in the form of hash
183
- def to_hash
184
- hash = {}
185
- self.class.attribute_map.each_pair do |attr, param|
186
- value = self.send(attr)
187
- if value.nil?
188
- is_nullable = self.class.openapi_nullable.include?(attr)
189
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
- end
191
-
192
- hash[param] = _to_hash(value)
193
- end
194
- hash
195
- end
196
-
197
- # Outputs non-array value in the form of hash
198
- # For object, use to_hash. Otherwise, just return the value
199
- # @param [Object] value Any valid value
200
- # @return [Hash] Returns the value in the form of hash
201
- def _to_hash(value)
202
- if value.is_a?(Array)
203
- value.compact.map { |v| _to_hash(v) }
204
- elsif value.is_a?(Hash)
205
- {}.tap do |hash|
206
- value.each { |k, v| hash[k] = _to_hash(v) }
207
- end
208
- elsif value.respond_to? :to_hash
209
- value.to_hash
210
- else
211
- value
212
- end
213
- end
214
- end
215
- end
@@ -1,47 +0,0 @@
1
- =begin
2
- #Pulp 3 API
3
-
4
- #Fetch, Upload, Organize, and Distribute Software Packages
5
-
6
- The version of the OpenAPI document: v3
7
- Contact: pulp-list@redhat.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'AnsibleCollectionRemoteResponseHiddenFields' do
21
- before do
22
- # run before each test
23
- @instance = PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of AnsibleCollectionRemoteResponseHiddenFields' do
31
- it 'should create an instance of AnsibleCollectionRemoteResponseHiddenFields' do
32
- expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields)
33
- end
34
- end
35
- describe 'test attribute "name"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "is_set"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- end