Class: Softlayer::Ticket::Update::Employee

Inherits:
Softlayer::Ticket::Update show all
Defined in:
lib/softlayer/ticket/update/employee.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Ticket_Update_Employee'

Instance Attribute Summary collapse

Attributes inherited from Softlayer::Ticket::Update

#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, #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

#response_ratingObject

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(message) ⇒ Object

response_rating



9
10
11
# File 'lib/softlayer/ticket/update/employee.rb', line 9

def add_response_rating(message)
  request(:add_response_rating, Boolean, message)
end

#get_change_owner_activityObject



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_editorObject



17
18
19
# File 'lib/softlayer/ticket/update/employee.rb', line 17

def get_editor
  request(:get_editor, Softlayer::User::Employee)
end

#get_file_attachmentObject



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_objectObject



25
26
27
# File 'lib/softlayer/ticket/update/employee.rb', line 25

def get_object
  request(:get_object, Softlayer::Ticket::Update::Employee)
end

#get_ticketObject



29
30
31
# File 'lib/softlayer/ticket/update/employee.rb', line 29

def get_ticket
  request(:get_ticket, Softlayer::Ticket)
end

#get_typeObject



33
34
35
# File 'lib/softlayer/ticket/update/employee.rb', line 33

def get_type
  request(:get_type, Softlayer::Ticket::Update::Type)
end