pulp_ansible_client 0.18.2 → 0.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  4. data/docs/AnsibleCollectionVersion.md +4 -4
  5. data/docs/AnsibleCollectionVersionResponse.md +2 -2
  6. data/docs/AnsibleCollectionsApi.md +1 -1
  7. data/docs/AnsibleCopyApi.md +1 -1
  8. data/docs/AnsibleGitRemote.md +28 -28
  9. data/docs/AnsibleGitRemoteResponse.md +26 -26
  10. data/docs/AnsibleRole.md +3 -3
  11. data/docs/AnsibleRoleResponse.md +2 -2
  12. data/docs/ApiCollectionsApi.md +1 -1
  13. data/docs/{PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md → ApiPluginAnsibleSearchCollectionVersionsApi.md} +18 -17
  14. data/docs/ApiRolesApi.md +1 -1
  15. data/docs/CollectionImportApi.md +1 -1
  16. data/docs/ContentCollectionDeprecationsApi.md +1 -1
  17. data/docs/ContentCollectionMarksApi.md +1 -1
  18. data/docs/ContentCollectionSignaturesApi.md +1 -1
  19. data/docs/ContentCollectionVersionsApi.md +5 -5
  20. data/docs/ContentNamespacesApi.md +1 -1
  21. data/docs/ContentRolesApi.md +1 -1
  22. data/docs/DistributionsAnsibleApi.md +1 -1
  23. data/docs/GalaxyDetailApi.md +1 -1
  24. data/docs/PatchedansibleGitRemote.md +28 -28
  25. data/docs/PulpAnsibleApiApi.md +1 -1
  26. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  27. data/docs/PulpAnsibleApiV3Api.md +1 -1
  28. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  29. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  30. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
  31. data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
  32. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
  33. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  34. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
  35. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  42. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  43. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  44. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  45. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  46. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  47. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  48. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  49. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
  50. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
  51. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
  52. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  53. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -3
  64. data/docs/PulpAnsibleTagsApi.md +1 -1
  65. data/docs/RemotesCollectionApi.md +1 -1
  66. data/docs/RemotesGitApi.md +1 -1
  67. data/docs/RemotesRoleApi.md +1 -1
  68. data/docs/RepositoriesAnsibleApi.md +1 -1
  69. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  70. data/docs/VersionsApi.md +1 -1
  71. data/lib/pulp_ansible_client/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb → api_plugin_ansible_search_collection_versions_api.rb} +26 -24
  72. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  73. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -0
  74. data/lib/pulp_ansible_client/configuration.rb +2 -2
  75. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  76. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
  77. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  78. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
  79. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  80. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +256 -256
  81. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +158 -158
  82. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  83. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  84. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
  85. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  86. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  87. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +244 -244
  88. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  89. data/lib/pulp_ansible_client/version.rb +1 -1
  90. data/lib/pulp_ansible_client.rb +1 -1
  91. data/spec/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb → api_plugin_ansible_search_collection_versions_api_spec.rb} +9 -8
  92. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  93. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -0
  94. data/spec/configuration_spec.rb +3 -3
  95. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  96. data/spec/models/ansible_collection_version_spec.rb +2 -2
  97. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  98. data/spec/models/ansible_git_remote_spec.rb +20 -20
  99. data/spec/models/ansible_role_response_spec.rb +2 -2
  100. data/spec/models/ansible_role_spec.rb +2 -2
  101. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  102. metadata +149 -149
@@ -312,20 +312,20 @@ module PulpAnsibleClient
312
312
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
313
313
  end
314
314
 
315
- if !@total_timeout.nil? && @total_timeout < 0.0
316
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
315
+ if !@total_timeout.nil? && @total_timeout < 0
316
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
317
317
  end
318
318
 
319
- if !@connect_timeout.nil? && @connect_timeout < 0.0
320
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
319
+ if !@connect_timeout.nil? && @connect_timeout < 0
320
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
321
321
  end
322
322
 
323
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
324
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
323
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
324
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
325
325
  end
326
326
 
327
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
328
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
327
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
328
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
329
329
  end
330
330
 
331
331
  invalid_properties
@@ -347,10 +347,10 @@ module PulpAnsibleClient
347
347
  return false if !@username.nil? && @username.to_s.length < 1
348
348
  return false if !@password.nil? && @password.to_s.length < 1
349
349
  return false if !@download_concurrency.nil? && @download_concurrency < 1
350
- return false if !@total_timeout.nil? && @total_timeout < 0.0
351
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
352
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
353
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
350
+ return false if !@total_timeout.nil? && @total_timeout < 0
351
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
352
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
353
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
354
354
  true
355
355
  end
356
356
 
@@ -475,8 +475,8 @@ module PulpAnsibleClient
475
475
  # Custom attribute writer method with validation
476
476
  # @param [Object] total_timeout Value to be assigned
477
477
  def total_timeout=(total_timeout)
478
- if !total_timeout.nil? && total_timeout < 0.0
479
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
478
+ if !total_timeout.nil? && total_timeout < 0
479
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
480
480
  end
481
481
 
482
482
  @total_timeout = total_timeout
@@ -485,8 +485,8 @@ module PulpAnsibleClient
485
485
  # Custom attribute writer method with validation
486
486
  # @param [Object] connect_timeout Value to be assigned
487
487
  def connect_timeout=(connect_timeout)
488
- if !connect_timeout.nil? && connect_timeout < 0.0
489
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
488
+ if !connect_timeout.nil? && connect_timeout < 0
489
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
490
490
  end
491
491
 
492
492
  @connect_timeout = connect_timeout
@@ -495,8 +495,8 @@ module PulpAnsibleClient
495
495
  # Custom attribute writer method with validation
496
496
  # @param [Object] sock_connect_timeout Value to be assigned
497
497
  def sock_connect_timeout=(sock_connect_timeout)
498
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
499
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
498
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
499
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
500
500
  end
501
501
 
502
502
  @sock_connect_timeout = sock_connect_timeout
@@ -505,8 +505,8 @@ module PulpAnsibleClient
505
505
  # Custom attribute writer method with validation
506
506
  # @param [Object] sock_read_timeout Value to be assigned
507
507
  def sock_read_timeout=(sock_read_timeout)
508
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
509
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
508
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
509
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
510
510
  end
511
511
 
512
512
  @sock_read_timeout = sock_read_timeout
@@ -259,20 +259,20 @@ module PulpAnsibleClient
259
259
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
260
260
  end
261
261
 
262
- if !@total_timeout.nil? && @total_timeout < 0.0
263
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
262
+ if !@total_timeout.nil? && @total_timeout < 0
263
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
264
264
  end
265
265
 
266
- if !@connect_timeout.nil? && @connect_timeout < 0.0
267
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
266
+ if !@connect_timeout.nil? && @connect_timeout < 0
267
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
268
268
  end
269
269
 
270
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
271
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
270
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
271
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
272
272
  end
273
273
 
274
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
275
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
274
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
275
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
276
276
  end
277
277
 
278
278
  invalid_properties
@@ -284,10 +284,10 @@ module PulpAnsibleClient
284
284
  return false if @name.nil?
285
285
  return false if @url.nil?
286
286
  return false if !@download_concurrency.nil? && @download_concurrency < 1
287
- return false if !@total_timeout.nil? && @total_timeout < 0.0
288
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
289
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
290
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
287
+ return false if !@total_timeout.nil? && @total_timeout < 0
288
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
289
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
290
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
291
291
  true
292
292
  end
293
293
 
@@ -304,8 +304,8 @@ module PulpAnsibleClient
304
304
  # Custom attribute writer method with validation
305
305
  # @param [Object] total_timeout Value to be assigned
306
306
  def total_timeout=(total_timeout)
307
- if !total_timeout.nil? && total_timeout < 0.0
308
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
307
+ if !total_timeout.nil? && total_timeout < 0
308
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
309
309
  end
310
310
 
311
311
  @total_timeout = total_timeout
@@ -314,8 +314,8 @@ module PulpAnsibleClient
314
314
  # Custom attribute writer method with validation
315
315
  # @param [Object] connect_timeout Value to be assigned
316
316
  def connect_timeout=(connect_timeout)
317
- if !connect_timeout.nil? && connect_timeout < 0.0
318
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
317
+ if !connect_timeout.nil? && connect_timeout < 0
318
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
319
319
  end
320
320
 
321
321
  @connect_timeout = connect_timeout
@@ -324,8 +324,8 @@ module PulpAnsibleClient
324
324
  # Custom attribute writer method with validation
325
325
  # @param [Object] sock_connect_timeout Value to be assigned
326
326
  def sock_connect_timeout=(sock_connect_timeout)
327
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
328
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
327
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
328
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
329
329
  end
330
330
 
331
331
  @sock_connect_timeout = sock_connect_timeout
@@ -334,8 +334,8 @@ module PulpAnsibleClient
334
334
  # Custom attribute writer method with validation
335
335
  # @param [Object] sock_read_timeout Value to be assigned
336
336
  def sock_read_timeout=(sock_read_timeout)
337
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
338
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
337
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
338
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
339
339
  end
340
340
 
341
341
  @sock_read_timeout = sock_read_timeout
@@ -18,11 +18,11 @@ module PulpAnsibleClient
18
18
  # Artifact file representing the physical content
19
19
  attr_accessor :artifact
20
20
 
21
- attr_accessor :pulp_href
22
-
23
21
  # Timestamp of creation.
24
22
  attr_accessor :pulp_created
25
23
 
24
+ attr_accessor :pulp_href
25
+
26
26
  attr_accessor :version
27
27
 
28
28
  attr_accessor :name
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  def self.attribute_map
34
34
  {
35
35
  :'artifact' => :'artifact',
36
- :'pulp_href' => :'pulp_href',
37
36
  :'pulp_created' => :'pulp_created',
37
+ :'pulp_href' => :'pulp_href',
38
38
  :'version' => :'version',
39
39
  :'name' => :'name',
40
40
  :'namespace' => :'namespace'
@@ -45,8 +45,8 @@ module PulpAnsibleClient
45
45
  def self.openapi_types
46
46
  {
47
47
  :'artifact' => :'String',
48
- :'pulp_href' => :'String',
49
48
  :'pulp_created' => :'DateTime',
49
+ :'pulp_href' => :'String',
50
50
  :'version' => :'String',
51
51
  :'name' => :'String',
52
52
  :'namespace' => :'String'
@@ -78,14 +78,14 @@ module PulpAnsibleClient
78
78
  self.artifact = attributes[:'artifact']
79
79
  end
80
80
 
81
- if attributes.key?(:'pulp_href')
82
- self.pulp_href = attributes[:'pulp_href']
83
- end
84
-
85
81
  if attributes.key?(:'pulp_created')
86
82
  self.pulp_created = attributes[:'pulp_created']
87
83
  end
88
84
 
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
@@ -138,8 +138,8 @@ module PulpAnsibleClient
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
140
  artifact == o.artifact &&
141
- pulp_href == o.pulp_href &&
142
141
  pulp_created == o.pulp_created &&
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
- [artifact, pulp_href, pulp_created, version, name, namespace].hash
157
+ [artifact, pulp_created, pulp_href, version, name, namespace].hash
158
158
  end
159
159
 
160
160
  # Builds the object from hash
@@ -356,20 +356,20 @@ module PulpAnsibleClient
356
356
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
357
357
  end
358
358
 
359
- if !@total_timeout.nil? && @total_timeout < 0.0
360
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
359
+ if !@total_timeout.nil? && @total_timeout < 0
360
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
361
361
  end
362
362
 
363
- if !@connect_timeout.nil? && @connect_timeout < 0.0
364
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
363
+ if !@connect_timeout.nil? && @connect_timeout < 0
364
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
365
365
  end
366
366
 
367
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
368
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
367
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
368
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
369
369
  end
370
370
 
371
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
372
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
371
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
372
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
373
373
  end
374
374
 
375
375
  if !@requirements_file.nil? && @requirements_file.to_s.length < 1
@@ -409,10 +409,10 @@ module PulpAnsibleClient
409
409
  return false if !@username.nil? && @username.to_s.length < 1
410
410
  return false if !@password.nil? && @password.to_s.length < 1
411
411
  return false if !@download_concurrency.nil? && @download_concurrency < 1
412
- return false if !@total_timeout.nil? && @total_timeout < 0.0
413
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
414
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
415
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
412
+ return false if !@total_timeout.nil? && @total_timeout < 0
413
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
414
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
415
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
416
416
  return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
417
417
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
418
418
  return false if !@auth_url.nil? && @auth_url.to_s.length < 1
@@ -534,8 +534,8 @@ module PulpAnsibleClient
534
534
  # Custom attribute writer method with validation
535
535
  # @param [Object] total_timeout Value to be assigned
536
536
  def total_timeout=(total_timeout)
537
- if !total_timeout.nil? && total_timeout < 0.0
538
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
537
+ if !total_timeout.nil? && total_timeout < 0
538
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
539
539
  end
540
540
 
541
541
  @total_timeout = total_timeout
@@ -544,8 +544,8 @@ module PulpAnsibleClient
544
544
  # Custom attribute writer method with validation
545
545
  # @param [Object] connect_timeout Value to be assigned
546
546
  def connect_timeout=(connect_timeout)
547
- if !connect_timeout.nil? && connect_timeout < 0.0
548
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
547
+ if !connect_timeout.nil? && connect_timeout < 0
548
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
549
549
  end
550
550
 
551
551
  @connect_timeout = connect_timeout
@@ -554,8 +554,8 @@ module PulpAnsibleClient
554
554
  # Custom attribute writer method with validation
555
555
  # @param [Object] sock_connect_timeout Value to be assigned
556
556
  def sock_connect_timeout=(sock_connect_timeout)
557
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
558
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
557
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
558
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
559
559
  end
560
560
 
561
561
  @sock_connect_timeout = sock_connect_timeout
@@ -564,8 +564,8 @@ module PulpAnsibleClient
564
564
  # Custom attribute writer method with validation
565
565
  # @param [Object] sock_read_timeout Value to be assigned
566
566
  def sock_read_timeout=(sock_read_timeout)
567
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
568
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
567
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
568
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
569
569
  end
570
570
 
571
571
  @sock_read_timeout = sock_read_timeout