pulp_ansible_client 0.18.3 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -47
  3. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  4. data/docs/AnsibleCollectionVersion.md +3 -3
  5. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  6. data/docs/AnsibleCollectionsApi.md +9 -15
  7. data/docs/AnsibleCopyApi.md +1 -1
  8. data/docs/AnsibleGitRemote.md +25 -25
  9. data/docs/AnsibleGitRemoteResponse.md +23 -23
  10. data/docs/AnsibleRole.md +3 -3
  11. data/docs/ApiCollectionsApi.md +1 -1
  12. data/docs/ApiRolesApi.md +1 -1
  13. data/docs/CollectionImportApi.md +1 -1
  14. data/docs/CollectionNamespaceResponse.md +1 -1
  15. data/docs/CollectionResponse.md +5 -3
  16. data/docs/CollectionVersionResponse.md +1 -1
  17. data/docs/CollectionVersionSignatureResponse.md +23 -0
  18. data/docs/ContentCollectionDeprecationsApi.md +1 -3
  19. data/docs/ContentCollectionMarksApi.md +2 -4
  20. data/docs/ContentCollectionSignaturesApi.md +3 -5
  21. data/docs/ContentCollectionVersionsApi.md +5 -5
  22. data/docs/ContentNamespacesApi.md +1 -19
  23. data/docs/ContentRolesApi.md +1 -3
  24. data/docs/DistributionsAnsibleApi.md +10 -136
  25. data/docs/GalaxyDetailApi.md +1 -1
  26. data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
  27. data/docs/PatchedansibleGitRemote.md +25 -25
  28. data/docs/PulpAnsibleApiApi.md +1 -1
  29. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  30. data/docs/PulpAnsibleApiV3Api.md +1 -1
  31. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  32. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  33. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
  34. data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
  35. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
  36. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  37. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
  38. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  42. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  43. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
  44. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
  45. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  46. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
  47. data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
  48. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  49. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  50. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  51. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  52. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  53. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
  54. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
  55. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
  56. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  57. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
  68. data/docs/PulpAnsibleTagsApi.md +1 -1
  69. data/docs/RemotesCollectionApi.md +9 -135
  70. data/docs/RemotesGitApi.md +9 -135
  71. data/docs/RemotesRoleApi.md +9 -135
  72. data/docs/RepositoriesAnsibleApi.md +10 -136
  73. data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
  74. data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
  75. data/docs/VersionsApi.md +1 -1
  76. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
  77. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
  78. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
  79. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
  80. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  81. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
  82. data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
  83. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
  92. 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 -26
  93. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
  94. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
  95. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
  96. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
  97. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
  98. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
  99. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
  100. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
  102. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
  103. data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
  104. data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
  105. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
  106. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
  107. data/lib/pulp_ansible_client/configuration.rb +3 -3
  108. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  109. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
  110. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
  111. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  112. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  113. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +217 -217
  114. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +143 -143
  115. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  116. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  117. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
  118. data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
  119. data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
  120. data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
  121. data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
  122. data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
  123. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  124. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +216 -216
  125. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  126. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
  127. data/lib/pulp_ansible_client/version.rb +1 -1
  128. data/lib/pulp_ansible_client.rb +3 -5
  129. data/spec/api/ansible_collections_api_spec.rb +0 -5
  130. data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
  131. data/spec/api/content_collection_marks_api_spec.rb +0 -1
  132. data/spec/api/content_collection_signatures_api_spec.rb +0 -1
  133. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  134. data/spec/api/content_namespaces_api_spec.rb +0 -9
  135. data/spec/api/content_roles_api_spec.rb +0 -1
  136. data/spec/api/distributions_ansible_api_spec.rb +0 -35
  137. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
  138. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
  139. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
  140. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
  141. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
  142. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
  143. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
  144. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
  145. 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 -9
  146. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
  147. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
  148. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
  149. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
  150. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
  151. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
  152. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
  153. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
  154. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
  155. data/spec/api/remotes_collection_api_spec.rb +0 -35
  156. data/spec/api/remotes_git_api_spec.rb +0 -35
  157. data/spec/api/remotes_role_api_spec.rb +0 -35
  158. data/spec/api/repositories_ansible_api_spec.rb +0 -35
  159. data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
  160. data/spec/configuration_spec.rb +3 -3
  161. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  162. data/spec/models/ansible_collection_version_spec.rb +3 -3
  163. data/spec/models/ansible_git_remote_response_spec.rb +16 -16
  164. data/spec/models/ansible_git_remote_spec.rb +19 -19
  165. data/spec/models/ansible_role_spec.rb +2 -2
  166. data/spec/models/collection_response_spec.rb +6 -0
  167. data/spec/models/collection_version_signature_response_spec.rb +59 -0
  168. data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
  169. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  170. metadata +155 -163
  171. data/docs/SetLabel.md +0 -19
  172. data/docs/SetLabelResponse.md +0 -19
  173. data/docs/UnsetLabelResponse.md +0 -19
  174. data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
  175. data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
  176. data/spec/models/set_label_response_spec.rb +0 -47
  177. data/spec/models/set_label_spec.rb +0 -47
  178. data/spec/models/unset_label_response_spec.rb +0 -47
@@ -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 SHA-256 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
  :'sha256' => :'sha256',
104
104
  :'md5' => :'md5',
@@ -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
  :'sha256' => :'String',
137
137
  :'md5' => :'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
@@ -435,8 +435,8 @@ module PulpAnsibleClient
435
435
  def ==(o)
436
436
  return true if self.equal?(o)
437
437
  self.class == o.class &&
438
- artifact == o.artifact &&
439
438
  pulp_created == o.pulp_created &&
439
+ artifact == o.artifact &&
440
440
  pulp_href == o.pulp_href &&
441
441
  sha256 == o.sha256 &&
442
442
  md5 == o.md5 &&
@@ -473,7 +473,7 @@ module PulpAnsibleClient
473
473
  # Calculates hash code according to all attributes.
474
474
  # @return [Integer] Hash code
475
475
  def hash
476
- [artifact, pulp_created, pulp_href, 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
476
+ [pulp_created, artifact, pulp_href, 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
477
477
  end
478
478
 
479
479
  # Builds the object from hash