Class: Softlayer::Ticket

Inherits:
Entity show all
Defined in:
lib/softlayer/ticket.rb,
lib/softlayer/ticket/chat.rb,
lib/softlayer/ticket/type.rb,
lib/softlayer/ticket/group.rb,
lib/softlayer/ticket/state.rb,
lib/softlayer/ticket/status.rb,
lib/softlayer/ticket/survey.rb,
lib/softlayer/ticket/update.rb,
lib/softlayer/ticket/subject.rb,
lib/softlayer/ticket/activity.rb,
lib/softlayer/ticket/attachment.rb,
lib/softlayer/ticket/state/type.rb,
lib/softlayer/ticket/update/chat.rb,
lib/softlayer/ticket/update/type.rb,
lib/softlayer/ticket/update/agent.rb,
lib/softlayer/ticket/group/category.rb,
lib/softlayer/ticket/attachment/file.rb,
lib/softlayer/ticket/chat/liveperson.rb,
lib/softlayer/ticket/update/customer.rb,
lib/softlayer/ticket/update/employee.rb,
lib/softlayer/ticket/attachment/virtual.rb,
lib/softlayer/ticket/attachment/assigned.rb,
lib/softlayer/ticket/attachment/hardware.rb,
lib/softlayer/ticket/attachment/scheduled.rb,
lib/softlayer/ticket/chat/transcript_line.rb,
lib/softlayer/ticket/attachment/virtual/guest.rb,
lib/softlayer/ticket/attachment/assigned/agent.rb,
lib/softlayer/ticket/attachment/manual_payment.rb,
lib/softlayer/ticket/attachment/scheduled/action.rb,
lib/softlayer/ticket/chat/transcript_line/customer.rb,
lib/softlayer/ticket/chat/transcript_line/employee.rb,
lib/softlayer/ticket/attachment/card_change_request.rb

Defined Under Namespace

Classes: Activity, Attachment, Chat, Group, Representer, State, Status, Subject, Survey, Type, Update

Constant Summary collapse

SERVICE =
'SoftLayer_Ticket'

Instance Attribute Summary collapse

Class Method Summary collapse

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

#accountObject

Returns the value of attribute account.



53
54
55
# File 'lib/softlayer/ticket.rb', line 53

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



14
15
16
# File 'lib/softlayer/ticket.rb', line 14

def 
  @account_id
end

#assigned_agent_countObject

Returns the value of attribute assigned_agent_count.



42
43
44
# File 'lib/softlayer/ticket.rb', line 42

def assigned_agent_count
  @assigned_agent_count
end

#assigned_agentsObject

Returns the value of attribute assigned_agents.



54
55
56
# File 'lib/softlayer/ticket.rb', line 54

def assigned_agents
  @assigned_agents
end

#assigned_userObject

Returns the value of attribute assigned_user.



55
56
57
# File 'lib/softlayer/ticket.rb', line 55

def assigned_user
  @assigned_user
end

#assigned_user_idObject

Returns the value of attribute assigned_user_id.



15
16
17
# File 'lib/softlayer/ticket.rb', line 15

def assigned_user_id
  @assigned_user_id
end

#attached_additional_email_countObject

Returns the value of attribute attached_additional_email_count.



43
44
45
# File 'lib/softlayer/ticket.rb', line 43

def attached_additional_email_count
  @attached_additional_email_count
end

#attached_additional_emailsObject

Returns the value of attribute attached_additional_emails.



56
57
58
# File 'lib/softlayer/ticket.rb', line 56

def attached_additional_emails
  @attached_additional_emails
end

#attached_file_countObject

Returns the value of attribute attached_file_count.



44
45
46
# File 'lib/softlayer/ticket.rb', line 44

def attached_file_count
  @attached_file_count
end

#attached_filesObject

Returns the value of attribute attached_files.



57
58
59
# File 'lib/softlayer/ticket.rb', line 57

def attached_files
  @attached_files
end

#attached_hardwareObject

Returns the value of attribute attached_hardware.



58
59
60
# File 'lib/softlayer/ticket.rb', line 58

def attached_hardware
  @attached_hardware
end

#attached_hardware_countObject

Returns the value of attribute attached_hardware_count.



59
60
61
# File 'lib/softlayer/ticket.rb', line 59

def attached_hardware_count
  @attached_hardware_count
end

#attached_resource_countObject

Returns the value of attribute attached_resource_count.



45
46
47
# File 'lib/softlayer/ticket.rb', line 45

def attached_resource_count
  @attached_resource_count
end

#attached_resourcesObject

Returns the value of attribute attached_resources.



60
61
62
# File 'lib/softlayer/ticket.rb', line 60

def attached_resources
  @attached_resources
end

#attached_virtual_guest_countObject

Returns the value of attribute attached_virtual_guest_count.



46
47
48
# File 'lib/softlayer/ticket.rb', line 46

def attached_virtual_guest_count
  @attached_virtual_guest_count
end

#attached_virtual_guestsObject

Returns the value of attribute attached_virtual_guests.



61
62
63
# File 'lib/softlayer/ticket.rb', line 61

def attached_virtual_guests
  @attached_virtual_guests
end

#awaiting_user_response_flagObject

Returns the value of attribute awaiting_user_response_flag.



62
63
64
# File 'lib/softlayer/ticket.rb', line 62

def awaiting_user_response_flag
  @awaiting_user_response_flag
end

#billable_flagObject

Returns the value of attribute billable_flag.



16
17
18
# File 'lib/softlayer/ticket.rb', line 16

def billable_flag
  @billable_flag
end

#cancellation_requestObject

Returns the value of attribute cancellation_request.



63
64
65
# File 'lib/softlayer/ticket.rb', line 63

def cancellation_request
  @cancellation_request
end

#change_owner_flagObject

Returns the value of attribute change_owner_flag.



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

def change_owner_flag
  @change_owner_flag
end

#create_dateObject

Returns the value of attribute create_date.



18
19
20
# File 'lib/softlayer/ticket.rb', line 18

def create_date
  @create_date
end

#employee_attachment_countObject

Returns the value of attribute employee_attachment_count.



47
48
49
# File 'lib/softlayer/ticket.rb', line 47

def employee_attachment_count
  @employee_attachment_count
end

#employee_attachmentsObject

Returns the value of attribute employee_attachments.



64
65
66
# File 'lib/softlayer/ticket.rb', line 64

def employee_attachments
  @employee_attachments
end

#final_commentsObject

Returns the value of attribute final_comments.



19
20
21
# File 'lib/softlayer/ticket.rb', line 19

def final_comments
  @final_comments
end

#first_attached_resourceObject

Returns the value of attribute first_attached_resource.



65
66
67
# File 'lib/softlayer/ticket.rb', line 65

def first_attached_resource
  @first_attached_resource
end

#first_updateObject

Returns the value of attribute first_update.



66
67
68
# File 'lib/softlayer/ticket.rb', line 66

def first_update
  @first_update
end

#groupObject

Returns the value of attribute group.



67
68
69
# File 'lib/softlayer/ticket.rb', line 67

def group
  @group
end

#group_idObject

Returns the value of attribute group_id.



20
21
22
# File 'lib/softlayer/ticket.rb', line 20

def group_id
  @group_id
end

#idObject

Returns the value of attribute id.



21
22
23
# File 'lib/softlayer/ticket.rb', line 21

def id
  @id
end

#invoice_item_countObject

Returns the value of attribute invoice_item_count.



48
49
50
# File 'lib/softlayer/ticket.rb', line 48

def invoice_item_count
  @invoice_item_count
end

#invoice_itemsObject

Returns the value of attribute invoice_items.



68
69
70
# File 'lib/softlayer/ticket.rb', line 68

def invoice_items
  @invoice_items
end

#last_activityObject

Returns the value of attribute last_activity.



69
70
71
# File 'lib/softlayer/ticket.rb', line 69

def last_activity
  @last_activity
end

#last_edit_dateObject

Returns the value of attribute last_edit_date.



22
23
24
# File 'lib/softlayer/ticket.rb', line 22

def last_edit_date
  @last_edit_date
end

#last_edit_typeObject

Returns the value of attribute last_edit_type.



23
24
25
# File 'lib/softlayer/ticket.rb', line 23

def last_edit_type
  @last_edit_type
end

#last_editorObject

Returns the value of attribute last_editor.



70
71
72
# File 'lib/softlayer/ticket.rb', line 70

def last_editor
  @last_editor
end

#last_response_dateObject

Returns the value of attribute last_response_date.



24
25
26
# File 'lib/softlayer/ticket.rb', line 24

def last_response_date
  @last_response_date
end

#last_updateObject

Returns the value of attribute last_update.



71
72
73
# File 'lib/softlayer/ticket.rb', line 71

def last_update
  @last_update
end

#last_viewed_dateObject

Returns the value of attribute last_viewed_date.



72
73
74
# File 'lib/softlayer/ticket.rb', line 72

def last_viewed_date
  @last_viewed_date
end

#locationObject

Returns the value of attribute location.



73
74
75
# File 'lib/softlayer/ticket.rb', line 73

def location
  @location
end

#location_idObject

Returns the value of attribute location_id.



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

def location_id
  @location_id
end

#modify_dateObject

Returns the value of attribute modify_date.



26
27
28
# File 'lib/softlayer/ticket.rb', line 26

def modify_date
  @modify_date
end

#new_updates_flagObject

Returns the value of attribute new_updates_flag.



74
75
76
# File 'lib/softlayer/ticket.rb', line 74

def new_updates_flag
  @new_updates_flag
end

#notify_user_on_update_flagObject

Returns the value of attribute notify_user_on_update_flag.



27
28
29
# File 'lib/softlayer/ticket.rb', line 27

def notify_user_on_update_flag
  @notify_user_on_update_flag
end

#originating_ip_addressObject

Returns the value of attribute originating_ip_address.



28
29
30
# File 'lib/softlayer/ticket.rb', line 28

def originating_ip_address
  @originating_ip_address
end

#priorityObject

Returns the value of attribute priority.



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

def priority
  @priority
end

#responsible_brand_idObject

Returns the value of attribute responsible_brand_id.



30
31
32
# File 'lib/softlayer/ticket.rb', line 30

def responsible_brand_id
  @responsible_brand_id
end

#scheduled_action_countObject

Returns the value of attribute scheduled_action_count.



49
50
51
# File 'lib/softlayer/ticket.rb', line 49

def scheduled_action_count
  @scheduled_action_count
end

#scheduled_actionsObject

Returns the value of attribute scheduled_actions.



75
76
77
# File 'lib/softlayer/ticket.rb', line 75

def scheduled_actions
  @scheduled_actions
end

#server_administration_billing_amountObject

Returns the value of attribute server_administration_billing_amount.



31
32
33
# File 'lib/softlayer/ticket.rb', line 31

def server_administration_billing_amount
  @server_administration_billing_amount
end

#server_administration_billing_invoiceObject

Returns the value of attribute server_administration_billing_invoice.



76
77
78
# File 'lib/softlayer/ticket.rb', line 76

def server_administration_billing_invoice
  @server_administration_billing_invoice
end

#server_administration_billing_invoice_idObject

Returns the value of attribute server_administration_billing_invoice_id.



32
33
34
# File 'lib/softlayer/ticket.rb', line 32

def server_administration_billing_invoice_id
  @server_administration_billing_invoice_id
end

#server_administration_flagObject

Returns the value of attribute server_administration_flag.



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

def server_administration_flag
  @server_administration_flag
end

#server_administration_refund_invoiceObject

Returns the value of attribute server_administration_refund_invoice.



77
78
79
# File 'lib/softlayer/ticket.rb', line 77

def server_administration_refund_invoice
  @server_administration_refund_invoice
end

#server_administration_refund_invoice_idObject

Returns the value of attribute server_administration_refund_invoice_id.



34
35
36
# File 'lib/softlayer/ticket.rb', line 34

def server_administration_refund_invoice_id
  @server_administration_refund_invoice_id
end

#service_providerObject

Returns the value of attribute service_provider.



78
79
80
# File 'lib/softlayer/ticket.rb', line 78

def service_provider
  @service_provider
end

#service_provider_idObject

Returns the value of attribute service_provider_id.



35
36
37
# File 'lib/softlayer/ticket.rb', line 35

def service_provider_id
  @service_provider_id
end

#service_provider_resource_idObject

Returns the value of attribute service_provider_resource_id.



36
37
38
# File 'lib/softlayer/ticket.rb', line 36

def service_provider_resource_id
  @service_provider_resource_id
end

#stateObject

Returns the value of attribute state.



79
80
81
# File 'lib/softlayer/ticket.rb', line 79

def state
  @state
end

#state_countObject

Returns the value of attribute state_count.



50
51
52
# File 'lib/softlayer/ticket.rb', line 50

def state_count
  @state_count
end

#statusObject

Returns the value of attribute status.



80
81
82
# File 'lib/softlayer/ticket.rb', line 80

def status
  @status
end

#status_idObject

Returns the value of attribute status_id.



37
38
39
# File 'lib/softlayer/ticket.rb', line 37

def status_id
  @status_id
end

#subjectObject

Returns the value of attribute subject.



81
82
83
# File 'lib/softlayer/ticket.rb', line 81

def subject
  @subject
end

#subject_idObject

Returns the value of attribute subject_id.



38
39
40
# File 'lib/softlayer/ticket.rb', line 38

def subject_id
  @subject_id
end

#tag_reference_countObject

Returns the value of attribute tag_reference_count.



51
52
53
# File 'lib/softlayer/ticket.rb', line 51

def tag_reference_count
  @tag_reference_count
end

#tag_referencesObject

Returns the value of attribute tag_references.



82
83
84
# File 'lib/softlayer/ticket.rb', line 82

def tag_references
  @tag_references
end

#titleObject

Returns the value of attribute title.



39
40
41
# File 'lib/softlayer/ticket.rb', line 39

def title
  @title
end

#total_update_countObject

Returns the value of attribute total_update_count.



40
41
42
# File 'lib/softlayer/ticket.rb', line 40

def total_update_count
  @total_update_count
end

#update_countObject

Returns the value of attribute update_count.



52
53
54
# File 'lib/softlayer/ticket.rb', line 52

def update_count
  @update_count
end

#updatesObject

Returns the value of attribute updates.



83
84
85
# File 'lib/softlayer/ticket.rb', line 83

def updates
  @updates
end

#user_editable_flagObject

Returns the value of attribute user_editable_flag.



41
42
43
# File 'lib/softlayer/ticket.rb', line 41

def user_editable_flag
  @user_editable_flag
end

Class Method Details

.create_administrative_ticket(message) ⇒ Object

template_object contents attachment_id root_password control_panel_password access_port attached_files attachment_type



139
140
141
# File 'lib/softlayer/ticket.rb', line 139

def self.create_administrative_ticket(message)
  request(:create_administrative_ticket, Softlayer::Ticket, message)
end

.create_cancel_server_ticket(message) ⇒ Object

attachment_id reason content cancel_associated_items attachment_type



148
149
150
# File 'lib/softlayer/ticket.rb', line 148

def self.create_cancel_server_ticket(message)
  request(:create_cancel_server_ticket, Softlayer::Ticket, message)
end

.create_cancel_service_ticket(message) ⇒ Object

attachment_id reason content attachment_type



156
157
158
# File 'lib/softlayer/ticket.rb', line 156

def self.create_cancel_service_ticket(message)
  request(:create_cancel_service_ticket, Softlayer::Ticket, message)
end

.create_standard_ticket(message) ⇒ Object

template_object contents attachment_id root_password control_panel_password access_port attached_files attachment_type



168
169
170
# File 'lib/softlayer/ticket.rb', line 168

def self.create_standard_ticket(message)
  request(:create_standard_ticket, Softlayer::Ticket, message)
end

.create_upgrade_ticket(message) ⇒ Object

attachment_id generic_upgrade upgrade_maintenance_window details attachment_type



177
178
179
# File 'lib/softlayer/ticket.rb', line 177

def self.create_upgrade_ticket(message)
  request(:create_upgrade_ticket, Softlayer::Ticket, message)
end

.get_all_ticket_groupsObject



192
193
194
# File 'lib/softlayer/ticket.rb', line 192

def self.get_all_ticket_groups
  request(:get_all_ticket_groups, Array[Softlayer::Ticket::Group])
end

.get_all_ticket_statusesObject



196
197
198
# File 'lib/softlayer/ticket.rb', line 196

def self.get_all_ticket_statuses
  request(:get_all_ticket_statuses, Array[Softlayer::Ticket::Status])
end

.get_tickets_closed_since_date(message) ⇒ Object

close_date



326
327
328
# File 'lib/softlayer/ticket.rb', line 326

def self.get_tickets_closed_since_date(message)
  request(:get_tickets_closed_since_date, Array[Softlayer::Ticket], message)
end

.survey_eligibleObject



371
372
373
# File 'lib/softlayer/ticket.rb', line 371

def self.survey_eligible
  request(:survey_eligible, Boolean)
end

Instance Method Details

#add_assigned_agent(message) ⇒ Object

agent_id



86
87
88
# File 'lib/softlayer/ticket.rb', line 86

def add_assigned_agent(message)
  request(:add_assigned_agent, nil, message)
end

#add_attached_additional_emails(message) ⇒ Object

emails



91
92
93
# File 'lib/softlayer/ticket.rb', line 91

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

#add_attached_file(message) ⇒ Object

file_attachment



96
97
98
# File 'lib/softlayer/ticket.rb', line 96

def add_attached_file(message)
  request(:add_attached_file, Softlayer::Ticket::Attachment::File, message)
end

#add_attached_hardware(message) ⇒ Object

hardware_id



101
102
103
# File 'lib/softlayer/ticket.rb', line 101

def add_attached_hardware(message)
  request(:add_attached_hardware, Softlayer::Ticket::Attachment::Hardware, message)
end

#add_attached_virtual_guest(message) ⇒ Object

guest_id



106
107
108
# File 'lib/softlayer/ticket.rb', line 106

def add_attached_virtual_guest(message)
  request(:add_attached_virtual_guest, Softlayer::Ticket::Attachment::Virtual::Guest, message)
end

#add_final_comments(message) ⇒ Object

final_comments



111
112
113
# File 'lib/softlayer/ticket.rb', line 111

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

#add_scheduled_alert(message) ⇒ Object

activation_time



116
117
118
# File 'lib/softlayer/ticket.rb', line 116

def add_scheduled_alert(message)
  request(:add_scheduled_alert, nil, message)
end

#add_scheduled_auto_close(message) ⇒ Object

activation_time



121
122
123
# File 'lib/softlayer/ticket.rb', line 121

def add_scheduled_auto_close(message)
  request(:add_scheduled_auto_close, nil, message)
end

#add_update(message) ⇒ Object

template_object attached_files



127
128
129
# File 'lib/softlayer/ticket.rb', line 127

def add_update(message)
  request(:add_update, Array[Softlayer::Ticket::Update], message)
end

#edit(message) ⇒ Object

template_object contents attached_files



184
185
186
# File 'lib/softlayer/ticket.rb', line 184

def edit(message)
  request(:edit, Softlayer::Ticket, message)
end

#get_accountObject



188
189
190
# File 'lib/softlayer/ticket.rb', line 188

def 
  request(:get_account, Softlayer::Account)
end

#get_assigned_agentsObject



200
201
202
# File 'lib/softlayer/ticket.rb', line 200

def get_assigned_agents
  request(:get_assigned_agents, Array[Softlayer::User::Customer])
end

#get_assigned_userObject



204
205
206
# File 'lib/softlayer/ticket.rb', line 204

def get_assigned_user
  request(:get_assigned_user, Softlayer::User::Customer)
end

#get_attached_additional_emailsObject



208
209
210
# File 'lib/softlayer/ticket.rb', line 208

def get_attached_additional_emails
  request(:get_attached_additional_emails, Array[Softlayer::User::Customer::AdditionalEmail])
end

#get_attached_file(message) ⇒ Object

attachment_id



213
214
215
# File 'lib/softlayer/ticket.rb', line 213

def get_attached_file(message)
  request(:get_attached_file, Softlayer::Base64Binary, message)
end

#get_attached_filesObject



217
218
219
# File 'lib/softlayer/ticket.rb', line 217

def get_attached_files
  request(:get_attached_files, Array[Softlayer::Ticket::Attachment::File])
end

#get_attached_hardwareObject



221
222
223
# File 'lib/softlayer/ticket.rb', line 221

def get_attached_hardware
  request(:get_attached_hardware, Array[Softlayer::Hardware])
end

#get_attached_hardware_countObject



225
226
227
# File 'lib/softlayer/ticket.rb', line 225

def get_attached_hardware_count
  request(:get_attached_hardware_count, Integer)
end

#get_attached_resourcesObject



229
230
231
# File 'lib/softlayer/ticket.rb', line 229

def get_attached_resources
  request(:get_attached_resources, Array[Softlayer::Ticket::Attachment])
end

#get_attached_virtual_guestsObject



233
234
235
# File 'lib/softlayer/ticket.rb', line 233

def get_attached_virtual_guests
  request(:get_attached_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_awaiting_user_response_flagObject



237
238
239
# File 'lib/softlayer/ticket.rb', line 237

def get_awaiting_user_response_flag
  request(:get_awaiting_user_response_flag, Boolean)
end

#get_cancellation_requestObject



241
242
243
# File 'lib/softlayer/ticket.rb', line 241

def get_cancellation_request
  request(:get_cancellation_request, Softlayer::Billing::Item::Cancellation::Request)
end

#get_employee_attachmentsObject



245
246
247
# File 'lib/softlayer/ticket.rb', line 245

def get_employee_attachments
  request(:get_employee_attachments, Array[Softlayer::User::Employee])
end

#get_first_attached_resourceObject



249
250
251
# File 'lib/softlayer/ticket.rb', line 249

def get_first_attached_resource
  request(:get_first_attached_resource, Softlayer::Ticket::Attachment)
end

#get_first_updateObject



253
254
255
# File 'lib/softlayer/ticket.rb', line 253

def get_first_update
  request(:get_first_update, Softlayer::Ticket::Update)
end

#get_groupObject



257
258
259
# File 'lib/softlayer/ticket.rb', line 257

def get_group
  request(:get_group, Softlayer::Ticket::Group)
end

#get_invoice_itemsObject



261
262
263
# File 'lib/softlayer/ticket.rb', line 261

def get_invoice_items
  request(:get_invoice_items, Array[Softlayer::Billing::Invoice::Item])
end

#get_last_activityObject



265
266
267
# File 'lib/softlayer/ticket.rb', line 265

def get_last_activity
  request(:get_last_activity, Softlayer::Ticket::Activity)
end

#get_last_editorObject



269
270
271
# File 'lib/softlayer/ticket.rb', line 269

def get_last_editor
  request(:get_last_editor, Softlayer::User::Interface)
end

#get_last_updateObject



273
274
275
# File 'lib/softlayer/ticket.rb', line 273

def get_last_update
  request(:get_last_update, Softlayer::Ticket::Update)
end

#get_last_viewed_dateObject



277
278
279
# File 'lib/softlayer/ticket.rb', line 277

def get_last_viewed_date
  request(:get_last_viewed_date, DateTime)
end

#get_locationObject



281
282
283
# File 'lib/softlayer/ticket.rb', line 281

def get_location
  request(:get_location, Softlayer::Location)
end

#get_new_updates_flagObject



285
286
287
# File 'lib/softlayer/ticket.rb', line 285

def get_new_updates_flag
  request(:get_new_updates_flag, Boolean)
end

#get_objectObject



289
290
291
# File 'lib/softlayer/ticket.rb', line 289

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

#get_scheduled_actionsObject



293
294
295
# File 'lib/softlayer/ticket.rb', line 293

def get_scheduled_actions
  request(:get_scheduled_actions, Array[Softlayer::Provisioning::Version1::Transaction])
end

#get_server_administration_billing_invoiceObject



297
298
299
# File 'lib/softlayer/ticket.rb', line 297

def get_server_administration_billing_invoice
  request(:get_server_administration_billing_invoice, Softlayer::Billing::Invoice)
end

#get_server_administration_refund_invoiceObject



301
302
303
# File 'lib/softlayer/ticket.rb', line 301

def get_server_administration_refund_invoice
  request(:get_server_administration_refund_invoice, Softlayer::Billing::Invoice)
end

#get_service_providerObject



305
306
307
# File 'lib/softlayer/ticket.rb', line 305

def get_service_provider
  request(:get_service_provider, Softlayer::Service::Provider)
end

#get_stateObject



309
310
311
# File 'lib/softlayer/ticket.rb', line 309

def get_state
  request(:get_state, Array[Softlayer::Ticket::State])
end

#get_statusObject



313
314
315
# File 'lib/softlayer/ticket.rb', line 313

def get_status
  request(:get_status, Softlayer::Ticket::Status)
end

#get_subjectObject



317
318
319
# File 'lib/softlayer/ticket.rb', line 317

def get_subject
  request(:get_subject, Softlayer::Ticket::Subject)
end

#get_tag_referencesObject



321
322
323
# File 'lib/softlayer/ticket.rb', line 321

def get_tag_references
  request(:get_tag_references, Array[Softlayer::Tag::Reference])
end

#get_updatesObject



330
331
332
# File 'lib/softlayer/ticket.rb', line 330

def get_updates
  request(:get_updates, Array[Softlayer::Ticket::Update])
end

#mark_as_viewedObject



334
335
336
# File 'lib/softlayer/ticket.rb', line 334

def mark_as_viewed
  request(:mark_as_viewed, nil)
end

#remove_assigned_agent(message) ⇒ Object

agent_id



339
340
341
# File 'lib/softlayer/ticket.rb', line 339

def remove_assigned_agent(message)
  request(:remove_assigned_agent, nil, message)
end

#remove_attached_additional_emails(message) ⇒ Object

emails



344
345
346
# File 'lib/softlayer/ticket.rb', line 344

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

#remove_attached_hardware(message) ⇒ Object

hardware_id



349
350
351
# File 'lib/softlayer/ticket.rb', line 349

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

#remove_attached_virtual_guest(message) ⇒ Object

guest_id



354
355
356
# File 'lib/softlayer/ticket.rb', line 354

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

#remove_scheduled_alertObject



358
359
360
# File 'lib/softlayer/ticket.rb', line 358

def remove_scheduled_alert
  request(:remove_scheduled_alert, nil)
end

#remove_scheduled_auto_closeObject



362
363
364
# File 'lib/softlayer/ticket.rb', line 362

def remove_scheduled_auto_close
  request(:remove_scheduled_auto_close, nil)
end

#set_tags(message) ⇒ Object

tags



367
368
369
# File 'lib/softlayer/ticket.rb', line 367

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

#update_attached_additional_emails(message) ⇒ Object

emails



376
377
378
# File 'lib/softlayer/ticket.rb', line 376

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