Method: Hubspot::Crm::Imports::ErrorDetail#list_invalid_properties

Defined in:
lib/hubspot/codegen/crm/imports/models/error_detail.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



102
103
104
105
106
107
108
109
# File 'lib/hubspot/codegen/crm/imports/models/error_detail.rb', line 102

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

  invalid_properties
end