pulp_ansible_client 0.16.2 → 0.16.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -8
  3. data/docs/AnsibleAnsibleRepository.md +1 -1
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
  5. data/docs/AnsibleCollectionRemote.md +1 -1
  6. data/docs/AnsibleCollectionRemoteResponse.md +1 -1
  7. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  8. data/docs/AnsibleCollectionVersion.md +2 -2
  9. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  10. data/docs/AnsibleCollectionsApi.md +3 -7
  11. data/docs/AnsibleCopyApi.md +1 -1
  12. data/docs/AnsibleGitRemote.md +28 -28
  13. data/docs/AnsibleGitRemoteResponse.md +26 -26
  14. data/docs/AnsibleRoleRemote.md +1 -1
  15. data/docs/AnsibleRoleRemoteResponse.md +1 -1
  16. data/docs/AnsibleRoleResponse.md +3 -3
  17. data/docs/ApiCollectionsApi.md +1 -1
  18. data/docs/ApiRolesApi.md +1 -1
  19. data/docs/CollectionImportApi.md +1 -1
  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 +3 -7
  25. data/docs/ContentCollectionSignaturesApi.md +3 -7
  26. data/docs/ContentCollectionVersionsApi.md +5 -9
  27. data/docs/ContentRolesApi.md +3 -7
  28. data/docs/DistributionsAnsibleApi.md +3 -11
  29. data/docs/GalaxyCollectionResponse.md +4 -4
  30. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  31. data/docs/GalaxyDetailApi.md +1 -1
  32. data/docs/GalaxyRoleResponse.md +1 -1
  33. data/docs/GalaxyRoleVersionResponse.md +1 -1
  34. data/docs/PatchedansibleAnsibleRepository.md +1 -1
  35. data/docs/PatchedansibleCollectionRemote.md +1 -1
  36. data/docs/PatchedansibleGitRemote.md +28 -28
  37. data/docs/PatchedansibleRoleRemote.md +1 -1
  38. data/docs/PulpAnsibleApiApi.md +1 -1
  39. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  40. data/docs/PulpAnsibleApiV3Api.md +1 -1
  41. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  42. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  43. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +3 -7
  44. data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -7
  45. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -7
  46. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  47. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  48. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -7
  49. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  50. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  51. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  52. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -7
  53. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -7
  54. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  55. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  56. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  57. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  58. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  59. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  60. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +3 -7
  61. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -7
  62. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -7
  63. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -7
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  68. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  69. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -7
  70. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -7
  71. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  72. data/docs/PulpAnsibleTagsApi.md +1 -1
  73. data/docs/RemotesCollectionApi.md +3 -7
  74. data/docs/RemotesGitApi.md +3 -7
  75. data/docs/RemotesRoleApi.md +3 -7
  76. data/docs/RepositoriesAnsibleApi.md +3 -23
  77. data/docs/RepositoriesAnsibleVersionsApi.md +3 -5
  78. data/docs/RepositoryAddRemoveContent.md +2 -2
  79. data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
  80. data/docs/VersionsApi.md +1 -1
  81. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -8
  82. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
  83. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
  84. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -11
  85. data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
  86. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +2 -14
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
  92. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
  93. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
  94. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
  95. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
  96. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
  97. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
  98. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
  99. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +2 -8
  100. data/lib/pulp_ansible_client/api/remotes_git_api.rb +2 -8
  101. data/lib/pulp_ansible_client/api/remotes_role_api.rb +2 -8
  102. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +2 -32
  103. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
  104. data/lib/pulp_ansible_client/configuration.rb +3 -3
  105. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  106. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
  107. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +21 -21
  108. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +21 -21
  109. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  110. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  111. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  112. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +236 -236
  113. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +159 -159
  114. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +21 -21
  115. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +21 -21
  116. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  117. data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
  118. data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
  119. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
  120. data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
  121. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
  122. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
  123. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
  124. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
  125. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
  126. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +21 -21
  127. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +227 -227
  128. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +21 -21
  129. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
  130. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
  131. data/lib/pulp_ansible_client/version.rb +1 -1
  132. data/spec/api/ansible_collections_api_spec.rb +1 -3
  133. data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
  134. data/spec/api/content_collection_signatures_api_spec.rb +1 -3
  135. data/spec/api/content_collection_versions_api_spec.rb +2 -4
  136. data/spec/api/content_roles_api_spec.rb +1 -3
  137. data/spec/api/distributions_ansible_api_spec.rb +1 -5
  138. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
  139. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
  140. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
  141. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
  142. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
  143. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
  144. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
  145. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
  146. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
  147. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
  148. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
  149. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
  150. data/spec/api/remotes_collection_api_spec.rb +1 -3
  151. data/spec/api/remotes_git_api_spec.rb +1 -3
  152. data/spec/api/remotes_role_api_spec.rb +1 -3
  153. data/spec/api/repositories_ansible_api_spec.rb +1 -11
  154. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
  155. data/spec/configuration_spec.rb +3 -3
  156. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  157. data/spec/models/ansible_collection_version_spec.rb +3 -3
  158. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  159. data/spec/models/ansible_git_remote_spec.rb +19 -19
  160. data/spec/models/ansible_role_response_spec.rb +2 -2
  161. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  162. metadata +116 -116
@@ -18,15 +18,15 @@ module PulpAnsibleClient
18
18
  # A URI of a repository the new content unit should be associated with.
19
19
  attr_accessor :repository
20
20
 
21
+ # Artifact file representing the physical content
22
+ attr_accessor :artifact
23
+
21
24
  # An uploaded file that may be turned into the artifact of the content unit.
22
25
  attr_accessor :file
23
26
 
24
27
  # An uncommitted upload that may be turned into the artifact of the content unit.
25
28
  attr_accessor :upload
26
29
 
27
- # Artifact file representing the physical content
28
- attr_accessor :artifact
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
  :'repository' => :'repository',
43
+ :'artifact' => :'artifact',
43
44
  :'file' => :'file',
44
45
  :'upload' => :'upload',
45
- :'artifact' => :'artifact',
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
  :'repository' => :'String',
56
+ :'artifact' => :'String',
56
57
  :'file' => :'File',
57
58
  :'upload' => :'String',
58
- :'artifact' => :'String',
59
59
  :'expected_name' => :'String',
60
60
  :'expected_namespace' => :'String',
61
61
  :'expected_version' => :'String'
@@ -87,6 +87,10 @@ module PulpAnsibleClient
87
87
  self.repository = attributes[:'repository']
88
88
  end
89
89
 
90
+ if attributes.key?(:'artifact')
91
+ self.artifact = attributes[:'artifact']
92
+ end
93
+
90
94
  if attributes.key?(:'file')
91
95
  self.file = attributes[:'file']
92
96
  end
@@ -95,10 +99,6 @@ module PulpAnsibleClient
95
99
  self.upload = attributes[:'upload']
96
100
  end
97
101
 
98
- if attributes.key?(:'artifact')
99
- self.artifact = attributes[:'artifact']
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
  repository == o.repository &&
206
+ artifact == o.artifact &&
206
207
  file == o.file &&
207
208
  upload == o.upload &&
208
- artifact == o.artifact &&
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
- [repository, file, upload, artifact, expected_name, expected_namespace, expected_version].hash
223
+ [repository, artifact, file, upload, expected_name, expected_namespace, expected_version].hash
224
224
  end
225
225
 
226
226
  # Builds the object from hash
@@ -15,14 +15,14 @@ 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
20
-
21
18
  attr_accessor :pulp_href
22
19
 
23
20
  # Artifact file representing the physical content
24
21
  attr_accessor :artifact
25
22
 
23
+ # Timestamp of creation.
24
+ attr_accessor :pulp_created
25
+
26
26
  # The SHA-256 checksum if available.
27
27
  attr_accessor :sha256
28
28
 
@@ -97,9 +97,9 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
- :'pulp_created' => :'pulp_created',
101
100
  :'pulp_href' => :'pulp_href',
102
101
  :'artifact' => :'artifact',
102
+ :'pulp_created' => :'pulp_created',
103
103
  :'sha256' => :'sha256',
104
104
  :'md5' => :'md5',
105
105
  :'sha1' => :'sha1',
@@ -130,9 +130,9 @@ module PulpAnsibleClient
130
130
  # Attribute type mapping.
131
131
  def self.openapi_types
132
132
  {
133
- :'pulp_created' => :'DateTime',
134
133
  :'pulp_href' => :'String',
135
134
  :'artifact' => :'String',
135
+ :'pulp_created' => :'DateTime',
136
136
  :'sha256' => :'String',
137
137
  :'md5' => :'String',
138
138
  :'sha1' => :'String',
@@ -182,10 +182,6 @@ module PulpAnsibleClient
182
182
  h[k.to_sym] = v
183
183
  }
184
184
 
185
- if attributes.key?(:'pulp_created')
186
- self.pulp_created = attributes[:'pulp_created']
187
- end
188
-
189
185
  if attributes.key?(:'pulp_href')
190
186
  self.pulp_href = attributes[:'pulp_href']
191
187
  end
@@ -194,6 +190,10 @@ module PulpAnsibleClient
194
190
  self.artifact = attributes[:'artifact']
195
191
  end
196
192
 
193
+ if attributes.key?(:'pulp_created')
194
+ self.pulp_created = attributes[:'pulp_created']
195
+ end
196
+
197
197
  if attributes.key?(:'sha256')
198
198
  self.sha256 = attributes[:'sha256']
199
199
  end
@@ -435,9 +435,9 @@ module PulpAnsibleClient
435
435
  def ==(o)
436
436
  return true if self.equal?(o)
437
437
  self.class == o.class &&
438
- pulp_created == o.pulp_created &&
439
438
  pulp_href == o.pulp_href &&
440
439
  artifact == o.artifact &&
440
+ pulp_created == o.pulp_created &&
441
441
  sha256 == o.sha256 &&
442
442
  md5 == o.md5 &&
443
443
  sha1 == o.sha1 &&
@@ -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
- [pulp_created, pulp_href, artifact, 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_href, artifact, 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
477
477
  end
478
478
 
479
479
  # Builds the object from hash