pulp_ansible_client 0.22.3 → 0.23.1

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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +4 -4
  4. data/docs/AnsibleCollectionVersionResponse.md +7 -7
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +29 -29
  7. data/docs/AnsibleRole.md +3 -3
  8. data/docs/AnsibleRoleResponse.md +7 -7
  9. data/docs/ContentCollectionVersionsApi.md +6 -8
  10. data/docs/PatchedansibleGitRemote.md +28 -28
  11. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -4
  12. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -4
  13. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -4
  14. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -4
  15. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -12
  16. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -6
  17. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -6
  18. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -6
  19. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -6
  20. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  21. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +25 -25
  22. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +254 -254
  23. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +167 -167
  24. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  25. data/lib/pulp_ansible_client/models/ansible_role_response.rb +25 -25
  26. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +247 -247
  27. data/lib/pulp_ansible_client/version.rb +1 -1
  28. data/spec/api/content_collection_versions_api_spec.rb +3 -4
  29. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -2
  30. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -2
  31. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -2
  32. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -2
  33. data/spec/models/ansible_collection_version_response_spec.rb +4 -4
  34. data/spec/models/ansible_collection_version_spec.rb +3 -3
  35. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  36. data/spec/models/ansible_git_remote_spec.rb +20 -20
  37. data/spec/models/ansible_role_response_spec.rb +4 -4
  38. data/spec/models/ansible_role_spec.rb +2 -2
  39. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  40. metadata +2 -2
@@ -15,19 +15,19 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Role versions.
17
17
  class AnsibleRoleResponse
18
- # Artifact file representing the physical content
19
- attr_accessor :artifact
18
+ attr_accessor :pulp_href
20
19
 
21
- # 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.
22
- attr_accessor :pulp_last_updated
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
23
22
 
24
23
  # Timestamp of creation.
25
24
  attr_accessor :pulp_created
26
25
 
27
- attr_accessor :pulp_href
26
+ # Artifact file representing the physical content
27
+ attr_accessor :artifact
28
28
 
29
- # The Pulp Resource Name (PRN).
30
- attr_accessor :prn
29
+ # 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.
30
+ attr_accessor :pulp_last_updated
31
31
 
32
32
  attr_accessor :version
33
33
 
@@ -38,11 +38,11 @@ module PulpAnsibleClient
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
39
39
  def self.attribute_map
40
40
  {
41
- :'artifact' => :'artifact',
42
- :'pulp_last_updated' => :'pulp_last_updated',
43
- :'pulp_created' => :'pulp_created',
44
41
  :'pulp_href' => :'pulp_href',
45
42
  :'prn' => :'prn',
43
+ :'pulp_created' => :'pulp_created',
44
+ :'artifact' => :'artifact',
45
+ :'pulp_last_updated' => :'pulp_last_updated',
46
46
  :'version' => :'version',
47
47
  :'name' => :'name',
48
48
  :'namespace' => :'namespace'
@@ -52,11 +52,11 @@ module PulpAnsibleClient
52
52
  # Attribute type mapping.
53
53
  def self.openapi_types
54
54
  {
55
- :'artifact' => :'String',
56
- :'pulp_last_updated' => :'DateTime',
57
- :'pulp_created' => :'DateTime',
58
55
  :'pulp_href' => :'String',
59
56
  :'prn' => :'String',
57
+ :'pulp_created' => :'DateTime',
58
+ :'artifact' => :'String',
59
+ :'pulp_last_updated' => :'DateTime',
60
60
  :'version' => :'String',
61
61
  :'name' => :'String',
62
62
  :'namespace' => :'String'
@@ -84,24 +84,24 @@ module PulpAnsibleClient
84
84
  h[k.to_sym] = v
85
85
  }
86
86
 
87
- if attributes.key?(:'artifact')
88
- self.artifact = attributes[:'artifact']
87
+ if attributes.key?(:'pulp_href')
88
+ self.pulp_href = attributes[:'pulp_href']
89
89
  end
90
90
 
91
- if attributes.key?(:'pulp_last_updated')
92
- self.pulp_last_updated = attributes[:'pulp_last_updated']
91
+ if attributes.key?(:'prn')
92
+ self.prn = attributes[:'prn']
93
93
  end
94
94
 
95
95
  if attributes.key?(:'pulp_created')
96
96
  self.pulp_created = attributes[:'pulp_created']
97
97
  end
98
98
 
99
- if attributes.key?(:'pulp_href')
100
- self.pulp_href = attributes[:'pulp_href']
99
+ if attributes.key?(:'artifact')
100
+ self.artifact = attributes[:'artifact']
101
101
  end
102
102
 
103
- if attributes.key?(:'prn')
104
- self.prn = attributes[:'prn']
103
+ if attributes.key?(:'pulp_last_updated')
104
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
105
105
  end
106
106
 
107
107
  if attributes.key?(:'version')
@@ -155,11 +155,11 @@ module PulpAnsibleClient
155
155
  def ==(o)
156
156
  return true if self.equal?(o)
157
157
  self.class == o.class &&
158
- artifact == o.artifact &&
159
- pulp_last_updated == o.pulp_last_updated &&
160
- pulp_created == o.pulp_created &&
161
158
  pulp_href == o.pulp_href &&
162
159
  prn == o.prn &&
160
+ pulp_created == o.pulp_created &&
161
+ artifact == o.artifact &&
162
+ pulp_last_updated == o.pulp_last_updated &&
163
163
  version == o.version &&
164
164
  name == o.name &&
165
165
  namespace == o.namespace
@@ -174,7 +174,7 @@ module PulpAnsibleClient
174
174
  # Calculates hash code according to all attributes.
175
175
  # @return [Integer] Hash code
176
176
  def hash
177
- [artifact, pulp_last_updated, pulp_created, pulp_href, prn, version, name, namespace].hash
177
+ [pulp_href, prn, pulp_created, artifact, pulp_last_updated, version, name, namespace].hash
178
178
  end
179
179
 
180
180
  # Builds the object from hash