Method: IntersightClient::KubernetesBaseVirtualMachineInfraConfig#list_invalid_properties

Defined in:
lib/intersight_client/models/kubernetes_base_virtual_machine_infra_config.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



132
133
134
135
136
137
138
139
140
141
142
143
# File 'lib/intersight_client/models/kubernetes_base_virtual_machine_infra_config.rb', line 132

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

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

  invalid_properties
end