Class: Softlayer::Billing::Item::Cancellation::Reason
- Defined in:
- lib/softlayer/billing/item/cancellation/reason.rb,
lib/softlayer/billing/item/cancellation/reason/category.rb
Defined Under Namespace
Classes: Category, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Billing_Item_Cancellation_Reason'
Instance Attribute Summary collapse
-
#billing_cancel_reason_category_id ⇒ Object
Returns the value of attribute billing_cancel_reason_category_id.
-
#billing_cancellation_reason_category ⇒ Object
Returns the value of attribute billing_cancellation_reason_category.
-
#billing_item_count ⇒ Object
Returns the value of attribute billing_item_count.
-
#billing_items ⇒ Object
Returns the value of attribute billing_items.
-
#id ⇒ Object
Returns the value of attribute id.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#translated_reason ⇒ Object
Returns the value of attribute translated_reason.
Class Method Summary collapse
Instance Method Summary collapse
- #get_billing_cancellation_reason_category ⇒ Object
- #get_billing_items ⇒ Object
- #get_object ⇒ Object
- #get_translated_reason ⇒ 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
#billing_cancel_reason_category_id ⇒ Object
Returns the value of attribute billing_cancel_reason_category_id.
8 9 10 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 8 def billing_cancel_reason_category_id @billing_cancel_reason_category_id end |
#billing_cancellation_reason_category ⇒ Object
Returns the value of attribute billing_cancellation_reason_category.
13 14 15 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 13 def billing_cancellation_reason_category @billing_cancellation_reason_category end |
#billing_item_count ⇒ Object
Returns the value of attribute billing_item_count.
12 13 14 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 12 def billing_item_count @billing_item_count end |
#billing_items ⇒ Object
Returns the value of attribute billing_items.
14 15 16 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 14 def billing_items @billing_items end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 9 def id @id end |
#key_name ⇒ Object
Returns the value of attribute key_name.
10 11 12 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 10 def key_name @key_name end |
#reason ⇒ Object
Returns the value of attribute reason.
11 12 13 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 11 def reason @reason end |
#translated_reason ⇒ Object
Returns the value of attribute translated_reason.
15 16 17 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 15 def translated_reason @translated_reason end |
Class Method Details
Instance Method Details
#get_billing_cancellation_reason_category ⇒ Object
21 22 23 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 21 def get_billing_cancellation_reason_category request(:get_billing_cancellation_reason_category, Softlayer::Billing::Item::Cancellation::Reason::Category) end |
#get_billing_items ⇒ Object
25 26 27 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 25 def get_billing_items request(:get_billing_items, Array[Softlayer::Billing::Item]) end |
#get_object ⇒ Object
29 30 31 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 29 def get_object request(:get_object, Softlayer::Billing::Item::Cancellation::Reason) end |
#get_translated_reason ⇒ Object
33 34 35 |
# File 'lib/softlayer/billing/item/cancellation/reason.rb', line 33 def get_translated_reason request(:get_translated_reason, String) end |