Class: Softlayer::Account::Reports::Request
- Defined in:
- lib/softlayer/account/reports/request.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Reports_Request'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_contact ⇒ Object
Returns the value of attribute account_contact.
-
#account_contact_id ⇒ Object
Returns the value of attribute account_contact_id.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#compliance_report_type_id ⇒ Object
Returns the value of attribute compliance_report_type_id.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#employee_record_id ⇒ Object
Returns the value of attribute employee_record_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#nda ⇒ Object
Returns the value of attribute nda.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#report ⇒ Object
Returns the value of attribute report.
-
#report_type ⇒ Object
Returns the value of attribute report_type.
-
#request_key ⇒ Object
Returns the value of attribute request_key.
-
#status ⇒ Object
Returns the value of attribute status.
-
#ticket ⇒ Object
Returns the value of attribute ticket.
-
#ticket_id ⇒ Object
Returns the value of attribute ticket_id.
-
#user ⇒ Object
Returns the value of attribute user.
-
#usr_record_id ⇒ Object
Returns the value of attribute usr_record_id.
Class Method Summary collapse
-
.create_request(message) ⇒ Object
contact reason report_type.
- .get_all_objects ⇒ Object
-
.get_request_by_request_key(message) ⇒ Object
request_key.
-
.send_report_email(message) ⇒ Object
request.
-
.update_ticket_on_decline(message) ⇒ Object
request.
Instance Method Summary collapse
- #get_account ⇒ Object
- #get_account_contact ⇒ Object
- #get_object ⇒ Object
- #get_report_type ⇒ Object
- #get_ticket ⇒ Object
- #get_user ⇒ 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/reports/request.rb', line 20 def account @account end |
#account_contact ⇒ Object
Returns the value of attribute account_contact.
21 22 23 |
# File 'lib/softlayer/account/reports/request.rb', line 21 def account_contact @account_contact end |
#account_contact_id ⇒ Object
Returns the value of attribute account_contact_id.
6 7 8 |
# File 'lib/softlayer/account/reports/request.rb', line 6 def account_contact_id @account_contact_id end |
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/softlayer/account/reports/request.rb', line 7 def account_id @account_id end |
#compliance_report_type_id ⇒ Object
Returns the value of attribute compliance_report_type_id.
8 9 10 |
# File 'lib/softlayer/account/reports/request.rb', line 8 def compliance_report_type_id @compliance_report_type_id end |
#create_date ⇒ Object
Returns the value of attribute create_date.
9 10 11 |
# File 'lib/softlayer/account/reports/request.rb', line 9 def create_date @create_date end |
#employee_record_id ⇒ Object
Returns the value of attribute employee_record_id.
10 11 12 |
# File 'lib/softlayer/account/reports/request.rb', line 10 def employee_record_id @employee_record_id end |
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/softlayer/account/reports/request.rb', line 11 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
12 13 14 |
# File 'lib/softlayer/account/reports/request.rb', line 12 def modify_date @modify_date end |
#nda ⇒ Object
Returns the value of attribute nda.
13 14 15 |
# File 'lib/softlayer/account/reports/request.rb', line 13 def nda @nda end |
#notes ⇒ Object
Returns the value of attribute notes.
14 15 16 |
# File 'lib/softlayer/account/reports/request.rb', line 14 def notes @notes end |
#report ⇒ Object
Returns the value of attribute report.
15 16 17 |
# File 'lib/softlayer/account/reports/request.rb', line 15 def report @report end |
#report_type ⇒ Object
Returns the value of attribute report_type.
22 23 24 |
# File 'lib/softlayer/account/reports/request.rb', line 22 def report_type @report_type end |
#request_key ⇒ Object
Returns the value of attribute request_key.
16 17 18 |
# File 'lib/softlayer/account/reports/request.rb', line 16 def request_key @request_key end |
#status ⇒ Object
Returns the value of attribute status.
17 18 19 |
# File 'lib/softlayer/account/reports/request.rb', line 17 def status @status end |
#ticket ⇒ Object
Returns the value of attribute ticket.
23 24 25 |
# File 'lib/softlayer/account/reports/request.rb', line 23 def ticket @ticket end |
#ticket_id ⇒ Object
Returns the value of attribute ticket_id.
18 19 20 |
# File 'lib/softlayer/account/reports/request.rb', line 18 def ticket_id @ticket_id end |
#user ⇒ Object
Returns the value of attribute user.
24 25 26 |
# File 'lib/softlayer/account/reports/request.rb', line 24 def user @user end |
#usr_record_id ⇒ Object
Returns the value of attribute usr_record_id.
19 20 21 |
# File 'lib/softlayer/account/reports/request.rb', line 19 def usr_record_id @usr_record_id end |
Class Method Details
.create_request(message) ⇒ Object
contact reason report_type
29 30 31 |
# File 'lib/softlayer/account/reports/request.rb', line 29 def self.create_request() request(:create_request, Softlayer::Account::Reports::Request, ) end |
.get_all_objects ⇒ Object
41 42 43 |
# File 'lib/softlayer/account/reports/request.rb', line 41 def self.get_all_objects request(:get_all_objects, Softlayer::Account::Reports::Request) end |
.get_request_by_request_key(message) ⇒ Object
request_key
54 55 56 |
# File 'lib/softlayer/account/reports/request.rb', line 54 def self.get_request_by_request_key() request(:get_request_by_request_key, Softlayer::Account::Reports::Request, ) end |
.send_report_email(message) ⇒ Object
request
67 68 69 |
# File 'lib/softlayer/account/reports/request.rb', line 67 def self.send_report_email() request(:send_report_email, Boolean, ) end |
.update_ticket_on_decline(message) ⇒ Object
request
72 73 74 |
# File 'lib/softlayer/account/reports/request.rb', line 72 def self.update_ticket_on_decline() request(:update_ticket_on_decline, Boolean, ) end |
Instance Method Details
#get_account ⇒ Object
33 34 35 |
# File 'lib/softlayer/account/reports/request.rb', line 33 def get_account request(:get_account, Softlayer::Account) end |
#get_account_contact ⇒ Object
37 38 39 |
# File 'lib/softlayer/account/reports/request.rb', line 37 def get_account_contact request(:get_account_contact, Softlayer::Account::Contact) end |
#get_object ⇒ Object
45 46 47 |
# File 'lib/softlayer/account/reports/request.rb', line 45 def get_object request(:get_object, Softlayer::Account::Reports::Request) end |
#get_report_type ⇒ Object
49 50 51 |
# File 'lib/softlayer/account/reports/request.rb', line 49 def get_report_type request(:get_report_type, Softlayer::Compliance::Report::Type) end |