Class: Softlayer::Product::Package::Inventory

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/product/package/inventory.rb

Defined Under Namespace

Classes: Representer

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#available_inventory_countObject

Returns the value of attribute available_inventory_count.



5
6
7
# File 'lib/softlayer/product/package/inventory.rb', line 5

def available_inventory_count
  @available_inventory_count
end

#itemObject

Returns the value of attribute item.



11
12
13
# File 'lib/softlayer/product/package/inventory.rb', line 11

def item
  @item
end

#item_idObject

Returns the value of attribute item_id.



6
7
8
# File 'lib/softlayer/product/package/inventory.rb', line 6

def item_id
  @item_id
end

#locationObject

Returns the value of attribute location.



12
13
14
# File 'lib/softlayer/product/package/inventory.rb', line 12

def location
  @location
end

#location_idObject

Returns the value of attribute location_id.



7
8
9
# File 'lib/softlayer/product/package/inventory.rb', line 7

def location_id
  @location_id
end

#modify_dateObject

Returns the value of attribute modify_date.



8
9
10
# File 'lib/softlayer/product/package/inventory.rb', line 8

def modify_date
  @modify_date
end

#overstock_flagObject

Returns the value of attribute overstock_flag.



9
10
11
# File 'lib/softlayer/product/package/inventory.rb', line 9

def overstock_flag
  @overstock_flag
end

#packageObject

Returns the value of attribute package.



13
14
15
# File 'lib/softlayer/product/package/inventory.rb', line 13

def package
  @package
end

#package_idObject

Returns the value of attribute package_id.



10
11
12
# File 'lib/softlayer/product/package/inventory.rb', line 10

def package_id
  @package_id
end