Class: Softlayer::Catalyst::Enrollment
- Defined in:
- lib/softlayer/catalyst/enrollment.rb,
lib/softlayer/catalyst/enrollment/request.rb,
lib/softlayer/catalyst/enrollment/request/container.rb,
lib/softlayer/catalyst/enrollment/request/container/answer_option.rb
Defined Under Namespace
Classes: Representer, Request
Constant Summary collapse
- SERVICE =
'SoftLayer_Catalyst_Enrollment'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#affiliate ⇒ Object
Returns the value of attribute affiliate.
-
#affiliate_id ⇒ Object
Returns the value of attribute affiliate_id.
-
#agreement_complete_flag ⇒ Object
Returns the value of attribute agreement_complete_flag.
-
#company_description ⇒ Object
Returns the value of attribute company_description.
-
#company_type ⇒ Object
Returns the value of attribute company_type.
-
#company_type_id ⇒ Object
Returns the value of attribute company_type_id.
-
#enrollment_date ⇒ Object
Returns the value of attribute enrollment_date.
-
#graduation_date ⇒ Object
Returns the value of attribute graduation_date.
-
#is_active_flag ⇒ Object
Returns the value of attribute is_active_flag.
-
#monthly_credit_amount ⇒ Object
Returns the value of attribute monthly_credit_amount.
-
#representative ⇒ Object
Returns the value of attribute representative.
-
#representative_employee_id ⇒ Object
Returns the value of attribute representative_employee_id.
Class Method Summary collapse
- .get_affiliates ⇒ Object
- .get_company_types ⇒ Object
- .get_enrollment_request_annual_revenue_options ⇒ Object
- .get_enrollment_request_user_count_options ⇒ Object
- .get_enrollment_request_years_in_operation_options ⇒ Object
-
.request_manual_enrollment(message) ⇒ Object
request.
-
.request_self_enrollment(message) ⇒ Object
enrollment_request.
Instance Method Summary collapse
- #get_account ⇒ Object
- #get_affiliate ⇒ Object
- #get_company_type ⇒ Object
- #get_is_active_flag ⇒ Object
- #get_object ⇒ Object
- #get_representative ⇒ 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.
15 16 17 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 15 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
6 7 8 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 6 def account_id @account_id end |
#affiliate ⇒ Object
Returns the value of attribute affiliate.
16 17 18 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 16 def affiliate @affiliate end |
#affiliate_id ⇒ Object
Returns the value of attribute affiliate_id.
7 8 9 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 7 def affiliate_id @affiliate_id end |
#agreement_complete_flag ⇒ Object
Returns the value of attribute agreement_complete_flag.
8 9 10 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 8 def agreement_complete_flag @agreement_complete_flag end |
#company_description ⇒ Object
Returns the value of attribute company_description.
9 10 11 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 9 def company_description @company_description end |
#company_type ⇒ Object
Returns the value of attribute company_type.
17 18 19 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 17 def company_type @company_type end |
#company_type_id ⇒ Object
Returns the value of attribute company_type_id.
10 11 12 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 10 def company_type_id @company_type_id end |
#enrollment_date ⇒ Object
Returns the value of attribute enrollment_date.
11 12 13 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 11 def enrollment_date @enrollment_date end |
#graduation_date ⇒ Object
Returns the value of attribute graduation_date.
12 13 14 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 12 def graduation_date @graduation_date end |
#is_active_flag ⇒ Object
Returns the value of attribute is_active_flag.
18 19 20 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 18 def is_active_flag @is_active_flag end |
#monthly_credit_amount ⇒ Object
Returns the value of attribute monthly_credit_amount.
13 14 15 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 13 def monthly_credit_amount @monthly_credit_amount end |
#representative ⇒ Object
Returns the value of attribute representative.
19 20 21 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 19 def representative @representative end |
#representative_employee_id ⇒ Object
Returns the value of attribute representative_employee_id.
14 15 16 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 14 def representative_employee_id @representative_employee_id end |
Class Method Details
.get_affiliates ⇒ Object
29 30 31 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 29 def self.get_affiliates request(:get_affiliates, Array[Softlayer::Catalyst::Affiliate]) end |
.get_company_types ⇒ Object
37 38 39 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 37 def self.get_company_types request(:get_company_types, Array[Softlayer::Catalyst::Company::Type]) end |
.get_enrollment_request_annual_revenue_options ⇒ Object
41 42 43 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 41 def self. request(:get_enrollment_request_annual_revenue_options, Array[Softlayer::Catalyst::Enrollment::Request::Container::AnswerOption]) end |
.get_enrollment_request_user_count_options ⇒ Object
45 46 47 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 45 def self. request(:get_enrollment_request_user_count_options, Array[Softlayer::Catalyst::Enrollment::Request::Container::AnswerOption]) end |
.get_enrollment_request_years_in_operation_options ⇒ Object
49 50 51 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 49 def self. request(:get_enrollment_request_years_in_operation_options, Array[Softlayer::Catalyst::Enrollment::Request::Container::AnswerOption]) end |
.request_manual_enrollment(message) ⇒ Object
request
66 67 68 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 66 def self.request_manual_enrollment() request(:request_manual_enrollment, nil, ) end |
Instance Method Details
#get_account ⇒ Object
21 22 23 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 21 def get_account request(:get_account, Softlayer::Account) end |
#get_affiliate ⇒ Object
25 26 27 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 25 def get_affiliate request(:get_affiliate, Softlayer::Catalyst::Affiliate) end |
#get_company_type ⇒ Object
33 34 35 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 33 def get_company_type request(:get_company_type, Softlayer::Catalyst::Company::Type) end |
#get_is_active_flag ⇒ Object
53 54 55 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 53 def get_is_active_flag request(:get_is_active_flag, Boolean) end |
#get_object ⇒ Object
57 58 59 |
# File 'lib/softlayer/catalyst/enrollment.rb', line 57 def get_object request(:get_object, Softlayer::Catalyst::Enrollment) end |