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 Role versions.
18
18
  class AnsibleRoleResponse
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
  attr_accessor :version
37
37
 
@@ -42,12 +42,12 @@ module PulpAnsibleClient
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
43
43
  def self.attribute_map
44
44
  {
45
- :'pulp_href' => :'pulp_href',
46
- :'prn' => :'prn',
47
45
  :'pulp_created' => :'pulp_created',
46
+ :'artifact' => :'artifact',
48
47
  :'pulp_last_updated' => :'pulp_last_updated',
48
+ :'pulp_href' => :'pulp_href',
49
49
  :'pulp_labels' => :'pulp_labels',
50
- :'artifact' => :'artifact',
50
+ :'prn' => :'prn',
51
51
  :'version' => :'version',
52
52
  :'name' => :'name',
53
53
  :'namespace' => :'namespace'
@@ -62,12 +62,12 @@ module PulpAnsibleClient
62
62
  # Attribute type mapping.
63
63
  def self.openapi_types
64
64
  {
65
- :'pulp_href' => :'String',
66
- :'prn' => :'String',
67
65
  :'pulp_created' => :'Time',
66
+ :'artifact' => :'String',
68
67
  :'pulp_last_updated' => :'Time',
68
+ :'pulp_href' => :'String',
69
69
  :'pulp_labels' => :'Hash<String, String>',
70
- :'artifact' => :'String',
70
+ :'prn' => :'String',
71
71
  :'version' => :'String',
72
72
  :'name' => :'String',
73
73
  :'namespace' => :'String'
@@ -95,32 +95,32 @@ module PulpAnsibleClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'pulp_href')
99
- self.pulp_href = attributes[:'pulp_href']
100
- end
101
-
102
- if attributes.key?(:'prn')
103
- self.prn = attributes[:'prn']
104
- end
105
-
106
98
  if attributes.key?(:'pulp_created')
107
99
  self.pulp_created = attributes[:'pulp_created']
108
100
  end
109
101
 
102
+ if attributes.key?(:'artifact')
103
+ self.artifact = attributes[:'artifact']
104
+ else
105
+ self.artifact = nil
106
+ end
107
+
110
108
  if attributes.key?(:'pulp_last_updated')
111
109
  self.pulp_last_updated = attributes[:'pulp_last_updated']
112
110
  end
113
111
 
112
+ if attributes.key?(:'pulp_href')
113
+ self.pulp_href = attributes[:'pulp_href']
114
+ end
115
+
114
116
  if attributes.key?(:'pulp_labels')
115
117
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
116
118
  self.pulp_labels = value
117
119
  end
118
120
  end
119
121
 
120
- if attributes.key?(:'artifact')
121
- self.artifact = attributes[:'artifact']
122
- else
123
- self.artifact = nil
122
+ if attributes.key?(:'prn')
123
+ self.prn = attributes[:'prn']
124
124
  end
125
125
 
126
126
  if attributes.key?(:'version')
@@ -182,12 +182,12 @@ module PulpAnsibleClient
182
182
  def ==(o)
183
183
  return true if self.equal?(o)
184
184
  self.class == o.class &&
185
- pulp_href == o.pulp_href &&
186
- prn == o.prn &&
187
185
  pulp_created == o.pulp_created &&
186
+ artifact == o.artifact &&
188
187
  pulp_last_updated == o.pulp_last_updated &&
188
+ pulp_href == o.pulp_href &&
189
189
  pulp_labels == o.pulp_labels &&
190
- artifact == o.artifact &&
190
+ prn == o.prn &&
191
191
  version == o.version &&
192
192
  name == o.name &&
193
193
  namespace == o.namespace
@@ -202,7 +202,7 @@ module PulpAnsibleClient
202
202
  # Calculates hash code according to all attributes.
203
203
  # @return [Integer] Hash code
204
204
  def hash
205
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, version, name, namespace].hash
205
+ [pulp_created, artifact, pulp_last_updated, pulp_href, pulp_labels, prn, version, name, namespace].hash
206
206
  end
207
207
 
208
208
  # Builds the object from hash