pulp_ansible_client 0.24.2 → 0.24.3

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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  4. data/docs/AnsibleGitRemote.md +26 -26
  5. data/docs/AnsibleGitRemoteResponse.md +26 -26
  6. data/docs/AnsibleRole.md +2 -2
  7. data/docs/AnsibleRoleResponse.md +6 -6
  8. data/docs/ContentCollectionVersionsApi.md +6 -6
  9. data/docs/ContentNamespacesApi.md +146 -0
  10. data/docs/DistributionsAnsibleApi.md +4 -2
  11. data/docs/PatchedansibleGitRemote.md +26 -26
  12. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  13. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +148 -0
  14. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -3
  15. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -30
  16. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +223 -223
  17. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
  18. data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
  19. data/lib/pulp_ansible_client/models/ansible_role_response.rb +32 -32
  20. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +221 -221
  21. data/lib/pulp_ansible_client/models/unset_label.rb +1 -1
  22. data/lib/pulp_ansible_client/models/unset_label_response.rb +1 -1
  23. data/lib/pulp_ansible_client/version.rb +1 -1
  24. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  25. data/spec/api/content_namespaces_api_spec.rb +26 -0
  26. data/spec/api/distributions_ansible_api_spec.rb +2 -1
  27. data/spec/models/ansible_collection_version_response_spec.rb +6 -6
  28. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  29. data/spec/models/ansible_git_remote_spec.rb +19 -19
  30. data/spec/models/ansible_role_response_spec.rb +6 -6
  31. data/spec/models/ansible_role_spec.rb +2 -2
  32. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  33. metadata +2 -2
@@ -16,23 +16,23 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Role versions.
18
18
  class AnsibleRoleResponse
19
- attr_accessor :pulp_href
20
-
21
- # Timestamp of creation.
22
- attr_accessor :pulp_created
23
-
24
- # Artifact file representing the physical content
25
- attr_accessor :artifact
26
-
27
19
  # The Pulp Resource Name (PRN).
28
20
  attr_accessor :prn
29
21
 
30
22
  # 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.
31
23
  attr_accessor :pulp_last_updated
32
24
 
25
+ # Timestamp of creation.
26
+ attr_accessor :pulp_created
27
+
33
28
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
34
29
  attr_accessor :pulp_labels
35
30
 
31
+ # Artifact file representing the physical content
32
+ attr_accessor :artifact
33
+
34
+ attr_accessor :pulp_href
35
+
36
36
  attr_accessor :version
37
37
 
38
38
  attr_accessor :name
@@ -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
- :'pulp_created' => :'pulp_created',
47
- :'artifact' => :'artifact',
48
45
  :'prn' => :'prn',
49
46
  :'pulp_last_updated' => :'pulp_last_updated',
47
+ :'pulp_created' => :'pulp_created',
50
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'artifact' => :'artifact',
50
+ :'pulp_href' => :'pulp_href',
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
- :'pulp_created' => :'Time',
67
- :'artifact' => :'String',
68
65
  :'prn' => :'String',
69
66
  :'pulp_last_updated' => :'Time',
67
+ :'pulp_created' => :'Time',
70
68
  :'pulp_labels' => :'Hash<String, String>',
69
+ :'artifact' => :'String',
70
+ :'pulp_href' => :'String',
71
71
  :'version' => :'String',
72
72
  :'name' => :'String',
73
73
  :'namespace' => :'String'
@@ -95,20 +95,6 @@ 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?(:'pulp_created')
103
- self.pulp_created = attributes[:'pulp_created']
104
- end
105
-
106
- if attributes.key?(:'artifact')
107
- self.artifact = attributes[:'artifact']
108
- else
109
- self.artifact = nil
110
- end
111
-
112
98
  if attributes.key?(:'prn')
113
99
  self.prn = attributes[:'prn']
114
100
  end
@@ -117,12 +103,26 @@ module PulpAnsibleClient
117
103
  self.pulp_last_updated = attributes[:'pulp_last_updated']
118
104
  end
119
105
 
106
+ if attributes.key?(:'pulp_created')
107
+ self.pulp_created = attributes[:'pulp_created']
108
+ end
109
+
120
110
  if attributes.key?(:'pulp_labels')
121
111
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
112
  self.pulp_labels = value
123
113
  end
124
114
  end
125
115
 
116
+ if attributes.key?(:'artifact')
117
+ self.artifact = attributes[:'artifact']
118
+ else
119
+ self.artifact = nil
120
+ end
121
+
122
+ if attributes.key?(:'pulp_href')
123
+ self.pulp_href = attributes[:'pulp_href']
124
+ end
125
+
126
126
  if attributes.key?(:'version')
127
127
  self.version = attributes[:'version']
128
128
  else
@@ -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
- pulp_created == o.pulp_created &&
187
- artifact == o.artifact &&
188
185
  prn == o.prn &&
189
186
  pulp_last_updated == o.pulp_last_updated &&
187
+ pulp_created == o.pulp_created &&
190
188
  pulp_labels == o.pulp_labels &&
189
+ artifact == o.artifact &&
190
+ pulp_href == o.pulp_href &&
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, pulp_created, artifact, prn, pulp_last_updated, pulp_labels, version, name, namespace].hash
205
+ [prn, pulp_last_updated, pulp_created, pulp_labels, artifact, pulp_href, version, name, namespace].hash
206
206
  end
207
207
 
208
208
  # Builds the object from hash