class EveOnline::ESI::Models::Asset

Public Instance Methods

as_json() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 7
def as_json
  {
    is_blueprint_copy: is_blueprint_copy,
    is_singleton: is_singleton,
    item_id: item_id,
    location_flag: location_flag,
    location_id: location_id,
    location_type: location_type,
    quantity: quantity,
    type_id: type_id
  }
end
is_blueprint_copy() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 20
def is_blueprint_copy
  options["is_blueprint_copy"]
end
is_singleton() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 24
def is_singleton
  options["is_singleton"]
end
item_id() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 28
def item_id
  options["item_id"]
end
location_flag() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 32
def location_flag
  options["location_flag"]
end
location_id() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 36
def location_id
  options["location_id"]
end
location_type() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 40
def location_type
  options["location_type"]
end
quantity() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 44
def quantity
  options["quantity"]
end
type_id() click to toggle source
# File lib/eve_online/esi/models/asset.rb, line 48
def type_id
  options["type_id"]
end