Class: Softlayer::Account::Shipment::Item
- Defined in:
- lib/softlayer/account/shipment/item.rb,
lib/softlayer/account/shipment/item/type.rb
Defined Under Namespace
Classes: Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Shipment_Item'
Instance Attribute Summary collapse
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#package_id ⇒ Object
Returns the value of attribute package_id.
-
#shipment ⇒ Object
Returns the value of attribute shipment.
-
#shipment_id ⇒ Object
Returns the value of attribute shipment_id.
-
#shipment_item_id ⇒ Object
Returns the value of attribute shipment_item_id.
-
#shipment_item_type ⇒ Object
Returns the value of attribute shipment_item_type.
-
#shipment_item_type_id ⇒ Object
Returns the value of attribute shipment_item_type_id.
Instance Method Summary collapse
-
#edit_object(message) ⇒ Object
template_object.
- #get_object ⇒ Object
- #get_shipment ⇒ Object
- #get_shipment_item_type ⇒ Object
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
#create_date ⇒ Object
Returns the value of attribute create_date.
7 8 9 |
# File 'lib/softlayer/account/shipment/item.rb', line 7 def create_date @create_date end |
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'lib/softlayer/account/shipment/item.rb', line 8 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/account/shipment/item.rb', line 9 def id @id end |
#package_id ⇒ Object
Returns the value of attribute package_id.
10 11 12 |
# File 'lib/softlayer/account/shipment/item.rb', line 10 def package_id @package_id end |
#shipment ⇒ Object
Returns the value of attribute shipment.
14 15 16 |
# File 'lib/softlayer/account/shipment/item.rb', line 14 def shipment @shipment end |
#shipment_id ⇒ Object
Returns the value of attribute shipment_id.
11 12 13 |
# File 'lib/softlayer/account/shipment/item.rb', line 11 def shipment_id @shipment_id end |
#shipment_item_id ⇒ Object
Returns the value of attribute shipment_item_id.
12 13 14 |
# File 'lib/softlayer/account/shipment/item.rb', line 12 def shipment_item_id @shipment_item_id end |
#shipment_item_type ⇒ Object
Returns the value of attribute shipment_item_type.
15 16 17 |
# File 'lib/softlayer/account/shipment/item.rb', line 15 def shipment_item_type @shipment_item_type end |
#shipment_item_type_id ⇒ Object
Returns the value of attribute shipment_item_type_id.
13 14 15 |
# File 'lib/softlayer/account/shipment/item.rb', line 13 def shipment_item_type_id @shipment_item_type_id end |
Instance Method Details
#edit_object(message) ⇒ Object
template_object
18 19 20 |
# File 'lib/softlayer/account/shipment/item.rb', line 18 def edit_object() request(:edit_object, Boolean, ) end |
#get_object ⇒ Object
22 23 24 |
# File 'lib/softlayer/account/shipment/item.rb', line 22 def get_object request(:get_object, Softlayer::Account::Shipment::Item) end |