Class: Softlayer::Account::Affiliation
- Defined in:
- lib/softlayer/account/affiliation.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Affiliation'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#affiliate_id ⇒ Object
Returns the value of attribute affiliate_id.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
-
.get_account_affiliations_by_affiliate_id(message) ⇒ Object
affiliate_id.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_object ⇒ 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.
10 11 12 |
# File 'lib/softlayer/account/affiliation.rb', line 10 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
5 6 7 |
# File 'lib/softlayer/account/affiliation.rb', line 5 def account_id @account_id end |
#affiliate_id ⇒ Object
Returns the value of attribute affiliate_id.
6 7 8 |
# File 'lib/softlayer/account/affiliation.rb', line 6 def affiliate_id @affiliate_id end |
#create_date ⇒ Object
Returns the value of attribute create_date.
7 8 9 |
# File 'lib/softlayer/account/affiliation.rb', line 7 def create_date @create_date end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/account/affiliation.rb', line 8 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
9 10 11 |
# File 'lib/softlayer/account/affiliation.rb', line 9 def modify_date @modify_date end |
Class Method Details
.create_object(message) ⇒ Object
template_object
13 14 15 |
# File 'lib/softlayer/account/affiliation.rb', line 13 def self.create_object() request(:create_object, Softlayer::Account::Affiliation, ) end |
.get_account_affiliations_by_affiliate_id(message) ⇒ Object
affiliate_id
31 32 33 |
# File 'lib/softlayer/account/affiliation.rb', line 31 def self.get_account_affiliations_by_affiliate_id() request(:get_account_affiliations_by_affiliate_id, Array[Softlayer::Account::Affiliation], ) end |
Instance Method Details
#delete_object ⇒ Object
17 18 19 |
# File 'lib/softlayer/account/affiliation.rb', line 17 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
22 23 24 |
# File 'lib/softlayer/account/affiliation.rb', line 22 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
26 27 28 |
# File 'lib/softlayer/account/affiliation.rb', line 26 def get_account request(:get_account, Softlayer::Account) end |
#get_object ⇒ Object
35 36 37 |
# File 'lib/softlayer/account/affiliation.rb', line 35 def get_object request(:get_object, Softlayer::Account::Affiliation) end |