pulp_ansible_client 0.20.8 → 0.20.10

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 (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +2 -2
  4. data/docs/AnsibleGitRemote.md +30 -30
  5. data/docs/AnsibleGitRemoteResponse.md +26 -26
  6. data/docs/AnsibleRoleResponse.md +3 -3
  7. data/docs/ContentCollectionVersionsApi.md +2 -2
  8. data/docs/PatchedansibleGitRemote.md +30 -30
  9. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  10. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  11. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
  12. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  13. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +258 -258
  14. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +157 -157
  15. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  16. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  18. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  19. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +253 -253
  20. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  21. data/lib/pulp_ansible_client/version.rb +1 -1
  22. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  23. data/spec/models/ansible_collection_version_spec.rb +3 -3
  24. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  25. data/spec/models/ansible_git_remote_spec.rb +20 -20
  26. data/spec/models/ansible_role_response_spec.rb +3 -3
  27. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  28. metadata +136 -136
@@ -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 uncommitted upload that may be turned into the artifact of the content unit.
22
25
  attr_accessor :upload
23
26
 
24
27
  # An uploaded file that may be turned into the artifact of the content unit.
25
28
  attr_accessor :file
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
  :'upload' => :'upload',
44
45
  :'file' => :'file',
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
  :'upload' => :'String',
57
58
  :'file' => :'File',
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?(:'upload')
91
95
  self.upload = attributes[:'upload']
92
96
  end
@@ -95,10 +99,6 @@ module PulpAnsibleClient
95
99
  self.file = attributes[:'file']
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
  upload == o.upload &&
207
208
  file == o.file &&
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, upload, file, artifact, expected_name, expected_namespace, expected_version].hash
223
+ [repository, artifact, upload, file, expected_name, expected_namespace, expected_version].hash
224
224
  end
225
225
 
226
226
  # Builds the object from hash