Method: Falcon::FwmgrMsaspecError#list_invalid_properties

Defined in:
lib/crimson-falcon/models/fwmgr_msaspec_error.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



100
101
102
103
104
105
106
107
108
109
110
111
# File 'lib/crimson-falcon/models/fwmgr_msaspec_error.rb', line 100

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

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

  invalid_properties
end