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(template_object = nil, contents = nil, attachment_id = nil, root_password = nil, control_panel_password = nil, access_port = nil, attached_files = nil, attachment_type = nil) ⇒ Object
- .create_cancel_server_ticket(attachment_id = nil, reason = nil, content = nil, cancel_associated_items = nil, attachment_type = nil) ⇒ Object
- .create_cancel_service_ticket(attachment_id = nil, reason = nil, content = nil, attachment_type = nil) ⇒ Object
- .create_standard_ticket(template_object = nil, contents = nil, attachment_id = nil, root_password = nil, control_panel_password = nil, access_port = nil, attached_files = nil, attachment_type = nil) ⇒ Object
- .create_upgrade_ticket(attachment_id = nil, generic_upgrade = nil, upgrade_maintenance_window = nil, details = nil, attachment_type = nil) ⇒ Object
- .get_all_ticket_groups ⇒ Object
- .get_all_ticket_statuses ⇒ Object
- .get_tickets_closed_since_date(close_date = nil) ⇒ Object
- .survey_eligible ⇒ Object
Instance Method Summary collapse
- #add_assigned_agent(agent_id = nil) ⇒ Object
- #add_attached_additional_emails(emails = nil) ⇒ Object
- #add_attached_file(file_attachment = nil) ⇒ Object
- #add_attached_hardware(hardware_id = nil) ⇒ Object
- #add_attached_virtual_guest(guest_id = nil) ⇒ Object
- #add_final_comments(final_comments = nil) ⇒ Object
- #add_scheduled_alert(activation_time = nil) ⇒ Object
- #add_scheduled_auto_close(activation_time = nil) ⇒ Object
- #add_update(template_object = nil, attached_files = nil) ⇒ Object
- #edit(template_object = nil, contents = nil, attached_files = nil) ⇒ Object
- #get_account ⇒ Object
- #get_assigned_agents ⇒ Object
- #get_assigned_user ⇒ Object
- #get_attached_additional_emails ⇒ Object
- #get_attached_file(attachment_id = nil) ⇒ Object
- #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(agent_id = nil) ⇒ Object
- #remove_attached_additional_emails(emails = nil) ⇒ Object
- #remove_attached_hardware(hardware_id = nil) ⇒ Object
- #remove_attached_virtual_guest(guest_id = nil) ⇒ Object
- #remove_scheduled_alert ⇒ Object
- #remove_scheduled_auto_close ⇒ Object
- #set_tags(tags = nil) ⇒ Object
- #update_attached_additional_emails(emails = nil) ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #service_name, #to_hash
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(template_object = nil, contents = nil, attachment_id = nil, root_password = nil, control_panel_password = nil, access_port = nil, attached_files = nil, attachment_type = nil) ⇒ Object
130 131 132 133 |
# File 'lib/softlayer/ticket.rb', line 130 def self.create_administrative_ticket(template_object = nil, contents = nil, = nil, root_password = nil, control_panel_password = nil, access_port = nil, attached_files = nil, = nil) = {template_object: template_object, contents: contents, attachment_id: , root_password: root_password, control_panel_password: control_panel_password, access_port: access_port, attached_files: attached_files, attachment_type: } request(:create_administrative_ticket, Softlayer::Ticket, ) end |
.create_cancel_server_ticket(attachment_id = nil, reason = nil, content = nil, cancel_associated_items = nil, attachment_type = nil) ⇒ Object
135 136 137 138 |
# File 'lib/softlayer/ticket.rb', line 135 def self.create_cancel_server_ticket( = nil, reason = nil, content = nil, cancel_associated_items = nil, = nil) = {attachment_id: , reason: reason, content: content, cancel_associated_items: cancel_associated_items, attachment_type: } request(:create_cancel_server_ticket, Softlayer::Ticket, ) end |
.create_cancel_service_ticket(attachment_id = nil, reason = nil, content = nil, attachment_type = nil) ⇒ Object
140 141 142 143 |
# File 'lib/softlayer/ticket.rb', line 140 def self.create_cancel_service_ticket( = nil, reason = nil, content = nil, = nil) = {attachment_id: , reason: reason, content: content, attachment_type: } request(:create_cancel_service_ticket, Softlayer::Ticket, ) end |
.create_standard_ticket(template_object = nil, contents = nil, attachment_id = nil, root_password = nil, control_panel_password = nil, access_port = nil, attached_files = nil, attachment_type = nil) ⇒ Object
145 146 147 148 |
# File 'lib/softlayer/ticket.rb', line 145 def self.create_standard_ticket(template_object = nil, contents = nil, = nil, root_password = nil, control_panel_password = nil, access_port = nil, attached_files = nil, = nil) = {template_object: template_object, contents: contents, attachment_id: , root_password: root_password, control_panel_password: control_panel_password, access_port: access_port, attached_files: attached_files, attachment_type: } request(:create_standard_ticket, Softlayer::Ticket, ) end |
.create_upgrade_ticket(attachment_id = nil, generic_upgrade = nil, upgrade_maintenance_window = nil, details = nil, attachment_type = nil) ⇒ Object
150 151 152 153 |
# File 'lib/softlayer/ticket.rb', line 150 def self.create_upgrade_ticket( = nil, generic_upgrade = nil, upgrade_maintenance_window = nil, details = nil, = nil) = {attachment_id: , generic_upgrade: generic_upgrade, upgrade_maintenance_window: upgrade_maintenance_window, details: details, attachment_type: } request(:create_upgrade_ticket, Softlayer::Ticket, ) end |
.get_all_ticket_groups ⇒ Object
164 165 166 |
# File 'lib/softlayer/ticket.rb', line 164 def self.get_all_ticket_groups request(:get_all_ticket_groups, Array[Softlayer::Ticket::Group]) end |
.get_all_ticket_statuses ⇒ Object
168 169 170 |
# File 'lib/softlayer/ticket.rb', line 168 def self.get_all_ticket_statuses request(:get_all_ticket_statuses, Array[Softlayer::Ticket::Status]) end |
.get_tickets_closed_since_date(close_date = nil) ⇒ Object
297 298 299 300 |
# File 'lib/softlayer/ticket.rb', line 297 def self.get_tickets_closed_since_date(close_date = nil) = {close_date: close_date} request(:get_tickets_closed_since_date, Array[Softlayer::Ticket], ) end |
.survey_eligible ⇒ Object
343 344 345 |
# File 'lib/softlayer/ticket.rb', line 343 def self.survey_eligible request(:survey_eligible, Boolean) end |
Instance Method Details
#add_assigned_agent(agent_id = nil) ⇒ Object
85 86 87 88 |
# File 'lib/softlayer/ticket.rb', line 85 def add_assigned_agent(agent_id = nil) = {agent_id: agent_id} request(:add_assigned_agent, nil, ) end |
#add_attached_additional_emails(emails = nil) ⇒ Object
90 91 92 93 |
# File 'lib/softlayer/ticket.rb', line 90 def add_attached_additional_emails(emails = nil) = {emails: emails} request(:add_attached_additional_emails, Boolean, ) end |
#add_attached_file(file_attachment = nil) ⇒ Object
95 96 97 98 |
# File 'lib/softlayer/ticket.rb', line 95 def add_attached_file( = nil) = {file_attachment: } request(:add_attached_file, Softlayer::Ticket::Attachment::File, ) end |
#add_attached_hardware(hardware_id = nil) ⇒ Object
100 101 102 103 |
# File 'lib/softlayer/ticket.rb', line 100 def add_attached_hardware(hardware_id = nil) = {hardware_id: hardware_id} request(:add_attached_hardware, Softlayer::Ticket::Attachment::Hardware, ) end |
#add_attached_virtual_guest(guest_id = nil) ⇒ Object
105 106 107 108 |
# File 'lib/softlayer/ticket.rb', line 105 def add_attached_virtual_guest(guest_id = nil) = {guest_id: guest_id} request(:add_attached_virtual_guest, Softlayer::Ticket::Attachment::Virtual::Guest, ) end |
#add_final_comments(final_comments = nil) ⇒ Object
110 111 112 113 |
# File 'lib/softlayer/ticket.rb', line 110 def add_final_comments(final_comments = nil) = {final_comments: final_comments} request(:add_final_comments, Boolean, ) end |
#add_scheduled_alert(activation_time = nil) ⇒ Object
115 116 117 118 |
# File 'lib/softlayer/ticket.rb', line 115 def add_scheduled_alert(activation_time = nil) = {activation_time: activation_time} request(:add_scheduled_alert, nil, ) end |
#add_scheduled_auto_close(activation_time = nil) ⇒ Object
120 121 122 123 |
# File 'lib/softlayer/ticket.rb', line 120 def add_scheduled_auto_close(activation_time = nil) = {activation_time: activation_time} request(:add_scheduled_auto_close, nil, ) end |
#add_update(template_object = nil, attached_files = nil) ⇒ Object
125 126 127 128 |
# File 'lib/softlayer/ticket.rb', line 125 def add_update(template_object = nil, attached_files = nil) = {template_object: template_object, attached_files: attached_files} request(:add_update, Array[Softlayer::Ticket::Update], ) end |
#edit(template_object = nil, contents = nil, attached_files = nil) ⇒ Object
155 156 157 158 |
# File 'lib/softlayer/ticket.rb', line 155 def edit(template_object = nil, contents = nil, attached_files = nil) = {template_object: template_object, contents: contents, attached_files: attached_files} request(:edit, Softlayer::Ticket, ) end |
#get_account ⇒ Object
160 161 162 |
# File 'lib/softlayer/ticket.rb', line 160 def get_account request(:get_account, Softlayer::Account) end |
#get_assigned_agents ⇒ Object
172 173 174 |
# File 'lib/softlayer/ticket.rb', line 172 def get_assigned_agents request(:get_assigned_agents, Array[Softlayer::User::Customer]) end |
#get_assigned_user ⇒ Object
176 177 178 |
# File 'lib/softlayer/ticket.rb', line 176 def get_assigned_user request(:get_assigned_user, Softlayer::User::Customer) end |
#get_attached_additional_emails ⇒ Object
180 181 182 |
# File 'lib/softlayer/ticket.rb', line 180 def get_attached_additional_emails request(:get_attached_additional_emails, Array[Softlayer::User::Customer::AdditionalEmail]) end |
#get_attached_file(attachment_id = nil) ⇒ Object
184 185 186 187 |
# File 'lib/softlayer/ticket.rb', line 184 def get_attached_file( = nil) = {attachment_id: } request(:get_attached_file, Softlayer::Base64Binary, ) end |
#get_attached_files ⇒ Object
189 190 191 |
# File 'lib/softlayer/ticket.rb', line 189 def get_attached_files request(:get_attached_files, Array[Softlayer::Ticket::Attachment::File]) end |
#get_attached_hardware ⇒ Object
193 194 195 |
# File 'lib/softlayer/ticket.rb', line 193 def get_attached_hardware request(:get_attached_hardware, Array[Softlayer::Hardware]) end |
#get_attached_hardware_count ⇒ Object
197 198 199 |
# File 'lib/softlayer/ticket.rb', line 197 def get_attached_hardware_count request(:get_attached_hardware_count, Integer) end |
#get_attached_resources ⇒ Object
201 202 203 |
# File 'lib/softlayer/ticket.rb', line 201 def get_attached_resources request(:get_attached_resources, Array[Softlayer::Ticket::Attachment]) end |
#get_attached_virtual_guests ⇒ Object
205 206 207 |
# File 'lib/softlayer/ticket.rb', line 205 def get_attached_virtual_guests request(:get_attached_virtual_guests, Array[Softlayer::Virtual::Guest]) end |
#get_awaiting_user_response_flag ⇒ Object
209 210 211 |
# File 'lib/softlayer/ticket.rb', line 209 def get_awaiting_user_response_flag request(:get_awaiting_user_response_flag, Boolean) end |
#get_cancellation_request ⇒ Object
213 214 215 |
# File 'lib/softlayer/ticket.rb', line 213 def get_cancellation_request request(:get_cancellation_request, Softlayer::Billing::Item::Cancellation::Request) end |
#get_employee_attachments ⇒ Object
217 218 219 |
# File 'lib/softlayer/ticket.rb', line 217 def request(:get_employee_attachments, Array[Softlayer::User::Employee]) end |
#get_first_attached_resource ⇒ Object
221 222 223 |
# File 'lib/softlayer/ticket.rb', line 221 def get_first_attached_resource request(:get_first_attached_resource, Softlayer::Ticket::Attachment) end |
#get_first_update ⇒ Object
225 226 227 |
# File 'lib/softlayer/ticket.rb', line 225 def get_first_update request(:get_first_update, Softlayer::Ticket::Update) end |
#get_group ⇒ Object
229 230 231 |
# File 'lib/softlayer/ticket.rb', line 229 def get_group request(:get_group, Softlayer::Ticket::Group) end |
#get_invoice_items ⇒ Object
233 234 235 |
# File 'lib/softlayer/ticket.rb', line 233 def get_invoice_items request(:get_invoice_items, Array[Softlayer::Billing::Invoice::Item]) end |
#get_last_activity ⇒ Object
237 238 239 |
# File 'lib/softlayer/ticket.rb', line 237 def get_last_activity request(:get_last_activity, Softlayer::Ticket::Activity) end |
#get_last_editor ⇒ Object
241 242 243 |
# File 'lib/softlayer/ticket.rb', line 241 def get_last_editor request(:get_last_editor, Softlayer::User::Interface) end |
#get_last_update ⇒ Object
245 246 247 |
# File 'lib/softlayer/ticket.rb', line 245 def get_last_update request(:get_last_update, Softlayer::Ticket::Update) end |
#get_last_viewed_date ⇒ Object
249 250 251 |
# File 'lib/softlayer/ticket.rb', line 249 def get_last_viewed_date request(:get_last_viewed_date, DateTime) end |
#get_location ⇒ Object
253 254 255 |
# File 'lib/softlayer/ticket.rb', line 253 def get_location request(:get_location, Softlayer::Location) end |
#get_new_updates_flag ⇒ Object
257 258 259 |
# File 'lib/softlayer/ticket.rb', line 257 def get_new_updates_flag request(:get_new_updates_flag, Boolean) end |
#get_object ⇒ Object
261 262 263 |
# File 'lib/softlayer/ticket.rb', line 261 def get_object request(:get_object, Softlayer::Ticket) end |
#get_scheduled_actions ⇒ Object
265 266 267 |
# File 'lib/softlayer/ticket.rb', line 265 def get_scheduled_actions request(:get_scheduled_actions, Array[Softlayer::Provisioning::Version1::Transaction]) end |
#get_server_administration_billing_invoice ⇒ Object
269 270 271 |
# File 'lib/softlayer/ticket.rb', line 269 def get_server_administration_billing_invoice request(:get_server_administration_billing_invoice, Softlayer::Billing::Invoice) end |
#get_server_administration_refund_invoice ⇒ Object
273 274 275 |
# File 'lib/softlayer/ticket.rb', line 273 def get_server_administration_refund_invoice request(:get_server_administration_refund_invoice, Softlayer::Billing::Invoice) end |
#get_service_provider ⇒ Object
277 278 279 |
# File 'lib/softlayer/ticket.rb', line 277 def get_service_provider request(:get_service_provider, Softlayer::Service::Provider) end |
#get_state ⇒ Object
281 282 283 |
# File 'lib/softlayer/ticket.rb', line 281 def get_state request(:get_state, Array[Softlayer::Ticket::State]) end |
#get_status ⇒ Object
285 286 287 |
# File 'lib/softlayer/ticket.rb', line 285 def get_status request(:get_status, Softlayer::Ticket::Status) end |
#get_subject ⇒ Object
289 290 291 |
# File 'lib/softlayer/ticket.rb', line 289 def get_subject request(:get_subject, Softlayer::Ticket::Subject) end |
#get_tag_references ⇒ Object
293 294 295 |
# File 'lib/softlayer/ticket.rb', line 293 def get_tag_references request(:get_tag_references, Array[Softlayer::Tag::Reference]) end |
#get_updates ⇒ Object
302 303 304 |
# File 'lib/softlayer/ticket.rb', line 302 def get_updates request(:get_updates, Array[Softlayer::Ticket::Update]) end |
#mark_as_viewed ⇒ Object
306 307 308 |
# File 'lib/softlayer/ticket.rb', line 306 def mark_as_viewed request(:mark_as_viewed, nil) end |
#remove_assigned_agent(agent_id = nil) ⇒ Object
310 311 312 313 |
# File 'lib/softlayer/ticket.rb', line 310 def remove_assigned_agent(agent_id = nil) = {agent_id: agent_id} request(:remove_assigned_agent, nil, ) end |
#remove_attached_additional_emails(emails = nil) ⇒ Object
315 316 317 318 |
# File 'lib/softlayer/ticket.rb', line 315 def remove_attached_additional_emails(emails = nil) = {emails: emails} request(:remove_attached_additional_emails, Boolean, ) end |
#remove_attached_hardware(hardware_id = nil) ⇒ Object
320 321 322 323 |
# File 'lib/softlayer/ticket.rb', line 320 def remove_attached_hardware(hardware_id = nil) = {hardware_id: hardware_id} request(:remove_attached_hardware, Boolean, ) end |
#remove_attached_virtual_guest(guest_id = nil) ⇒ Object
325 326 327 328 |
# File 'lib/softlayer/ticket.rb', line 325 def remove_attached_virtual_guest(guest_id = nil) = {guest_id: guest_id} request(:remove_attached_virtual_guest, Boolean, ) end |
#remove_scheduled_alert ⇒ Object
330 331 332 |
# File 'lib/softlayer/ticket.rb', line 330 def remove_scheduled_alert request(:remove_scheduled_alert, nil) end |
#remove_scheduled_auto_close ⇒ Object
334 335 336 |
# File 'lib/softlayer/ticket.rb', line 334 def remove_scheduled_auto_close request(:remove_scheduled_auto_close, nil) end |
#set_tags(tags = nil) ⇒ Object
338 339 340 341 |
# File 'lib/softlayer/ticket.rb', line 338 def ( = nil) = {tags: } request(:set_tags, Boolean, ) end |
#update_attached_additional_emails(emails = nil) ⇒ Object
347 348 349 350 |
# File 'lib/softlayer/ticket.rb', line 347 def update_attached_additional_emails(emails = nil) = {emails: emails} request(:update_attached_additional_emails, Boolean, ) end |