Method: Ionoscloud::KubernetesNodePoolProperties#list_invalid_properties

Defined in:
lib/ionoscloud/models/kubernetes_node_pool_properties.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
# File 'lib/ionoscloud/models/kubernetes_node_pool_properties.rb', line 317

def list_invalid_properties
  invalid_properties = Array.new
  
  if @name.nil?
    invalid_properties.push('invalid value for "name", name cannot be nil.')
  end


  if @datacenter_id.nil?
    invalid_properties.push('invalid value for "datacenter_id", datacenter_id cannot be nil.')
  end


  if @node_count.nil?
    invalid_properties.push('invalid value for "node_count", node_count cannot be nil.')
  end


  if @cpu_family.nil?
    invalid_properties.push('invalid value for "cpu_family", cpu_family cannot be nil.')
  end


  if @cores_count.nil?
    invalid_properties.push('invalid value for "cores_count", cores_count cannot be nil.')
  end


  if @ram_size.nil?
    invalid_properties.push('invalid value for "ram_size", ram_size cannot be nil.')
  end


  if @availability_zone.nil?
    invalid_properties.push('invalid value for "availability_zone", availability_zone cannot be nil.')
  end


  if @storage_type.nil?
    invalid_properties.push('invalid value for "storage_type", storage_type cannot be nil.')
  end


  if @storage_size.nil?
    invalid_properties.push('invalid value for "storage_size", storage_size cannot be nil.')
  end









  invalid_properties
end