pulp_ansible_client 0.29.8 → 0.29.9

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