pulp_ansible_client 0.21.1 → 0.21.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +4 -4
  4. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  5. data/docs/AnsibleGitRemote.md +30 -30
  6. data/docs/AnsibleGitRemoteResponse.md +29 -29
  7. data/docs/AnsibleRoleResponse.md +3 -3
  8. data/docs/ContentCollectionDeprecationsApi.md +2 -0
  9. data/docs/ContentCollectionMarksApi.md +2 -0
  10. data/docs/ContentCollectionSignaturesApi.md +2 -0
  11. data/docs/ContentCollectionVersionsApi.md +6 -4
  12. data/docs/ContentNamespacesApi.md +2 -0
  13. data/docs/ContentRolesApi.md +2 -0
  14. data/docs/PatchedansibleGitRemote.md +30 -30
  15. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -0
  16. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
  17. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -0
  18. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
  19. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +3 -0
  20. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +3 -0
  21. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
  22. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -6
  23. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +3 -0
  24. data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -0
  25. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -0
  26. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -0
  27. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -0
  28. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -0
  29. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  30. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  31. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +238 -238
  32. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +151 -151
  33. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  34. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
  35. data/lib/pulp_ansible_client/version.rb +1 -1
  36. data/spec/api/content_collection_deprecations_api_spec.rb +1 -0
  37. data/spec/api/content_collection_marks_api_spec.rb +1 -0
  38. data/spec/api/content_collection_signatures_api_spec.rb +1 -0
  39. data/spec/api/content_collection_versions_api_spec.rb +3 -2
  40. data/spec/api/content_namespaces_api_spec.rb +1 -0
  41. data/spec/api/content_roles_api_spec.rb +1 -0
  42. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -0
  43. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
  44. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -0
  45. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
  46. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  47. data/spec/models/ansible_collection_version_spec.rb +3 -3
  48. data/spec/models/ansible_git_remote_response_spec.rb +16 -16
  49. data/spec/models/ansible_git_remote_spec.rb +19 -19
  50. data/spec/models/ansible_role_response_spec.rb +2 -2
  51. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  52. metadata +130 -130
@@ -15,60 +15,60 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Git Collection Remotes.
17
17
  class AnsibleGitRemoteResponse
18
- # Timestamp of the most recent update of the remote.
19
- attr_accessor :pulp_last_updated
18
+ # A unique name for this remote.
19
+ attr_accessor :name
20
20
 
21
- # If True, TLS peer validation must be performed.
22
- attr_accessor :tls_validation
21
+ # Total number of simultaneous connections. If not set then the default value will be used.
22
+ attr_accessor :download_concurrency
23
23
 
24
- # The proxy URL. Format: scheme://host:port
25
- attr_accessor :proxy_url
24
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
25
+ attr_accessor :total_timeout
26
26
 
27
27
  # 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.
28
28
  attr_accessor :sock_connect_timeout
29
29
 
30
- # List of hidden (write only) fields
31
- attr_accessor :hidden_fields
32
-
33
- attr_accessor :pulp_labels
30
+ # Limits requests per second for each concurrent downloader
31
+ attr_accessor :rate_limit
34
32
 
35
- # Timestamp of creation.
36
- attr_accessor :pulp_created
33
+ # A PEM encoded client certificate used for authentication.
34
+ attr_accessor :client_cert
37
35
 
38
- # Headers for aiohttp.Clientsession
39
- attr_accessor :headers
36
+ attr_accessor :pulp_href
40
37
 
41
38
  # 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.
42
39
  attr_accessor :sock_read_timeout
43
40
 
44
- # A PEM encoded client certificate used for authentication.
45
- attr_accessor :client_cert
41
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
42
+ attr_accessor :ca_cert
46
43
 
47
- # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
48
- attr_accessor :max_retries
44
+ # Timestamp of the most recent update of the remote.
45
+ attr_accessor :pulp_last_updated
46
+
47
+ # If True, TLS peer validation must be performed.
48
+ attr_accessor :tls_validation
49
49
 
50
50
  # The URL of an external content source.
51
51
  attr_accessor :url
52
52
 
53
- # Total number of simultaneous connections. If not set then the default value will be used.
54
- attr_accessor :download_concurrency
53
+ # Headers for aiohttp.Clientsession
54
+ attr_accessor :headers
55
55
 
56
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
57
- attr_accessor :ca_cert
56
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
+ attr_accessor :max_retries
58
58
 
59
- attr_accessor :pulp_href
59
+ # Timestamp of creation.
60
+ attr_accessor :pulp_created
60
61
 
61
62
  # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
62
63
  attr_accessor :connect_timeout
63
64
 
64
- # Limits requests per second for each concurrent downloader
65
- attr_accessor :rate_limit
65
+ attr_accessor :pulp_labels
66
66
 
67
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
68
- attr_accessor :total_timeout
67
+ # List of hidden (write only) fields
68
+ attr_accessor :hidden_fields
69
69
 
70
- # A unique name for this remote.
71
- attr_accessor :name
70
+ # The proxy URL. Format: scheme://host:port
71
+ attr_accessor :proxy_url
72
72
 
73
73
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
74
74
  attr_accessor :metadata_only
@@ -79,25 +79,25 @@ module PulpAnsibleClient
79
79
  # Attribute mapping from ruby-style variable name to JSON key.
80
80
  def self.attribute_map
81
81
  {
82
+ :'name' => :'name',
83
+ :'download_concurrency' => :'download_concurrency',
84
+ :'total_timeout' => :'total_timeout',
85
+ :'sock_connect_timeout' => :'sock_connect_timeout',
86
+ :'rate_limit' => :'rate_limit',
87
+ :'client_cert' => :'client_cert',
88
+ :'pulp_href' => :'pulp_href',
89
+ :'sock_read_timeout' => :'sock_read_timeout',
90
+ :'ca_cert' => :'ca_cert',
82
91
  :'pulp_last_updated' => :'pulp_last_updated',
83
92
  :'tls_validation' => :'tls_validation',
84
- :'proxy_url' => :'proxy_url',
85
- :'sock_connect_timeout' => :'sock_connect_timeout',
86
- :'hidden_fields' => :'hidden_fields',
87
- :'pulp_labels' => :'pulp_labels',
88
- :'pulp_created' => :'pulp_created',
93
+ :'url' => :'url',
89
94
  :'headers' => :'headers',
90
- :'sock_read_timeout' => :'sock_read_timeout',
91
- :'client_cert' => :'client_cert',
92
95
  :'max_retries' => :'max_retries',
93
- :'url' => :'url',
94
- :'download_concurrency' => :'download_concurrency',
95
- :'ca_cert' => :'ca_cert',
96
- :'pulp_href' => :'pulp_href',
96
+ :'pulp_created' => :'pulp_created',
97
97
  :'connect_timeout' => :'connect_timeout',
98
- :'rate_limit' => :'rate_limit',
99
- :'total_timeout' => :'total_timeout',
100
- :'name' => :'name',
98
+ :'pulp_labels' => :'pulp_labels',
99
+ :'hidden_fields' => :'hidden_fields',
100
+ :'proxy_url' => :'proxy_url',
101
101
  :'metadata_only' => :'metadata_only',
102
102
  :'git_ref' => :'git_ref'
103
103
  }
@@ -106,25 +106,25 @@ module PulpAnsibleClient
106
106
  # Attribute type mapping.
107
107
  def self.openapi_types
108
108
  {
109
+ :'name' => :'String',
110
+ :'download_concurrency' => :'Integer',
111
+ :'total_timeout' => :'Float',
112
+ :'sock_connect_timeout' => :'Float',
113
+ :'rate_limit' => :'Integer',
114
+ :'client_cert' => :'String',
115
+ :'pulp_href' => :'String',
116
+ :'sock_read_timeout' => :'Float',
117
+ :'ca_cert' => :'String',
109
118
  :'pulp_last_updated' => :'DateTime',
110
119
  :'tls_validation' => :'Boolean',
111
- :'proxy_url' => :'String',
112
- :'sock_connect_timeout' => :'Float',
113
- :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
114
- :'pulp_labels' => :'Hash<String, String>',
115
- :'pulp_created' => :'DateTime',
120
+ :'url' => :'String',
116
121
  :'headers' => :'Array<Object>',
117
- :'sock_read_timeout' => :'Float',
118
- :'client_cert' => :'String',
119
122
  :'max_retries' => :'Integer',
120
- :'url' => :'String',
121
- :'download_concurrency' => :'Integer',
122
- :'ca_cert' => :'String',
123
- :'pulp_href' => :'String',
123
+ :'pulp_created' => :'DateTime',
124
124
  :'connect_timeout' => :'Float',
125
- :'rate_limit' => :'Integer',
126
- :'total_timeout' => :'Float',
127
- :'name' => :'String',
125
+ :'pulp_labels' => :'Hash<String, String>',
126
+ :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
127
+ :'proxy_url' => :'String',
128
128
  :'metadata_only' => :'Boolean',
129
129
  :'git_ref' => :'String'
130
130
  }
@@ -133,16 +133,16 @@ module PulpAnsibleClient
133
133
  # List of attributes with nullable: true
134
134
  def self.openapi_nullable
135
135
  Set.new([
136
- :'proxy_url',
136
+ :'download_concurrency',
137
+ :'total_timeout',
137
138
  :'sock_connect_timeout',
138
- :'sock_read_timeout',
139
+ :'rate_limit',
139
140
  :'client_cert',
140
- :'max_retries',
141
- :'download_concurrency',
141
+ :'sock_read_timeout',
142
142
  :'ca_cert',
143
+ :'max_retries',
143
144
  :'connect_timeout',
144
- :'rate_limit',
145
- :'total_timeout',
145
+ :'proxy_url',
146
146
  ])
147
147
  end
148
148
 
@@ -161,86 +161,86 @@ module PulpAnsibleClient
161
161
  h[k.to_sym] = v
162
162
  }
163
163
 
164
- if attributes.key?(:'pulp_last_updated')
165
- self.pulp_last_updated = attributes[:'pulp_last_updated']
164
+ if attributes.key?(:'name')
165
+ self.name = attributes[:'name']
166
166
  end
167
167
 
168
- if attributes.key?(:'tls_validation')
169
- self.tls_validation = attributes[:'tls_validation']
168
+ if attributes.key?(:'download_concurrency')
169
+ self.download_concurrency = attributes[:'download_concurrency']
170
170
  end
171
171
 
172
- if attributes.key?(:'proxy_url')
173
- self.proxy_url = attributes[:'proxy_url']
172
+ if attributes.key?(:'total_timeout')
173
+ self.total_timeout = attributes[:'total_timeout']
174
174
  end
175
175
 
176
176
  if attributes.key?(:'sock_connect_timeout')
177
177
  self.sock_connect_timeout = attributes[:'sock_connect_timeout']
178
178
  end
179
179
 
180
- if attributes.key?(:'hidden_fields')
181
- if (value = attributes[:'hidden_fields']).is_a?(Array)
182
- self.hidden_fields = value
183
- end
184
- end
185
-
186
- if attributes.key?(:'pulp_labels')
187
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
188
- self.pulp_labels = value
189
- end
180
+ if attributes.key?(:'rate_limit')
181
+ self.rate_limit = attributes[:'rate_limit']
190
182
  end
191
183
 
192
- if attributes.key?(:'pulp_created')
193
- self.pulp_created = attributes[:'pulp_created']
184
+ if attributes.key?(:'client_cert')
185
+ self.client_cert = attributes[:'client_cert']
194
186
  end
195
187
 
196
- if attributes.key?(:'headers')
197
- if (value = attributes[:'headers']).is_a?(Array)
198
- self.headers = value
199
- end
188
+ if attributes.key?(:'pulp_href')
189
+ self.pulp_href = attributes[:'pulp_href']
200
190
  end
201
191
 
202
192
  if attributes.key?(:'sock_read_timeout')
203
193
  self.sock_read_timeout = attributes[:'sock_read_timeout']
204
194
  end
205
195
 
206
- if attributes.key?(:'client_cert')
207
- self.client_cert = attributes[:'client_cert']
196
+ if attributes.key?(:'ca_cert')
197
+ self.ca_cert = attributes[:'ca_cert']
208
198
  end
209
199
 
210
- if attributes.key?(:'max_retries')
211
- self.max_retries = attributes[:'max_retries']
200
+ if attributes.key?(:'pulp_last_updated')
201
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
202
+ end
203
+
204
+ if attributes.key?(:'tls_validation')
205
+ self.tls_validation = attributes[:'tls_validation']
212
206
  end
213
207
 
214
208
  if attributes.key?(:'url')
215
209
  self.url = attributes[:'url']
216
210
  end
217
211
 
218
- if attributes.key?(:'download_concurrency')
219
- self.download_concurrency = attributes[:'download_concurrency']
212
+ if attributes.key?(:'headers')
213
+ if (value = attributes[:'headers']).is_a?(Array)
214
+ self.headers = value
215
+ end
220
216
  end
221
217
 
222
- if attributes.key?(:'ca_cert')
223
- self.ca_cert = attributes[:'ca_cert']
218
+ if attributes.key?(:'max_retries')
219
+ self.max_retries = attributes[:'max_retries']
224
220
  end
225
221
 
226
- if attributes.key?(:'pulp_href')
227
- self.pulp_href = attributes[:'pulp_href']
222
+ if attributes.key?(:'pulp_created')
223
+ self.pulp_created = attributes[:'pulp_created']
228
224
  end
229
225
 
230
226
  if attributes.key?(:'connect_timeout')
231
227
  self.connect_timeout = attributes[:'connect_timeout']
232
228
  end
233
229
 
234
- if attributes.key?(:'rate_limit')
235
- self.rate_limit = attributes[:'rate_limit']
230
+ if attributes.key?(:'pulp_labels')
231
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
232
+ self.pulp_labels = value
233
+ end
236
234
  end
237
235
 
238
- if attributes.key?(:'total_timeout')
239
- self.total_timeout = attributes[:'total_timeout']
236
+ if attributes.key?(:'hidden_fields')
237
+ if (value = attributes[:'hidden_fields']).is_a?(Array)
238
+ self.hidden_fields = value
239
+ end
240
240
  end
241
241
 
242
- if attributes.key?(:'name')
243
- self.name = attributes[:'name']
242
+ if attributes.key?(:'proxy_url')
243
+ self.proxy_url = attributes[:'proxy_url']
244
244
  end
245
245
 
246
246
  if attributes.key?(:'metadata_only')
@@ -256,6 +256,18 @@ module PulpAnsibleClient
256
256
  # @return Array for valid properties with the reasons
257
257
  def list_invalid_properties
258
258
  invalid_properties = Array.new
259
+ if @name.nil?
260
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
261
+ end
262
+
263
+ if !@download_concurrency.nil? && @download_concurrency < 1
264
+ invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
265
+ end
266
+
267
+ if !@total_timeout.nil? && @total_timeout < 0.0
268
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
269
+ end
270
+
259
271
  if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
260
272
  invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
261
273
  end
@@ -268,38 +280,46 @@ module PulpAnsibleClient
268
280
  invalid_properties.push('invalid value for "url", url cannot be nil.')
269
281
  end
270
282
 
271
- if !@download_concurrency.nil? && @download_concurrency < 1
272
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
273
- end
274
-
275
283
  if !@connect_timeout.nil? && @connect_timeout < 0.0
276
284
  invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
277
285
  end
278
286
 
279
- if !@total_timeout.nil? && @total_timeout < 0.0
280
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
281
- end
282
-
283
- if @name.nil?
284
- invalid_properties.push('invalid value for "name", name cannot be nil.')
285
- end
286
-
287
287
  invalid_properties
288
288
  end
289
289
 
290
290
  # Check to see if the all the properties in the model are valid
291
291
  # @return true if the model is valid
292
292
  def valid?
293
+ return false if @name.nil?
294
+ return false if !@download_concurrency.nil? && @download_concurrency < 1
295
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
293
296
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
294
297
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
295
298
  return false if @url.nil?
296
- return false if !@download_concurrency.nil? && @download_concurrency < 1
297
299
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
298
- return false if !@total_timeout.nil? && @total_timeout < 0.0
299
- return false if @name.nil?
300
300
  true
301
301
  end
302
302
 
303
+ # Custom attribute writer method with validation
304
+ # @param [Object] download_concurrency Value to be assigned
305
+ def download_concurrency=(download_concurrency)
306
+ if !download_concurrency.nil? && download_concurrency < 1
307
+ fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
308
+ end
309
+
310
+ @download_concurrency = download_concurrency
311
+ end
312
+
313
+ # Custom attribute writer method with validation
314
+ # @param [Object] total_timeout Value to be assigned
315
+ def total_timeout=(total_timeout)
316
+ if !total_timeout.nil? && total_timeout < 0.0
317
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
318
+ end
319
+
320
+ @total_timeout = total_timeout
321
+ end
322
+
303
323
  # Custom attribute writer method with validation
304
324
  # @param [Object] sock_connect_timeout Value to be assigned
305
325
  def sock_connect_timeout=(sock_connect_timeout)
@@ -320,16 +340,6 @@ module PulpAnsibleClient
320
340
  @sock_read_timeout = sock_read_timeout
321
341
  end
322
342
 
323
- # Custom attribute writer method with validation
324
- # @param [Object] download_concurrency Value to be assigned
325
- def download_concurrency=(download_concurrency)
326
- if !download_concurrency.nil? && download_concurrency < 1
327
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
328
- end
329
-
330
- @download_concurrency = download_concurrency
331
- end
332
-
333
343
  # Custom attribute writer method with validation
334
344
  # @param [Object] connect_timeout Value to be assigned
335
345
  def connect_timeout=(connect_timeout)
@@ -340,40 +350,30 @@ module PulpAnsibleClient
340
350
  @connect_timeout = connect_timeout
341
351
  end
342
352
 
343
- # Custom attribute writer method with validation
344
- # @param [Object] total_timeout Value to be assigned
345
- def total_timeout=(total_timeout)
346
- if !total_timeout.nil? && total_timeout < 0.0
347
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
348
- end
349
-
350
- @total_timeout = total_timeout
351
- end
352
-
353
353
  # Checks equality by comparing each attribute.
354
354
  # @param [Object] Object to be compared
355
355
  def ==(o)
356
356
  return true if self.equal?(o)
357
357
  self.class == o.class &&
358
+ name == o.name &&
359
+ download_concurrency == o.download_concurrency &&
360
+ total_timeout == o.total_timeout &&
361
+ sock_connect_timeout == o.sock_connect_timeout &&
362
+ rate_limit == o.rate_limit &&
363
+ client_cert == o.client_cert &&
364
+ pulp_href == o.pulp_href &&
365
+ sock_read_timeout == o.sock_read_timeout &&
366
+ ca_cert == o.ca_cert &&
358
367
  pulp_last_updated == o.pulp_last_updated &&
359
368
  tls_validation == o.tls_validation &&
360
- proxy_url == o.proxy_url &&
361
- sock_connect_timeout == o.sock_connect_timeout &&
362
- hidden_fields == o.hidden_fields &&
363
- pulp_labels == o.pulp_labels &&
364
- pulp_created == o.pulp_created &&
369
+ url == o.url &&
365
370
  headers == o.headers &&
366
- sock_read_timeout == o.sock_read_timeout &&
367
- client_cert == o.client_cert &&
368
371
  max_retries == o.max_retries &&
369
- url == o.url &&
370
- download_concurrency == o.download_concurrency &&
371
- ca_cert == o.ca_cert &&
372
- pulp_href == o.pulp_href &&
372
+ pulp_created == o.pulp_created &&
373
373
  connect_timeout == o.connect_timeout &&
374
- rate_limit == o.rate_limit &&
375
- total_timeout == o.total_timeout &&
376
- name == o.name &&
374
+ pulp_labels == o.pulp_labels &&
375
+ hidden_fields == o.hidden_fields &&
376
+ proxy_url == o.proxy_url &&
377
377
  metadata_only == o.metadata_only &&
378
378
  git_ref == o.git_ref
379
379
  end
@@ -387,7 +387,7 @@ module PulpAnsibleClient
387
387
  # Calculates hash code according to all attributes.
388
388
  # @return [Integer] Hash code
389
389
  def hash
390
- [pulp_last_updated, tls_validation, proxy_url, sock_connect_timeout, hidden_fields, pulp_labels, pulp_created, headers, sock_read_timeout, client_cert, max_retries, url, download_concurrency, ca_cert, pulp_href, connect_timeout, rate_limit, total_timeout, name, metadata_only, git_ref].hash
390
+ [name, download_concurrency, total_timeout, sock_connect_timeout, rate_limit, client_cert, pulp_href, sock_read_timeout, ca_cert, pulp_last_updated, tls_validation, url, headers, max_retries, pulp_created, connect_timeout, pulp_labels, hidden_fields, proxy_url, metadata_only, git_ref].hash
391
391
  end
392
392
 
393
393
  # Builds the object from hash
@@ -15,11 +15,11 @@ 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
- attr_accessor :pulp_href
22
-
23
23
  # Artifact file representing the physical content
24
24
  attr_accessor :artifact
25
25
 
@@ -32,8 +32,8 @@ module PulpAnsibleClient
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'pulp_created' => :'pulp_created',
36
35
  :'pulp_href' => :'pulp_href',
36
+ :'pulp_created' => :'pulp_created',
37
37
  :'artifact' => :'artifact',
38
38
  :'version' => :'version',
39
39
  :'name' => :'name',
@@ -44,8 +44,8 @@ module PulpAnsibleClient
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'pulp_created' => :'DateTime',
48
47
  :'pulp_href' => :'String',
48
+ :'pulp_created' => :'DateTime',
49
49
  :'artifact' => :'String',
50
50
  :'version' => :'String',
51
51
  :'name' => :'String',
@@ -74,14 +74,14 @@ module PulpAnsibleClient
74
74
  h[k.to_sym] = v
75
75
  }
76
76
 
77
- if attributes.key?(:'pulp_created')
78
- self.pulp_created = attributes[:'pulp_created']
79
- end
80
-
81
77
  if attributes.key?(:'pulp_href')
82
78
  self.pulp_href = attributes[:'pulp_href']
83
79
  end
84
80
 
81
+ if attributes.key?(:'pulp_created')
82
+ self.pulp_created = attributes[:'pulp_created']
83
+ end
84
+
85
85
  if attributes.key?(:'artifact')
86
86
  self.artifact = attributes[:'artifact']
87
87
  end
@@ -137,8 +137,8 @@ module PulpAnsibleClient
137
137
  def ==(o)
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
- pulp_created == o.pulp_created &&
141
140
  pulp_href == o.pulp_href &&
141
+ pulp_created == o.pulp_created &&
142
142
  artifact == o.artifact &&
143
143
  version == o.version &&
144
144
  name == o.name &&
@@ -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, pulp_href, artifact, 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