pulp_ansible_client 0.11.0.dev1636773338 → 0.11.0.dev1637118956

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.

Potentially problematic release.


This version of pulp_ansible_client might be problematic. Click here for more details.

@@ -15,57 +15,57 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Git Collection Remotes.
17
17
  class AnsibleGitRemoteResponse
18
- # The URL of an external content source.
19
- attr_accessor :url
18
+ # A PEM encoded client certificate used for authentication.
19
+ attr_accessor :client_cert
20
20
 
21
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
22
- attr_accessor :sock_connect_timeout
21
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
22
+ attr_accessor :ca_cert
23
23
 
24
- # A unique name for this remote.
25
- attr_accessor :name
24
+ # Timestamp of the most recent update of the remote.
25
+ attr_accessor :pulp_last_updated
26
26
 
27
- # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
28
- attr_accessor :sock_read_timeout
27
+ attr_accessor :pulp_href
29
28
 
30
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
31
- attr_accessor :max_retries
29
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
30
+ attr_accessor :connect_timeout
32
31
 
33
- # Limits total download rate in requests per second
34
- attr_accessor :rate_limit
32
+ # Headers for aiohttp.Clientsession
33
+ attr_accessor :headers
35
34
 
36
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
37
- attr_accessor :total_timeout
35
+ # A unique name for this remote.
36
+ attr_accessor :name
37
+
38
+ # If True, TLS peer validation must be performed.
39
+ attr_accessor :tls_validation
38
40
 
39
41
  # The proxy URL. Format: scheme://host:port
40
42
  attr_accessor :proxy_url
41
43
 
42
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
43
- attr_accessor :connect_timeout
44
-
45
- # Timestamp of the most recent update of the remote.
46
- attr_accessor :pulp_last_updated
44
+ # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
45
+ attr_accessor :sock_read_timeout
47
46
 
48
47
  attr_accessor :pulp_labels
49
48
 
50
- # Headers for aiohttp.Clientsession
51
- attr_accessor :headers
49
+ # Total number of simultaneous connections. If not set then the default value will be used.
50
+ attr_accessor :download_concurrency
52
51
 
53
- # Timestamp of creation.
54
- attr_accessor :pulp_created
52
+ # The URL of an external content source.
53
+ attr_accessor :url
55
54
 
56
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
57
- attr_accessor :ca_cert
55
+ # Limits total download rate in requests per second
56
+ attr_accessor :rate_limit
58
57
 
59
- # A PEM encoded client certificate used for authentication.
60
- attr_accessor :client_cert
58
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
59
+ attr_accessor :max_retries
61
60
 
62
- # If True, TLS peer validation must be performed.
63
- attr_accessor :tls_validation
61
+ # Timestamp of creation.
62
+ attr_accessor :pulp_created
64
63
 
65
- attr_accessor :pulp_href
64
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
65
+ attr_accessor :total_timeout
66
66
 
67
- # Total number of simultaneous connections. If not set then the default value will be used.
68
- attr_accessor :download_concurrency
67
+ # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
68
+ attr_accessor :sock_connect_timeout
69
69
 
70
70
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
71
71
  attr_accessor :metadata_only
@@ -73,24 +73,24 @@ module PulpAnsibleClient
73
73
  # Attribute mapping from ruby-style variable name to JSON key.
74
74
  def self.attribute_map
75
75
  {
76
- :'url' => :'url',
77
- :'sock_connect_timeout' => :'sock_connect_timeout',
78
- :'name' => :'name',
79
- :'sock_read_timeout' => :'sock_read_timeout',
80
- :'max_retries' => :'max_retries',
81
- :'rate_limit' => :'rate_limit',
82
- :'total_timeout' => :'total_timeout',
83
- :'proxy_url' => :'proxy_url',
84
- :'connect_timeout' => :'connect_timeout',
76
+ :'client_cert' => :'client_cert',
77
+ :'ca_cert' => :'ca_cert',
85
78
  :'pulp_last_updated' => :'pulp_last_updated',
86
- :'pulp_labels' => :'pulp_labels',
79
+ :'pulp_href' => :'pulp_href',
80
+ :'connect_timeout' => :'connect_timeout',
87
81
  :'headers' => :'headers',
88
- :'pulp_created' => :'pulp_created',
89
- :'ca_cert' => :'ca_cert',
90
- :'client_cert' => :'client_cert',
82
+ :'name' => :'name',
91
83
  :'tls_validation' => :'tls_validation',
92
- :'pulp_href' => :'pulp_href',
84
+ :'proxy_url' => :'proxy_url',
85
+ :'sock_read_timeout' => :'sock_read_timeout',
86
+ :'pulp_labels' => :'pulp_labels',
93
87
  :'download_concurrency' => :'download_concurrency',
88
+ :'url' => :'url',
89
+ :'rate_limit' => :'rate_limit',
90
+ :'max_retries' => :'max_retries',
91
+ :'pulp_created' => :'pulp_created',
92
+ :'total_timeout' => :'total_timeout',
93
+ :'sock_connect_timeout' => :'sock_connect_timeout',
94
94
  :'metadata_only' => :'metadata_only'
95
95
  }
96
96
  end
@@ -98,24 +98,24 @@ module PulpAnsibleClient
98
98
  # Attribute type mapping.
99
99
  def self.openapi_types
100
100
  {
101
- :'url' => :'String',
102
- :'sock_connect_timeout' => :'Float',
103
- :'name' => :'String',
104
- :'sock_read_timeout' => :'Float',
105
- :'max_retries' => :'Integer',
106
- :'rate_limit' => :'Integer',
107
- :'total_timeout' => :'Float',
108
- :'proxy_url' => :'String',
109
- :'connect_timeout' => :'Float',
101
+ :'client_cert' => :'String',
102
+ :'ca_cert' => :'String',
110
103
  :'pulp_last_updated' => :'DateTime',
111
- :'pulp_labels' => :'Object',
104
+ :'pulp_href' => :'String',
105
+ :'connect_timeout' => :'Float',
112
106
  :'headers' => :'Array<Object>',
113
- :'pulp_created' => :'DateTime',
114
- :'ca_cert' => :'String',
115
- :'client_cert' => :'String',
107
+ :'name' => :'String',
116
108
  :'tls_validation' => :'Boolean',
117
- :'pulp_href' => :'String',
109
+ :'proxy_url' => :'String',
110
+ :'sock_read_timeout' => :'Float',
111
+ :'pulp_labels' => :'Object',
118
112
  :'download_concurrency' => :'Integer',
113
+ :'url' => :'String',
114
+ :'rate_limit' => :'Integer',
115
+ :'max_retries' => :'Integer',
116
+ :'pulp_created' => :'DateTime',
117
+ :'total_timeout' => :'Float',
118
+ :'sock_connect_timeout' => :'Float',
119
119
  :'metadata_only' => :'Boolean'
120
120
  }
121
121
  end
@@ -123,16 +123,16 @@ module PulpAnsibleClient
123
123
  # List of attributes with nullable: true
124
124
  def self.openapi_nullable
125
125
  Set.new([
126
- :'sock_connect_timeout',
126
+ :'client_cert',
127
+ :'ca_cert',
128
+ :'connect_timeout',
129
+ :'proxy_url',
127
130
  :'sock_read_timeout',
128
- :'max_retries',
131
+ :'download_concurrency',
129
132
  :'rate_limit',
133
+ :'max_retries',
130
134
  :'total_timeout',
131
- :'proxy_url',
132
- :'connect_timeout',
133
- :'ca_cert',
134
- :'client_cert',
135
- :'download_concurrency',
135
+ :'sock_connect_timeout',
136
136
  ])
137
137
  end
138
138
 
@@ -151,78 +151,78 @@ module PulpAnsibleClient
151
151
  h[k.to_sym] = v
152
152
  }
153
153
 
154
- if attributes.key?(:'url')
155
- self.url = attributes[:'url']
154
+ if attributes.key?(:'client_cert')
155
+ self.client_cert = attributes[:'client_cert']
156
156
  end
157
157
 
158
- if attributes.key?(:'sock_connect_timeout')
159
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
158
+ if attributes.key?(:'ca_cert')
159
+ self.ca_cert = attributes[:'ca_cert']
160
160
  end
161
161
 
162
- if attributes.key?(:'name')
163
- self.name = attributes[:'name']
162
+ if attributes.key?(:'pulp_last_updated')
163
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
164
164
  end
165
165
 
166
- if attributes.key?(:'sock_read_timeout')
167
- self.sock_read_timeout = attributes[:'sock_read_timeout']
166
+ if attributes.key?(:'pulp_href')
167
+ self.pulp_href = attributes[:'pulp_href']
168
168
  end
169
169
 
170
- if attributes.key?(:'max_retries')
171
- self.max_retries = attributes[:'max_retries']
170
+ if attributes.key?(:'connect_timeout')
171
+ self.connect_timeout = attributes[:'connect_timeout']
172
172
  end
173
173
 
174
- if attributes.key?(:'rate_limit')
175
- self.rate_limit = attributes[:'rate_limit']
174
+ if attributes.key?(:'headers')
175
+ if (value = attributes[:'headers']).is_a?(Array)
176
+ self.headers = value
177
+ end
176
178
  end
177
179
 
178
- if attributes.key?(:'total_timeout')
179
- self.total_timeout = attributes[:'total_timeout']
180
+ if attributes.key?(:'name')
181
+ self.name = attributes[:'name']
180
182
  end
181
183
 
182
- if attributes.key?(:'proxy_url')
183
- self.proxy_url = attributes[:'proxy_url']
184
+ if attributes.key?(:'tls_validation')
185
+ self.tls_validation = attributes[:'tls_validation']
184
186
  end
185
187
 
186
- if attributes.key?(:'connect_timeout')
187
- self.connect_timeout = attributes[:'connect_timeout']
188
+ if attributes.key?(:'proxy_url')
189
+ self.proxy_url = attributes[:'proxy_url']
188
190
  end
189
191
 
190
- if attributes.key?(:'pulp_last_updated')
191
- self.pulp_last_updated = attributes[:'pulp_last_updated']
192
+ if attributes.key?(:'sock_read_timeout')
193
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
192
194
  end
193
195
 
194
196
  if attributes.key?(:'pulp_labels')
195
197
  self.pulp_labels = attributes[:'pulp_labels']
196
198
  end
197
199
 
198
- if attributes.key?(:'headers')
199
- if (value = attributes[:'headers']).is_a?(Array)
200
- self.headers = value
201
- end
200
+ if attributes.key?(:'download_concurrency')
201
+ self.download_concurrency = attributes[:'download_concurrency']
202
202
  end
203
203
 
204
- if attributes.key?(:'pulp_created')
205
- self.pulp_created = attributes[:'pulp_created']
204
+ if attributes.key?(:'url')
205
+ self.url = attributes[:'url']
206
206
  end
207
207
 
208
- if attributes.key?(:'ca_cert')
209
- self.ca_cert = attributes[:'ca_cert']
208
+ if attributes.key?(:'rate_limit')
209
+ self.rate_limit = attributes[:'rate_limit']
210
210
  end
211
211
 
212
- if attributes.key?(:'client_cert')
213
- self.client_cert = attributes[:'client_cert']
212
+ if attributes.key?(:'max_retries')
213
+ self.max_retries = attributes[:'max_retries']
214
214
  end
215
215
 
216
- if attributes.key?(:'tls_validation')
217
- self.tls_validation = attributes[:'tls_validation']
216
+ if attributes.key?(:'pulp_created')
217
+ self.pulp_created = attributes[:'pulp_created']
218
218
  end
219
219
 
220
- if attributes.key?(:'pulp_href')
221
- self.pulp_href = attributes[:'pulp_href']
220
+ if attributes.key?(:'total_timeout')
221
+ self.total_timeout = attributes[:'total_timeout']
222
222
  end
223
223
 
224
- if attributes.key?(:'download_concurrency')
225
- self.download_concurrency = attributes[:'download_concurrency']
224
+ if attributes.key?(:'sock_connect_timeout')
225
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
226
226
  end
227
227
 
228
228
  if attributes.key?(:'metadata_only')
@@ -234,12 +234,8 @@ module PulpAnsibleClient
234
234
  # @return Array for valid properties with the reasons
235
235
  def list_invalid_properties
236
236
  invalid_properties = Array.new
237
- if @url.nil?
238
- invalid_properties.push('invalid value for "url", url cannot be nil.')
239
- end
240
-
241
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
242
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
237
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
238
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
243
239
  end
244
240
 
245
241
  if @name.nil?
@@ -250,16 +246,20 @@ module PulpAnsibleClient
250
246
  invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
251
247
  end
252
248
 
253
- if !@total_timeout.nil? && @total_timeout < 0.0
254
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
249
+ if !@download_concurrency.nil? && @download_concurrency < 1
250
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
255
251
  end
256
252
 
257
- if !@connect_timeout.nil? && @connect_timeout < 0.0
258
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
253
+ if @url.nil?
254
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
259
255
  end
260
256
 
261
- if !@download_concurrency.nil? && @download_concurrency < 1
262
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
257
+ if !@total_timeout.nil? && @total_timeout < 0.0
258
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
259
+ end
260
+
261
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
262
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
263
263
  end
264
264
 
265
265
  invalid_properties
@@ -268,24 +268,24 @@ module PulpAnsibleClient
268
268
  # Check to see if the all the properties in the model are valid
269
269
  # @return true if the model is valid
270
270
  def valid?
271
- return false if @url.nil?
272
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
271
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
273
272
  return false if @name.nil?
274
273
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
275
- return false if !@total_timeout.nil? && @total_timeout < 0.0
276
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
277
274
  return false if !@download_concurrency.nil? && @download_concurrency < 1
275
+ return false if @url.nil?
276
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
277
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
278
278
  true
279
279
  end
280
280
 
281
281
  # Custom attribute writer method with validation
282
- # @param [Object] sock_connect_timeout Value to be assigned
283
- def sock_connect_timeout=(sock_connect_timeout)
284
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
285
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
282
+ # @param [Object] connect_timeout Value to be assigned
283
+ def connect_timeout=(connect_timeout)
284
+ if !connect_timeout.nil? && connect_timeout < 0.0
285
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
286
286
  end
287
287
 
288
- @sock_connect_timeout = sock_connect_timeout
288
+ @connect_timeout = connect_timeout
289
289
  end
290
290
 
291
291
  # Custom attribute writer method with validation
@@ -299,33 +299,33 @@ module PulpAnsibleClient
299
299
  end
300
300
 
301
301
  # Custom attribute writer method with validation
302
- # @param [Object] total_timeout Value to be assigned
303
- def total_timeout=(total_timeout)
304
- if !total_timeout.nil? && total_timeout < 0.0
305
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
302
+ # @param [Object] download_concurrency Value to be assigned
303
+ def download_concurrency=(download_concurrency)
304
+ if !download_concurrency.nil? && download_concurrency < 1
305
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
306
306
  end
307
307
 
308
- @total_timeout = total_timeout
308
+ @download_concurrency = download_concurrency
309
309
  end
310
310
 
311
311
  # Custom attribute writer method with validation
312
- # @param [Object] connect_timeout Value to be assigned
313
- def connect_timeout=(connect_timeout)
314
- if !connect_timeout.nil? && connect_timeout < 0.0
315
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
312
+ # @param [Object] total_timeout Value to be assigned
313
+ def total_timeout=(total_timeout)
314
+ if !total_timeout.nil? && total_timeout < 0.0
315
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
316
316
  end
317
317
 
318
- @connect_timeout = connect_timeout
318
+ @total_timeout = total_timeout
319
319
  end
320
320
 
321
321
  # Custom attribute writer method with validation
322
- # @param [Object] download_concurrency Value to be assigned
323
- def download_concurrency=(download_concurrency)
324
- if !download_concurrency.nil? && download_concurrency < 1
325
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
322
+ # @param [Object] sock_connect_timeout Value to be assigned
323
+ def sock_connect_timeout=(sock_connect_timeout)
324
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
325
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
326
326
  end
327
327
 
328
- @download_concurrency = download_concurrency
328
+ @sock_connect_timeout = sock_connect_timeout
329
329
  end
330
330
 
331
331
  # Checks equality by comparing each attribute.
@@ -333,24 +333,24 @@ module PulpAnsibleClient
333
333
  def ==(o)
334
334
  return true if self.equal?(o)
335
335
  self.class == o.class &&
336
- url == o.url &&
337
- sock_connect_timeout == o.sock_connect_timeout &&
338
- name == o.name &&
339
- sock_read_timeout == o.sock_read_timeout &&
340
- max_retries == o.max_retries &&
341
- rate_limit == o.rate_limit &&
342
- total_timeout == o.total_timeout &&
343
- proxy_url == o.proxy_url &&
344
- connect_timeout == o.connect_timeout &&
336
+ client_cert == o.client_cert &&
337
+ ca_cert == o.ca_cert &&
345
338
  pulp_last_updated == o.pulp_last_updated &&
346
- pulp_labels == o.pulp_labels &&
339
+ pulp_href == o.pulp_href &&
340
+ connect_timeout == o.connect_timeout &&
347
341
  headers == o.headers &&
348
- pulp_created == o.pulp_created &&
349
- ca_cert == o.ca_cert &&
350
- client_cert == o.client_cert &&
342
+ name == o.name &&
351
343
  tls_validation == o.tls_validation &&
352
- pulp_href == o.pulp_href &&
344
+ proxy_url == o.proxy_url &&
345
+ sock_read_timeout == o.sock_read_timeout &&
346
+ pulp_labels == o.pulp_labels &&
353
347
  download_concurrency == o.download_concurrency &&
348
+ url == o.url &&
349
+ rate_limit == o.rate_limit &&
350
+ max_retries == o.max_retries &&
351
+ pulp_created == o.pulp_created &&
352
+ total_timeout == o.total_timeout &&
353
+ sock_connect_timeout == o.sock_connect_timeout &&
354
354
  metadata_only == o.metadata_only
355
355
  end
356
356
 
@@ -363,7 +363,7 @@ module PulpAnsibleClient
363
363
  # Calculates hash code according to all attributes.
364
364
  # @return [Integer] Hash code
365
365
  def hash
366
- [url, sock_connect_timeout, name, sock_read_timeout, max_retries, rate_limit, total_timeout, proxy_url, connect_timeout, pulp_last_updated, pulp_labels, headers, pulp_created, ca_cert, client_cert, tls_validation, pulp_href, download_concurrency, metadata_only].hash
366
+ [client_cert, ca_cert, pulp_last_updated, pulp_href, connect_timeout, headers, name, tls_validation, proxy_url, sock_read_timeout, pulp_labels, download_concurrency, url, rate_limit, max_retries, pulp_created, total_timeout, sock_connect_timeout, metadata_only].hash
367
367
  end
368
368
 
369
369
  # Builds the object from hash
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Role versions.
17
17
  class AnsibleRoleResponse
18
+ attr_accessor :pulp_href
19
+
18
20
  # Timestamp of creation.
19
21
  attr_accessor :pulp_created
20
22
 
21
23
  # Artifact file representing the physical content
22
24
  attr_accessor :artifact
23
25
 
24
- attr_accessor :pulp_href
25
-
26
26
  attr_accessor :version
27
27
 
28
28
  attr_accessor :name
@@ -32,9 +32,9 @@ module PulpAnsibleClient
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'pulp_href' => :'pulp_href',
35
36
  :'pulp_created' => :'pulp_created',
36
37
  :'artifact' => :'artifact',
37
- :'pulp_href' => :'pulp_href',
38
38
  :'version' => :'version',
39
39
  :'name' => :'name',
40
40
  :'namespace' => :'namespace'
@@ -44,9 +44,9 @@ module PulpAnsibleClient
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
+ :'pulp_href' => :'String',
47
48
  :'pulp_created' => :'DateTime',
48
49
  :'artifact' => :'String',
49
- :'pulp_href' => :'String',
50
50
  :'version' => :'String',
51
51
  :'name' => :'String',
52
52
  :'namespace' => :'String'
@@ -74,6 +74,10 @@ module PulpAnsibleClient
74
74
  h[k.to_sym] = v
75
75
  }
76
76
 
77
+ if attributes.key?(:'pulp_href')
78
+ self.pulp_href = attributes[:'pulp_href']
79
+ end
80
+
77
81
  if attributes.key?(:'pulp_created')
78
82
  self.pulp_created = attributes[:'pulp_created']
79
83
  end
@@ -82,10 +86,6 @@ module PulpAnsibleClient
82
86
  self.artifact = attributes[:'artifact']
83
87
  end
84
88
 
85
- if attributes.key?(:'pulp_href')
86
- self.pulp_href = attributes[:'pulp_href']
87
- end
88
-
89
89
  if attributes.key?(:'version')
90
90
  self.version = attributes[:'version']
91
91
  end
@@ -137,9 +137,9 @@ module PulpAnsibleClient
137
137
  def ==(o)
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
+ pulp_href == o.pulp_href &&
140
141
  pulp_created == o.pulp_created &&
141
142
  artifact == o.artifact &&
142
- pulp_href == o.pulp_href &&
143
143
  version == o.version &&
144
144
  name == o.name &&
145
145
  namespace == o.namespace
@@ -154,7 +154,7 @@ module PulpAnsibleClient
154
154
  # Calculates hash code according to all attributes.
155
155
  # @return [Integer] Hash code
156
156
  def hash
157
- [pulp_created, artifact, pulp_href, version, name, namespace].hash
157
+ [pulp_href, pulp_created, artifact, version, name, namespace].hash
158
158
  end
159
159
 
160
160
  # Builds the object from hash