Method: MailSlurpClient::ValidationMessage#list_invalid_properties

Defined in:
lib/mailslurp_client/models/validation_message.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



70
71
72
73
74
75
76
77
# File 'lib/mailslurp_client/models/validation_message.rb', line 70

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

  invalid_properties
end