Method: EsiClient::GetCharactersCharacterIdAttributesOk#list_invalid_properties

Defined in:
lib/esi-ruby/models/get_characters_character_id_attributes_ok.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'lib/esi-ruby/models/get_characters_character_id_attributes_ok.rb', line 114

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

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

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

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

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

  return invalid_properties
end