Class: Softlayer::Sales::Presale::Event
- Defined in:
- lib/softlayer/sales/presale/event.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Sales_Presale_Event'
Instance Attribute Summary collapse
-
#active_flag ⇒ Object
Returns the value of attribute active_flag.
-
#description ⇒ Object
Returns the value of attribute description.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#expired_flag ⇒ Object
Returns the value of attribute expired_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#item ⇒ Object
Returns the value of attribute item.
-
#item_id ⇒ Object
Returns the value of attribute item_id.
-
#location ⇒ Object
Returns the value of attribute location.
-
#location_id ⇒ Object
Returns the value of attribute location_id.
-
#order_count ⇒ Object
Returns the value of attribute order_count.
-
#orders ⇒ Object
Returns the value of attribute orders.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
Class Method Summary collapse
Instance Method Summary collapse
- #get_active_flag ⇒ Object
- #get_expired_flag ⇒ Object
- #get_item ⇒ Object
- #get_location ⇒ Object
- #get_object ⇒ Object
- #get_orders ⇒ 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
#active_flag ⇒ Object
Returns the value of attribute active_flag.
13 14 15 |
# File 'lib/softlayer/sales/presale/event.rb', line 13 def active_flag @active_flag end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/softlayer/sales/presale/event.rb', line 6 def description @description end |
#end_date ⇒ Object
Returns the value of attribute end_date.
7 8 9 |
# File 'lib/softlayer/sales/presale/event.rb', line 7 def end_date @end_date end |
#expired_flag ⇒ Object
Returns the value of attribute expired_flag.
14 15 16 |
# File 'lib/softlayer/sales/presale/event.rb', line 14 def expired_flag @expired_flag end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/sales/presale/event.rb', line 8 def id @id end |
#item ⇒ Object
Returns the value of attribute item.
15 16 17 |
# File 'lib/softlayer/sales/presale/event.rb', line 15 def item @item end |
#item_id ⇒ Object
Returns the value of attribute item_id.
9 10 11 |
# File 'lib/softlayer/sales/presale/event.rb', line 9 def item_id @item_id end |
#location ⇒ Object
Returns the value of attribute location.
16 17 18 |
# File 'lib/softlayer/sales/presale/event.rb', line 16 def location @location end |
#location_id ⇒ Object
Returns the value of attribute location_id.
10 11 12 |
# File 'lib/softlayer/sales/presale/event.rb', line 10 def location_id @location_id end |
#order_count ⇒ Object
Returns the value of attribute order_count.
12 13 14 |
# File 'lib/softlayer/sales/presale/event.rb', line 12 def order_count @order_count end |
#orders ⇒ Object
Returns the value of attribute orders.
17 18 19 |
# File 'lib/softlayer/sales/presale/event.rb', line 17 def orders @orders end |
#start_date ⇒ Object
Returns the value of attribute start_date.
11 12 13 |
# File 'lib/softlayer/sales/presale/event.rb', line 11 def start_date @start_date end |
Class Method Details
Instance Method Details
#get_active_flag ⇒ Object
19 20 21 |
# File 'lib/softlayer/sales/presale/event.rb', line 19 def get_active_flag request(:get_active_flag, Boolean) end |
#get_expired_flag ⇒ Object
27 28 29 |
# File 'lib/softlayer/sales/presale/event.rb', line 27 def get_expired_flag request(:get_expired_flag, Boolean) end |
#get_item ⇒ Object
31 32 33 |
# File 'lib/softlayer/sales/presale/event.rb', line 31 def get_item request(:get_item, Softlayer::Product::Item) end |
#get_location ⇒ Object
35 36 37 |
# File 'lib/softlayer/sales/presale/event.rb', line 35 def get_location request(:get_location, Softlayer::Location) end |