Method: ESIClient::GetWarsWarIdOk#list_invalid_properties
- Defined in:
- lib/esi_client/models/get_wars_war_id_ok.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
# File 'lib/esi_client/models/get_wars_war_id_ok.rb', line 131 def list_invalid_properties invalid_properties = Array.new if @id.nil? invalid_properties.push('invalid value for "id", id cannot be nil.') end if @declared.nil? invalid_properties.push('invalid value for "declared", declared cannot be nil.') end if @mutual.nil? invalid_properties.push('invalid value for "mutual", mutual cannot be nil.') end if @open_for_allies.nil? invalid_properties.push('invalid value for "open_for_allies", open_for_allies cannot be nil.') end if @aggressor.nil? invalid_properties.push('invalid value for "aggressor", aggressor cannot be nil.') end if @defender.nil? invalid_properties.push('invalid value for "defender", defender cannot be nil.') end invalid_properties end |