pulp_ansible_client 0.21.18 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -22
  3. data/docs/AnsibleAnsibleDistribution.md +3 -5
  4. data/docs/AnsibleAnsibleDistributionResponse.md +4 -8
  5. data/docs/AnsibleCollectionVersion.md +2 -2
  6. data/docs/AnsibleCollectionVersionResponse.md +9 -9
  7. data/docs/AnsibleCollectionsApi.md +65 -21
  8. data/docs/AnsibleCopyApi.md +3 -7
  9. data/docs/AnsibleGitRemote.md +30 -30
  10. data/docs/AnsibleGitRemoteResponse.md +28 -28
  11. data/docs/AnsibleRoleResponse.md +4 -4
  12. data/docs/ApiRolesApi.md +1 -3
  13. data/docs/CollectionImportApi.md +1 -3
  14. data/docs/CollectionImportDetailResponse.md +2 -2
  15. data/docs/CollectionSummaryResponse.md +2 -2
  16. data/docs/CollectionVersionDocsResponse.md +1 -1
  17. data/docs/CollectionVersionResponse.md +2 -2
  18. data/docs/CollectionVersionSearchList.md +2 -0
  19. data/docs/ContentCollectionDeprecationsApi.md +3 -11
  20. data/docs/ContentCollectionMarksApi.md +3 -11
  21. data/docs/ContentCollectionSignaturesApi.md +1 -7
  22. data/docs/ContentCollectionVersionsApi.md +3 -9
  23. data/docs/ContentNamespacesApi.md +1 -7
  24. data/docs/ContentRolesApi.md +3 -11
  25. data/docs/Copy.md +1 -1
  26. data/docs/DistributionsAnsibleApi.md +17 -57
  27. data/docs/PatchedansibleAnsibleDistribution.md +3 -5
  28. data/docs/PatchedansibleGitRemote.md +30 -30
  29. data/docs/PulpAnsibleApiApi.md +1 -3
  30. data/docs/PulpAnsibleApiV3Api.md +1 -3
  31. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -3
  32. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -3
  33. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
  34. data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -17
  35. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -11
  36. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -3
  37. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -5
  38. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -3
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -3
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -3
  42. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -3
  43. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -17
  44. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -11
  45. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -3
  46. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +3 -15
  47. data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -24
  48. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -9
  49. data/docs/PulpAnsibleDefaultApiApi.md +4 -14
  50. data/docs/PulpAnsibleDefaultApiV3Api.md +4 -14
  51. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -3
  52. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +4 -14
  53. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
  54. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -17
  55. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -11
  56. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -3
  57. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -5
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +4 -14
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -3
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -3
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -3
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -17
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -11
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -3
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +3 -15
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +5 -12
  68. data/docs/PulpAnsibleTagsApi.md +1 -3
  69. data/docs/RemotesCollectionApi.md +17 -57
  70. data/docs/RemotesGitApi.md +17 -57
  71. data/docs/RemotesRoleApi.md +17 -57
  72. data/docs/RepositoriesAnsibleApi.md +33 -105
  73. data/docs/RepositoriesAnsibleVersionsApi.md +7 -23
  74. data/docs/VersionsApi.md +1 -60
  75. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -18
  76. data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
  77. data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
  78. data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
  79. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -9
  80. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -9
  81. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -9
  82. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -12
  83. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -9
  84. data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -9
  85. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
  93. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
  94. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
  95. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
  96. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
  97. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
  98. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
  99. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
  100. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
  101. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
  102. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
  103. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -17
  104. data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -32
  105. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
  106. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
  107. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
  108. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
  109. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
  110. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
  111. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
  112. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
  113. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
  114. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
  115. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
  116. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
  117. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
  118. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
  119. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
  120. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
  121. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
  122. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
  123. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -17
  124. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -8
  125. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
  126. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
  127. data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
  128. data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
  129. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
  130. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -15
  131. data/lib/pulp_ansible_client/api/versions_api.rb +0 -75
  132. data/lib/pulp_ansible_client/configuration.rb +2 -2
  133. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
  134. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -42
  135. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  136. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  137. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  138. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +20 -20
  139. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +230 -230
  140. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +151 -151
  141. data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
  142. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
  143. data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
  144. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  145. data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
  146. data/lib/pulp_ansible_client/models/collection_version_search_list.rb +16 -1
  147. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  148. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
  149. data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +3 -3
  150. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
  151. data/lib/pulp_ansible_client/version.rb +1 -1
  152. data/lib/pulp_ansible_client.rb +1 -9
  153. data/spec/api/ansible_collections_api_spec.rb +14 -6
  154. data/spec/api/ansible_copy_api_spec.rb +0 -1
  155. data/spec/api/api_roles_api_spec.rb +0 -1
  156. data/spec/api/collection_import_api_spec.rb +0 -1
  157. data/spec/api/content_collection_deprecations_api_spec.rb +0 -3
  158. data/spec/api/content_collection_marks_api_spec.rb +0 -3
  159. data/spec/api/content_collection_signatures_api_spec.rb +0 -3
  160. data/spec/api/content_collection_versions_api_spec.rb +1 -4
  161. data/spec/api/content_namespaces_api_spec.rb +0 -3
  162. data/spec/api/content_roles_api_spec.rb +0 -3
  163. data/spec/api/distributions_ansible_api_spec.rb +0 -12
  164. data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
  165. data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
  166. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
  167. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
  168. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
  169. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
  170. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
  171. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
  172. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
  173. data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
  174. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
  175. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
  176. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
  177. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
  178. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
  179. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
  180. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
  181. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
  182. data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -11
  183. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
  184. data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
  185. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
  186. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
  187. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
  188. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
  189. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
  190. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
  191. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
  192. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
  193. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
  194. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
  195. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
  196. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
  197. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
  198. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
  199. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
  200. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
  201. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
  202. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -3
  203. data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
  204. data/spec/api/remotes_collection_api_spec.rb +0 -12
  205. data/spec/api/remotes_git_api_spec.rb +0 -12
  206. data/spec/api/remotes_role_api_spec.rb +0 -12
  207. data/spec/api/repositories_ansible_api_spec.rb +0 -20
  208. data/spec/api/repositories_ansible_versions_api_spec.rb +0 -5
  209. data/spec/api/versions_api_spec.rb +0 -16
  210. data/spec/configuration_spec.rb +3 -3
  211. data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -16
  212. data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
  213. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  214. data/spec/models/ansible_collection_version_spec.rb +3 -3
  215. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  216. data/spec/models/ansible_git_remote_spec.rb +18 -18
  217. data/spec/models/ansible_role_response_spec.rb +2 -2
  218. data/spec/models/collection_version_search_list_spec.rb +6 -0
  219. data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
  220. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  221. metadata +148 -180
  222. data/docs/ApiCollectionsApi.md +0 -118
  223. data/docs/GalaxyCollection.md +0 -23
  224. data/docs/GalaxyCollectionResponse.md +0 -31
  225. data/docs/GalaxyCollectionVersionResponse.md +0 -27
  226. data/docs/GalaxyDetailApi.md +0 -63
  227. data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
  228. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
  229. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -68
  230. data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -165
  231. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -91
  232. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -107
  233. data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
  234. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
  235. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -266
  236. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +0 -247
  237. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -247
  238. data/spec/api/api_collections_api_spec.rb +0 -63
  239. data/spec/api/galaxy_detail_api_spec.rb +0 -49
  240. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -52
  241. data/spec/models/galaxy_collection_response_spec.rb +0 -83
  242. data/spec/models/galaxy_collection_spec.rb +0 -59
  243. data/spec/models/galaxy_collection_version_response_spec.rb +0 -71
  244. data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
  245. data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +0 -59
@@ -22,7 +22,6 @@ module PulpAnsibleClient
22
22
  # APIView for Role Versions.
23
23
  # @param ansible_role_href [String]
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
25
  # @option opts [Integer] :limit Number of results to return per page.
27
26
  # @option opts [Integer] :offset The initial index from which to return the results.
28
27
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -36,7 +35,6 @@ module PulpAnsibleClient
36
35
  # APIView for Role Versions.
37
36
  # @param ansible_role_href [String]
38
37
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
38
  # @option opts [Integer] :limit Number of results to return per page.
41
39
  # @option opts [Integer] :offset The initial index from which to return the results.
42
40
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -64,7 +62,6 @@ module PulpAnsibleClient
64
62
  header_params = opts[:header_params] || {}
65
63
  # HTTP header 'Accept' (if needed)
66
64
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
67
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
68
65
 
69
66
  # form parameters
70
67
  form_params = opts[:form_params] || {}
@@ -93,77 +90,5 @@ module PulpAnsibleClient
93
90
  end
94
91
  return data, status_code, headers
95
92
  end
96
-
97
- # APIView for Collections by namespace/name.
98
- # @param ansible_collection_version_href [String]
99
- # @param [Hash] opts the optional parameters
100
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
101
- # @option opts [Integer] :page A page number within the paginated result set.
102
- # @option opts [Array<String>] :fields A list of fields to include in the response.
103
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
104
- # @return [PaginatedGalaxyCollectionVersionResponseList]
105
- def api_v2_collection_versions_list(ansible_collection_version_href, opts = {})
106
- data, _status_code, _headers = api_v2_collection_versions_list_with_http_info(ansible_collection_version_href, opts)
107
- data
108
- end
109
-
110
- # APIView for Collections by namespace/name.
111
- # @param ansible_collection_version_href [String]
112
- # @param [Hash] opts the optional parameters
113
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
114
- # @option opts [Integer] :page A page number within the paginated result set.
115
- # @option opts [Array<String>] :fields A list of fields to include in the response.
116
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
117
- # @return [Array<(PaginatedGalaxyCollectionVersionResponseList, Integer, Hash)>] PaginatedGalaxyCollectionVersionResponseList data, response status code and response headers
118
- def api_v2_collection_versions_list_with_http_info(ansible_collection_version_href, opts = {})
119
- if @api_client.config.debugging
120
- @api_client.config.logger.debug 'Calling API: VersionsApi.api_v2_collection_versions_list ...'
121
- end
122
- # verify the required parameter 'ansible_collection_version_href' is set
123
- if @api_client.config.client_side_validation && ansible_collection_version_href.nil?
124
- fail ArgumentError, "Missing the required parameter 'ansible_collection_version_href' when calling VersionsApi.api_v2_collection_versions_list"
125
- end
126
- # resource path
127
- local_var_path = '{ansible_collection_version_href}versions/'.sub('{' + 'ansible_collection_version_href' + '}', CGI.escape(ansible_collection_version_href.to_s).gsub('%2F', '/'))
128
-
129
- # query parameters
130
- query_params = opts[:query_params] || {}
131
- query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
132
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
133
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
134
-
135
- # header parameters
136
- header_params = opts[:header_params] || {}
137
- # HTTP header 'Accept' (if needed)
138
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
139
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
140
-
141
- # form parameters
142
- form_params = opts[:form_params] || {}
143
-
144
- # http body (model)
145
- post_body = opts[:body]
146
-
147
- # return_type
148
- return_type = opts[:return_type] || 'PaginatedGalaxyCollectionVersionResponseList'
149
-
150
- # auth_names
151
- auth_names = opts[:auth_names] || []
152
-
153
- new_options = opts.merge(
154
- :header_params => header_params,
155
- :query_params => query_params,
156
- :form_params => form_params,
157
- :body => post_body,
158
- :auth_names => auth_names,
159
- :return_type => return_type
160
- )
161
-
162
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
163
- if @api_client.config.debugging
164
- @api_client.config.logger.debug "API called: VersionsApi#api_v2_collection_versions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
165
- end
166
- return data, status_code, headers
167
- end
168
93
  end
169
94
  end
@@ -128,7 +128,7 @@ module PulpAnsibleClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'localhost'
131
+ @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -210,7 +210,7 @@ module PulpAnsibleClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "http://localhost:24817/",
213
+ url: "http://pulp/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -21,11 +21,6 @@ module PulpAnsibleClient
21
21
  # An optional content-guard.
22
22
  attr_accessor :content_guard
23
23
 
24
- # Whether this distribution should be shown in the content app.
25
- attr_accessor :hidden
26
-
27
- attr_accessor :pulp_labels
28
-
29
24
  # A unique name. Ex, `rawhide` and `stable`.
30
25
  attr_accessor :name
31
26
 
@@ -35,16 +30,17 @@ module PulpAnsibleClient
35
30
  # RepositoryVersion to be served
36
31
  attr_accessor :repository_version
37
32
 
33
+ attr_accessor :pulp_labels
34
+
38
35
  # Attribute mapping from ruby-style variable name to JSON key.
39
36
  def self.attribute_map
40
37
  {
41
38
  :'base_path' => :'base_path',
42
39
  :'content_guard' => :'content_guard',
43
- :'hidden' => :'hidden',
44
- :'pulp_labels' => :'pulp_labels',
45
40
  :'name' => :'name',
46
41
  :'repository' => :'repository',
47
- :'repository_version' => :'repository_version'
42
+ :'repository_version' => :'repository_version',
43
+ :'pulp_labels' => :'pulp_labels'
48
44
  }
49
45
  end
50
46
 
@@ -53,11 +49,10 @@ module PulpAnsibleClient
53
49
  {
54
50
  :'base_path' => :'String',
55
51
  :'content_guard' => :'String',
56
- :'hidden' => :'Boolean',
57
- :'pulp_labels' => :'Hash<String, String>',
58
52
  :'name' => :'String',
59
53
  :'repository' => :'String',
60
- :'repository_version' => :'String'
54
+ :'repository_version' => :'String',
55
+ :'pulp_labels' => :'Hash<String, String>'
61
56
  }
62
57
  end
63
58
 
@@ -66,7 +61,7 @@ module PulpAnsibleClient
66
61
  Set.new([
67
62
  :'content_guard',
68
63
  :'repository',
69
- :'repository_version'
64
+ :'repository_version',
70
65
  ])
71
66
  end
72
67
 
@@ -93,18 +88,6 @@ module PulpAnsibleClient
93
88
  self.content_guard = attributes[:'content_guard']
94
89
  end
95
90
 
96
- if attributes.key?(:'hidden')
97
- self.hidden = attributes[:'hidden']
98
- else
99
- self.hidden = false
100
- end
101
-
102
- if attributes.key?(:'pulp_labels')
103
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
104
- self.pulp_labels = value
105
- end
106
- end
107
-
108
91
  if attributes.key?(:'name')
109
92
  self.name = attributes[:'name']
110
93
  end
@@ -116,6 +99,12 @@ module PulpAnsibleClient
116
99
  if attributes.key?(:'repository_version')
117
100
  self.repository_version = attributes[:'repository_version']
118
101
  end
102
+
103
+ if attributes.key?(:'pulp_labels')
104
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
105
+ self.pulp_labels = value
106
+ end
107
+ end
119
108
  end
120
109
 
121
110
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -186,11 +175,10 @@ module PulpAnsibleClient
186
175
  self.class == o.class &&
187
176
  base_path == o.base_path &&
188
177
  content_guard == o.content_guard &&
189
- hidden == o.hidden &&
190
- pulp_labels == o.pulp_labels &&
191
178
  name == o.name &&
192
179
  repository == o.repository &&
193
- repository_version == o.repository_version
180
+ repository_version == o.repository_version &&
181
+ pulp_labels == o.pulp_labels
194
182
  end
195
183
 
196
184
  # @see the `==` method
@@ -202,7 +190,7 @@ module PulpAnsibleClient
202
190
  # Calculates hash code according to all attributes.
203
191
  # @return [Integer] Hash code
204
192
  def hash
205
- [base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
193
+ [base_path, content_guard, name, repository, repository_version, pulp_labels].hash
206
194
  end
207
195
 
208
196
  # Builds the object from hash
@@ -20,46 +20,38 @@ module PulpAnsibleClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
24
- attr_accessor :pulp_last_updated
25
-
26
23
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
24
  attr_accessor :base_path
28
25
 
29
26
  # An optional content-guard.
30
27
  attr_accessor :content_guard
31
28
 
32
- # Whether this distribution should be shown in the content app.
33
- attr_accessor :hidden
34
-
35
- attr_accessor :pulp_labels
36
-
37
29
  # A unique name. Ex, `rawhide` and `stable`.
38
30
  attr_accessor :name
39
31
 
40
32
  # The latest RepositoryVersion for this Repository will be served.
41
33
  attr_accessor :repository
42
34
 
35
+ # RepositoryVersion to be served
36
+ attr_accessor :repository_version
37
+
43
38
  # The URL of a Collection content source.
44
39
  attr_accessor :client_url
45
40
 
46
- # RepositoryVersion to be served
47
- attr_accessor :repository_version
41
+ attr_accessor :pulp_labels
48
42
 
49
43
  # Attribute mapping from ruby-style variable name to JSON key.
50
44
  def self.attribute_map
51
45
  {
52
46
  :'pulp_href' => :'pulp_href',
53
47
  :'pulp_created' => :'pulp_created',
54
- :'pulp_last_updated' => :'pulp_last_updated',
55
48
  :'base_path' => :'base_path',
56
49
  :'content_guard' => :'content_guard',
57
- :'hidden' => :'hidden',
58
- :'pulp_labels' => :'pulp_labels',
59
50
  :'name' => :'name',
60
51
  :'repository' => :'repository',
52
+ :'repository_version' => :'repository_version',
61
53
  :'client_url' => :'client_url',
62
- :'repository_version' => :'repository_version'
54
+ :'pulp_labels' => :'pulp_labels'
63
55
  }
64
56
  end
65
57
 
@@ -68,15 +60,13 @@ module PulpAnsibleClient
68
60
  {
69
61
  :'pulp_href' => :'String',
70
62
  :'pulp_created' => :'DateTime',
71
- :'pulp_last_updated' => :'DateTime',
72
63
  :'base_path' => :'String',
73
64
  :'content_guard' => :'String',
74
- :'hidden' => :'Boolean',
75
- :'pulp_labels' => :'Hash<String, String>',
76
65
  :'name' => :'String',
77
66
  :'repository' => :'String',
67
+ :'repository_version' => :'String',
78
68
  :'client_url' => :'String',
79
- :'repository_version' => :'String'
69
+ :'pulp_labels' => :'Hash<String, String>'
80
70
  }
81
71
  end
82
72
 
@@ -85,7 +75,7 @@ module PulpAnsibleClient
85
75
  Set.new([
86
76
  :'content_guard',
87
77
  :'repository',
88
- :'repository_version'
78
+ :'repository_version',
89
79
  ])
90
80
  end
91
81
 
@@ -112,10 +102,6 @@ module PulpAnsibleClient
112
102
  self.pulp_created = attributes[:'pulp_created']
113
103
  end
114
104
 
115
- if attributes.key?(:'pulp_last_updated')
116
- self.pulp_last_updated = attributes[:'pulp_last_updated']
117
- end
118
-
119
105
  if attributes.key?(:'base_path')
120
106
  self.base_path = attributes[:'base_path']
121
107
  end
@@ -124,18 +110,6 @@ module PulpAnsibleClient
124
110
  self.content_guard = attributes[:'content_guard']
125
111
  end
126
112
 
127
- if attributes.key?(:'hidden')
128
- self.hidden = attributes[:'hidden']
129
- else
130
- self.hidden = false
131
- end
132
-
133
- if attributes.key?(:'pulp_labels')
134
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
135
- self.pulp_labels = value
136
- end
137
- end
138
-
139
113
  if attributes.key?(:'name')
140
114
  self.name = attributes[:'name']
141
115
  end
@@ -144,12 +118,18 @@ module PulpAnsibleClient
144
118
  self.repository = attributes[:'repository']
145
119
  end
146
120
 
121
+ if attributes.key?(:'repository_version')
122
+ self.repository_version = attributes[:'repository_version']
123
+ end
124
+
147
125
  if attributes.key?(:'client_url')
148
126
  self.client_url = attributes[:'client_url']
149
127
  end
150
128
 
151
- if attributes.key?(:'repository_version')
152
- self.repository_version = attributes[:'repository_version']
129
+ if attributes.key?(:'pulp_labels')
130
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
131
+ self.pulp_labels = value
132
+ end
153
133
  end
154
134
  end
155
135
 
@@ -183,15 +163,13 @@ module PulpAnsibleClient
183
163
  self.class == o.class &&
184
164
  pulp_href == o.pulp_href &&
185
165
  pulp_created == o.pulp_created &&
186
- pulp_last_updated == o.pulp_last_updated &&
187
166
  base_path == o.base_path &&
188
167
  content_guard == o.content_guard &&
189
- hidden == o.hidden &&
190
- pulp_labels == o.pulp_labels &&
191
168
  name == o.name &&
192
169
  repository == o.repository &&
170
+ repository_version == o.repository_version &&
193
171
  client_url == o.client_url &&
194
- repository_version == o.repository_version
172
+ pulp_labels == o.pulp_labels
195
173
  end
196
174
 
197
175
  # @see the `==` method
@@ -203,7 +181,7 @@ module PulpAnsibleClient
203
181
  # Calculates hash code according to all attributes.
204
182
  # @return [Integer] Hash code
205
183
  def hash
206
- [pulp_href, pulp_created, pulp_last_updated, base_path, content_guard, hidden, pulp_labels, name, repository, client_url, repository_version].hash
184
+ [pulp_href, pulp_created, base_path, content_guard, name, repository, repository_version, client_url, pulp_labels].hash
207
185
  end
208
186
 
209
187
  # Builds the object from hash
@@ -130,7 +130,7 @@ module PulpAnsibleClient
130
130
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
131
131
  end
132
132
 
133
- pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
133
+ pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
134
134
  if @name !~ pattern
135
135
  invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
136
136
  end
@@ -156,7 +156,7 @@ module PulpAnsibleClient
156
156
  return false if @name.nil?
157
157
  return false if @name.to_s.length > 64
158
158
  return false if @name.to_s.length < 3
159
- return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
159
+ return false if @name !~ Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
160
160
  return false if !@company.nil? && @company.to_s.length > 64
161
161
  return false if !@email.nil? && @email.to_s.length > 256
162
162
  return false if !@description.nil? && @description.to_s.length > 256
@@ -178,7 +178,7 @@ module PulpAnsibleClient
178
178
  fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
179
179
  end
180
180
 
181
- pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
181
+ pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
182
182
  if name !~ pattern
183
183
  fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
184
184
  end
@@ -155,7 +155,7 @@ module PulpAnsibleClient
155
155
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
156
156
  end
157
157
 
158
- pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
158
+ pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
159
159
  if @name !~ pattern
160
160
  invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
161
161
  end
@@ -185,7 +185,7 @@ module PulpAnsibleClient
185
185
  return false if @name.nil?
186
186
  return false if @name.to_s.length > 64
187
187
  return false if @name.to_s.length < 3
188
- return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
188
+ return false if @name !~ Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
189
189
  return false if !@company.nil? && @company.to_s.length > 64
190
190
  return false if !@email.nil? && @email.to_s.length > 256
191
191
  return false if !@description.nil? && @description.to_s.length > 256
@@ -208,7 +208,7 @@ module PulpAnsibleClient
208
208
  fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
209
209
  end
210
210
 
211
- pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
211
+ pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
212
212
  if name !~ pattern
213
213
  fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
214
214
  end
@@ -18,15 +18,15 @@ module PulpAnsibleClient
18
18
  # An uncommitted upload that may be turned into the content unit.
19
19
  attr_accessor :upload
20
20
 
21
+ # An uploaded file that may be turned into the content unit.
22
+ attr_accessor :file
23
+
21
24
  # Artifact file representing the physical content
22
25
  attr_accessor :artifact
23
26
 
24
27
  # A URI of a repository the new content unit should be associated with.
25
28
  attr_accessor :repository
26
29
 
27
- # An uploaded file that may be turned into the content unit.
28
- attr_accessor :file
29
-
30
30
  # The name of the collection.
31
31
  attr_accessor :expected_name
32
32
 
@@ -40,9 +40,9 @@ module PulpAnsibleClient
40
40
  def self.attribute_map
41
41
  {
42
42
  :'upload' => :'upload',
43
+ :'file' => :'file',
43
44
  :'artifact' => :'artifact',
44
45
  :'repository' => :'repository',
45
- :'file' => :'file',
46
46
  :'expected_name' => :'expected_name',
47
47
  :'expected_namespace' => :'expected_namespace',
48
48
  :'expected_version' => :'expected_version'
@@ -53,9 +53,9 @@ module PulpAnsibleClient
53
53
  def self.openapi_types
54
54
  {
55
55
  :'upload' => :'String',
56
+ :'file' => :'File',
56
57
  :'artifact' => :'String',
57
58
  :'repository' => :'String',
58
- :'file' => :'File',
59
59
  :'expected_name' => :'String',
60
60
  :'expected_namespace' => :'String',
61
61
  :'expected_version' => :'String'
@@ -87,6 +87,10 @@ module PulpAnsibleClient
87
87
  self.upload = attributes[:'upload']
88
88
  end
89
89
 
90
+ if attributes.key?(:'file')
91
+ self.file = attributes[:'file']
92
+ end
93
+
90
94
  if attributes.key?(:'artifact')
91
95
  self.artifact = attributes[:'artifact']
92
96
  end
@@ -95,10 +99,6 @@ module PulpAnsibleClient
95
99
  self.repository = attributes[:'repository']
96
100
  end
97
101
 
98
- if attributes.key?(:'file')
99
- self.file = attributes[:'file']
100
- end
101
-
102
102
  if attributes.key?(:'expected_name')
103
103
  self.expected_name = attributes[:'expected_name']
104
104
  end
@@ -203,9 +203,9 @@ module PulpAnsibleClient
203
203
  return true if self.equal?(o)
204
204
  self.class == o.class &&
205
205
  upload == o.upload &&
206
+ file == o.file &&
206
207
  artifact == o.artifact &&
207
208
  repository == o.repository &&
208
- file == o.file &&
209
209
  expected_name == o.expected_name &&
210
210
  expected_namespace == o.expected_namespace &&
211
211
  expected_version == o.expected_version
@@ -220,7 +220,7 @@ module PulpAnsibleClient
220
220
  # Calculates hash code according to all attributes.
221
221
  # @return [Integer] Hash code
222
222
  def hash
223
- [upload, artifact, repository, file, expected_name, expected_namespace, expected_version].hash
223
+ [upload, file, artifact, repository, expected_name, expected_namespace, expected_version].hash
224
224
  end
225
225
 
226
226
  # Builds the object from hash
@@ -15,16 +15,16 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
18
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
19
+ attr_accessor :pulp_last_updated
20
20
 
21
21
  # Artifact file representing the physical content
22
22
  attr_accessor :artifact
23
23
 
24
24
  attr_accessor :pulp_href
25
25
 
26
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
27
- attr_accessor :pulp_last_updated
26
+ # Timestamp of creation.
27
+ attr_accessor :pulp_created
28
28
 
29
29
  # The SHA-256 checksum if available.
30
30
  attr_accessor :sha256
@@ -100,10 +100,10 @@ module PulpAnsibleClient
100
100
  # Attribute mapping from ruby-style variable name to JSON key.
101
101
  def self.attribute_map
102
102
  {
103
- :'pulp_created' => :'pulp_created',
103
+ :'pulp_last_updated' => :'pulp_last_updated',
104
104
  :'artifact' => :'artifact',
105
105
  :'pulp_href' => :'pulp_href',
106
- :'pulp_last_updated' => :'pulp_last_updated',
106
+ :'pulp_created' => :'pulp_created',
107
107
  :'sha256' => :'sha256',
108
108
  :'md5' => :'md5',
109
109
  :'sha1' => :'sha1',
@@ -134,10 +134,10 @@ module PulpAnsibleClient
134
134
  # Attribute type mapping.
135
135
  def self.openapi_types
136
136
  {
137
- :'pulp_created' => :'DateTime',
137
+ :'pulp_last_updated' => :'DateTime',
138
138
  :'artifact' => :'String',
139
139
  :'pulp_href' => :'String',
140
- :'pulp_last_updated' => :'DateTime',
140
+ :'pulp_created' => :'DateTime',
141
141
  :'sha256' => :'String',
142
142
  :'md5' => :'String',
143
143
  :'sha1' => :'String',
@@ -146,12 +146,12 @@ module PulpAnsibleClient
146
146
  :'sha512' => :'String',
147
147
  :'id' => :'String',
148
148
  :'authors' => :'Array<String>',
149
- :'contents' => :'Object',
150
- :'dependencies' => :'Object',
149
+ :'contents' => :'AnyType',
150
+ :'dependencies' => :'AnyType',
151
151
  :'description' => :'String',
152
- :'docs_blob' => :'Object',
153
- :'manifest' => :'Object',
154
- :'files' => :'Object',
152
+ :'docs_blob' => :'AnyType',
153
+ :'manifest' => :'AnyType',
154
+ :'files' => :'AnyType',
155
155
  :'documentation' => :'String',
156
156
  :'homepage' => :'String',
157
157
  :'issues' => :'String',
@@ -187,8 +187,8 @@ module PulpAnsibleClient
187
187
  h[k.to_sym] = v
188
188
  }
189
189
 
190
- if attributes.key?(:'pulp_created')
191
- self.pulp_created = attributes[:'pulp_created']
190
+ if attributes.key?(:'pulp_last_updated')
191
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
192
192
  end
193
193
 
194
194
  if attributes.key?(:'artifact')
@@ -199,8 +199,8 @@ module PulpAnsibleClient
199
199
  self.pulp_href = attributes[:'pulp_href']
200
200
  end
201
201
 
202
- if attributes.key?(:'pulp_last_updated')
203
- self.pulp_last_updated = attributes[:'pulp_last_updated']
202
+ if attributes.key?(:'pulp_created')
203
+ self.pulp_created = attributes[:'pulp_created']
204
204
  end
205
205
 
206
206
  if attributes.key?(:'sha256')
@@ -444,10 +444,10 @@ module PulpAnsibleClient
444
444
  def ==(o)
445
445
  return true if self.equal?(o)
446
446
  self.class == o.class &&
447
- pulp_created == o.pulp_created &&
447
+ pulp_last_updated == o.pulp_last_updated &&
448
448
  artifact == o.artifact &&
449
449
  pulp_href == o.pulp_href &&
450
- pulp_last_updated == o.pulp_last_updated &&
450
+ pulp_created == o.pulp_created &&
451
451
  sha256 == o.sha256 &&
452
452
  md5 == o.md5 &&
453
453
  sha1 == o.sha1 &&
@@ -483,7 +483,7 @@ module PulpAnsibleClient
483
483
  # Calculates hash code according to all attributes.
484
484
  # @return [Integer] Hash code
485
485
  def hash
486
- [pulp_created, artifact, pulp_href, pulp_last_updated, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
486
+ [pulp_last_updated, artifact, pulp_href, pulp_created, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
487
487
  end
488
488
 
489
489
  # Builds the object from hash