pulp_ansible_client 0.28.0 → 0.28.2

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/AnsibleCollectionVersionResponse.md +6 -6
  4. data/docs/AnsibleGitRemote.md +26 -26
  5. data/docs/AnsibleGitRemoteResponse.md +26 -26
  6. data/docs/AnsibleRole.md +4 -4
  7. data/docs/AnsibleRoleResponse.md +6 -6
  8. data/docs/ContentCollectionVersionsApi.md +8 -8
  9. data/docs/DistributionsAnsibleApi.md +10 -10
  10. data/docs/PatchedansibleGitRemote.md +26 -26
  11. data/docs/RemotesCollectionApi.md +10 -10
  12. data/docs/RemotesGitApi.md +12 -12
  13. data/docs/RemotesRoleApi.md +10 -10
  14. data/docs/RepositoriesAnsibleApi.md +10 -10
  15. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
  16. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +10 -10
  17. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +10 -10
  18. data/lib/pulp_ansible_client/api/remotes_git_api.rb +10 -10
  19. data/lib/pulp_ansible_client/api/remotes_role_api.rb +10 -10
  20. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +10 -10
  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 +231 -231
  23. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
  24. data/lib/pulp_ansible_client/models/ansible_role.rb +17 -17
  25. data/lib/pulp_ansible_client/models/ansible_role_response.rb +31 -31
  26. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
  27. data/lib/pulp_ansible_client/version.rb +1 -1
  28. data/spec/api/content_collection_versions_api_spec.rb +4 -4
  29. data/spec/api/distributions_ansible_api_spec.rb +4 -4
  30. data/spec/api/remotes_collection_api_spec.rb +4 -4
  31. data/spec/api/remotes_git_api_spec.rb +4 -4
  32. data/spec/api/remotes_role_api_spec.rb +4 -4
  33. data/spec/api/repositories_ansible_api_spec.rb +4 -4
  34. data/spec/models/ansible_collection_version_response_spec.rb +6 -6
  35. data/spec/models/ansible_git_remote_response_spec.rb +17 -17
  36. data/spec/models/ansible_git_remote_spec.rb +19 -19
  37. data/spec/models/ansible_role_response_spec.rb +6 -6
  38. data/spec/models/ansible_role_spec.rb +2 -2
  39. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  40. metadata +125 -125
@@ -19,22 +19,22 @@ module PulpAnsibleClient
19
19
  # The Pulp Resource Name (PRN).
20
20
  attr_accessor :prn
21
21
 
22
+ attr_accessor :pulp_href
23
+
24
+ # Artifact file representing the physical content
25
+ attr_accessor :artifact
26
+
27
+ attr_accessor :vuln_report
28
+
22
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.
23
30
  attr_accessor :pulp_last_updated
24
31
 
25
- attr_accessor :pulp_href
26
-
27
32
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
33
  attr_accessor :pulp_labels
29
34
 
30
- # Artifact file representing the physical content
31
- attr_accessor :artifact
32
-
33
35
  # Timestamp of creation.
34
36
  attr_accessor :pulp_created
35
37
 
36
- attr_accessor :vuln_report
37
-
38
38
  attr_accessor :version
39
39
 
40
40
  attr_accessor :name
@@ -45,12 +45,12 @@ module PulpAnsibleClient
45
45
  def self.attribute_map
46
46
  {
47
47
  :'prn' => :'prn',
48
- :'pulp_last_updated' => :'pulp_last_updated',
49
48
  :'pulp_href' => :'pulp_href',
50
- :'pulp_labels' => :'pulp_labels',
51
49
  :'artifact' => :'artifact',
52
- :'pulp_created' => :'pulp_created',
53
50
  :'vuln_report' => :'vuln_report',
51
+ :'pulp_last_updated' => :'pulp_last_updated',
52
+ :'pulp_labels' => :'pulp_labels',
53
+ :'pulp_created' => :'pulp_created',
54
54
  :'version' => :'version',
55
55
  :'name' => :'name',
56
56
  :'namespace' => :'namespace'
@@ -66,12 +66,12 @@ module PulpAnsibleClient
66
66
  def self.openapi_types
67
67
  {
68
68
  :'prn' => :'String',
69
- :'pulp_last_updated' => :'Time',
70
69
  :'pulp_href' => :'String',
71
- :'pulp_labels' => :'Hash<String, String>',
72
70
  :'artifact' => :'String',
73
- :'pulp_created' => :'Time',
74
71
  :'vuln_report' => :'String',
72
+ :'pulp_last_updated' => :'Time',
73
+ :'pulp_labels' => :'Hash<String, String>',
74
+ :'pulp_created' => :'Time',
75
75
  :'version' => :'String',
76
76
  :'name' => :'String',
77
77
  :'namespace' => :'String'
@@ -103,34 +103,34 @@ module PulpAnsibleClient
103
103
  self.prn = attributes[:'prn']
104
104
  end
105
105
 
106
- if attributes.key?(:'pulp_last_updated')
107
- self.pulp_last_updated = attributes[:'pulp_last_updated']
108
- end
109
-
110
106
  if attributes.key?(:'pulp_href')
111
107
  self.pulp_href = attributes[:'pulp_href']
112
108
  end
113
109
 
114
- if attributes.key?(:'pulp_labels')
115
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
116
- self.pulp_labels = value
117
- end
118
- end
119
-
120
110
  if attributes.key?(:'artifact')
121
111
  self.artifact = attributes[:'artifact']
122
112
  else
123
113
  self.artifact = nil
124
114
  end
125
115
 
126
- if attributes.key?(:'pulp_created')
127
- self.pulp_created = attributes[:'pulp_created']
128
- end
129
-
130
116
  if attributes.key?(:'vuln_report')
131
117
  self.vuln_report = attributes[:'vuln_report']
132
118
  end
133
119
 
120
+ if attributes.key?(:'pulp_last_updated')
121
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
122
+ end
123
+
124
+ if attributes.key?(:'pulp_labels')
125
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
126
+ self.pulp_labels = value
127
+ end
128
+ end
129
+
130
+ if attributes.key?(:'pulp_created')
131
+ self.pulp_created = attributes[:'pulp_created']
132
+ end
133
+
134
134
  if attributes.key?(:'version')
135
135
  self.version = attributes[:'version']
136
136
  else
@@ -191,12 +191,12 @@ module PulpAnsibleClient
191
191
  return true if self.equal?(o)
192
192
  self.class == o.class &&
193
193
  prn == o.prn &&
194
- pulp_last_updated == o.pulp_last_updated &&
195
194
  pulp_href == o.pulp_href &&
196
- pulp_labels == o.pulp_labels &&
197
195
  artifact == o.artifact &&
198
- pulp_created == o.pulp_created &&
199
196
  vuln_report == o.vuln_report &&
197
+ pulp_last_updated == o.pulp_last_updated &&
198
+ pulp_labels == o.pulp_labels &&
199
+ pulp_created == o.pulp_created &&
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
- [prn, pulp_last_updated, pulp_href, pulp_labels, artifact, pulp_created, vuln_report, version, name, namespace].hash
214
+ [prn, pulp_href, artifact, vuln_report, pulp_last_updated, pulp_labels, pulp_created, version, name, namespace].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash