pulp_ansible_client 0.16.5 → 0.16.7

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 +4 -4
  4. data/docs/AnsibleGitRemote.md +22 -22
  5. data/docs/AnsibleGitRemoteResponse.md +22 -22
  6. data/docs/AnsibleRoleResponse.md +3 -3
  7. data/docs/ContentCollectionVersionsApi.md +4 -4
  8. data/docs/PatchedansibleGitRemote.md +22 -22
  9. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  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 +18 -18
  13. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +212 -212
  14. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +138 -138
  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 +201 -201
  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 +2 -2
  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 +19 -19
  26. data/spec/models/ansible_role_response_spec.rb +2 -2
  27. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  28. metadata +107 -107
@@ -15,18 +15,18 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # An uncommitted upload that may be turned into the artifact of the content unit.
19
- attr_accessor :upload
18
+ # Artifact file representing the physical content
19
+ attr_accessor :artifact
20
20
 
21
21
  # A URI of a repository the new content unit should be associated with.
22
22
  attr_accessor :repository
23
23
 
24
+ # An uncommitted upload that may be turned into the artifact of the content unit.
25
+ attr_accessor :upload
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
 
@@ -39,10 +39,10 @@ module PulpAnsibleClient
39
39
  # Attribute mapping from ruby-style variable name to JSON key.
40
40
  def self.attribute_map
41
41
  {
42
- :'upload' => :'upload',
42
+ :'artifact' => :'artifact',
43
43
  :'repository' => :'repository',
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'
@@ -52,10 +52,10 @@ module PulpAnsibleClient
52
52
  # Attribute type mapping.
53
53
  def self.openapi_types
54
54
  {
55
- :'upload' => :'String',
55
+ :'artifact' => :'String',
56
56
  :'repository' => :'String',
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'
@@ -83,20 +83,20 @@ module PulpAnsibleClient
83
83
  h[k.to_sym] = v
84
84
  }
85
85
 
86
- if attributes.key?(:'upload')
87
- self.upload = attributes[:'upload']
86
+ if attributes.key?(:'artifact')
87
+ self.artifact = attributes[:'artifact']
88
88
  end
89
89
 
90
90
  if attributes.key?(:'repository')
91
91
  self.repository = attributes[:'repository']
92
92
  end
93
93
 
94
- if attributes.key?(:'file')
95
- self.file = attributes[:'file']
94
+ if attributes.key?(:'upload')
95
+ self.upload = attributes[:'upload']
96
96
  end
97
97
 
98
- if attributes.key?(:'artifact')
99
- self.artifact = attributes[:'artifact']
98
+ if attributes.key?(:'file')
99
+ self.file = attributes[:'file']
100
100
  end
101
101
 
102
102
  if attributes.key?(:'expected_name')
@@ -202,10 +202,10 @@ module PulpAnsibleClient
202
202
  def ==(o)
203
203
  return true if self.equal?(o)
204
204
  self.class == o.class &&
205
- upload == o.upload &&
205
+ artifact == o.artifact &&
206
206
  repository == o.repository &&
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
- [upload, repository, file, artifact, expected_name, expected_namespace, expected_version].hash
223
+ [artifact, repository, upload, file, expected_name, expected_namespace, expected_version].hash
224
224
  end
225
225
 
226
226
  # Builds the object from hash