Class: Softlayer::Ticket
- 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
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#assigned_agent_count ⇒ Object
Returns the value of attribute assigned_agent_count.
-
#assigned_agents ⇒ Object
Returns the value of attribute assigned_agents.
-
#assigned_user ⇒ Object
Returns the value of attribute assigned_user.
-
#assigned_user_id ⇒ Object
Returns the value of attribute assigned_user_id.
-
#attached_additional_email_count ⇒ Object
Returns the value of attribute attached_additional_email_count.
-
#attached_additional_emails ⇒ Object
Returns the value of attribute attached_additional_emails.
-
#attached_file_count ⇒ Object
Returns the value of attribute attached_file_count.
-
#attached_files ⇒ Object
Returns the value of attribute attached_files.
-
#attached_hardware ⇒ Object
Returns the value of attribute attached_hardware.
-
#attached_hardware_count ⇒ Object
Returns the value of attribute attached_hardware_count.
-
#attached_resource_count ⇒ Object
Returns the value of attribute attached_resource_count.
-
#attached_resources ⇒ Object
Returns the value of attribute attached_resources.
-
#attached_virtual_guest_count ⇒ Object
Returns the value of attribute attached_virtual_guest_count.
-
#attached_virtual_guests ⇒ Object
Returns the value of attribute attached_virtual_guests.
-
#awaiting_user_response_flag ⇒ Object
Returns the value of attribute awaiting_user_response_flag.
-
#billable_flag ⇒ Object
Returns the value of attribute billable_flag.
-
#cancellation_request ⇒ Object
Returns the value of attribute cancellation_request.
-
#change_owner_flag ⇒ Object
Returns the value of attribute change_owner_flag.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#employee_attachment_count ⇒ Object
Returns the value of attribute employee_attachment_count.
-
#employee_attachments ⇒ Object
Returns the value of attribute employee_attachments.
-
#final_comments ⇒ Object
Returns the value of attribute final_comments.
-
#first_attached_resource ⇒ Object
Returns the value of attribute first_attached_resource.
-
#first_update ⇒ Object
Returns the value of attribute first_update.
-
#group ⇒ Object
Returns the value of attribute group.
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#invoice_item_count ⇒ Object
Returns the value of attribute invoice_item_count.
-
#invoice_items ⇒ Object
Returns the value of attribute invoice_items.
-
#last_activity ⇒ Object
Returns the value of attribute last_activity.
-
#last_edit_date ⇒ Object
Returns the value of attribute last_edit_date.
-
#last_edit_type ⇒ Object
Returns the value of attribute last_edit_type.
-
#last_editor ⇒ Object
Returns the value of attribute last_editor.
-
#last_response_date ⇒ Object
Returns the value of attribute last_response_date.
-
#last_update ⇒ Object
Returns the value of attribute last_update.
-
#last_viewed_date ⇒ Object
Returns the value of attribute last_viewed_date.
-
#location ⇒ Object
Returns the value of attribute location.
-
#location_id ⇒ Object
Returns the value of attribute location_id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#new_updates_flag ⇒ Object
Returns the value of attribute new_updates_flag.
-
#notify_user_on_update_flag ⇒ Object
Returns the value of attribute notify_user_on_update_flag.
-
#originating_ip_address ⇒ Object
Returns the value of attribute originating_ip_address.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#responsible_brand_id ⇒ Object
Returns the value of attribute responsible_brand_id.
-
#scheduled_action_count ⇒ Object
Returns the value of attribute scheduled_action_count.
-
#scheduled_actions ⇒ Object
Returns the value of attribute scheduled_actions.
-
#server_administration_billing_amount ⇒ Object
Returns the value of attribute server_administration_billing_amount.
-
#server_administration_billing_invoice ⇒ Object
Returns the value of attribute server_administration_billing_invoice.
-
#server_administration_billing_invoice_id ⇒ Object
Returns the value of attribute server_administration_billing_invoice_id.
-
#server_administration_flag ⇒ Object
Returns the value of attribute server_administration_flag.
-
#server_administration_refund_invoice ⇒ Object
Returns the value of attribute server_administration_refund_invoice.
-
#server_administration_refund_invoice_id ⇒ Object
Returns the value of attribute server_administration_refund_invoice_id.
-
#service_provider ⇒ Object
Returns the value of attribute service_provider.
-
#service_provider_id ⇒ Object
Returns the value of attribute service_provider_id.
-
#service_provider_resource_id ⇒ Object
Returns the value of attribute service_provider_resource_id.
-
#state ⇒ Object
Returns the value of attribute state.
-
#state_count ⇒ Object
Returns the value of attribute state_count.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_id ⇒ Object
Returns the value of attribute status_id.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#subject_id ⇒ Object
Returns the value of attribute subject_id.
-
#tag_reference_count ⇒ Object
Returns the value of attribute tag_reference_count.
-
#tag_references ⇒ Object
Returns the value of attribute tag_references.
-
#title ⇒ Object
Returns the value of attribute title.
-
#total_update_count ⇒ Object
Returns the value of attribute total_update_count.
-
#update_count ⇒ Object
Returns the value of attribute update_count.
-
#updates ⇒ Object
Returns the value of attribute updates.
-
#user_editable_flag ⇒ Object
Returns the value of attribute user_editable_flag.
Class Method Summary collapse
-
.create_administrative_ticket(message) ⇒ Object
template_object contents attachment_id root_password control_panel_password access_port attached_files attachment_type.
-
.create_cancel_server_ticket(message) ⇒ Object
attachment_id reason content cancel_associated_items attachment_type.
-
.create_cancel_service_ticket(message) ⇒ Object
attachment_id reason content attachment_type.
-
.create_standard_ticket(message) ⇒ Object
template_object contents attachment_id root_password control_panel_password access_port attached_files attachment_type.
-
.create_upgrade_ticket(message) ⇒ Object
attachment_id generic_upgrade upgrade_maintenance_window details attachment_type.
- .get_all_ticket_groups ⇒ Object
- .get_all_ticket_statuses ⇒ Object
-
.get_tickets_closed_since_date(message) ⇒ Object
close_date.
- .survey_eligible ⇒ Object
Instance Method Summary collapse
-
#add_assigned_agent(message) ⇒ Object
agent_id.
-
#add_attached_additional_emails(message) ⇒ Object
emails.
-
#add_attached_file(message) ⇒ Object
file_attachment.
-
#add_attached_hardware(message) ⇒ Object
hardware_id.
-
#add_attached_virtual_guest(message) ⇒ Object
guest_id.
-
#add_final_comments(message) ⇒ Object
final_comments.
-
#add_scheduled_alert(message) ⇒ Object
activation_time.
-
#add_scheduled_auto_close(message) ⇒ Object
activation_time.
-
#add_update(message) ⇒ Object
template_object attached_files.
-
#edit(message) ⇒ Object
template_object contents attached_files.
- #get_account ⇒ Object
- #get_assigned_agents ⇒ Object
- #get_assigned_user ⇒ Object
- #get_attached_additional_emails ⇒ Object
-
#get_attached_file(message) ⇒ Object
attachment_id.
- #get_attached_files ⇒ Object
- #get_attached_hardware ⇒ Object
- #get_attached_hardware_count ⇒ Object
- #get_attached_resources ⇒ Object
- #get_attached_virtual_guests ⇒ Object
- #get_awaiting_user_response_flag ⇒ Object
- #get_cancellation_request ⇒ Object
- #get_employee_attachments ⇒ Object
- #get_first_attached_resource ⇒ Object
- #get_first_update ⇒ Object
- #get_group ⇒ Object
- #get_invoice_items ⇒ Object
- #get_last_activity ⇒ Object
- #get_last_editor ⇒ Object
- #get_last_update ⇒ Object
- #get_last_viewed_date ⇒ Object
- #get_location ⇒ Object
- #get_new_updates_flag ⇒ Object
- #get_object ⇒ Object
- #get_scheduled_actions ⇒ Object
- #get_server_administration_billing_invoice ⇒ Object
- #get_server_administration_refund_invoice ⇒ Object
- #get_service_provider ⇒ Object
- #get_state ⇒ Object
- #get_status ⇒ Object
- #get_subject ⇒ Object
- #get_tag_references ⇒ Object
- #get_updates ⇒ Object
- #mark_as_viewed ⇒ Object
-
#remove_assigned_agent(message) ⇒ Object
agent_id.
-
#remove_attached_additional_emails(message) ⇒ Object
emails.
-
#remove_attached_hardware(message) ⇒ Object
hardware_id.
-
#remove_attached_virtual_guest(message) ⇒ Object
guest_id.
- #remove_scheduled_alert ⇒ Object
- #remove_scheduled_auto_close ⇒ Object
-
#set_tags(message) ⇒ Object
tags.
-
#update_attached_additional_emails(message) ⇒ Object
emails.
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.
53 54 55 |
# File 'lib/softlayer/ticket.rb', line 53 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
14 15 16 |
# File 'lib/softlayer/ticket.rb', line 14 def account_id @account_id end |
#assigned_agent_count ⇒ Object
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_agents ⇒ Object
Returns the value of attribute assigned_agents.
54 55 56 |
# File 'lib/softlayer/ticket.rb', line 54 def assigned_agents @assigned_agents end |
#assigned_user ⇒ Object
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_id ⇒ Object
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_count ⇒ Object
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_emails ⇒ Object
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_count ⇒ Object
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_files ⇒ Object
Returns the value of attribute attached_files.
57 58 59 |
# File 'lib/softlayer/ticket.rb', line 57 def attached_files @attached_files end |
#attached_hardware ⇒ Object
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_count ⇒ Object
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_count ⇒ Object
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_resources ⇒ Object
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_count ⇒ Object
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_guests ⇒ Object
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_flag ⇒ Object
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_flag ⇒ Object
Returns the value of attribute billable_flag.
16 17 18 |
# File 'lib/softlayer/ticket.rb', line 16 def billable_flag @billable_flag end |
#cancellation_request ⇒ Object
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_flag ⇒ Object
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_date ⇒ Object
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_count ⇒ Object
Returns the value of attribute employee_attachment_count.
47 48 49 |
# File 'lib/softlayer/ticket.rb', line 47 def @employee_attachment_count end |
#employee_attachments ⇒ Object
Returns the value of attribute employee_attachments.
64 65 66 |
# File 'lib/softlayer/ticket.rb', line 64 def @employee_attachments end |
#final_comments ⇒ Object
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_resource ⇒ Object
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_update ⇒ Object
Returns the value of attribute first_update.
66 67 68 |
# File 'lib/softlayer/ticket.rb', line 66 def first_update @first_update end |
#group ⇒ Object
Returns the value of attribute group.
67 68 69 |
# File 'lib/softlayer/ticket.rb', line 67 def group @group end |
#group_id ⇒ Object
Returns the value of attribute group_id.
20 21 22 |
# File 'lib/softlayer/ticket.rb', line 20 def group_id @group_id end |
#id ⇒ Object
Returns the value of attribute id.
21 22 23 |
# File 'lib/softlayer/ticket.rb', line 21 def id @id end |
#invoice_item_count ⇒ Object
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_items ⇒ Object
Returns the value of attribute invoice_items.
68 69 70 |
# File 'lib/softlayer/ticket.rb', line 68 def invoice_items @invoice_items end |
#last_activity ⇒ Object
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_date ⇒ Object
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_type ⇒ Object
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_editor ⇒ Object
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_date ⇒ Object
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_update ⇒ Object
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_date ⇒ Object
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 |
#location ⇒ Object
Returns the value of attribute location.
73 74 75 |
# File 'lib/softlayer/ticket.rb', line 73 def location @location end |
#location_id ⇒ Object
Returns the value of attribute location_id.
25 26 27 |
# File 'lib/softlayer/ticket.rb', line 25 def location_id @location_id end |
#modify_date ⇒ Object
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_flag ⇒ Object
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_flag ⇒ Object
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_address ⇒ Object
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 |
#priority ⇒ Object
Returns the value of attribute priority.
29 30 31 |
# File 'lib/softlayer/ticket.rb', line 29 def priority @priority end |
#responsible_brand_id ⇒ Object
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_count ⇒ Object
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_actions ⇒ Object
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_amount ⇒ Object
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_invoice ⇒ Object
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_id ⇒ Object
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_flag ⇒ Object
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_invoice ⇒ Object
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_id ⇒ Object
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_provider ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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 |
#state ⇒ Object
Returns the value of attribute state.
79 80 81 |
# File 'lib/softlayer/ticket.rb', line 79 def state @state end |
#state_count ⇒ Object
Returns the value of attribute state_count.
50 51 52 |
# File 'lib/softlayer/ticket.rb', line 50 def state_count @state_count end |
#status ⇒ Object
Returns the value of attribute status.
80 81 82 |
# File 'lib/softlayer/ticket.rb', line 80 def status @status end |
#status_id ⇒ Object
Returns the value of attribute status_id.
37 38 39 |
# File 'lib/softlayer/ticket.rb', line 37 def status_id @status_id end |
#subject ⇒ Object
Returns the value of attribute subject.
81 82 83 |
# File 'lib/softlayer/ticket.rb', line 81 def subject @subject end |
#subject_id ⇒ Object
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_count ⇒ Object
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_references ⇒ Object
Returns the value of attribute tag_references.
82 83 84 |
# File 'lib/softlayer/ticket.rb', line 82 def tag_references @tag_references end |
#title ⇒ Object
Returns the value of attribute title.
39 40 41 |
# File 'lib/softlayer/ticket.rb', line 39 def title @title end |
#total_update_count ⇒ Object
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_count ⇒ Object
Returns the value of attribute update_count.
52 53 54 |
# File 'lib/softlayer/ticket.rb', line 52 def update_count @update_count end |
#updates ⇒ Object
Returns the value of attribute updates.
83 84 85 |
# File 'lib/softlayer/ticket.rb', line 83 def updates @updates end |
#user_editable_flag ⇒ Object
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() request(:create_administrative_ticket, Softlayer::Ticket, ) 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() request(:create_cancel_server_ticket, Softlayer::Ticket, ) 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() request(:create_cancel_service_ticket, Softlayer::Ticket, ) 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() request(:create_standard_ticket, Softlayer::Ticket, ) 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() request(:create_upgrade_ticket, Softlayer::Ticket, ) end |
.get_all_ticket_groups ⇒ Object
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_statuses ⇒ Object
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() request(:get_tickets_closed_since_date, Array[Softlayer::Ticket], ) end |
.survey_eligible ⇒ Object
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() request(:add_assigned_agent, nil, ) end |
#add_attached_additional_emails(message) ⇒ Object
emails
91 92 93 |
# File 'lib/softlayer/ticket.rb', line 91 def add_attached_additional_emails() request(:add_attached_additional_emails, Boolean, ) end |
#add_attached_file(message) ⇒ Object
file_attachment
96 97 98 |
# File 'lib/softlayer/ticket.rb', line 96 def add_attached_file() request(:add_attached_file, Softlayer::Ticket::Attachment::File, ) end |
#add_attached_hardware(message) ⇒ Object
hardware_id
101 102 103 |
# File 'lib/softlayer/ticket.rb', line 101 def add_attached_hardware() request(:add_attached_hardware, Softlayer::Ticket::Attachment::Hardware, ) end |
#add_attached_virtual_guest(message) ⇒ Object
guest_id
106 107 108 |
# File 'lib/softlayer/ticket.rb', line 106 def add_attached_virtual_guest() request(:add_attached_virtual_guest, Softlayer::Ticket::Attachment::Virtual::Guest, ) end |
#add_final_comments(message) ⇒ Object
final_comments
111 112 113 |
# File 'lib/softlayer/ticket.rb', line 111 def add_final_comments() request(:add_final_comments, Boolean, ) end |
#add_scheduled_alert(message) ⇒ Object
activation_time
116 117 118 |
# File 'lib/softlayer/ticket.rb', line 116 def add_scheduled_alert() request(:add_scheduled_alert, nil, ) end |
#add_scheduled_auto_close(message) ⇒ Object
activation_time
121 122 123 |
# File 'lib/softlayer/ticket.rb', line 121 def add_scheduled_auto_close() request(:add_scheduled_auto_close, nil, ) end |
#add_update(message) ⇒ Object
template_object attached_files
127 128 129 |
# File 'lib/softlayer/ticket.rb', line 127 def add_update() request(:add_update, Array[Softlayer::Ticket::Update], ) end |
#edit(message) ⇒ Object
template_object contents attached_files
184 185 186 |
# File 'lib/softlayer/ticket.rb', line 184 def edit() request(:edit, Softlayer::Ticket, ) end |
#get_account ⇒ Object
188 189 190 |
# File 'lib/softlayer/ticket.rb', line 188 def get_account request(:get_account, Softlayer::Account) end |
#get_assigned_agents ⇒ Object
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_user ⇒ Object
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_emails ⇒ Object
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() request(:get_attached_file, Softlayer::Base64Binary, ) end |
#get_attached_files ⇒ Object
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_hardware ⇒ Object
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_count ⇒ Object
225 226 227 |
# File 'lib/softlayer/ticket.rb', line 225 def get_attached_hardware_count request(:get_attached_hardware_count, Integer) end |
#get_attached_resources ⇒ Object
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_guests ⇒ Object
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_flag ⇒ Object
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_request ⇒ Object
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_attachments ⇒ Object
245 246 247 |
# File 'lib/softlayer/ticket.rb', line 245 def request(:get_employee_attachments, Array[Softlayer::User::Employee]) end |
#get_first_attached_resource ⇒ Object
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_update ⇒ Object
253 254 255 |
# File 'lib/softlayer/ticket.rb', line 253 def get_first_update request(:get_first_update, Softlayer::Ticket::Update) end |
#get_group ⇒ Object
257 258 259 |
# File 'lib/softlayer/ticket.rb', line 257 def get_group request(:get_group, Softlayer::Ticket::Group) end |
#get_invoice_items ⇒ Object
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_activity ⇒ Object
265 266 267 |
# File 'lib/softlayer/ticket.rb', line 265 def get_last_activity request(:get_last_activity, Softlayer::Ticket::Activity) end |
#get_last_editor ⇒ Object
269 270 271 |
# File 'lib/softlayer/ticket.rb', line 269 def get_last_editor request(:get_last_editor, Softlayer::User::Interface) end |
#get_last_update ⇒ Object
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_date ⇒ Object
277 278 279 |
# File 'lib/softlayer/ticket.rb', line 277 def get_last_viewed_date request(:get_last_viewed_date, DateTime) end |
#get_location ⇒ Object
281 282 283 |
# File 'lib/softlayer/ticket.rb', line 281 def get_location request(:get_location, Softlayer::Location) end |
#get_new_updates_flag ⇒ Object
285 286 287 |
# File 'lib/softlayer/ticket.rb', line 285 def get_new_updates_flag request(:get_new_updates_flag, Boolean) end |
#get_object ⇒ Object
289 290 291 |
# File 'lib/softlayer/ticket.rb', line 289 def get_object request(:get_object, Softlayer::Ticket) end |
#get_scheduled_actions ⇒ Object
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_invoice ⇒ Object
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_invoice ⇒ Object
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_provider ⇒ Object
305 306 307 |
# File 'lib/softlayer/ticket.rb', line 305 def get_service_provider request(:get_service_provider, Softlayer::Service::Provider) end |
#get_state ⇒ Object
309 310 311 |
# File 'lib/softlayer/ticket.rb', line 309 def get_state request(:get_state, Array[Softlayer::Ticket::State]) end |
#get_status ⇒ Object
313 314 315 |
# File 'lib/softlayer/ticket.rb', line 313 def get_status request(:get_status, Softlayer::Ticket::Status) end |
#get_subject ⇒ Object
317 318 319 |
# File 'lib/softlayer/ticket.rb', line 317 def get_subject request(:get_subject, Softlayer::Ticket::Subject) end |
#get_tag_references ⇒ Object
321 322 323 |
# File 'lib/softlayer/ticket.rb', line 321 def get_tag_references request(:get_tag_references, Array[Softlayer::Tag::Reference]) end |
#get_updates ⇒ Object
330 331 332 |
# File 'lib/softlayer/ticket.rb', line 330 def get_updates request(:get_updates, Array[Softlayer::Ticket::Update]) end |
#mark_as_viewed ⇒ Object
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() request(:remove_assigned_agent, nil, ) end |
#remove_attached_additional_emails(message) ⇒ Object
emails
344 345 346 |
# File 'lib/softlayer/ticket.rb', line 344 def remove_attached_additional_emails() request(:remove_attached_additional_emails, Boolean, ) end |
#remove_attached_hardware(message) ⇒ Object
hardware_id
349 350 351 |
# File 'lib/softlayer/ticket.rb', line 349 def remove_attached_hardware() request(:remove_attached_hardware, Boolean, ) end |
#remove_attached_virtual_guest(message) ⇒ Object
guest_id
354 355 356 |
# File 'lib/softlayer/ticket.rb', line 354 def remove_attached_virtual_guest() request(:remove_attached_virtual_guest, Boolean, ) end |
#remove_scheduled_alert ⇒ Object
358 359 360 |
# File 'lib/softlayer/ticket.rb', line 358 def remove_scheduled_alert request(:remove_scheduled_alert, nil) end |
#remove_scheduled_auto_close ⇒ Object
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 () request(:set_tags, Boolean, ) end |
#update_attached_additional_emails(message) ⇒ Object
emails
376 377 378 |
# File 'lib/softlayer/ticket.rb', line 376 def update_attached_additional_emails() request(:update_attached_additional_emails, Boolean, ) end |