Class: Softlayer::Account::Partner::Referral::Prospect
- Inherits:
-
User::Customer::Prospect
- Object
- Model
- Entity
- User::Customer::Prospect
- Softlayer::Account::Partner::Referral::Prospect
- Defined in:
- lib/softlayer/account/partner/referral/prospect.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Partner_Referral_Prospect'
Instance Attribute Summary collapse
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#email_address ⇒ Object
Returns the value of attribute email_address.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
Attributes inherited from User::Customer::Prospect
#account, #assigned_employee_count, #assigned_employees, #quote_count, #quotes, #type
Class Method Summary collapse
-
.create_prospect(message) ⇒ Object
template_object commit.
- .get_survey_questions ⇒ Object
Instance Method Summary collapse
- #get_account ⇒ Object
- #get_assigned_employees ⇒ Object
- #get_object ⇒ Object
- #get_quotes ⇒ Object
- #get_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
#company_name ⇒ Object
Returns the value of attribute company_name.
7 8 9 |
# File 'lib/softlayer/account/partner/referral/prospect.rb', line 7 def company_name @company_name end |
#email_address ⇒ Object
Returns the value of attribute email_address.
8 9 10 |
# File 'lib/softlayer/account/partner/referral/prospect.rb', line 8 def email_address @email_address end |
#first_name ⇒ Object
Returns the value of attribute first_name.
9 10 11 |
# File 'lib/softlayer/account/partner/referral/prospect.rb', line 9 def first_name @first_name end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/account/partner/referral/prospect.rb', line 10 def id @id end |
#last_name ⇒ Object
Returns the value of attribute last_name.
11 12 13 |
# File 'lib/softlayer/account/partner/referral/prospect.rb', line 11 def last_name @last_name end |
Class Method Details
Instance Method Details
#get_account ⇒ Object
19 20 21 |
# File 'lib/softlayer/account/partner/referral/prospect.rb', line 19 def get_account request(:get_account, Softlayer::Account) end |
#get_assigned_employees ⇒ Object
23 24 25 |
# File 'lib/softlayer/account/partner/referral/prospect.rb', line 23 def get_assigned_employees request(:get_assigned_employees, Array[Softlayer::User::Employee]) end |
#get_object ⇒ Object
27 28 29 |
# File 'lib/softlayer/account/partner/referral/prospect.rb', line 27 def get_object request(:get_object, Softlayer::Account::Partner::Referral::Prospect) end |