pulp_ansible_client 0.28.1 → 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.
@@ -19,21 +19,21 @@ module PulpAnsibleClient
19
19
  # The Pulp Resource Name (PRN).
20
20
  attr_accessor :prn
21
21
 
22
- # Timestamp of creation.
23
- attr_accessor :pulp_created
24
-
25
22
  attr_accessor :pulp_href
26
23
 
27
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
- attr_accessor :pulp_labels
29
-
30
24
  # Artifact file representing the physical content
31
25
  attr_accessor :artifact
32
26
 
27
+ attr_accessor :vuln_report
28
+
33
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.
34
30
  attr_accessor :pulp_last_updated
35
31
 
36
- attr_accessor :vuln_report
32
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
33
+ attr_accessor :pulp_labels
34
+
35
+ # Timestamp of creation.
36
+ attr_accessor :pulp_created
37
37
 
38
38
  attr_accessor :version
39
39
 
@@ -45,12 +45,12 @@ module PulpAnsibleClient
45
45
  def self.attribute_map
46
46
  {
47
47
  :'prn' => :'prn',
48
- :'pulp_created' => :'pulp_created',
49
48
  :'pulp_href' => :'pulp_href',
50
- :'pulp_labels' => :'pulp_labels',
51
49
  :'artifact' => :'artifact',
52
- :'pulp_last_updated' => :'pulp_last_updated',
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_created' => :'Time',
70
69
  :'pulp_href' => :'String',
71
- :'pulp_labels' => :'Hash<String, String>',
72
70
  :'artifact' => :'String',
73
- :'pulp_last_updated' => :'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,32 +103,32 @@ module PulpAnsibleClient
103
103
  self.prn = attributes[:'prn']
104
104
  end
105
105
 
106
- if attributes.key?(:'pulp_created')
107
- self.pulp_created = attributes[:'pulp_created']
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
 
116
+ if attributes.key?(:'vuln_report')
117
+ self.vuln_report = attributes[:'vuln_report']
118
+ end
119
+
126
120
  if attributes.key?(:'pulp_last_updated')
127
121
  self.pulp_last_updated = attributes[:'pulp_last_updated']
128
122
  end
129
123
 
130
- if attributes.key?(:'vuln_report')
131
- self.vuln_report = attributes[:'vuln_report']
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
132
  end
133
133
 
134
134
  if attributes.key?(:'version')
@@ -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_created == o.pulp_created &&
195
194
  pulp_href == o.pulp_href &&
196
- pulp_labels == o.pulp_labels &&
197
195
  artifact == o.artifact &&
198
- pulp_last_updated == o.pulp_last_updated &&
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_created, pulp_href, pulp_labels, artifact, pulp_last_updated, 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