Class: Softlayer::Account::Media::Data::Transfer::Request
- Defined in:
- lib/softlayer/account/media/data/transfer/request.rb,
lib/softlayer/account/media/data/transfer/request/status.rb
Defined Under Namespace
Classes: Representer, Status
Constant Summary collapse
- SERVICE =
'SoftLayer_Account_Media_Data_Transfer_Request'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#active_ticket_count ⇒ Object
Returns the value of attribute active_ticket_count.
-
#active_tickets ⇒ Object
Returns the value of attribute active_tickets.
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#create_user ⇒ Object
Returns the value of attribute create_user.
-
#create_user_id ⇒ Object
Returns the value of attribute create_user_id.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#media ⇒ Object
Returns the value of attribute media.
-
#modify_employee ⇒ Object
Returns the value of attribute modify_employee.
-
#modify_user ⇒ Object
Returns the value of attribute modify_user.
-
#modify_user_id ⇒ Object
Returns the value of attribute modify_user_id.
-
#shipment_count ⇒ Object
Returns the value of attribute shipment_count.
-
#shipments ⇒ Object
Returns the value of attribute shipments.
-
#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.
-
#ticket_count ⇒ Object
Returns the value of attribute ticket_count.
-
#tickets ⇒ Object
Returns the value of attribute tickets.
Class Method Summary collapse
Instance Method Summary collapse
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_active_tickets ⇒ Object
- #get_billing_item ⇒ Object
- #get_create_user ⇒ Object
- #get_media ⇒ Object
- #get_modify_employee ⇒ Object
- #get_modify_user ⇒ Object
- #get_object ⇒ Object
- #get_shipments ⇒ Object
- #get_status ⇒ Object
- #get_tickets ⇒ 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.
19 20 21 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 19 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
9 10 11 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 9 def account_id @account_id end |
#active_ticket_count ⇒ Object
Returns the value of attribute active_ticket_count.
16 17 18 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 16 def active_ticket_count @active_ticket_count end |
#active_tickets ⇒ Object
Returns the value of attribute active_tickets.
20 21 22 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 20 def active_tickets @active_tickets end |
#billing_item ⇒ Object
Returns the value of attribute billing_item.
21 22 23 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 21 def billing_item @billing_item end |
#create_user ⇒ Object
Returns the value of attribute create_user.
22 23 24 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 22 def create_user @create_user end |
#create_user_id ⇒ Object
Returns the value of attribute create_user_id.
10 11 12 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 10 def create_user_id @create_user_id end |
#end_date ⇒ Object
Returns the value of attribute end_date.
11 12 13 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 11 def end_date @end_date end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 12 def id @id end |
#media ⇒ Object
Returns the value of attribute media.
23 24 25 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 23 def media @media end |
#modify_employee ⇒ Object
Returns the value of attribute modify_employee.
24 25 26 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 24 def modify_employee @modify_employee end |
#modify_user ⇒ Object
Returns the value of attribute modify_user.
25 26 27 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 25 def modify_user @modify_user end |
#modify_user_id ⇒ Object
Returns the value of attribute modify_user_id.
13 14 15 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 13 def modify_user_id @modify_user_id end |
#shipment_count ⇒ Object
Returns the value of attribute shipment_count.
17 18 19 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 17 def shipment_count @shipment_count end |
#shipments ⇒ Object
Returns the value of attribute shipments.
26 27 28 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 26 def shipments @shipments end |
#start_date ⇒ Object
Returns the value of attribute start_date.
14 15 16 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 14 def start_date @start_date end |
#status ⇒ Object
Returns the value of attribute status.
27 28 29 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 27 def status @status end |
#status_id ⇒ Object
Returns the value of attribute status_id.
15 16 17 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 15 def status_id @status_id end |
#ticket_count ⇒ Object
Returns the value of attribute ticket_count.
18 19 20 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 18 def ticket_count @ticket_count end |
#tickets ⇒ Object
Returns the value of attribute tickets.
28 29 30 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 28 def tickets @tickets end |
Class Method Details
Instance Method Details
#edit_object(message) ⇒ Object
template_object
31 32 33 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 31 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
35 36 37 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 35 def get_account request(:get_account, Softlayer::Account) end |
#get_active_tickets ⇒ Object
39 40 41 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 39 def get_active_tickets request(:get_active_tickets, Array[Softlayer::Ticket]) end |
#get_billing_item ⇒ Object
47 48 49 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 47 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item) end |
#get_create_user ⇒ Object
51 52 53 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 51 def get_create_user request(:get_create_user, Softlayer::User::Customer) end |
#get_media ⇒ Object
55 56 57 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 55 def get_media request(:get_media, Softlayer::Account::Media) end |
#get_modify_employee ⇒ Object
59 60 61 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 59 def get_modify_employee request(:get_modify_employee, Softlayer::User::Employee) end |
#get_modify_user ⇒ Object
63 64 65 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 63 def get_modify_user request(:get_modify_user, Softlayer::User::Customer) end |
#get_object ⇒ Object
67 68 69 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 67 def get_object request(:get_object, Softlayer::Account::Media::Data::Transfer::Request) end |
#get_shipments ⇒ Object
71 72 73 |
# File 'lib/softlayer/account/media/data/transfer/request.rb', line 71 def get_shipments request(:get_shipments, Array[Softlayer::Account::Shipment]) end |