pulp_ansible_client 0.29.8 → 0.29.10

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
  4. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  5. data/docs/AnsibleGitRemote.md +30 -30
  6. data/docs/AnsibleGitRemoteResponse.md +30 -30
  7. data/docs/AnsibleRole.md +4 -2
  8. data/docs/AnsibleRoleResponse.md +6 -6
  9. data/docs/ContentCollectionSignaturesApi.md +2 -0
  10. data/docs/ContentCollectionVersionsApi.md +10 -8
  11. data/docs/PatchedansibleGitRemote.md +30 -30
  12. data/docs/RepositoryAddRemoveContent.md +3 -1
  13. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
  14. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +15 -12
  15. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  16. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  17. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +11 -1
  18. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  19. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  20. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
  21. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +257 -257
  22. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +163 -163
  23. data/lib/pulp_ansible_client/models/ansible_role.rb +18 -8
  24. data/lib/pulp_ansible_client/models/ansible_role_response.rb +26 -26
  25. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +248 -248
  26. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +16 -4
  27. data/lib/pulp_ansible_client/version.rb +1 -1
  28. data/spec/api/content_collection_signatures_api_spec.rb +1 -0
  29. data/spec/api/content_collection_versions_api_spec.rb +5 -4
  30. data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
  31. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  32. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  33. data/spec/models/ansible_git_remote_spec.rb +19 -19
  34. data/spec/models/ansible_role_response_spec.rb +5 -5
  35. data/spec/models/ansible_role_spec.rb +7 -1
  36. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  37. data/spec/models/repository_add_remove_content_spec.rb +6 -0
  38. metadata +120 -120
@@ -16,24 +16,24 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Role versions.
18
18
  class AnsibleRoleResponse
19
+ # Timestamp of creation.
20
+ attr_accessor :pulp_created
21
+
19
22
  attr_accessor :vuln_report
20
23
 
21
24
  # Artifact file representing the physical content
22
25
  attr_accessor :artifact
23
26
 
24
- # Timestamp of creation.
25
- attr_accessor :pulp_created
26
-
27
27
  # The Pulp Resource Name (PRN).
28
28
  attr_accessor :prn
29
29
 
30
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
- attr_accessor :pulp_labels
30
+ attr_accessor :pulp_href
32
31
 
33
32
  # 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.
34
33
  attr_accessor :pulp_last_updated
35
34
 
36
- attr_accessor :pulp_href
35
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
36
+ attr_accessor :pulp_labels
37
37
 
38
38
  attr_accessor :version
39
39
 
@@ -44,13 +44,13 @@ module PulpAnsibleClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
+ :'pulp_created' => :'pulp_created',
47
48
  :'vuln_report' => :'vuln_report',
48
49
  :'artifact' => :'artifact',
49
- :'pulp_created' => :'pulp_created',
50
50
  :'prn' => :'prn',
51
- :'pulp_labels' => :'pulp_labels',
52
- :'pulp_last_updated' => :'pulp_last_updated',
53
51
  :'pulp_href' => :'pulp_href',
52
+ :'pulp_last_updated' => :'pulp_last_updated',
53
+ :'pulp_labels' => :'pulp_labels',
54
54
  :'version' => :'version',
55
55
  :'name' => :'name',
56
56
  :'namespace' => :'namespace'
@@ -65,13 +65,13 @@ module PulpAnsibleClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
+ :'pulp_created' => :'Time',
68
69
  :'vuln_report' => :'String',
69
70
  :'artifact' => :'String',
70
- :'pulp_created' => :'Time',
71
71
  :'prn' => :'String',
72
- :'pulp_labels' => :'Hash<String, String>',
73
- :'pulp_last_updated' => :'Time',
74
72
  :'pulp_href' => :'String',
73
+ :'pulp_last_updated' => :'Time',
74
+ :'pulp_labels' => :'Hash<String, String>',
75
75
  :'version' => :'String',
76
76
  :'name' => :'String',
77
77
  :'namespace' => :'String'
@@ -99,6 +99,10 @@ module PulpAnsibleClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
+ if attributes.key?(:'pulp_created')
103
+ self.pulp_created = attributes[:'pulp_created']
104
+ end
105
+
102
106
  if attributes.key?(:'vuln_report')
103
107
  self.vuln_report = attributes[:'vuln_report']
104
108
  end
@@ -109,26 +113,22 @@ module PulpAnsibleClient
109
113
  self.artifact = nil
110
114
  end
111
115
 
112
- if attributes.key?(:'pulp_created')
113
- self.pulp_created = attributes[:'pulp_created']
114
- end
115
-
116
116
  if attributes.key?(:'prn')
117
117
  self.prn = attributes[:'prn']
118
118
  end
119
119
 
120
- if attributes.key?(:'pulp_labels')
121
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
- self.pulp_labels = value
123
- end
120
+ if attributes.key?(:'pulp_href')
121
+ self.pulp_href = attributes[:'pulp_href']
124
122
  end
125
123
 
126
124
  if attributes.key?(:'pulp_last_updated')
127
125
  self.pulp_last_updated = attributes[:'pulp_last_updated']
128
126
  end
129
127
 
130
- if attributes.key?(:'pulp_href')
131
- self.pulp_href = attributes[:'pulp_href']
128
+ if attributes.key?(:'pulp_labels')
129
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
130
+ self.pulp_labels = value
131
+ end
132
132
  end
133
133
 
134
134
  if attributes.key?(:'version')
@@ -190,13 +190,13 @@ module PulpAnsibleClient
190
190
  def ==(o)
191
191
  return true if self.equal?(o)
192
192
  self.class == o.class &&
193
+ pulp_created == o.pulp_created &&
193
194
  vuln_report == o.vuln_report &&
194
195
  artifact == o.artifact &&
195
- pulp_created == o.pulp_created &&
196
196
  prn == o.prn &&
197
- pulp_labels == o.pulp_labels &&
198
- pulp_last_updated == o.pulp_last_updated &&
199
197
  pulp_href == o.pulp_href &&
198
+ pulp_last_updated == o.pulp_last_updated &&
199
+ pulp_labels == o.pulp_labels &&
200
200
  version == o.version &&
201
201
  name == o.name &&
202
202
  namespace == o.namespace
@@ -211,7 +211,7 @@ module PulpAnsibleClient
211
211
  # Calculates hash code according to all attributes.
212
212
  # @return [Integer] Hash code
213
213
  def hash
214
- [vuln_report, artifact, pulp_created, prn, pulp_labels, pulp_last_updated, pulp_href, version, name, namespace].hash
214
+ [pulp_created, vuln_report, artifact, prn, pulp_href, pulp_last_updated, pulp_labels, version, name, namespace].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash