pulp_ansible_client 0.25.6 → 0.25.8

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 (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  4. data/docs/AnsibleGitRemote.md +30 -30
  5. data/docs/AnsibleGitRemoteResponse.md +28 -28
  6. data/docs/AnsibleRole.md +2 -2
  7. data/docs/AnsibleRoleResponse.md +6 -6
  8. data/docs/ContentCollectionVersionsApi.md +8 -8
  9. data/docs/PatchedansibleGitRemote.md +30 -30
  10. data/docs/RemotesGitApi.md +2 -2
  11. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
  12. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  13. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  14. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  15. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  16. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +27 -27
  17. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
  18. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
  19. data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
  20. data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
  21. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +232 -232
  22. data/lib/pulp_ansible_client/version.rb +1 -1
  23. data/spec/api/content_collection_versions_api_spec.rb +4 -4
  24. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  25. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  26. data/spec/models/ansible_git_remote_spec.rb +19 -19
  27. data/spec/models/ansible_role_response_spec.rb +5 -5
  28. data/spec/models/ansible_role_spec.rb +3 -3
  29. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  30. metadata +119 -119
@@ -16,22 +16,22 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for CollectionVersion Content.
18
18
  class AnsibleCollectionVersionResponse
19
- attr_accessor :pulp_href
20
-
21
- # The Pulp Resource Name (PRN).
22
- attr_accessor :prn
23
-
24
19
  # Timestamp of creation.
25
20
  attr_accessor :pulp_created
26
21
 
22
+ # Artifact file representing the physical content
23
+ attr_accessor :artifact
24
+
27
25
  # 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.
28
26
  attr_accessor :pulp_last_updated
29
27
 
28
+ attr_accessor :pulp_href
29
+
30
30
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
31
  attr_accessor :pulp_labels
32
32
 
33
- # Artifact file representing the physical content
34
- attr_accessor :artifact
33
+ # The Pulp Resource Name (PRN).
34
+ attr_accessor :prn
35
35
 
36
36
  # The SHA-256 checksum if available.
37
37
  attr_accessor :sha256
@@ -95,12 +95,12 @@ module PulpAnsibleClient
95
95
  # Attribute mapping from ruby-style variable name to JSON key.
96
96
  def self.attribute_map
97
97
  {
98
- :'pulp_href' => :'pulp_href',
99
- :'prn' => :'prn',
100
98
  :'pulp_created' => :'pulp_created',
99
+ :'artifact' => :'artifact',
101
100
  :'pulp_last_updated' => :'pulp_last_updated',
101
+ :'pulp_href' => :'pulp_href',
102
102
  :'pulp_labels' => :'pulp_labels',
103
- :'artifact' => :'artifact',
103
+ :'prn' => :'prn',
104
104
  :'sha256' => :'sha256',
105
105
  :'md5' => :'md5',
106
106
  :'sha1' => :'sha1',
@@ -132,12 +132,12 @@ module PulpAnsibleClient
132
132
  # Attribute type mapping.
133
133
  def self.openapi_types
134
134
  {
135
- :'pulp_href' => :'String',
136
- :'prn' => :'String',
137
135
  :'pulp_created' => :'Time',
136
+ :'artifact' => :'String',
138
137
  :'pulp_last_updated' => :'Time',
138
+ :'pulp_href' => :'String',
139
139
  :'pulp_labels' => :'Hash<String, String>',
140
- :'artifact' => :'String',
140
+ :'prn' => :'String',
141
141
  :'sha256' => :'String',
142
142
  :'md5' => :'String',
143
143
  :'sha1' => :'String',
@@ -183,30 +183,30 @@ module PulpAnsibleClient
183
183
  h[k.to_sym] = v
184
184
  }
185
185
 
186
- if attributes.key?(:'pulp_href')
187
- self.pulp_href = attributes[:'pulp_href']
188
- end
189
-
190
- if attributes.key?(:'prn')
191
- self.prn = attributes[:'prn']
192
- end
193
-
194
186
  if attributes.key?(:'pulp_created')
195
187
  self.pulp_created = attributes[:'pulp_created']
196
188
  end
197
189
 
190
+ if attributes.key?(:'artifact')
191
+ self.artifact = attributes[:'artifact']
192
+ end
193
+
198
194
  if attributes.key?(:'pulp_last_updated')
199
195
  self.pulp_last_updated = attributes[:'pulp_last_updated']
200
196
  end
201
197
 
198
+ if attributes.key?(:'pulp_href')
199
+ self.pulp_href = attributes[:'pulp_href']
200
+ end
201
+
202
202
  if attributes.key?(:'pulp_labels')
203
203
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
204
204
  self.pulp_labels = value
205
205
  end
206
206
  end
207
207
 
208
- if attributes.key?(:'artifact')
209
- self.artifact = attributes[:'artifact']
208
+ if attributes.key?(:'prn')
209
+ self.prn = attributes[:'prn']
210
210
  end
211
211
 
212
212
  if attributes.key?(:'sha256')
@@ -464,12 +464,12 @@ module PulpAnsibleClient
464
464
  def ==(o)
465
465
  return true if self.equal?(o)
466
466
  self.class == o.class &&
467
- pulp_href == o.pulp_href &&
468
- prn == o.prn &&
469
467
  pulp_created == o.pulp_created &&
468
+ artifact == o.artifact &&
470
469
  pulp_last_updated == o.pulp_last_updated &&
470
+ pulp_href == o.pulp_href &&
471
471
  pulp_labels == o.pulp_labels &&
472
- artifact == o.artifact &&
472
+ prn == o.prn &&
473
473
  sha256 == o.sha256 &&
474
474
  md5 == o.md5 &&
475
475
  sha1 == o.sha1 &&
@@ -501,7 +501,7 @@ module PulpAnsibleClient
501
501
  # Calculates hash code according to all attributes.
502
502
  # @return [Integer] Hash code
503
503
  def hash
504
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
504
+ [pulp_created, artifact, pulp_last_updated, pulp_href, pulp_labels, prn, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
505
505
  end
506
506
 
507
507
  # Builds the object from hash