Class: Softlayer::Account::Agreement
- Defined in:
- lib/softlayer/account/agreement.rb,
lib/softlayer/account/agreement/type.rb,
lib/softlayer/account/agreement/status.rb
Defined Under Namespace
Classes: Representer, Status, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Agreement'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#agreement_type ⇒ Object
Returns the value of attribute agreement_type.
-
#agreement_type_id ⇒ Object
Returns the value of attribute agreement_type_id.
-
#attached_billing_agreement_file_count ⇒ Object
Returns the value of attribute attached_billing_agreement_file_count.
-
#attached_billing_agreement_files ⇒ Object
Returns the value of attribute attached_billing_agreement_files.
-
#auto_renew ⇒ Object
Returns the value of attribute auto_renew.
-
#billing_item_count ⇒ Object
Returns the value of attribute billing_item_count.
-
#billing_items ⇒ Object
Returns the value of attribute billing_items.
-
#cancellation_fee ⇒ Object
Returns the value of attribute cancellation_fee.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#duration_months ⇒ Object
Returns the value of attribute duration_months.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_id ⇒ Object
Returns the value of attribute status_id.
-
#title ⇒ Object
Returns the value of attribute title.
-
#top_level_billing_item_count ⇒ Object
Returns the value of attribute top_level_billing_item_count.
-
#top_level_billing_items ⇒ Object
Returns the value of attribute top_level_billing_items.
Instance Method Summary collapse
- #get_account ⇒ Object
- #get_agreement_type ⇒ Object
- #get_attached_billing_agreement_files ⇒ Object
- #get_billing_items ⇒ Object
- #get_object ⇒ Object
- #get_status ⇒ Object
- #get_top_level_billing_items ⇒ 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
#account ⇒ Object
Returns the value of attribute account.
20 21 22 |
# File 'lib/softlayer/account/agreement.rb', line 20 def account @account end |
#agreement_type ⇒ Object
Returns the value of attribute agreement_type.
21 22 23 |
# File 'lib/softlayer/account/agreement.rb', line 21 def agreement_type @agreement_type end |
#agreement_type_id ⇒ Object
Returns the value of attribute agreement_type_id.
7 8 9 |
# File 'lib/softlayer/account/agreement.rb', line 7 def agreement_type_id @agreement_type_id end |
#attached_billing_agreement_file_count ⇒ Object
Returns the value of attribute attached_billing_agreement_file_count.
17 18 19 |
# File 'lib/softlayer/account/agreement.rb', line 17 def attached_billing_agreement_file_count @attached_billing_agreement_file_count end |
#attached_billing_agreement_files ⇒ Object
Returns the value of attribute attached_billing_agreement_files.
22 23 24 |
# File 'lib/softlayer/account/agreement.rb', line 22 def attached_billing_agreement_files @attached_billing_agreement_files end |
#auto_renew ⇒ Object
Returns the value of attribute auto_renew.
8 9 10 |
# File 'lib/softlayer/account/agreement.rb', line 8 def auto_renew @auto_renew end |
#billing_item_count ⇒ Object
Returns the value of attribute billing_item_count.
18 19 20 |
# File 'lib/softlayer/account/agreement.rb', line 18 def billing_item_count @billing_item_count end |
#billing_items ⇒ Object
Returns the value of attribute billing_items.
23 24 25 |
# File 'lib/softlayer/account/agreement.rb', line 23 def billing_items @billing_items end |
#cancellation_fee ⇒ Object
Returns the value of attribute cancellation_fee.
9 10 11 |
# File 'lib/softlayer/account/agreement.rb', line 9 def cancellation_fee @cancellation_fee end |
#create_date ⇒ Object
Returns the value of attribute create_date.
10 11 12 |
# File 'lib/softlayer/account/agreement.rb', line 10 def create_date @create_date end |
#duration_months ⇒ Object
Returns the value of attribute duration_months.
11 12 13 |
# File 'lib/softlayer/account/agreement.rb', line 11 def duration_months @duration_months end |
#end_date ⇒ Object
Returns the value of attribute end_date.
12 13 14 |
# File 'lib/softlayer/account/agreement.rb', line 12 def end_date @end_date end |
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/softlayer/account/agreement.rb', line 13 def id @id end |
#start_date ⇒ Object
Returns the value of attribute start_date.
14 15 16 |
# File 'lib/softlayer/account/agreement.rb', line 14 def start_date @start_date end |
#status ⇒ Object
Returns the value of attribute status.
24 25 26 |
# File 'lib/softlayer/account/agreement.rb', line 24 def status @status end |
#status_id ⇒ Object
Returns the value of attribute status_id.
15 16 17 |
# File 'lib/softlayer/account/agreement.rb', line 15 def status_id @status_id end |
#title ⇒ Object
Returns the value of attribute title.
16 17 18 |
# File 'lib/softlayer/account/agreement.rb', line 16 def title @title end |
#top_level_billing_item_count ⇒ Object
Returns the value of attribute top_level_billing_item_count.
19 20 21 |
# File 'lib/softlayer/account/agreement.rb', line 19 def top_level_billing_item_count @top_level_billing_item_count end |
#top_level_billing_items ⇒ Object
Returns the value of attribute top_level_billing_items.
25 26 27 |
# File 'lib/softlayer/account/agreement.rb', line 25 def top_level_billing_items @top_level_billing_items end |
Instance Method Details
#get_account ⇒ Object
27 28 29 |
# File 'lib/softlayer/account/agreement.rb', line 27 def get_account request(:get_account, Softlayer::Account) end |
#get_agreement_type ⇒ Object
31 32 33 |
# File 'lib/softlayer/account/agreement.rb', line 31 def get_agreement_type request(:get_agreement_type, Softlayer::Account::Agreement::Type) end |
#get_attached_billing_agreement_files ⇒ Object
35 36 37 |
# File 'lib/softlayer/account/agreement.rb', line 35 def get_attached_billing_agreement_files request(:get_attached_billing_agreement_files, Array[Softlayer::Account::MasterServiceAgreement]) end |
#get_billing_items ⇒ Object
39 40 41 |
# File 'lib/softlayer/account/agreement.rb', line 39 def get_billing_items request(:get_billing_items, Array[Softlayer::Billing::Item]) end |
#get_object ⇒ Object
43 44 45 |
# File 'lib/softlayer/account/agreement.rb', line 43 def get_object request(:get_object, Softlayer::Account::Agreement) end |