class ESIClient::GetCharactersCharacterIdStatsCombat

combat object

Attributes

cap_drainedby_npc[RW]
cap_drainedby_pc[RW]
cap_draining_pc[RW]

cap_draining_pc integer

criminal_flag_set[RW]
damage_from_np_cs_amount[RW]
damage_from_np_cs_num_shots[RW]
damage_from_players_bomb_amount[RW]
damage_from_players_bomb_num_shots[RW]
damage_from_players_combat_drone_amount[RW]
damage_from_players_combat_drone_num_shots[RW]
damage_from_players_energy_amount[RW]
damage_from_players_energy_num_shots[RW]
damage_from_players_fighter_bomber_amount[RW]
damage_from_players_fighter_bomber_num_shots[RW]
damage_from_players_fighter_drone_amount[RW]
damage_from_players_fighter_drone_num_shots[RW]
damage_from_players_hybrid_amount[RW]
damage_from_players_hybrid_num_shots[RW]
damage_from_players_missile_amount[RW]
damage_from_players_missile_num_shots[RW]
damage_from_players_projectile_amount[RW]
damage_from_players_projectile_num_shots[RW]
damage_from_players_smart_bomb_amount[RW]
damage_from_players_smart_bomb_num_shots[RW]
damage_from_players_super_amount[RW]
damage_from_players_super_num_shots[RW]
damage_from_structures_total_amount[RW]
damage_from_structures_total_num_shots[RW]
damage_to_players_bomb_amount[RW]
damage_to_players_bomb_num_shots[RW]
damage_to_players_combat_drone_amount[RW]
damage_to_players_combat_drone_num_shots[RW]
damage_to_players_energy_amount[RW]
damage_to_players_energy_num_shots[RW]
damage_to_players_fighter_bomber_amount[RW]
damage_to_players_fighter_bomber_num_shots[RW]
damage_to_players_fighter_drone_amount[RW]
damage_to_players_fighter_drone_num_shots[RW]
damage_to_players_hybrid_amount[RW]
damage_to_players_hybrid_num_shots[RW]
damage_to_players_missile_amount[RW]
damage_to_players_missile_num_shots[RW]
damage_to_players_projectile_amount[RW]
damage_to_players_projectile_num_shots[RW]
damage_to_players_smart_bomb_amount[RW]
damage_to_players_smart_bomb_num_shots[RW]
damage_to_players_super_amount[RW]
damage_to_players_super_num_shots[RW]
damage_to_structures_total_amount[RW]
damage_to_structures_total_num_shots[RW]
deaths_high_sec[RW]

deaths_high_sec integer

deaths_low_sec[RW]

deaths_low_sec integer

deaths_null_sec[RW]

deaths_null_sec integer

deaths_pod_high_sec[RW]
deaths_pod_low_sec[RW]
deaths_pod_null_sec[RW]
deaths_pod_wormhole[RW]
deaths_wormhole[RW]

deaths_wormhole integer

drone_engage[RW]

drone_engage integer

dscans[RW]

dscans integer

duel_requested[RW]

duel_requested integer

engagement_register[RW]
kills_assists[RW]

kills_assists integer

kills_high_sec[RW]

kills_high_sec integer

kills_low_sec[RW]

kills_low_sec integer

kills_null_sec[RW]

kills_null_sec integer

kills_pod_high_sec[RW]
kills_pod_low_sec[RW]
kills_pod_null_sec[RW]
kills_pod_wormhole[RW]
kills_wormhole[RW]

kills_wormhole integer

npc_flag_set[RW]

npc_flag_set integer

probe_scans[RW]

probe_scans integer

pvp_flag_set[RW]

pvp_flag_set integer

repair_armor_by_remote_amount[RW]
repair_armor_remote_amount[RW]
repair_armor_self_amount[RW]
repair_capacitor_by_remote_amount[RW]
repair_capacitor_remote_amount[RW]
repair_capacitor_self_amount[RW]
repair_hull_by_remote_amount[RW]
repair_hull_remote_amount[RW]
repair_hull_self_amount[RW]
repair_shield_by_remote_amount[RW]
repair_shield_remote_amount[RW]
repair_shield_self_amount[RW]
self_destructs[RW]

self_destructs integer

warp_scramble_pc[RW]
warp_scrambledby_npc[RW]
warp_scrambledby_pc[RW]
weapon_flag_set[RW]

weapon_flag_set integer

webifiedby_npc[RW]

webifiedby_npc integer

webifiedby_pc[RW]

webifiedby_pc integer

webifying_pc[RW]

webifying_pc integer

Public Class Methods

attribute_map() click to toggle source

Attribute mapping from ruby-style variable name to JSON key.

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 301
def self.attribute_map
  {
    :'cap_drainedby_npc' => :'cap_drainedby_npc',
    :'cap_drainedby_pc' => :'cap_drainedby_pc',
    :'cap_draining_pc' => :'cap_draining_pc',
    :'criminal_flag_set' => :'criminal_flag_set',
    :'damage_from_np_cs_amount' => :'damage_from_np_cs_amount',
    :'damage_from_np_cs_num_shots' => :'damage_from_np_cs_num_shots',
    :'damage_from_players_bomb_amount' => :'damage_from_players_bomb_amount',
    :'damage_from_players_bomb_num_shots' => :'damage_from_players_bomb_num_shots',
    :'damage_from_players_combat_drone_amount' => :'damage_from_players_combat_drone_amount',
    :'damage_from_players_combat_drone_num_shots' => :'damage_from_players_combat_drone_num_shots',
    :'damage_from_players_energy_amount' => :'damage_from_players_energy_amount',
    :'damage_from_players_energy_num_shots' => :'damage_from_players_energy_num_shots',
    :'damage_from_players_fighter_bomber_amount' => :'damage_from_players_fighter_bomber_amount',
    :'damage_from_players_fighter_bomber_num_shots' => :'damage_from_players_fighter_bomber_num_shots',
    :'damage_from_players_fighter_drone_amount' => :'damage_from_players_fighter_drone_amount',
    :'damage_from_players_fighter_drone_num_shots' => :'damage_from_players_fighter_drone_num_shots',
    :'damage_from_players_hybrid_amount' => :'damage_from_players_hybrid_amount',
    :'damage_from_players_hybrid_num_shots' => :'damage_from_players_hybrid_num_shots',
    :'damage_from_players_missile_amount' => :'damage_from_players_missile_amount',
    :'damage_from_players_missile_num_shots' => :'damage_from_players_missile_num_shots',
    :'damage_from_players_projectile_amount' => :'damage_from_players_projectile_amount',
    :'damage_from_players_projectile_num_shots' => :'damage_from_players_projectile_num_shots',
    :'damage_from_players_smart_bomb_amount' => :'damage_from_players_smart_bomb_amount',
    :'damage_from_players_smart_bomb_num_shots' => :'damage_from_players_smart_bomb_num_shots',
    :'damage_from_players_super_amount' => :'damage_from_players_super_amount',
    :'damage_from_players_super_num_shots' => :'damage_from_players_super_num_shots',
    :'damage_from_structures_total_amount' => :'damage_from_structures_total_amount',
    :'damage_from_structures_total_num_shots' => :'damage_from_structures_total_num_shots',
    :'damage_to_players_bomb_amount' => :'damage_to_players_bomb_amount',
    :'damage_to_players_bomb_num_shots' => :'damage_to_players_bomb_num_shots',
    :'damage_to_players_combat_drone_amount' => :'damage_to_players_combat_drone_amount',
    :'damage_to_players_combat_drone_num_shots' => :'damage_to_players_combat_drone_num_shots',
    :'damage_to_players_energy_amount' => :'damage_to_players_energy_amount',
    :'damage_to_players_energy_num_shots' => :'damage_to_players_energy_num_shots',
    :'damage_to_players_fighter_bomber_amount' => :'damage_to_players_fighter_bomber_amount',
    :'damage_to_players_fighter_bomber_num_shots' => :'damage_to_players_fighter_bomber_num_shots',
    :'damage_to_players_fighter_drone_amount' => :'damage_to_players_fighter_drone_amount',
    :'damage_to_players_fighter_drone_num_shots' => :'damage_to_players_fighter_drone_num_shots',
    :'damage_to_players_hybrid_amount' => :'damage_to_players_hybrid_amount',
    :'damage_to_players_hybrid_num_shots' => :'damage_to_players_hybrid_num_shots',
    :'damage_to_players_missile_amount' => :'damage_to_players_missile_amount',
    :'damage_to_players_missile_num_shots' => :'damage_to_players_missile_num_shots',
    :'damage_to_players_projectile_amount' => :'damage_to_players_projectile_amount',
    :'damage_to_players_projectile_num_shots' => :'damage_to_players_projectile_num_shots',
    :'damage_to_players_smart_bomb_amount' => :'damage_to_players_smart_bomb_amount',
    :'damage_to_players_smart_bomb_num_shots' => :'damage_to_players_smart_bomb_num_shots',
    :'damage_to_players_super_amount' => :'damage_to_players_super_amount',
    :'damage_to_players_super_num_shots' => :'damage_to_players_super_num_shots',
    :'damage_to_structures_total_amount' => :'damage_to_structures_total_amount',
    :'damage_to_structures_total_num_shots' => :'damage_to_structures_total_num_shots',
    :'deaths_high_sec' => :'deaths_high_sec',
    :'deaths_low_sec' => :'deaths_low_sec',
    :'deaths_null_sec' => :'deaths_null_sec',
    :'deaths_pod_high_sec' => :'deaths_pod_high_sec',
    :'deaths_pod_low_sec' => :'deaths_pod_low_sec',
    :'deaths_pod_null_sec' => :'deaths_pod_null_sec',
    :'deaths_pod_wormhole' => :'deaths_pod_wormhole',
    :'deaths_wormhole' => :'deaths_wormhole',
    :'drone_engage' => :'drone_engage',
    :'dscans' => :'dscans',
    :'duel_requested' => :'duel_requested',
    :'engagement_register' => :'engagement_register',
    :'kills_assists' => :'kills_assists',
    :'kills_high_sec' => :'kills_high_sec',
    :'kills_low_sec' => :'kills_low_sec',
    :'kills_null_sec' => :'kills_null_sec',
    :'kills_pod_high_sec' => :'kills_pod_high_sec',
    :'kills_pod_low_sec' => :'kills_pod_low_sec',
    :'kills_pod_null_sec' => :'kills_pod_null_sec',
    :'kills_pod_wormhole' => :'kills_pod_wormhole',
    :'kills_wormhole' => :'kills_wormhole',
    :'npc_flag_set' => :'npc_flag_set',
    :'probe_scans' => :'probe_scans',
    :'pvp_flag_set' => :'pvp_flag_set',
    :'repair_armor_by_remote_amount' => :'repair_armor_by_remote_amount',
    :'repair_armor_remote_amount' => :'repair_armor_remote_amount',
    :'repair_armor_self_amount' => :'repair_armor_self_amount',
    :'repair_capacitor_by_remote_amount' => :'repair_capacitor_by_remote_amount',
    :'repair_capacitor_remote_amount' => :'repair_capacitor_remote_amount',
    :'repair_capacitor_self_amount' => :'repair_capacitor_self_amount',
    :'repair_hull_by_remote_amount' => :'repair_hull_by_remote_amount',
    :'repair_hull_remote_amount' => :'repair_hull_remote_amount',
    :'repair_hull_self_amount' => :'repair_hull_self_amount',
    :'repair_shield_by_remote_amount' => :'repair_shield_by_remote_amount',
    :'repair_shield_remote_amount' => :'repair_shield_remote_amount',
    :'repair_shield_self_amount' => :'repair_shield_self_amount',
    :'self_destructs' => :'self_destructs',
    :'warp_scramble_pc' => :'warp_scramble_pc',
    :'warp_scrambledby_npc' => :'warp_scrambledby_npc',
    :'warp_scrambledby_pc' => :'warp_scrambledby_pc',
    :'weapon_flag_set' => :'weapon_flag_set',
    :'webifiedby_npc' => :'webifiedby_npc',
    :'webifiedby_pc' => :'webifiedby_pc',
    :'webifying_pc' => :'webifying_pc'
  }
end
new(attributes = {}) click to toggle source

Initializes the object @param [Hash] attributes Model attributes in the form of hash

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 502
def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  if attributes.has_key?(:'cap_drainedby_npc')
    self.cap_drainedby_npc = attributes[:'cap_drainedby_npc']
  end

  if attributes.has_key?(:'cap_drainedby_pc')
    self.cap_drainedby_pc = attributes[:'cap_drainedby_pc']
  end

  if attributes.has_key?(:'cap_draining_pc')
    self.cap_draining_pc = attributes[:'cap_draining_pc']
  end

  if attributes.has_key?(:'criminal_flag_set')
    self.criminal_flag_set = attributes[:'criminal_flag_set']
  end

  if attributes.has_key?(:'damage_from_np_cs_amount')
    self.damage_from_np_cs_amount = attributes[:'damage_from_np_cs_amount']
  end

  if attributes.has_key?(:'damage_from_np_cs_num_shots')
    self.damage_from_np_cs_num_shots = attributes[:'damage_from_np_cs_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_bomb_amount')
    self.damage_from_players_bomb_amount = attributes[:'damage_from_players_bomb_amount']
  end

  if attributes.has_key?(:'damage_from_players_bomb_num_shots')
    self.damage_from_players_bomb_num_shots = attributes[:'damage_from_players_bomb_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_combat_drone_amount')
    self.damage_from_players_combat_drone_amount = attributes[:'damage_from_players_combat_drone_amount']
  end

  if attributes.has_key?(:'damage_from_players_combat_drone_num_shots')
    self.damage_from_players_combat_drone_num_shots = attributes[:'damage_from_players_combat_drone_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_energy_amount')
    self.damage_from_players_energy_amount = attributes[:'damage_from_players_energy_amount']
  end

  if attributes.has_key?(:'damage_from_players_energy_num_shots')
    self.damage_from_players_energy_num_shots = attributes[:'damage_from_players_energy_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_fighter_bomber_amount')
    self.damage_from_players_fighter_bomber_amount = attributes[:'damage_from_players_fighter_bomber_amount']
  end

  if attributes.has_key?(:'damage_from_players_fighter_bomber_num_shots')
    self.damage_from_players_fighter_bomber_num_shots = attributes[:'damage_from_players_fighter_bomber_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_fighter_drone_amount')
    self.damage_from_players_fighter_drone_amount = attributes[:'damage_from_players_fighter_drone_amount']
  end

  if attributes.has_key?(:'damage_from_players_fighter_drone_num_shots')
    self.damage_from_players_fighter_drone_num_shots = attributes[:'damage_from_players_fighter_drone_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_hybrid_amount')
    self.damage_from_players_hybrid_amount = attributes[:'damage_from_players_hybrid_amount']
  end

  if attributes.has_key?(:'damage_from_players_hybrid_num_shots')
    self.damage_from_players_hybrid_num_shots = attributes[:'damage_from_players_hybrid_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_missile_amount')
    self.damage_from_players_missile_amount = attributes[:'damage_from_players_missile_amount']
  end

  if attributes.has_key?(:'damage_from_players_missile_num_shots')
    self.damage_from_players_missile_num_shots = attributes[:'damage_from_players_missile_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_projectile_amount')
    self.damage_from_players_projectile_amount = attributes[:'damage_from_players_projectile_amount']
  end

  if attributes.has_key?(:'damage_from_players_projectile_num_shots')
    self.damage_from_players_projectile_num_shots = attributes[:'damage_from_players_projectile_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_smart_bomb_amount')
    self.damage_from_players_smart_bomb_amount = attributes[:'damage_from_players_smart_bomb_amount']
  end

  if attributes.has_key?(:'damage_from_players_smart_bomb_num_shots')
    self.damage_from_players_smart_bomb_num_shots = attributes[:'damage_from_players_smart_bomb_num_shots']
  end

  if attributes.has_key?(:'damage_from_players_super_amount')
    self.damage_from_players_super_amount = attributes[:'damage_from_players_super_amount']
  end

  if attributes.has_key?(:'damage_from_players_super_num_shots')
    self.damage_from_players_super_num_shots = attributes[:'damage_from_players_super_num_shots']
  end

  if attributes.has_key?(:'damage_from_structures_total_amount')
    self.damage_from_structures_total_amount = attributes[:'damage_from_structures_total_amount']
  end

  if attributes.has_key?(:'damage_from_structures_total_num_shots')
    self.damage_from_structures_total_num_shots = attributes[:'damage_from_structures_total_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_bomb_amount')
    self.damage_to_players_bomb_amount = attributes[:'damage_to_players_bomb_amount']
  end

  if attributes.has_key?(:'damage_to_players_bomb_num_shots')
    self.damage_to_players_bomb_num_shots = attributes[:'damage_to_players_bomb_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_combat_drone_amount')
    self.damage_to_players_combat_drone_amount = attributes[:'damage_to_players_combat_drone_amount']
  end

  if attributes.has_key?(:'damage_to_players_combat_drone_num_shots')
    self.damage_to_players_combat_drone_num_shots = attributes[:'damage_to_players_combat_drone_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_energy_amount')
    self.damage_to_players_energy_amount = attributes[:'damage_to_players_energy_amount']
  end

  if attributes.has_key?(:'damage_to_players_energy_num_shots')
    self.damage_to_players_energy_num_shots = attributes[:'damage_to_players_energy_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_fighter_bomber_amount')
    self.damage_to_players_fighter_bomber_amount = attributes[:'damage_to_players_fighter_bomber_amount']
  end

  if attributes.has_key?(:'damage_to_players_fighter_bomber_num_shots')
    self.damage_to_players_fighter_bomber_num_shots = attributes[:'damage_to_players_fighter_bomber_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_fighter_drone_amount')
    self.damage_to_players_fighter_drone_amount = attributes[:'damage_to_players_fighter_drone_amount']
  end

  if attributes.has_key?(:'damage_to_players_fighter_drone_num_shots')
    self.damage_to_players_fighter_drone_num_shots = attributes[:'damage_to_players_fighter_drone_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_hybrid_amount')
    self.damage_to_players_hybrid_amount = attributes[:'damage_to_players_hybrid_amount']
  end

  if attributes.has_key?(:'damage_to_players_hybrid_num_shots')
    self.damage_to_players_hybrid_num_shots = attributes[:'damage_to_players_hybrid_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_missile_amount')
    self.damage_to_players_missile_amount = attributes[:'damage_to_players_missile_amount']
  end

  if attributes.has_key?(:'damage_to_players_missile_num_shots')
    self.damage_to_players_missile_num_shots = attributes[:'damage_to_players_missile_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_projectile_amount')
    self.damage_to_players_projectile_amount = attributes[:'damage_to_players_projectile_amount']
  end

  if attributes.has_key?(:'damage_to_players_projectile_num_shots')
    self.damage_to_players_projectile_num_shots = attributes[:'damage_to_players_projectile_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_smart_bomb_amount')
    self.damage_to_players_smart_bomb_amount = attributes[:'damage_to_players_smart_bomb_amount']
  end

  if attributes.has_key?(:'damage_to_players_smart_bomb_num_shots')
    self.damage_to_players_smart_bomb_num_shots = attributes[:'damage_to_players_smart_bomb_num_shots']
  end

  if attributes.has_key?(:'damage_to_players_super_amount')
    self.damage_to_players_super_amount = attributes[:'damage_to_players_super_amount']
  end

  if attributes.has_key?(:'damage_to_players_super_num_shots')
    self.damage_to_players_super_num_shots = attributes[:'damage_to_players_super_num_shots']
  end

  if attributes.has_key?(:'damage_to_structures_total_amount')
    self.damage_to_structures_total_amount = attributes[:'damage_to_structures_total_amount']
  end

  if attributes.has_key?(:'damage_to_structures_total_num_shots')
    self.damage_to_structures_total_num_shots = attributes[:'damage_to_structures_total_num_shots']
  end

  if attributes.has_key?(:'deaths_high_sec')
    self.deaths_high_sec = attributes[:'deaths_high_sec']
  end

  if attributes.has_key?(:'deaths_low_sec')
    self.deaths_low_sec = attributes[:'deaths_low_sec']
  end

  if attributes.has_key?(:'deaths_null_sec')
    self.deaths_null_sec = attributes[:'deaths_null_sec']
  end

  if attributes.has_key?(:'deaths_pod_high_sec')
    self.deaths_pod_high_sec = attributes[:'deaths_pod_high_sec']
  end

  if attributes.has_key?(:'deaths_pod_low_sec')
    self.deaths_pod_low_sec = attributes[:'deaths_pod_low_sec']
  end

  if attributes.has_key?(:'deaths_pod_null_sec')
    self.deaths_pod_null_sec = attributes[:'deaths_pod_null_sec']
  end

  if attributes.has_key?(:'deaths_pod_wormhole')
    self.deaths_pod_wormhole = attributes[:'deaths_pod_wormhole']
  end

  if attributes.has_key?(:'deaths_wormhole')
    self.deaths_wormhole = attributes[:'deaths_wormhole']
  end

  if attributes.has_key?(:'drone_engage')
    self.drone_engage = attributes[:'drone_engage']
  end

  if attributes.has_key?(:'dscans')
    self.dscans = attributes[:'dscans']
  end

  if attributes.has_key?(:'duel_requested')
    self.duel_requested = attributes[:'duel_requested']
  end

  if attributes.has_key?(:'engagement_register')
    self.engagement_register = attributes[:'engagement_register']
  end

  if attributes.has_key?(:'kills_assists')
    self.kills_assists = attributes[:'kills_assists']
  end

  if attributes.has_key?(:'kills_high_sec')
    self.kills_high_sec = attributes[:'kills_high_sec']
  end

  if attributes.has_key?(:'kills_low_sec')
    self.kills_low_sec = attributes[:'kills_low_sec']
  end

  if attributes.has_key?(:'kills_null_sec')
    self.kills_null_sec = attributes[:'kills_null_sec']
  end

  if attributes.has_key?(:'kills_pod_high_sec')
    self.kills_pod_high_sec = attributes[:'kills_pod_high_sec']
  end

  if attributes.has_key?(:'kills_pod_low_sec')
    self.kills_pod_low_sec = attributes[:'kills_pod_low_sec']
  end

  if attributes.has_key?(:'kills_pod_null_sec')
    self.kills_pod_null_sec = attributes[:'kills_pod_null_sec']
  end

  if attributes.has_key?(:'kills_pod_wormhole')
    self.kills_pod_wormhole = attributes[:'kills_pod_wormhole']
  end

  if attributes.has_key?(:'kills_wormhole')
    self.kills_wormhole = attributes[:'kills_wormhole']
  end

  if attributes.has_key?(:'npc_flag_set')
    self.npc_flag_set = attributes[:'npc_flag_set']
  end

  if attributes.has_key?(:'probe_scans')
    self.probe_scans = attributes[:'probe_scans']
  end

  if attributes.has_key?(:'pvp_flag_set')
    self.pvp_flag_set = attributes[:'pvp_flag_set']
  end

  if attributes.has_key?(:'repair_armor_by_remote_amount')
    self.repair_armor_by_remote_amount = attributes[:'repair_armor_by_remote_amount']
  end

  if attributes.has_key?(:'repair_armor_remote_amount')
    self.repair_armor_remote_amount = attributes[:'repair_armor_remote_amount']
  end

  if attributes.has_key?(:'repair_armor_self_amount')
    self.repair_armor_self_amount = attributes[:'repair_armor_self_amount']
  end

  if attributes.has_key?(:'repair_capacitor_by_remote_amount')
    self.repair_capacitor_by_remote_amount = attributes[:'repair_capacitor_by_remote_amount']
  end

  if attributes.has_key?(:'repair_capacitor_remote_amount')
    self.repair_capacitor_remote_amount = attributes[:'repair_capacitor_remote_amount']
  end

  if attributes.has_key?(:'repair_capacitor_self_amount')
    self.repair_capacitor_self_amount = attributes[:'repair_capacitor_self_amount']
  end

  if attributes.has_key?(:'repair_hull_by_remote_amount')
    self.repair_hull_by_remote_amount = attributes[:'repair_hull_by_remote_amount']
  end

  if attributes.has_key?(:'repair_hull_remote_amount')
    self.repair_hull_remote_amount = attributes[:'repair_hull_remote_amount']
  end

  if attributes.has_key?(:'repair_hull_self_amount')
    self.repair_hull_self_amount = attributes[:'repair_hull_self_amount']
  end

  if attributes.has_key?(:'repair_shield_by_remote_amount')
    self.repair_shield_by_remote_amount = attributes[:'repair_shield_by_remote_amount']
  end

  if attributes.has_key?(:'repair_shield_remote_amount')
    self.repair_shield_remote_amount = attributes[:'repair_shield_remote_amount']
  end

  if attributes.has_key?(:'repair_shield_self_amount')
    self.repair_shield_self_amount = attributes[:'repair_shield_self_amount']
  end

  if attributes.has_key?(:'self_destructs')
    self.self_destructs = attributes[:'self_destructs']
  end

  if attributes.has_key?(:'warp_scramble_pc')
    self.warp_scramble_pc = attributes[:'warp_scramble_pc']
  end

  if attributes.has_key?(:'warp_scrambledby_npc')
    self.warp_scrambledby_npc = attributes[:'warp_scrambledby_npc']
  end

  if attributes.has_key?(:'warp_scrambledby_pc')
    self.warp_scrambledby_pc = attributes[:'warp_scrambledby_pc']
  end

  if attributes.has_key?(:'weapon_flag_set')
    self.weapon_flag_set = attributes[:'weapon_flag_set']
  end

  if attributes.has_key?(:'webifiedby_npc')
    self.webifiedby_npc = attributes[:'webifiedby_npc']
  end

  if attributes.has_key?(:'webifiedby_pc')
    self.webifiedby_pc = attributes[:'webifiedby_pc']
  end

  if attributes.has_key?(:'webifying_pc')
    self.webifying_pc = attributes[:'webifying_pc']
  end
end
swagger_types() click to toggle source

Attribute type mapping.

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 401
def self.swagger_types
  {
    :'cap_drainedby_npc' => :'Integer',
    :'cap_drainedby_pc' => :'Integer',
    :'cap_draining_pc' => :'Integer',
    :'criminal_flag_set' => :'Integer',
    :'damage_from_np_cs_amount' => :'Integer',
    :'damage_from_np_cs_num_shots' => :'Integer',
    :'damage_from_players_bomb_amount' => :'Integer',
    :'damage_from_players_bomb_num_shots' => :'Integer',
    :'damage_from_players_combat_drone_amount' => :'Integer',
    :'damage_from_players_combat_drone_num_shots' => :'Integer',
    :'damage_from_players_energy_amount' => :'Integer',
    :'damage_from_players_energy_num_shots' => :'Integer',
    :'damage_from_players_fighter_bomber_amount' => :'Integer',
    :'damage_from_players_fighter_bomber_num_shots' => :'Integer',
    :'damage_from_players_fighter_drone_amount' => :'Integer',
    :'damage_from_players_fighter_drone_num_shots' => :'Integer',
    :'damage_from_players_hybrid_amount' => :'Integer',
    :'damage_from_players_hybrid_num_shots' => :'Integer',
    :'damage_from_players_missile_amount' => :'Integer',
    :'damage_from_players_missile_num_shots' => :'Integer',
    :'damage_from_players_projectile_amount' => :'Integer',
    :'damage_from_players_projectile_num_shots' => :'Integer',
    :'damage_from_players_smart_bomb_amount' => :'Integer',
    :'damage_from_players_smart_bomb_num_shots' => :'Integer',
    :'damage_from_players_super_amount' => :'Integer',
    :'damage_from_players_super_num_shots' => :'Integer',
    :'damage_from_structures_total_amount' => :'Integer',
    :'damage_from_structures_total_num_shots' => :'Integer',
    :'damage_to_players_bomb_amount' => :'Integer',
    :'damage_to_players_bomb_num_shots' => :'Integer',
    :'damage_to_players_combat_drone_amount' => :'Integer',
    :'damage_to_players_combat_drone_num_shots' => :'Integer',
    :'damage_to_players_energy_amount' => :'Integer',
    :'damage_to_players_energy_num_shots' => :'Integer',
    :'damage_to_players_fighter_bomber_amount' => :'Integer',
    :'damage_to_players_fighter_bomber_num_shots' => :'Integer',
    :'damage_to_players_fighter_drone_amount' => :'Integer',
    :'damage_to_players_fighter_drone_num_shots' => :'Integer',
    :'damage_to_players_hybrid_amount' => :'Integer',
    :'damage_to_players_hybrid_num_shots' => :'Integer',
    :'damage_to_players_missile_amount' => :'Integer',
    :'damage_to_players_missile_num_shots' => :'Integer',
    :'damage_to_players_projectile_amount' => :'Integer',
    :'damage_to_players_projectile_num_shots' => :'Integer',
    :'damage_to_players_smart_bomb_amount' => :'Integer',
    :'damage_to_players_smart_bomb_num_shots' => :'Integer',
    :'damage_to_players_super_amount' => :'Integer',
    :'damage_to_players_super_num_shots' => :'Integer',
    :'damage_to_structures_total_amount' => :'Integer',
    :'damage_to_structures_total_num_shots' => :'Integer',
    :'deaths_high_sec' => :'Integer',
    :'deaths_low_sec' => :'Integer',
    :'deaths_null_sec' => :'Integer',
    :'deaths_pod_high_sec' => :'Integer',
    :'deaths_pod_low_sec' => :'Integer',
    :'deaths_pod_null_sec' => :'Integer',
    :'deaths_pod_wormhole' => :'Integer',
    :'deaths_wormhole' => :'Integer',
    :'drone_engage' => :'Integer',
    :'dscans' => :'Integer',
    :'duel_requested' => :'Integer',
    :'engagement_register' => :'Integer',
    :'kills_assists' => :'Integer',
    :'kills_high_sec' => :'Integer',
    :'kills_low_sec' => :'Integer',
    :'kills_null_sec' => :'Integer',
    :'kills_pod_high_sec' => :'Integer',
    :'kills_pod_low_sec' => :'Integer',
    :'kills_pod_null_sec' => :'Integer',
    :'kills_pod_wormhole' => :'Integer',
    :'kills_wormhole' => :'Integer',
    :'npc_flag_set' => :'Integer',
    :'probe_scans' => :'Integer',
    :'pvp_flag_set' => :'Integer',
    :'repair_armor_by_remote_amount' => :'Integer',
    :'repair_armor_remote_amount' => :'Integer',
    :'repair_armor_self_amount' => :'Integer',
    :'repair_capacitor_by_remote_amount' => :'Integer',
    :'repair_capacitor_remote_amount' => :'Integer',
    :'repair_capacitor_self_amount' => :'Integer',
    :'repair_hull_by_remote_amount' => :'Integer',
    :'repair_hull_remote_amount' => :'Integer',
    :'repair_hull_self_amount' => :'Integer',
    :'repair_shield_by_remote_amount' => :'Integer',
    :'repair_shield_remote_amount' => :'Integer',
    :'repair_shield_self_amount' => :'Integer',
    :'self_destructs' => :'Integer',
    :'warp_scramble_pc' => :'Integer',
    :'warp_scrambledby_npc' => :'Integer',
    :'warp_scrambledby_pc' => :'Integer',
    :'weapon_flag_set' => :'Integer',
    :'webifiedby_npc' => :'Integer',
    :'webifiedby_pc' => :'Integer',
    :'webifying_pc' => :'Integer'
  }
end

Public Instance Methods

==(o) click to toggle source

Checks equality by comparing each attribute. @param [Object] Object to be compared

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 900
def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      cap_drainedby_npc == o.cap_drainedby_npc &&
      cap_drainedby_pc == o.cap_drainedby_pc &&
      cap_draining_pc == o.cap_draining_pc &&
      criminal_flag_set == o.criminal_flag_set &&
      damage_from_np_cs_amount == o.damage_from_np_cs_amount &&
      damage_from_np_cs_num_shots == o.damage_from_np_cs_num_shots &&
      damage_from_players_bomb_amount == o.damage_from_players_bomb_amount &&
      damage_from_players_bomb_num_shots == o.damage_from_players_bomb_num_shots &&
      damage_from_players_combat_drone_amount == o.damage_from_players_combat_drone_amount &&
      damage_from_players_combat_drone_num_shots == o.damage_from_players_combat_drone_num_shots &&
      damage_from_players_energy_amount == o.damage_from_players_energy_amount &&
      damage_from_players_energy_num_shots == o.damage_from_players_energy_num_shots &&
      damage_from_players_fighter_bomber_amount == o.damage_from_players_fighter_bomber_amount &&
      damage_from_players_fighter_bomber_num_shots == o.damage_from_players_fighter_bomber_num_shots &&
      damage_from_players_fighter_drone_amount == o.damage_from_players_fighter_drone_amount &&
      damage_from_players_fighter_drone_num_shots == o.damage_from_players_fighter_drone_num_shots &&
      damage_from_players_hybrid_amount == o.damage_from_players_hybrid_amount &&
      damage_from_players_hybrid_num_shots == o.damage_from_players_hybrid_num_shots &&
      damage_from_players_missile_amount == o.damage_from_players_missile_amount &&
      damage_from_players_missile_num_shots == o.damage_from_players_missile_num_shots &&
      damage_from_players_projectile_amount == o.damage_from_players_projectile_amount &&
      damage_from_players_projectile_num_shots == o.damage_from_players_projectile_num_shots &&
      damage_from_players_smart_bomb_amount == o.damage_from_players_smart_bomb_amount &&
      damage_from_players_smart_bomb_num_shots == o.damage_from_players_smart_bomb_num_shots &&
      damage_from_players_super_amount == o.damage_from_players_super_amount &&
      damage_from_players_super_num_shots == o.damage_from_players_super_num_shots &&
      damage_from_structures_total_amount == o.damage_from_structures_total_amount &&
      damage_from_structures_total_num_shots == o.damage_from_structures_total_num_shots &&
      damage_to_players_bomb_amount == o.damage_to_players_bomb_amount &&
      damage_to_players_bomb_num_shots == o.damage_to_players_bomb_num_shots &&
      damage_to_players_combat_drone_amount == o.damage_to_players_combat_drone_amount &&
      damage_to_players_combat_drone_num_shots == o.damage_to_players_combat_drone_num_shots &&
      damage_to_players_energy_amount == o.damage_to_players_energy_amount &&
      damage_to_players_energy_num_shots == o.damage_to_players_energy_num_shots &&
      damage_to_players_fighter_bomber_amount == o.damage_to_players_fighter_bomber_amount &&
      damage_to_players_fighter_bomber_num_shots == o.damage_to_players_fighter_bomber_num_shots &&
      damage_to_players_fighter_drone_amount == o.damage_to_players_fighter_drone_amount &&
      damage_to_players_fighter_drone_num_shots == o.damage_to_players_fighter_drone_num_shots &&
      damage_to_players_hybrid_amount == o.damage_to_players_hybrid_amount &&
      damage_to_players_hybrid_num_shots == o.damage_to_players_hybrid_num_shots &&
      damage_to_players_missile_amount == o.damage_to_players_missile_amount &&
      damage_to_players_missile_num_shots == o.damage_to_players_missile_num_shots &&
      damage_to_players_projectile_amount == o.damage_to_players_projectile_amount &&
      damage_to_players_projectile_num_shots == o.damage_to_players_projectile_num_shots &&
      damage_to_players_smart_bomb_amount == o.damage_to_players_smart_bomb_amount &&
      damage_to_players_smart_bomb_num_shots == o.damage_to_players_smart_bomb_num_shots &&
      damage_to_players_super_amount == o.damage_to_players_super_amount &&
      damage_to_players_super_num_shots == o.damage_to_players_super_num_shots &&
      damage_to_structures_total_amount == o.damage_to_structures_total_amount &&
      damage_to_structures_total_num_shots == o.damage_to_structures_total_num_shots &&
      deaths_high_sec == o.deaths_high_sec &&
      deaths_low_sec == o.deaths_low_sec &&
      deaths_null_sec == o.deaths_null_sec &&
      deaths_pod_high_sec == o.deaths_pod_high_sec &&
      deaths_pod_low_sec == o.deaths_pod_low_sec &&
      deaths_pod_null_sec == o.deaths_pod_null_sec &&
      deaths_pod_wormhole == o.deaths_pod_wormhole &&
      deaths_wormhole == o.deaths_wormhole &&
      drone_engage == o.drone_engage &&
      dscans == o.dscans &&
      duel_requested == o.duel_requested &&
      engagement_register == o.engagement_register &&
      kills_assists == o.kills_assists &&
      kills_high_sec == o.kills_high_sec &&
      kills_low_sec == o.kills_low_sec &&
      kills_null_sec == o.kills_null_sec &&
      kills_pod_high_sec == o.kills_pod_high_sec &&
      kills_pod_low_sec == o.kills_pod_low_sec &&
      kills_pod_null_sec == o.kills_pod_null_sec &&
      kills_pod_wormhole == o.kills_pod_wormhole &&
      kills_wormhole == o.kills_wormhole &&
      npc_flag_set == o.npc_flag_set &&
      probe_scans == o.probe_scans &&
      pvp_flag_set == o.pvp_flag_set &&
      repair_armor_by_remote_amount == o.repair_armor_by_remote_amount &&
      repair_armor_remote_amount == o.repair_armor_remote_amount &&
      repair_armor_self_amount == o.repair_armor_self_amount &&
      repair_capacitor_by_remote_amount == o.repair_capacitor_by_remote_amount &&
      repair_capacitor_remote_amount == o.repair_capacitor_remote_amount &&
      repair_capacitor_self_amount == o.repair_capacitor_self_amount &&
      repair_hull_by_remote_amount == o.repair_hull_by_remote_amount &&
      repair_hull_remote_amount == o.repair_hull_remote_amount &&
      repair_hull_self_amount == o.repair_hull_self_amount &&
      repair_shield_by_remote_amount == o.repair_shield_by_remote_amount &&
      repair_shield_remote_amount == o.repair_shield_remote_amount &&
      repair_shield_self_amount == o.repair_shield_self_amount &&
      self_destructs == o.self_destructs &&
      warp_scramble_pc == o.warp_scramble_pc &&
      warp_scrambledby_npc == o.warp_scrambledby_npc &&
      warp_scrambledby_pc == o.warp_scrambledby_pc &&
      weapon_flag_set == o.weapon_flag_set &&
      webifiedby_npc == o.webifiedby_npc &&
      webifiedby_pc == o.webifiedby_pc &&
      webifying_pc == o.webifying_pc
end
_deserialize(type, value) click to toggle source

Deserializes the data based on type @param string type Data type @param string value Value to be deserialized @return [Object] Deserialized data

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 1035
def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = ESIClient.const_get(type).new
    temp_model.build_from_hash(value)
  end
end
_to_hash(value) click to toggle source

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value @param [Object] value Any valid value @return [Hash] Returns the value in the form of hash

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 1101
def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end
build_from_hash(attributes) click to toggle source

Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 1014
def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end
eql?(o) click to toggle source

@see the `==` method @param [Object] Object to be compared

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 1001
def eql?(o)
  self == o
end
hash() click to toggle source

Calculates hash code according to all attributes. @return [Fixnum] Hash code

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 1007
def hash
  [cap_drainedby_npc, cap_drainedby_pc, cap_draining_pc, criminal_flag_set, damage_from_np_cs_amount, damage_from_np_cs_num_shots, damage_from_players_bomb_amount, damage_from_players_bomb_num_shots, damage_from_players_combat_drone_amount, damage_from_players_combat_drone_num_shots, damage_from_players_energy_amount, damage_from_players_energy_num_shots, damage_from_players_fighter_bomber_amount, damage_from_players_fighter_bomber_num_shots, damage_from_players_fighter_drone_amount, damage_from_players_fighter_drone_num_shots, damage_from_players_hybrid_amount, damage_from_players_hybrid_num_shots, damage_from_players_missile_amount, damage_from_players_missile_num_shots, damage_from_players_projectile_amount, damage_from_players_projectile_num_shots, damage_from_players_smart_bomb_amount, damage_from_players_smart_bomb_num_shots, damage_from_players_super_amount, damage_from_players_super_num_shots, damage_from_structures_total_amount, damage_from_structures_total_num_shots, damage_to_players_bomb_amount, damage_to_players_bomb_num_shots, damage_to_players_combat_drone_amount, damage_to_players_combat_drone_num_shots, damage_to_players_energy_amount, damage_to_players_energy_num_shots, damage_to_players_fighter_bomber_amount, damage_to_players_fighter_bomber_num_shots, damage_to_players_fighter_drone_amount, damage_to_players_fighter_drone_num_shots, damage_to_players_hybrid_amount, damage_to_players_hybrid_num_shots, damage_to_players_missile_amount, damage_to_players_missile_num_shots, damage_to_players_projectile_amount, damage_to_players_projectile_num_shots, damage_to_players_smart_bomb_amount, damage_to_players_smart_bomb_num_shots, damage_to_players_super_amount, damage_to_players_super_num_shots, damage_to_structures_total_amount, damage_to_structures_total_num_shots, deaths_high_sec, deaths_low_sec, deaths_null_sec, deaths_pod_high_sec, deaths_pod_low_sec, deaths_pod_null_sec, deaths_pod_wormhole, deaths_wormhole, drone_engage, dscans, duel_requested, engagement_register, kills_assists, kills_high_sec, kills_low_sec, kills_null_sec, kills_pod_high_sec, kills_pod_low_sec, kills_pod_null_sec, kills_pod_wormhole, kills_wormhole, npc_flag_set, probe_scans, pvp_flag_set, repair_armor_by_remote_amount, repair_armor_remote_amount, repair_armor_self_amount, repair_capacitor_by_remote_amount, repair_capacitor_remote_amount, repair_capacitor_self_amount, repair_hull_by_remote_amount, repair_hull_remote_amount, repair_hull_self_amount, repair_shield_by_remote_amount, repair_shield_remote_amount, repair_shield_self_amount, self_destructs, warp_scramble_pc, warp_scrambledby_npc, warp_scrambledby_pc, weapon_flag_set, webifiedby_npc, webifiedby_pc, webifying_pc].hash
end
list_invalid_properties() click to toggle source

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 887
def list_invalid_properties
  invalid_properties = Array.new
  invalid_properties
end
to_body() click to toggle source

to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 1081
def to_body
  to_hash
end
to_hash() click to toggle source

Returns the object in the form of hash @return [Hash] Returns the object in the form of hash

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 1087
def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end
to_s() click to toggle source

Returns the string representation of the object @return [String] String presentation of the object

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 1075
def to_s
  to_hash.to_s
end
valid?() click to toggle source

Check to see if the all the properties in the model are valid @return true if the model is valid

# File lib/esi_client/models/get_characters_character_id_stats_combat.rb, line 894
def valid?
  true
end