Method: BagKadasterClient::PandIOHal#list_invalid_properties

Defined in:
lib/bag_kadaster_client/models/pand_io_hal.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



86
87
88
89
90
91
92
93
94
95
96
97
# File 'lib/bag_kadaster_client/models/pand_io_hal.rb', line 86

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

  if !@inonderzoek.nil? && @inonderzoek.length < 1
    invalid_properties.push('invalid value for "inonderzoek", number of items must be greater than or equal to 1.')
  end

  invalid_properties
end