Class: Softlayer::Ticket::Update::Employee
Defined Under Namespace
Classes: Representer
Constant Summary
collapse
- SERVICE =
'SoftLayer_Ticket_Update_Employee'
Instance Attribute Summary collapse
#change_owner_activity, #create_date, #editor, #editor_id, #editor_type, #entry, #file_attachment, #file_attachment_count, #id, #ticket, #ticket_id, #type
Instance Method Summary
collapse
Methods inherited from Model
all, all_request_for, create, find, parse, request, #request, #to_hash
Instance Attribute Details
#response_rating ⇒ Object
Returns the value of attribute response_rating.
6
7
8
|
# File 'lib/softlayer/ticket/update/employee.rb', line 6
def response_rating
@response_rating
end
|
Instance Method Details
#add_response_rating(response_rating = nil) ⇒ Object
8
9
10
11
|
# File 'lib/softlayer/ticket/update/employee.rb', line 8
def add_response_rating(response_rating = nil)
message = {response_rating: response_rating}
request(:add_response_rating, Boolean, message)
end
|
#get_change_owner_activity ⇒ Object
13
14
15
|
# File 'lib/softlayer/ticket/update/employee.rb', line 13
def get_change_owner_activity
request(:get_change_owner_activity, String)
end
|
#get_editor ⇒ Object
17
18
19
|
# File 'lib/softlayer/ticket/update/employee.rb', line 17
def get_editor
request(:get_editor, Softlayer::User::Employee)
end
|
#get_file_attachment ⇒ Object
21
22
23
|
# File 'lib/softlayer/ticket/update/employee.rb', line 21
def get_file_attachment
request(:get_file_attachment, Array[Softlayer::Ticket::Attachment::File])
end
|
#get_ticket ⇒ Object
29
30
31
|
# File 'lib/softlayer/ticket/update/employee.rb', line 29
def get_ticket
request(:get_ticket, Softlayer::Ticket)
end
|
#get_type ⇒ Object
33
34
35
|
# File 'lib/softlayer/ticket/update/employee.rb', line 33
def get_type
request(:get_type, Softlayer::Ticket::Update::Type)
end
|