All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.Ticket Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service;

import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.Location;
import com.softlayer.api.service.billing.Invoice;
import com.softlayer.api.service.billing.invoice.Item;
import com.softlayer.api.service.billing.item.cancellation.Request;
import com.softlayer.api.service.container.utility.file.Attachment;
import com.softlayer.api.service.provisioning.version1.Transaction;
import com.softlayer.api.service.service.Provider;
import com.softlayer.api.service.tag.Reference;
import com.softlayer.api.service.ticket.Activity;
import com.softlayer.api.service.ticket.Group;
import com.softlayer.api.service.ticket.State;
import com.softlayer.api.service.ticket.Status;
import com.softlayer.api.service.ticket.Subject;
import com.softlayer.api.service.ticket.Update;
import com.softlayer.api.service.ticket.attachment.File;
import com.softlayer.api.service.ticket.attachment.Hardware;
import com.softlayer.api.service.ticket.attachment.dedicated.Host;
import com.softlayer.api.service.ticket.attachment.virtual.Guest;
import com.softlayer.api.service.user.Customer;
import com.softlayer.api.service.user.Employee;
import com.softlayer.api.service.user.Interface;
import com.softlayer.api.service.user.customer.AdditionalEmail;
import com.softlayer.api.service.virtual.DedicatedHost;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.concurrent.Future;

/**
 * The SoftLayer_Ticket data type models a single SoftLayer customer support or notification ticket. Each ticket object contains references to it's updates, the user it's assigned to, the SoftLayer department and employee that it's assigned to, and any hardware objects or attached files associated with the ticket. Tickets are described in further detail on the [[SoftLayer_Ticket]] service page. 
*
* To create a support ticket execute the [[SoftLayer_Ticket::createStandardTicket|createStandardTicket]] or [[SoftLayer_Ticket::createAdministrativeTicket|createAdministrativeTicket]] methods in the SoftLayer_Ticket service. To create an upgrade ticket for the SoftLayer sales group execute the [[SoftLayer_Ticket::createUpgradeTicket|createUpgradeTicket]]. * * @see SoftLayer_Ticket */ @ApiType("SoftLayer_Ticket") public class Ticket extends Entity { /** * The SoftLayer customer account associated with a ticket. */ @ApiProperty protected Account account; public Account getAccount() { return account; } public void setAccount(Account account) { this.account = account; } @ApiProperty protected List assignedAgents; public List getAssignedAgents() { if (assignedAgents == null) { assignedAgents = new ArrayList(); } return assignedAgents; } /** * The portal user that a ticket is assigned to. */ @ApiProperty protected Customer assignedUser; public Customer getAssignedUser() { return assignedUser; } public void setAssignedUser(Customer assignedUser) { this.assignedUser = assignedUser; } /** * The list of additional emails to notify when a ticket update is made. */ @ApiProperty protected List attachedAdditionalEmails; public List getAttachedAdditionalEmails() { if (attachedAdditionalEmails == null) { attachedAdditionalEmails = new ArrayList(); } return attachedAdditionalEmails; } /** * The Dedicated Hosts associated with a ticket. This is used in cases where a ticket is directly associated with one or more Dedicated Hosts. */ @ApiProperty protected List attachedDedicatedHosts; public List getAttachedDedicatedHosts() { if (attachedDedicatedHosts == null) { attachedDedicatedHosts = new ArrayList(); } return attachedDedicatedHosts; } /** * The files attached to a ticket. */ @ApiProperty protected List attachedFiles; public List getAttachedFiles() { if (attachedFiles == null) { attachedFiles = new ArrayList(); } return attachedFiles; } /** * The hardware associated with a ticket. This is used in cases where a ticket is directly associated with one or more pieces of hardware. */ @ApiProperty protected List attachedHardware; public List getAttachedHardware() { if (attachedHardware == null) { attachedHardware = new ArrayList(); } return attachedHardware; } @ApiProperty protected Long attachedHardwareCount; public Long getAttachedHardwareCount() { return attachedHardwareCount; } public void setAttachedHardwareCount(Long attachedHardwareCount) { this.attachedHardwareCount = attachedHardwareCount; } @ApiProperty protected List attachedResources; public List getAttachedResources() { if (attachedResources == null) { attachedResources = new ArrayList(); } return attachedResources; } /** * The virtual guests associated with a ticket. This is used in cases where a ticket is directly associated with one or more virtualized guests installations or Virtual Servers. */ @ApiProperty protected List attachedVirtualGuests; public List getAttachedVirtualGuests() { if (attachedVirtualGuests == null) { attachedVirtualGuests = new ArrayList(); } return attachedVirtualGuests; } /** * Ticket is waiting on a response from a customer flag. */ @ApiProperty protected Boolean awaitingUserResponseFlag; public Boolean getAwaitingUserResponseFlag() { return awaitingUserResponseFlag; } public void setAwaitingUserResponseFlag(Boolean awaitingUserResponseFlag) { this.awaitingUserResponseFlag = awaitingUserResponseFlag; } /** * A service cancellation request. */ @ApiProperty protected Request cancellationRequest; public Request getCancellationRequest() { return cancellationRequest; } public void setCancellationRequest(Request cancellationRequest) { this.cancellationRequest = cancellationRequest; } @ApiProperty protected List employeeAttachments; public List getEmployeeAttachments() { if (employeeAttachments == null) { employeeAttachments = new ArrayList(); } return employeeAttachments; } /** * A ticket's associated EU compliant record */ @ApiProperty protected Boolean euSupportedFlag; public Boolean getEuSupportedFlag() { return euSupportedFlag; } public void setEuSupportedFlag(Boolean euSupportedFlag) { this.euSupportedFlag = euSupportedFlag; } /** * The first physical or virtual server attached to a ticket. */ @ApiProperty protected com.softlayer.api.service.ticket.Attachment firstAttachedResource; public com.softlayer.api.service.ticket.Attachment getFirstAttachedResource() { return firstAttachedResource; } public void setFirstAttachedResource(com.softlayer.api.service.ticket.Attachment firstAttachedResource) { this.firstAttachedResource = firstAttachedResource; } /** * The first update made to a ticket. This is typically the contents of a ticket when it's created. */ @ApiProperty protected Update firstUpdate; public Update getFirstUpdate() { return firstUpdate; } public void setFirstUpdate(Update firstUpdate) { this.firstUpdate = firstUpdate; } /** * The SoftLayer department that a ticket is assigned to. */ @ApiProperty protected Group group; public Group getGroup() { return group; } public void setGroup(Group group) { this.group = group; } /** * The invoice items associated with a ticket. Ticket based invoice items only exist when a ticket incurs a fee that has been invoiced. */ @ApiProperty protected List invoiceItems; public List getInvoiceItems() { if (invoiceItems == null) { invoiceItems = new ArrayList(); } return invoiceItems; } @ApiProperty protected Activity lastActivity; public Activity getLastActivity() { return lastActivity; } public void setLastActivity(Activity lastActivity) { this.lastActivity = lastActivity; } @ApiProperty protected Interface lastEditor; public Interface getLastEditor() { return lastEditor; } public void setLastEditor(Interface lastEditor) { this.lastEditor = lastEditor; } /** * The last update made to a ticket. */ @ApiProperty protected Update lastUpdate; public Update getLastUpdate() { return lastUpdate; } public void setLastUpdate(Update lastUpdate) { this.lastUpdate = lastUpdate; } /** * A ticket's associated location within the SoftLayer location hierarchy. */ @ApiProperty protected Location location; public Location getLocation() { return location; } public void setLocation(Location location) { this.location = location; } /** * True if there are new, unread updates to this ticket for the current user, False otherwise. */ @ApiProperty protected Boolean newUpdatesFlag; public Boolean getNewUpdatesFlag() { return newUpdatesFlag; } public void setNewUpdatesFlag(Boolean newUpdatesFlag) { this.newUpdatesFlag = newUpdatesFlag; } @ApiProperty protected List scheduledActions; public List getScheduledActions() { if (scheduledActions == null) { scheduledActions = new ArrayList(); } return scheduledActions; } /** * The invoice associated with a ticket. Only tickets with an associated administrative charge have an invoice. */ @ApiProperty protected Invoice serverAdministrationBillingInvoice; public Invoice getServerAdministrationBillingInvoice() { return serverAdministrationBillingInvoice; } public void setServerAdministrationBillingInvoice(Invoice serverAdministrationBillingInvoice) { this.serverAdministrationBillingInvoice = serverAdministrationBillingInvoice; } /** * The refund invoice associated with a ticket. Only tickets with a refund applied in them have an associated refund invoice. */ @ApiProperty protected Invoice serverAdministrationRefundInvoice; public Invoice getServerAdministrationRefundInvoice() { return serverAdministrationRefundInvoice; } public void setServerAdministrationRefundInvoice(Invoice serverAdministrationRefundInvoice) { this.serverAdministrationRefundInvoice = serverAdministrationRefundInvoice; } @ApiProperty protected Provider serviceProvider; public Provider getServiceProvider() { return serviceProvider; } public void setServiceProvider(Provider serviceProvider) { this.serviceProvider = serviceProvider; } @ApiProperty protected List state; public List getState() { if (state == null) { state = new ArrayList(); } return state; } /** * A ticket's status. */ @ApiProperty protected Status status; public Status getStatus() { return status; } public void setStatus(Status status) { this.status = status; } /** * A ticket's subject. Only standard support tickets have an associated subject. A standard support ticket's title corresponds with it's subject's name. */ @ApiProperty protected Subject subject; public Subject getSubject() { return subject; } public void setSubject(Subject subject) { this.subject = subject; } @ApiProperty protected List tagReferences; public List getTagReferences() { if (tagReferences == null) { tagReferences = new ArrayList(); } return tagReferences; } /** * Whether employees' updates of this ticket could be rated by customer */ @ApiProperty protected Boolean updateRatingFlag; public Boolean getUpdateRatingFlag() { return updateRatingFlag; } public void setUpdateRatingFlag(Boolean updateRatingFlag) { this.updateRatingFlag = updateRatingFlag; } /** * A ticket's updates. */ @ApiProperty protected List updates; public List getUpdates() { if (updates == null) { updates = new ArrayList(); } return updates; } /** * An internal identifier of the SoftLayer customer account that a ticket is associated with. */ @ApiProperty(canBeNullOrNotSet = true) protected Long accountId; public Long getAccountId() { return accountId; } public void setAccountId(Long accountId) { accountIdSpecified = true; this.accountId = accountId; } protected boolean accountIdSpecified; public boolean isAccountIdSpecified() { return accountIdSpecified; } public void unsetAccountId() { accountId = null; accountIdSpecified = false; } /** * An internal identifier of the portal user that a ticket is assigned to. */ @ApiProperty(canBeNullOrNotSet = true) protected Long assignedUserId; public Long getAssignedUserId() { return assignedUserId; } public void setAssignedUserId(Long assignedUserId) { assignedUserIdSpecified = true; this.assignedUserId = assignedUserId; } protected boolean assignedUserIdSpecified; public boolean isAssignedUserIdSpecified() { return assignedUserIdSpecified; } public void unsetAssignedUserId() { assignedUserId = null; assignedUserIdSpecified = false; } /** * Whether a ticket has a one-time charge associated with it. Standard tickets are free while administrative tickets typically cost $3 USD. */ @ApiProperty(canBeNullOrNotSet = true) protected Boolean billableFlag; public Boolean getBillableFlag() { return billableFlag; } public void setBillableFlag(Boolean billableFlag) { billableFlagSpecified = true; this.billableFlag = billableFlag; } protected boolean billableFlagSpecified; public boolean isBillableFlagSpecified() { return billableFlagSpecified; } public void unsetBillableFlag() { billableFlag = null; billableFlagSpecified = false; } @ApiProperty(canBeNullOrNotSet = true) protected Boolean changeOwnerFlag; public Boolean getChangeOwnerFlag() { return changeOwnerFlag; } public void setChangeOwnerFlag(Boolean changeOwnerFlag) { changeOwnerFlagSpecified = true; this.changeOwnerFlag = changeOwnerFlag; } protected boolean changeOwnerFlagSpecified; public boolean isChangeOwnerFlagSpecified() { return changeOwnerFlagSpecified; } public void unsetChangeOwnerFlag() { changeOwnerFlag = null; changeOwnerFlagSpecified = false; } /** * The date that a ticket was created. */ @ApiProperty(canBeNullOrNotSet = true) protected GregorianCalendar createDate; public GregorianCalendar getCreateDate() { return createDate; } public void setCreateDate(GregorianCalendar createDate) { createDateSpecified = true; this.createDate = createDate; } protected boolean createDateSpecified; public boolean isCreateDateSpecified() { return createDateSpecified; } public void unsetCreateDate() { createDate = null; createDateSpecified = false; } @ApiProperty(canBeNullOrNotSet = true) protected Long euSupportedLocationId; public Long getEuSupportedLocationId() { return euSupportedLocationId; } public void setEuSupportedLocationId(Long euSupportedLocationId) { euSupportedLocationIdSpecified = true; this.euSupportedLocationId = euSupportedLocationId; } protected boolean euSupportedLocationIdSpecified; public boolean isEuSupportedLocationIdSpecified() { return euSupportedLocationIdSpecified; } public void unsetEuSupportedLocationId() { euSupportedLocationId = null; euSupportedLocationIdSpecified = false; } /** * Feedback left by a portal or API user on their experiences in a ticket. Final comments may be created after a ticket is closed. */ @ApiProperty(canBeNullOrNotSet = true) protected String finalComments; public String getFinalComments() { return finalComments; } public void setFinalComments(String finalComments) { finalCommentsSpecified = true; this.finalComments = finalComments; } protected boolean finalCommentsSpecified; public boolean isFinalCommentsSpecified() { return finalCommentsSpecified; } public void unsetFinalComments() { finalComments = null; finalCommentsSpecified = false; } /** * The internal identifier of the SoftLayer department that a ticket is assigned to. */ @ApiProperty(canBeNullOrNotSet = true) protected Long groupId; public Long getGroupId() { return groupId; } public void setGroupId(Long groupId) { groupIdSpecified = true; this.groupId = groupId; } protected boolean groupIdSpecified; public boolean isGroupIdSpecified() { return groupIdSpecified; } public void unsetGroupId() { groupId = null; groupIdSpecified = false; } /** * A ticket's internal identifier. Each ticket is defined by a unique identifier. */ @ApiProperty(canBeNullOrNotSet = true) protected Long id; public Long getId() { return id; } public void setId(Long id) { idSpecified = true; this.id = id; } protected boolean idSpecified; public boolean isIdSpecified() { return idSpecified; } public void unsetId() { id = null; idSpecified = false; } /** * The date that a ticket was last modified. A modification does not necessarily mean that an update was added. */ @ApiProperty(canBeNullOrNotSet = true) protected GregorianCalendar lastEditDate; public GregorianCalendar getLastEditDate() { return lastEditDate; } public void setLastEditDate(GregorianCalendar lastEditDate) { lastEditDateSpecified = true; this.lastEditDate = lastEditDate; } protected boolean lastEditDateSpecified; public boolean isLastEditDateSpecified() { return lastEditDateSpecified; } public void unsetLastEditDate() { lastEditDate = null; lastEditDateSpecified = false; } /** * The type of user who last edited or updated a ticket. This is either "EMPLOYEE" or "USER". */ @ApiProperty(canBeNullOrNotSet = true) protected String lastEditType; public String getLastEditType() { return lastEditType; } public void setLastEditType(String lastEditType) { lastEditTypeSpecified = true; this.lastEditType = lastEditType; } protected boolean lastEditTypeSpecified; public boolean isLastEditTypeSpecified() { return lastEditTypeSpecified; } public void unsetLastEditType() { lastEditType = null; lastEditTypeSpecified = false; } /** * The date that the last ticket update was made */ @ApiProperty(canBeNullOrNotSet = true) protected GregorianCalendar lastResponseDate; public GregorianCalendar getLastResponseDate() { return lastResponseDate; } public void setLastResponseDate(GregorianCalendar lastResponseDate) { lastResponseDateSpecified = true; this.lastResponseDate = lastResponseDate; } protected boolean lastResponseDateSpecified; public boolean isLastResponseDateSpecified() { return lastResponseDateSpecified; } public void unsetLastResponseDate() { lastResponseDate = null; lastResponseDateSpecified = false; } /** * The internal identifier of the location associated with a ticket. */ @ApiProperty(canBeNullOrNotSet = true) protected Long locationId; public Long getLocationId() { return locationId; } public void setLocationId(Long locationId) { locationIdSpecified = true; this.locationId = locationId; } protected boolean locationIdSpecified; public boolean isLocationIdSpecified() { return locationIdSpecified; } public void unsetLocationId() { locationId = null; locationIdSpecified = false; } /** * The date that a ticket was last updated. */ @ApiProperty(canBeNullOrNotSet = true) protected GregorianCalendar modifyDate; public GregorianCalendar getModifyDate() { return modifyDate; } public void setModifyDate(GregorianCalendar modifyDate) { modifyDateSpecified = true; this.modifyDate = modifyDate; } protected boolean modifyDateSpecified; public boolean isModifyDateSpecified() { return modifyDateSpecified; } public void unsetModifyDate() { modifyDate = null; modifyDateSpecified = false; } /** * Whether or not the user who owns a ticket is notified via email when a ticket is updated. */ @ApiProperty(canBeNullOrNotSet = true) protected Boolean notifyUserOnUpdateFlag; public Boolean getNotifyUserOnUpdateFlag() { return notifyUserOnUpdateFlag; } public void setNotifyUserOnUpdateFlag(Boolean notifyUserOnUpdateFlag) { notifyUserOnUpdateFlagSpecified = true; this.notifyUserOnUpdateFlag = notifyUserOnUpdateFlag; } protected boolean notifyUserOnUpdateFlagSpecified; public boolean isNotifyUserOnUpdateFlagSpecified() { return notifyUserOnUpdateFlagSpecified; } public void unsetNotifyUserOnUpdateFlag() { notifyUserOnUpdateFlag = null; notifyUserOnUpdateFlagSpecified = false; } /** * The IP address of the user who opened a ticket. */ @ApiProperty(canBeNullOrNotSet = true) protected String originatingIpAddress; public String getOriginatingIpAddress() { return originatingIpAddress; } public void setOriginatingIpAddress(String originatingIpAddress) { originatingIpAddressSpecified = true; this.originatingIpAddress = originatingIpAddress; } protected boolean originatingIpAddressSpecified; public boolean isOriginatingIpAddressSpecified() { return originatingIpAddressSpecified; } public void unsetOriginatingIpAddress() { originatingIpAddress = null; originatingIpAddressSpecified = false; } @ApiProperty(canBeNullOrNotSet = true) protected Long priority; public Long getPriority() { return priority; } public void setPriority(Long priority) { prioritySpecified = true; this.priority = priority; } protected boolean prioritySpecified; public boolean isPrioritySpecified() { return prioritySpecified; } public void unsetPriority() { priority = null; prioritySpecified = false; } @ApiProperty(canBeNullOrNotSet = true) protected Long responsibleBrandId; public Long getResponsibleBrandId() { return responsibleBrandId; } public void setResponsibleBrandId(Long responsibleBrandId) { responsibleBrandIdSpecified = true; this.responsibleBrandId = responsibleBrandId; } protected boolean responsibleBrandIdSpecified; public boolean isResponsibleBrandIdSpecified() { return responsibleBrandIdSpecified; } public void unsetResponsibleBrandId() { responsibleBrandId = null; responsibleBrandIdSpecified = false; } /** * The amount of money in US Dollars ($USD) that a ticket has charged to an account. A ticket's administrative billing amount is a one time charge and only applies to administrative support tickets. */ @ApiProperty(canBeNullOrNotSet = true) protected Long serverAdministrationBillingAmount; public Long getServerAdministrationBillingAmount() { return serverAdministrationBillingAmount; } public void setServerAdministrationBillingAmount(Long serverAdministrationBillingAmount) { serverAdministrationBillingAmountSpecified = true; this.serverAdministrationBillingAmount = serverAdministrationBillingAmount; } protected boolean serverAdministrationBillingAmountSpecified; public boolean isServerAdministrationBillingAmountSpecified() { return serverAdministrationBillingAmountSpecified; } public void unsetServerAdministrationBillingAmount() { serverAdministrationBillingAmount = null; serverAdministrationBillingAmountSpecified = false; } /** * The internal identifier of the invoice associated with a ticket's administrative charge. Only tickets with an administrative charge have an associated invoice. */ @ApiProperty(canBeNullOrNotSet = true) protected Long serverAdministrationBillingInvoiceId; public Long getServerAdministrationBillingInvoiceId() { return serverAdministrationBillingInvoiceId; } public void setServerAdministrationBillingInvoiceId(Long serverAdministrationBillingInvoiceId) { serverAdministrationBillingInvoiceIdSpecified = true; this.serverAdministrationBillingInvoiceId = serverAdministrationBillingInvoiceId; } protected boolean serverAdministrationBillingInvoiceIdSpecified; public boolean isServerAdministrationBillingInvoiceIdSpecified() { return serverAdministrationBillingInvoiceIdSpecified; } public void unsetServerAdministrationBillingInvoiceId() { serverAdministrationBillingInvoiceId = null; serverAdministrationBillingInvoiceIdSpecified = false; } /** * Whether a ticket is a standard or an administrative support ticket. Administrative support tickets typically incur a $3 USD charge. */ @ApiProperty(canBeNullOrNotSet = true) protected Long serverAdministrationFlag; public Long getServerAdministrationFlag() { return serverAdministrationFlag; } public void setServerAdministrationFlag(Long serverAdministrationFlag) { serverAdministrationFlagSpecified = true; this.serverAdministrationFlag = serverAdministrationFlag; } protected boolean serverAdministrationFlagSpecified; public boolean isServerAdministrationFlagSpecified() { return serverAdministrationFlagSpecified; } public void unsetServerAdministrationFlag() { serverAdministrationFlag = null; serverAdministrationFlagSpecified = false; } /** * The internal identifier of the refund invoice associated with a ticket. Only tickets with an account refund associated with them have an associated refund invoice. */ @ApiProperty(canBeNullOrNotSet = true) protected Long serverAdministrationRefundInvoiceId; public Long getServerAdministrationRefundInvoiceId() { return serverAdministrationRefundInvoiceId; } public void setServerAdministrationRefundInvoiceId(Long serverAdministrationRefundInvoiceId) { serverAdministrationRefundInvoiceIdSpecified = true; this.serverAdministrationRefundInvoiceId = serverAdministrationRefundInvoiceId; } protected boolean serverAdministrationRefundInvoiceIdSpecified; public boolean isServerAdministrationRefundInvoiceIdSpecified() { return serverAdministrationRefundInvoiceIdSpecified; } public void unsetServerAdministrationRefundInvoiceId() { serverAdministrationRefundInvoiceId = null; serverAdministrationRefundInvoiceIdSpecified = false; } @ApiProperty(canBeNullOrNotSet = true) protected Long serviceProviderId; public Long getServiceProviderId() { return serviceProviderId; } public void setServiceProviderId(Long serviceProviderId) { serviceProviderIdSpecified = true; this.serviceProviderId = serviceProviderId; } protected boolean serviceProviderIdSpecified; public boolean isServiceProviderIdSpecified() { return serviceProviderIdSpecified; } public void unsetServiceProviderId() { serviceProviderId = null; serviceProviderIdSpecified = false; } /** * A ticket's internal identifier at its service provider. Each ticket is defined by a unique identifier. */ @ApiProperty(canBeNullOrNotSet = true) protected String serviceProviderResourceId; public String getServiceProviderResourceId() { return serviceProviderResourceId; } public void setServiceProviderResourceId(String serviceProviderResourceId) { serviceProviderResourceIdSpecified = true; this.serviceProviderResourceId = serviceProviderResourceId; } protected boolean serviceProviderResourceIdSpecified; public boolean isServiceProviderResourceIdSpecified() { return serviceProviderResourceIdSpecified; } public void unsetServiceProviderResourceId() { serviceProviderResourceId = null; serviceProviderResourceIdSpecified = false; } /** * A ticket status' internal identifier. */ @ApiProperty(canBeNullOrNotSet = true) protected Long statusId; public Long getStatusId() { return statusId; } public void setStatusId(Long statusId) { statusIdSpecified = true; this.statusId = statusId; } protected boolean statusIdSpecified; public boolean isStatusIdSpecified() { return statusIdSpecified; } public void unsetStatusId() { statusId = null; statusIdSpecified = false; } /** * An internal identifier of the pre-set subject that a ticket is associated with. Standard support tickets have a subject set while administrative tickets have a null subject. A standard support ticket's title is the name of it's associated subject. */ @ApiProperty(canBeNullOrNotSet = true) protected Long subjectId; public Long getSubjectId() { return subjectId; } public void setSubjectId(Long subjectId) { subjectIdSpecified = true; this.subjectId = subjectId; } protected boolean subjectIdSpecified; public boolean isSubjectIdSpecified() { return subjectIdSpecified; } public void unsetSubjectId() { subjectId = null; subjectIdSpecified = false; } /** * A ticket's title. This is typically a brief summary of the issue described in the ticket. */ @ApiProperty(canBeNullOrNotSet = true) protected String title; public String getTitle() { return title; } public void setTitle(String title) { titleSpecified = true; this.title = title; } protected boolean titleSpecified; public boolean isTitleSpecified() { return titleSpecified; } public void unsetTitle() { title = null; titleSpecified = false; } @ApiProperty(canBeNullOrNotSet = true) protected Long totalUpdateCount; public Long getTotalUpdateCount() { return totalUpdateCount; } public void setTotalUpdateCount(Long totalUpdateCount) { totalUpdateCountSpecified = true; this.totalUpdateCount = totalUpdateCount; } protected boolean totalUpdateCountSpecified; public boolean isTotalUpdateCountSpecified() { return totalUpdateCountSpecified; } public void unsetTotalUpdateCount() { totalUpdateCount = null; totalUpdateCountSpecified = false; } /** * Whether a user is able to update a ticket. */ @ApiProperty(canBeNullOrNotSet = true) protected Boolean userEditableFlag; public Boolean getUserEditableFlag() { return userEditableFlag; } public void setUserEditableFlag(Boolean userEditableFlag) { userEditableFlagSpecified = true; this.userEditableFlag = userEditableFlag; } protected boolean userEditableFlagSpecified; public boolean isUserEditableFlagSpecified() { return userEditableFlagSpecified; } public void unsetUserEditableFlag() { userEditableFlag = null; userEditableFlagSpecified = false; } /** * A count of */ @ApiProperty protected Long assignedAgentCount; public Long getAssignedAgentCount() { return assignedAgentCount; } public void setAssignedAgentCount(Long assignedAgentCount) { this.assignedAgentCount = assignedAgentCount; } /** * A count of the list of additional emails to notify when a ticket update is made. */ @ApiProperty protected Long attachedAdditionalEmailCount; public Long getAttachedAdditionalEmailCount() { return attachedAdditionalEmailCount; } public void setAttachedAdditionalEmailCount(Long attachedAdditionalEmailCount) { this.attachedAdditionalEmailCount = attachedAdditionalEmailCount; } /** * A count of the Dedicated Hosts associated with a ticket. This is used in cases where a ticket is directly associated with one or more Dedicated Hosts. */ @ApiProperty protected Long attachedDedicatedHostCount; public Long getAttachedDedicatedHostCount() { return attachedDedicatedHostCount; } public void setAttachedDedicatedHostCount(Long attachedDedicatedHostCount) { this.attachedDedicatedHostCount = attachedDedicatedHostCount; } /** * A count of the files attached to a ticket. */ @ApiProperty protected Long attachedFileCount; public Long getAttachedFileCount() { return attachedFileCount; } public void setAttachedFileCount(Long attachedFileCount) { this.attachedFileCount = attachedFileCount; } /** * A count of */ @ApiProperty protected Long attachedResourceCount; public Long getAttachedResourceCount() { return attachedResourceCount; } public void setAttachedResourceCount(Long attachedResourceCount) { this.attachedResourceCount = attachedResourceCount; } /** * A count of the virtual guests associated with a ticket. This is used in cases where a ticket is directly associated with one or more virtualized guests installations or Virtual Servers. */ @ApiProperty protected Long attachedVirtualGuestCount; public Long getAttachedVirtualGuestCount() { return attachedVirtualGuestCount; } public void setAttachedVirtualGuestCount(Long attachedVirtualGuestCount) { this.attachedVirtualGuestCount = attachedVirtualGuestCount; } /** * A count of */ @ApiProperty protected Long employeeAttachmentCount; public Long getEmployeeAttachmentCount() { return employeeAttachmentCount; } public void setEmployeeAttachmentCount(Long employeeAttachmentCount) { this.employeeAttachmentCount = employeeAttachmentCount; } /** * A count of the invoice items associated with a ticket. Ticket based invoice items only exist when a ticket incurs a fee that has been invoiced. */ @ApiProperty protected Long invoiceItemCount; public Long getInvoiceItemCount() { return invoiceItemCount; } public void setInvoiceItemCount(Long invoiceItemCount) { this.invoiceItemCount = invoiceItemCount; } /** * A count of */ @ApiProperty protected Long scheduledActionCount; public Long getScheduledActionCount() { return scheduledActionCount; } public void setScheduledActionCount(Long scheduledActionCount) { this.scheduledActionCount = scheduledActionCount; } /** * A count of */ @ApiProperty protected Long stateCount; public Long getStateCount() { return stateCount; } public void setStateCount(Long stateCount) { this.stateCount = stateCount; } /** * A count of */ @ApiProperty protected Long tagReferenceCount; public Long getTagReferenceCount() { return tagReferenceCount; } public void setTagReferenceCount(Long tagReferenceCount) { this.tagReferenceCount = tagReferenceCount; } /** * A count of a ticket's updates. */ @ApiProperty protected Long updateCount; public Long getUpdateCount() { return updateCount; } public void setUpdateCount(Long updateCount) { this.updateCount = updateCount; } public Service asService(ApiClient client) { return service(client, id); } public static Service service(ApiClient client) { return client.createService(Service.class, null); } public static Service service(ApiClient client, Long id) { return client.createService(Service.class, id == null ? null : id.toString()); } /** * Tickets are SoftLayer's primary way to keep in touch with its customers. A ticket is an entity that describes a problem or request and tracks a conversation between you, your account users, and SoftLayer employees relating to your problem or request. Tickets can be assigned to one of your account users, and SoftLayer can assign a ticket to a particular department (also called a ticket group) or employee. The SoftLayer_Ticket service controls your interaction with SoftLayer's ticketing system.
*
* Every ticket object has at least one ticket update. Ticket updates may be created by either a user or SoftLayer employee. These ticket updates record the conversation between SoftLayer and you about the issue at hand. You may only add new updates to a ticket. Once an update is created you may not edit or delete it.
*
* Tickets exist in one of three states: open, assigned, and closed. Open tickets are considered a current issue, but are not yet assigned to a specific SoftLayer employee. Assigned issues are open issues that are assigned to a SoftLayer employee. You can safely assume that your ticket is being handled if it is in the Assigned state. Closed tickets are considered resolved issues and allow no further updates. Please contact SoftLayer if you need to re-open a ticket, as you may only create ticket updates on open or assigned tickets.
*
* It is possible to attach files and associate hardware with a ticket. Associating your ticket with more than one pieces of hardware helps SoftLayer's support team localize issues to certain servers. Attachments are a good way to illustrate a point, such as adding a screen shot of a problem or attaching a driver or configuration file that you'd like investigated.
*
* Typically the only tickets an account user may create are technical support tickets. Technical support tickets are divided into two categories: standard tickets and administrative tickets. A standard support ticket describes an issue with your SoftLayer server or services. Standard support tickets' titles must be selected from a pre-determined list of ticket subjects, defined in the [[SoftLayer_Ticket_Subject]] service. If you need a little help from SoftLayer's support staff to manage your server then open an administrative support ticket. Administrative tickets add a one-time $3USD charge to your account, and you may specify your ticket's title as needed. * * @see SoftLayer_Ticket */ @com.softlayer.api.annotation.ApiService("SoftLayer_Ticket") public static interface Service extends com.softlayer.api.Service { public ServiceAsync asAsync(); public Mask withNewMask(); public Mask withMask(); public void setMask(Mask mask); /** *
*
* * * @see SoftLayer_Ticket::addAssignedAgent */ @ApiMethod(instanceRequired = true) public Void addAssignedAgent(Long agentId); /** * Creates new additional emails for assigned user if new emails are provided. Attaches any newly created additional emails to ticket. * * @see SoftLayer_Ticket::addAttachedAdditionalEmails */ @ApiMethod(instanceRequired = true) public Boolean addAttachedAdditionalEmails(List emails); /** * Attach the given Dedicated Host to a SoftLayer ticket. An attachment provides an easy way for SoftLayer's employees to quickly look up your records in the case of specific issues. * * @see SoftLayer_Ticket::addAttachedDedicatedHost */ @ApiMethod(instanceRequired = true) public Host addAttachedDedicatedHost(Long dedicatedHostId); /** * Attach the given file to a SoftLayer ticket. A file attachment is a convenient way to submit non-textual error reports to SoftLayer employees in a ticket. File attachments to tickets must have a unique name. * * @see SoftLayer_Ticket::addAttachedFile */ @ApiMethod(instanceRequired = true) public File addAttachedFile(Attachment fileAttachment); /** * Attach the given hardware to a SoftLayer ticket. A hardware attachment provides an easy way for SoftLayer's employees to quickly look up your hardware records in the case of hardware-specific issues. * * @see SoftLayer_Ticket::addAttachedHardware */ @ApiMethod(instanceRequired = true) public Hardware addAttachedHardware(Long hardwareId); /** * Attach the given CloudLayer Computing Instance to a SoftLayer ticket. An attachment provides an easy way for SoftLayer's employees to quickly look up your records in the case of specific issues. * * @see SoftLayer_Ticket::addAttachedVirtualGuest */ @ApiMethod(instanceRequired = true) public Guest addAttachedVirtualGuest(Long guestId, Boolean callCommit); /** * As part of the customer service process SoftLayer has provided a quick feedback mechanism for its customers to rate their overall experience with SoftLayer after a ticket is closed. addFinalComments() sets these comments for a ticket update made by a SoftLayer employee. Final comments may only be set on closed tickets, can only be set once, and may not exceed 4000 characters in length. Once the comments are set ''addFinalComments()'' returns a boolean true. * * @see SoftLayer_Ticket::addFinalComments */ @ApiMethod(instanceRequired = true) public Boolean addFinalComments(String finalComments); /** * @see SoftLayer_Ticket::addScheduledAlert */ @ApiMethod(instanceRequired = true) public Void addScheduledAlert(String activationTime); /** * @see SoftLayer_Ticket::addScheduledAutoClose */ @ApiMethod(instanceRequired = true) public Void addScheduledAutoClose(String activationTime); /** * Add an update to a ticket. A ticket update's entry has a maximum length of 4000 characters, so ''addUpdate()'' splits the ''entry'' property in the ''templateObject'' parameter into 3900 character blocks and creates one entry per 3900 character block. Once complete ''addUpdate()'' emails the ticket's owner and additional email addresses with an update message if the ticket's ''notifyUserOnUpdateFlag'' is set. If the ticket is a Legal or Abuse ticket, then the account's abuse emails are also notified when the updates are processed. Finally, ''addUpdate()'' returns an array of the newly created ticket updates. * * @see SoftLayer_Ticket::addUpdate */ @ApiMethod(instanceRequired = true) public List addUpdate(Update templateObject, List attachedFiles); /** * Create an administrative support ticket. Use an administrative ticket if you require SoftLayer's assistance managing your server or content. If you are experiencing an issue with SoftLayer's hardware, network, or services then please open a standard support ticket.
*
* Support tickets may only be created in the open state. The SoftLayer API defaults new ticket properties ''userEditableFlag'' to true, ''accountId'' to the id of the account that your API user belongs to, and ''statusId'' to 1001 (or "open"). You may not assign your new to ticket to users that your API user does not have access to.
*
* Once your ticket is created it is placed in a queue for SoftLayer employees to work. As they update the ticket new [[SoftLayer_Ticket_Update]] entries are added to the ticket object.
*
* Administrative support tickets add a one-time $3USD charge to your account. * * @see SoftLayer_Ticket::createAdministrativeTicket */ @ApiMethod public Ticket createAdministrativeTicket(Ticket templateObject, String contents, Long attachmentId, String rootPassword, String controlPanelPassword, String accessPort, List attachedFiles, String attachmentType); /** * A cancel server request creates a ticket to cancel the resource on next bill date. The hardware ID parameter is required to determine which server is to be cancelled. NOTE: Hourly bare metal servers will be cancelled on next bill date.
*
* The reason parameter could be from the list below:
* * "No longer needed"
* * "Business closing down"
* * "Server / Upgrade Costs"
* * "Migrating to larger server"
* * "Migrating to smaller server"
* * "Migrating to a different SoftLayer datacenter"
* * "Network performance / latency"
* * "Support response / timing"
* * "Sales process / upgrades"
* * "Moving to competitor"
*
*
* The content parameter describes further the reason for cancelling the server. * * @see SoftLayer_Ticket::createCancelServerTicket */ @ApiMethod public Ticket createCancelServerTicket(Long attachmentId, String reason, String content, Boolean cancelAssociatedItems, String attachmentType); /** * A cancel service request creates a sales ticket. The hardware ID parameter is required to determine which server is to be cancelled.
*
* The reason parameter could be from the list below:
* * "No longer needed"
* * "Business closing down"
* * "Server / Upgrade Costs"
* * "Migrating to larger server"
* * "Migrating to smaller server"
* * "Migrating to a different SoftLayer datacenter"
* * "Network performance / latency"
* * "Support response / timing"
* * "Sales process / upgrades"
* * "Moving to competitor"
*
*
* The content parameter describes further the reason for cancelling service. * * @see SoftLayer_Ticket::createCancelServiceTicket */ @ApiMethod public Ticket createCancelServiceTicket(Long attachmentId, String reason, String content, String attachmentType); /** * Create a standard support ticket. Use a standard support ticket if you need to work out a problem related to SoftLayer's hardware, network, or services. If you require SoftLayer's assistance managing your server or content then please open an administrative ticket.
*
* Support tickets may only be created in the open state. The SoftLayer API defaults new ticket properties ''userEditableFlag'' to true, ''accountId'' to the id of the account that your API user belongs to, and ''statusId'' to 1001 (or "open"). You may not assign your new to ticket to users that your API user does not have access to.
*
* Once your ticket is created it is placed in a queue for SoftLayer employees to work. As they update the ticket new [[SoftLayer_Ticket_Update]] entries are added to the ticket object. * * @see SoftLayer_Ticket::createStandardTicket */ @ApiMethod public Ticket createStandardTicket(Ticket templateObject, String contents, Long attachmentId, String rootPassword, String controlPanelPassword, String accessPort, List attachedFiles, String attachmentType); /** * Create a ticket for the SoftLayer sales team to perform a hardware or service upgrade. Our sales team will work with you on upgrade feasibility and pricing and then send the upgrade ticket to the proper department to perform the actual upgrade. Service affecting upgrades, such as server hardware or CloudLayer Computing Instance upgrades that require the server powered down must have a two hour maintenance specified for our datacenter engineers to perform your upgrade. Account level upgrades, such as adding PPTP VPN users, CDNLayer accounts, and monitoring services are processed much faster and do not require a maintenance window. * * @see SoftLayer_Ticket::createUpgradeTicket */ @ApiMethod public Ticket createUpgradeTicket(Long attachmentId, String genericUpgrade, String upgradeMaintenanceWindow, String details, String attachmentType, String title); /** * Edit a SoftLayer ticket. The edit method is two-fold. You may either edit a ticket itself, add an update to a ticket, attach up to two files to a ticket, or perform all of these tasks. The SoftLayer API ignores changes made to the ''userEditableFlag'' and ''accountId'' properties. You may not assign a ticket to a user that your API account does not have access to. You may not enter a custom title for standard support tickets, buy may do so when editing an administrative ticket. Finally, you may not close a ticket using this method. Please contact SoftLayer if you need a ticket closed.
*
* If you need to only add an update to a ticket then please use the [[SoftLayer_Ticket::addUpdate|addUpdate]] method in this service. Likewise if you need to only attach a file to a ticket then use the [[SoftLayer_Ticket::addAttachedFile|addAttachedFile]] method. The edit method exists as a convenience if you need to perform all these tasks at once. * * @see SoftLayer_Ticket::edit */ @ApiMethod(instanceRequired = true) public Ticket edit(Ticket templateObject, String contents, List attachedFiles); /** * getAllTicketGroups() retrieves a list of all groups that a ticket may be assigned to. Ticket groups represent the internal department at SoftLayer who a ticket is assigned to.
*
* Every SoftLayer ticket has groupId and ticketGroup properties that correspond to one of the groups returned by getAllTicketGroups(). * * @see SoftLayer_Ticket::getAllTicketGroups */ @ApiMethod public List getAllTicketGroups(); /** * getAllTicketStatuses() retrieves a list of all statuses that a ticket may exist in. Ticket status represent the current state of a ticket, usually "open", "assigned", and "closed".
*
* Every SoftLayer ticket has statusId and status properties that correspond to one of the statuses returned by getAllTicketStatuses(). * * @see SoftLayer_Ticket::getAllTicketStatuses */ @ApiMethod public List getAllTicketStatuses(); /** * Retrieve the file attached to a SoftLayer ticket by it's given identifier. To retrieve a list of files attached to a ticket either call the SoftLayer_Ticket::getAttachedFiles method or call SoftLayer_Ticket::getObject with ''attachedFiles'' defined in an object mask. * * @see SoftLayer_Ticket::getAttachedFile */ @ApiMethod(instanceRequired = true) public byte[] getAttachedFile(Long attachmentId); /** * getObject retrieves the SoftLayer_Ticket object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Ticket service. You can only retrieve tickets that are associated with your SoftLayer customer account. * * @see SoftLayer_Ticket::getObject */ @ApiMethod(instanceRequired = true) public Ticket getObject(); /** * Retrieve all tickets closed since a given date. * * @see SoftLayer_Ticket::getTicketsClosedSinceDate */ @ApiMethod public List getTicketsClosedSinceDate(GregorianCalendar closeDate); /** * Mark a ticket as viewed. All currently posted updates will be marked as viewed. The lastViewedDate property will be updated to the current time. * * @see SoftLayer_Ticket::markAsViewed */ @ApiMethod(instanceRequired = true) public Void markAsViewed(); /** *
*
* * * @see SoftLayer_Ticket::removeAssignedAgent */ @ApiMethod(instanceRequired = true) public Void removeAssignedAgent(Long agentId); /** * removeAttachedAdditionalEmails() removes the specified email addresses from a ticket's notification list. If one of the provided email addresses is not attached to the ticket then ''removeAttachedAdditiaonalEmails()'' ignores it and continues to the next one. Once the email addresses are removed ''removeAttachedAdditiaonalEmails()'' returns a boolean true. * * @see SoftLayer_Ticket::removeAttachedAdditionalEmails */ @ApiMethod(instanceRequired = true) public Boolean removeAttachedAdditionalEmails(List emails); /** * detach the given hardware from a SoftLayer ticket. Removing a hardware attachment may delay ticket processing time if the hardware removed is relevant to the ticket's issue. Return a boolean true upon successful hardware detachment. * * @see SoftLayer_Ticket::removeAttachedHardware */ @ApiMethod(instanceRequired = true) public Boolean removeAttachedHardware(Long hardwareId); /** * Detach the given CloudLayer Computing Instance from a SoftLayer ticket. Removing an attachment may delay ticket processing time if the instance removed is relevant to the ticket's issue. Return a boolean true upon successful detachment. * * @see SoftLayer_Ticket::removeAttachedVirtualGuest */ @ApiMethod(instanceRequired = true) public Boolean removeAttachedVirtualGuest(Long guestId); /** * @see SoftLayer_Ticket::removeScheduledAlert */ @ApiMethod(instanceRequired = true) public Void removeScheduledAlert(); /** * @see SoftLayer_Ticket::removeScheduledAutoClose */ @ApiMethod(instanceRequired = true) public Void removeScheduledAutoClose(); /** * @see SoftLayer_Ticket::setTags */ @ApiMethod(instanceRequired = true) public Boolean setTags(String tags); /** * (DEPRECATED) Use [[SoftLayer_Ticket_Survey::getPreference]] method. * * @see SoftLayer_Ticket::surveyEligible */ @ApiMethod public Boolean surveyEligible(); /** * Creates new additional emails for assigned user if new emails are provided. Attaches any newly created additional emails to ticket. Remove any additional emails from a ticket that are not provided as part of $emails * * @see SoftLayer_Ticket::updateAttachedAdditionalEmails */ @ApiMethod(instanceRequired = true) public Boolean updateAttachedAdditionalEmails(List emails); /** * The SoftLayer customer account associated with a ticket. * * @see SoftLayer_Ticket::getAccount */ @ApiMethod(instanceRequired = true) public Account getAccount(); /** * @see SoftLayer_Ticket::getAssignedAgents */ @ApiMethod(instanceRequired = true) public List getAssignedAgents(); /** * The portal user that a ticket is assigned to. * * @see SoftLayer_Ticket::getAssignedUser */ @ApiMethod(instanceRequired = true) public Customer getAssignedUser(); /** * The list of additional emails to notify when a ticket update is made. * * @see SoftLayer_Ticket::getAttachedAdditionalEmails */ @ApiMethod(instanceRequired = true) public List getAttachedAdditionalEmails(); /** * The Dedicated Hosts associated with a ticket. This is used in cases where a ticket is directly associated with one or more Dedicated Hosts. * * @see SoftLayer_Ticket::getAttachedDedicatedHosts */ @ApiMethod(instanceRequired = true) public List getAttachedDedicatedHosts(); /** * The files attached to a ticket. * * @see SoftLayer_Ticket::getAttachedFiles */ @ApiMethod(instanceRequired = true) public List getAttachedFiles(); /** * The hardware associated with a ticket. This is used in cases where a ticket is directly associated with one or more pieces of hardware. * * @see SoftLayer_Ticket::getAttachedHardware */ @ApiMethod(instanceRequired = true) public List getAttachedHardware(); /** * @see SoftLayer_Ticket::getAttachedHardwareCount */ @ApiMethod(instanceRequired = true) public Long getAttachedHardwareCount(); /** * @see SoftLayer_Ticket::getAttachedResources */ @ApiMethod(instanceRequired = true) public List getAttachedResources(); /** * The virtual guests associated with a ticket. This is used in cases where a ticket is directly associated with one or more virtualized guests installations or Virtual Servers. * * @see SoftLayer_Ticket::getAttachedVirtualGuests */ @ApiMethod(instanceRequired = true) public List getAttachedVirtualGuests(); /** * Ticket is waiting on a response from a customer flag. * * @see SoftLayer_Ticket::getAwaitingUserResponseFlag */ @ApiMethod(instanceRequired = true) public Boolean getAwaitingUserResponseFlag(); /** * A service cancellation request. * * @see SoftLayer_Ticket::getCancellationRequest */ @ApiMethod(instanceRequired = true) public Request getCancellationRequest(); /** * @see SoftLayer_Ticket::getEmployeeAttachments */ @ApiMethod(instanceRequired = true) public List getEmployeeAttachments(); /** * A ticket's associated EU compliant record * * @see SoftLayer_Ticket::getEuSupportedFlag */ @ApiMethod(instanceRequired = true) public Boolean getEuSupportedFlag(); /** * The first physical or virtual server attached to a ticket. * * @see SoftLayer_Ticket::getFirstAttachedResource */ @ApiMethod(instanceRequired = true) public com.softlayer.api.service.ticket.Attachment getFirstAttachedResource(); /** * The first update made to a ticket. This is typically the contents of a ticket when it's created. * * @see SoftLayer_Ticket::getFirstUpdate */ @ApiMethod(instanceRequired = true) public Update getFirstUpdate(); /** * The SoftLayer department that a ticket is assigned to. * * @see SoftLayer_Ticket::getGroup */ @ApiMethod(instanceRequired = true) public Group getGroup(); /** * The invoice items associated with a ticket. Ticket based invoice items only exist when a ticket incurs a fee that has been invoiced. * * @see SoftLayer_Ticket::getInvoiceItems */ @ApiMethod(instanceRequired = true) public List getInvoiceItems(); /** * @see SoftLayer_Ticket::getLastActivity */ @ApiMethod(instanceRequired = true) public Activity getLastActivity(); /** * @see SoftLayer_Ticket::getLastEditor */ @ApiMethod(instanceRequired = true) public Interface getLastEditor(); /** * The last update made to a ticket. * * @see SoftLayer_Ticket::getLastUpdate */ @ApiMethod(instanceRequired = true) public Update getLastUpdate(); /** * A ticket's associated location within the SoftLayer location hierarchy. * * @see SoftLayer_Ticket::getLocation */ @ApiMethod(instanceRequired = true) public Location getLocation(); /** * True if there are new, unread updates to this ticket for the current user, False otherwise. * * @see SoftLayer_Ticket::getNewUpdatesFlag */ @ApiMethod(instanceRequired = true) public Boolean getNewUpdatesFlag(); /** * @see SoftLayer_Ticket::getScheduledActions */ @ApiMethod(instanceRequired = true) public List getScheduledActions(); /** * The invoice associated with a ticket. Only tickets with an associated administrative charge have an invoice. * * @see SoftLayer_Ticket::getServerAdministrationBillingInvoice */ @ApiMethod(instanceRequired = true) public Invoice getServerAdministrationBillingInvoice(); /** * The refund invoice associated with a ticket. Only tickets with a refund applied in them have an associated refund invoice. * * @see SoftLayer_Ticket::getServerAdministrationRefundInvoice */ @ApiMethod(instanceRequired = true) public Invoice getServerAdministrationRefundInvoice(); /** * @see SoftLayer_Ticket::getServiceProvider */ @ApiMethod(instanceRequired = true) public Provider getServiceProvider(); /** * @see SoftLayer_Ticket::getState */ @ApiMethod(instanceRequired = true) public List getState(); /** * A ticket's status. * * @see SoftLayer_Ticket::getStatus */ @ApiMethod(instanceRequired = true) public Status getStatus(); /** * A ticket's subject. Only standard support tickets have an associated subject. A standard support ticket's title corresponds with it's subject's name. * * @see SoftLayer_Ticket::getSubject */ @ApiMethod(instanceRequired = true) public Subject getSubject(); /** * @see SoftLayer_Ticket::getTagReferences */ @ApiMethod(instanceRequired = true) public List getTagReferences(); /** * Whether employees' updates of this ticket could be rated by customer * * @see SoftLayer_Ticket::getUpdateRatingFlag */ @ApiMethod(instanceRequired = true) public Boolean getUpdateRatingFlag(); /** * A ticket's updates. * * @see SoftLayer_Ticket::getUpdates */ @ApiMethod(instanceRequired = true) public List getUpdates(); } public static interface ServiceAsync extends com.softlayer.api.ServiceAsync { public Mask withNewMask(); public Mask withMask(); public void setMask(Mask mask); /** * Async version of {@link Service#addAssignedAgent} */ public Future addAssignedAgent(Long agentId); public Future addAssignedAgent(Long agentId, ResponseHandler callback); /** * Async version of {@link Service#addAttachedAdditionalEmails} */ public Future addAttachedAdditionalEmails(List emails); public Future addAttachedAdditionalEmails(List emails, ResponseHandler callback); /** * Async version of {@link Service#addAttachedDedicatedHost} */ public Future addAttachedDedicatedHost(Long dedicatedHostId); public Future addAttachedDedicatedHost(Long dedicatedHostId, ResponseHandler callback); /** * Async version of {@link Service#addAttachedFile} */ public Future addAttachedFile(Attachment fileAttachment); public Future addAttachedFile(Attachment fileAttachment, ResponseHandler callback); /** * Async version of {@link Service#addAttachedHardware} */ public Future addAttachedHardware(Long hardwareId); public Future addAttachedHardware(Long hardwareId, ResponseHandler callback); /** * Async version of {@link Service#addAttachedVirtualGuest} */ public Future addAttachedVirtualGuest(Long guestId, Boolean callCommit); public Future addAttachedVirtualGuest(Long guestId, Boolean callCommit, ResponseHandler callback); /** * Async version of {@link Service#addFinalComments} */ public Future addFinalComments(String finalComments); public Future addFinalComments(String finalComments, ResponseHandler callback); /** * Async version of {@link Service#addScheduledAlert} */ public Future addScheduledAlert(String activationTime); public Future addScheduledAlert(String activationTime, ResponseHandler callback); /** * Async version of {@link Service#addScheduledAutoClose} */ public Future addScheduledAutoClose(String activationTime); public Future addScheduledAutoClose(String activationTime, ResponseHandler callback); /** * Async version of {@link Service#addUpdate} */ public Future> addUpdate(Update templateObject, List attachedFiles); public Future addUpdate(Update templateObject, List attachedFiles, ResponseHandler> callback); /** * Async version of {@link Service#createAdministrativeTicket} */ public Future createAdministrativeTicket(Ticket templateObject, String contents, Long attachmentId, String rootPassword, String controlPanelPassword, String accessPort, List attachedFiles, String attachmentType); public Future createAdministrativeTicket(Ticket templateObject, String contents, Long attachmentId, String rootPassword, String controlPanelPassword, String accessPort, List attachedFiles, String attachmentType, ResponseHandler callback); /** * Async version of {@link Service#createCancelServerTicket} */ public Future createCancelServerTicket(Long attachmentId, String reason, String content, Boolean cancelAssociatedItems, String attachmentType); public Future createCancelServerTicket(Long attachmentId, String reason, String content, Boolean cancelAssociatedItems, String attachmentType, ResponseHandler callback); /** * Async version of {@link Service#createCancelServiceTicket} */ public Future createCancelServiceTicket(Long attachmentId, String reason, String content, String attachmentType); public Future createCancelServiceTicket(Long attachmentId, String reason, String content, String attachmentType, ResponseHandler callback); /** * Async version of {@link Service#createStandardTicket} */ public Future createStandardTicket(Ticket templateObject, String contents, Long attachmentId, String rootPassword, String controlPanelPassword, String accessPort, List attachedFiles, String attachmentType); public Future createStandardTicket(Ticket templateObject, String contents, Long attachmentId, String rootPassword, String controlPanelPassword, String accessPort, List attachedFiles, String attachmentType, ResponseHandler callback); /** * Async version of {@link Service#createUpgradeTicket} */ public Future createUpgradeTicket(Long attachmentId, String genericUpgrade, String upgradeMaintenanceWindow, String details, String attachmentType, String title); public Future createUpgradeTicket(Long attachmentId, String genericUpgrade, String upgradeMaintenanceWindow, String details, String attachmentType, String title, ResponseHandler callback); /** * Async version of {@link Service#edit} */ public Future edit(Ticket templateObject, String contents, List attachedFiles); public Future edit(Ticket templateObject, String contents, List attachedFiles, ResponseHandler callback); /** * Async version of {@link Service#getAllTicketGroups} */ public Future> getAllTicketGroups(); public Future getAllTicketGroups(ResponseHandler> callback); /** * Async version of {@link Service#getAllTicketStatuses} */ public Future> getAllTicketStatuses(); public Future getAllTicketStatuses(ResponseHandler> callback); /** * Async version of {@link Service#getAttachedFile} */ public Future getAttachedFile(Long attachmentId); public Future getAttachedFile(Long attachmentId, ResponseHandler callback); /** * Async version of {@link Service#getObject} */ public Future getObject(); public Future getObject(ResponseHandler callback); /** * Async version of {@link Service#getTicketsClosedSinceDate} */ public Future> getTicketsClosedSinceDate(GregorianCalendar closeDate); public Future getTicketsClosedSinceDate(GregorianCalendar closeDate, ResponseHandler> callback); /** * Async version of {@link Service#markAsViewed} */ public Future markAsViewed(); public Future markAsViewed(ResponseHandler callback); /** * Async version of {@link Service#removeAssignedAgent} */ public Future removeAssignedAgent(Long agentId); public Future removeAssignedAgent(Long agentId, ResponseHandler callback); /** * Async version of {@link Service#removeAttachedAdditionalEmails} */ public Future removeAttachedAdditionalEmails(List emails); public Future removeAttachedAdditionalEmails(List emails, ResponseHandler callback); /** * Async version of {@link Service#removeAttachedHardware} */ public Future removeAttachedHardware(Long hardwareId); public Future removeAttachedHardware(Long hardwareId, ResponseHandler callback); /** * Async version of {@link Service#removeAttachedVirtualGuest} */ public Future removeAttachedVirtualGuest(Long guestId); public Future removeAttachedVirtualGuest(Long guestId, ResponseHandler callback); /** * Async version of {@link Service#removeScheduledAlert} */ public Future removeScheduledAlert(); public Future removeScheduledAlert(ResponseHandler callback); /** * Async version of {@link Service#removeScheduledAutoClose} */ public Future removeScheduledAutoClose(); public Future removeScheduledAutoClose(ResponseHandler callback); /** * Async version of {@link Service#setTags} */ public Future setTags(String tags); public Future setTags(String tags, ResponseHandler callback); /** * Async version of {@link Service#surveyEligible} */ public Future surveyEligible(); public Future surveyEligible(ResponseHandler callback); /** * Async version of {@link Service#updateAttachedAdditionalEmails} */ public Future updateAttachedAdditionalEmails(List emails); public Future updateAttachedAdditionalEmails(List emails, ResponseHandler callback); /** * Async version of {@link Service#getAccount} */ public Future getAccount(); /** * Async callback version of {@link Service#getAccount} */ public Future getAccount(ResponseHandler callback); /** * Async version of {@link Service#getAssignedAgents} */ public Future> getAssignedAgents(); /** * Async callback version of {@link Service#getAssignedAgents} */ public Future getAssignedAgents(ResponseHandler> callback); /** * Async version of {@link Service#getAssignedUser} */ public Future getAssignedUser(); /** * Async callback version of {@link Service#getAssignedUser} */ public Future getAssignedUser(ResponseHandler callback); /** * Async version of {@link Service#getAttachedAdditionalEmails} */ public Future> getAttachedAdditionalEmails(); /** * Async callback version of {@link Service#getAttachedAdditionalEmails} */ public Future getAttachedAdditionalEmails(ResponseHandler> callback); /** * Async version of {@link Service#getAttachedDedicatedHosts} */ public Future> getAttachedDedicatedHosts(); /** * Async callback version of {@link Service#getAttachedDedicatedHosts} */ public Future getAttachedDedicatedHosts(ResponseHandler> callback); /** * Async version of {@link Service#getAttachedFiles} */ public Future> getAttachedFiles(); /** * Async callback version of {@link Service#getAttachedFiles} */ public Future getAttachedFiles(ResponseHandler> callback); /** * Async version of {@link Service#getAttachedHardware} */ public Future> getAttachedHardware(); /** * Async callback version of {@link Service#getAttachedHardware} */ public Future getAttachedHardware(ResponseHandler> callback); /** * Async version of {@link Service#getAttachedHardwareCount} */ public Future getAttachedHardwareCount(); /** * Async callback version of {@link Service#getAttachedHardwareCount} */ public Future getAttachedHardwareCount(ResponseHandler callback); /** * Async version of {@link Service#getAttachedResources} */ public Future> getAttachedResources(); /** * Async callback version of {@link Service#getAttachedResources} */ public Future getAttachedResources(ResponseHandler> callback); /** * Async version of {@link Service#getAttachedVirtualGuests} */ public Future> getAttachedVirtualGuests(); /** * Async callback version of {@link Service#getAttachedVirtualGuests} */ public Future getAttachedVirtualGuests(ResponseHandler> callback); /** * Async version of {@link Service#getAwaitingUserResponseFlag} */ public Future getAwaitingUserResponseFlag(); /** * Async callback version of {@link Service#getAwaitingUserResponseFlag} */ public Future getAwaitingUserResponseFlag(ResponseHandler callback); /** * Async version of {@link Service#getCancellationRequest} */ public Future getCancellationRequest(); /** * Async callback version of {@link Service#getCancellationRequest} */ public Future getCancellationRequest(ResponseHandler callback); /** * Async version of {@link Service#getEmployeeAttachments} */ public Future> getEmployeeAttachments(); /** * Async callback version of {@link Service#getEmployeeAttachments} */ public Future getEmployeeAttachments(ResponseHandler> callback); /** * Async version of {@link Service#getEuSupportedFlag} */ public Future getEuSupportedFlag(); /** * Async callback version of {@link Service#getEuSupportedFlag} */ public Future getEuSupportedFlag(ResponseHandler callback); /** * Async version of {@link Service#getFirstAttachedResource} */ public Future getFirstAttachedResource(); /** * Async callback version of {@link Service#getFirstAttachedResource} */ public Future getFirstAttachedResource(ResponseHandler callback); /** * Async version of {@link Service#getFirstUpdate} */ public Future getFirstUpdate(); /** * Async callback version of {@link Service#getFirstUpdate} */ public Future getFirstUpdate(ResponseHandler callback); /** * Async version of {@link Service#getGroup} */ public Future getGroup(); /** * Async callback version of {@link Service#getGroup} */ public Future getGroup(ResponseHandler callback); /** * Async version of {@link Service#getInvoiceItems} */ public Future> getInvoiceItems(); /** * Async callback version of {@link Service#getInvoiceItems} */ public Future getInvoiceItems(ResponseHandler> callback); /** * Async version of {@link Service#getLastActivity} */ public Future getLastActivity(); /** * Async callback version of {@link Service#getLastActivity} */ public Future getLastActivity(ResponseHandler callback); /** * Async version of {@link Service#getLastEditor} */ public Future getLastEditor(); /** * Async callback version of {@link Service#getLastEditor} */ public Future getLastEditor(ResponseHandler callback); /** * Async version of {@link Service#getLastUpdate} */ public Future getLastUpdate(); /** * Async callback version of {@link Service#getLastUpdate} */ public Future getLastUpdate(ResponseHandler callback); /** * Async version of {@link Service#getLocation} */ public Future getLocation(); /** * Async callback version of {@link Service#getLocation} */ public Future getLocation(ResponseHandler callback); /** * Async version of {@link Service#getNewUpdatesFlag} */ public Future getNewUpdatesFlag(); /** * Async callback version of {@link Service#getNewUpdatesFlag} */ public Future getNewUpdatesFlag(ResponseHandler callback); /** * Async version of {@link Service#getScheduledActions} */ public Future> getScheduledActions(); /** * Async callback version of {@link Service#getScheduledActions} */ public Future getScheduledActions(ResponseHandler> callback); /** * Async version of {@link Service#getServerAdministrationBillingInvoice} */ public Future getServerAdministrationBillingInvoice(); /** * Async callback version of {@link Service#getServerAdministrationBillingInvoice} */ public Future getServerAdministrationBillingInvoice(ResponseHandler callback); /** * Async version of {@link Service#getServerAdministrationRefundInvoice} */ public Future getServerAdministrationRefundInvoice(); /** * Async callback version of {@link Service#getServerAdministrationRefundInvoice} */ public Future getServerAdministrationRefundInvoice(ResponseHandler callback); /** * Async version of {@link Service#getServiceProvider} */ public Future getServiceProvider(); /** * Async callback version of {@link Service#getServiceProvider} */ public Future getServiceProvider(ResponseHandler callback); /** * Async version of {@link Service#getState} */ public Future> getState(); /** * Async callback version of {@link Service#getState} */ public Future getState(ResponseHandler> callback); /** * Async version of {@link Service#getStatus} */ public Future getStatus(); /** * Async callback version of {@link Service#getStatus} */ public Future getStatus(ResponseHandler callback); /** * Async version of {@link Service#getSubject} */ public Future getSubject(); /** * Async callback version of {@link Service#getSubject} */ public Future getSubject(ResponseHandler callback); /** * Async version of {@link Service#getTagReferences} */ public Future> getTagReferences(); /** * Async callback version of {@link Service#getTagReferences} */ public Future getTagReferences(ResponseHandler> callback); /** * Async version of {@link Service#getUpdateRatingFlag} */ public Future getUpdateRatingFlag(); /** * Async callback version of {@link Service#getUpdateRatingFlag} */ public Future getUpdateRatingFlag(ResponseHandler callback); /** * Async version of {@link Service#getUpdates} */ public Future> getUpdates(); /** * Async callback version of {@link Service#getUpdates} */ public Future getUpdates(ResponseHandler> callback); } public static class Mask extends Entity.Mask { public Account.Mask account() { return withSubMask("account", Account.Mask.class); } public com.softlayer.api.service.user.Customer.Mask assignedAgents() { return withSubMask("assignedAgents", com.softlayer.api.service.user.Customer.Mask.class); } public com.softlayer.api.service.user.Customer.Mask assignedUser() { return withSubMask("assignedUser", com.softlayer.api.service.user.Customer.Mask.class); } public com.softlayer.api.service.user.customer.AdditionalEmail.Mask attachedAdditionalEmails() { return withSubMask("attachedAdditionalEmails", com.softlayer.api.service.user.customer.AdditionalEmail.Mask.class); } public com.softlayer.api.service.virtual.DedicatedHost.Mask attachedDedicatedHosts() { return withSubMask("attachedDedicatedHosts", com.softlayer.api.service.virtual.DedicatedHost.Mask.class); } public com.softlayer.api.service.ticket.attachment.File.Mask attachedFiles() { return withSubMask("attachedFiles", com.softlayer.api.service.ticket.attachment.File.Mask.class); } public Hardware.Mask attachedHardware() { return withSubMask("attachedHardware", Hardware.Mask.class); } public Mask attachedHardwareCount() { withLocalProperty("attachedHardwareCount"); return this; } public com.softlayer.api.service.ticket.Attachment.Mask attachedResources() { return withSubMask("attachedResources", com.softlayer.api.service.ticket.Attachment.Mask.class); } public com.softlayer.api.service.virtual.Guest.Mask attachedVirtualGuests() { return withSubMask("attachedVirtualGuests", com.softlayer.api.service.virtual.Guest.Mask.class); } public Mask awaitingUserResponseFlag() { withLocalProperty("awaitingUserResponseFlag"); return this; } public com.softlayer.api.service.billing.item.cancellation.Request.Mask cancellationRequest() { return withSubMask("cancellationRequest", com.softlayer.api.service.billing.item.cancellation.Request.Mask.class); } public com.softlayer.api.service.user.Employee.Mask employeeAttachments() { return withSubMask("employeeAttachments", com.softlayer.api.service.user.Employee.Mask.class); } public Mask euSupportedFlag() { withLocalProperty("euSupportedFlag"); return this; } public com.softlayer.api.service.ticket.Attachment.Mask firstAttachedResource() { return withSubMask("firstAttachedResource", com.softlayer.api.service.ticket.Attachment.Mask.class); } public com.softlayer.api.service.ticket.Update.Mask firstUpdate() { return withSubMask("firstUpdate", com.softlayer.api.service.ticket.Update.Mask.class); } public com.softlayer.api.service.ticket.Group.Mask group() { return withSubMask("group", com.softlayer.api.service.ticket.Group.Mask.class); } public com.softlayer.api.service.billing.invoice.Item.Mask invoiceItems() { return withSubMask("invoiceItems", com.softlayer.api.service.billing.invoice.Item.Mask.class); } public com.softlayer.api.service.ticket.Activity.Mask lastActivity() { return withSubMask("lastActivity", com.softlayer.api.service.ticket.Activity.Mask.class); } public com.softlayer.api.service.user.Interface.Mask lastEditor() { return withSubMask("lastEditor", com.softlayer.api.service.user.Interface.Mask.class); } public com.softlayer.api.service.ticket.Update.Mask lastUpdate() { return withSubMask("lastUpdate", com.softlayer.api.service.ticket.Update.Mask.class); } public Location.Mask location() { return withSubMask("location", Location.Mask.class); } public Mask newUpdatesFlag() { withLocalProperty("newUpdatesFlag"); return this; } public com.softlayer.api.service.provisioning.version1.Transaction.Mask scheduledActions() { return withSubMask("scheduledActions", com.softlayer.api.service.provisioning.version1.Transaction.Mask.class); } public com.softlayer.api.service.billing.Invoice.Mask serverAdministrationBillingInvoice() { return withSubMask("serverAdministrationBillingInvoice", com.softlayer.api.service.billing.Invoice.Mask.class); } public com.softlayer.api.service.billing.Invoice.Mask serverAdministrationRefundInvoice() { return withSubMask("serverAdministrationRefundInvoice", com.softlayer.api.service.billing.Invoice.Mask.class); } public com.softlayer.api.service.service.Provider.Mask serviceProvider() { return withSubMask("serviceProvider", com.softlayer.api.service.service.Provider.Mask.class); } public com.softlayer.api.service.ticket.State.Mask state() { return withSubMask("state", com.softlayer.api.service.ticket.State.Mask.class); } public com.softlayer.api.service.ticket.Status.Mask status() { return withSubMask("status", com.softlayer.api.service.ticket.Status.Mask.class); } public com.softlayer.api.service.ticket.Subject.Mask subject() { return withSubMask("subject", com.softlayer.api.service.ticket.Subject.Mask.class); } public com.softlayer.api.service.tag.Reference.Mask tagReferences() { return withSubMask("tagReferences", com.softlayer.api.service.tag.Reference.Mask.class); } public Mask updateRatingFlag() { withLocalProperty("updateRatingFlag"); return this; } public com.softlayer.api.service.ticket.Update.Mask updates() { return withSubMask("updates", com.softlayer.api.service.ticket.Update.Mask.class); } public Mask accountId() { withLocalProperty("accountId"); return this; } public Mask assignedUserId() { withLocalProperty("assignedUserId"); return this; } public Mask billableFlag() { withLocalProperty("billableFlag"); return this; } public Mask changeOwnerFlag() { withLocalProperty("changeOwnerFlag"); return this; } public Mask createDate() { withLocalProperty("createDate"); return this; } public Mask euSupportedLocationId() { withLocalProperty("euSupportedLocationId"); return this; } public Mask finalComments() { withLocalProperty("finalComments"); return this; } public Mask groupId() { withLocalProperty("groupId"); return this; } public Mask id() { withLocalProperty("id"); return this; } public Mask lastEditDate() { withLocalProperty("lastEditDate"); return this; } public Mask lastEditType() { withLocalProperty("lastEditType"); return this; } public Mask lastResponseDate() { withLocalProperty("lastResponseDate"); return this; } public Mask locationId() { withLocalProperty("locationId"); return this; } public Mask modifyDate() { withLocalProperty("modifyDate"); return this; } public Mask notifyUserOnUpdateFlag() { withLocalProperty("notifyUserOnUpdateFlag"); return this; } public Mask originatingIpAddress() { withLocalProperty("originatingIpAddress"); return this; } public Mask priority() { withLocalProperty("priority"); return this; } public Mask responsibleBrandId() { withLocalProperty("responsibleBrandId"); return this; } public Mask serverAdministrationBillingAmount() { withLocalProperty("serverAdministrationBillingAmount"); return this; } public Mask serverAdministrationBillingInvoiceId() { withLocalProperty("serverAdministrationBillingInvoiceId"); return this; } public Mask serverAdministrationFlag() { withLocalProperty("serverAdministrationFlag"); return this; } public Mask serverAdministrationRefundInvoiceId() { withLocalProperty("serverAdministrationRefundInvoiceId"); return this; } public Mask serviceProviderId() { withLocalProperty("serviceProviderId"); return this; } public Mask serviceProviderResourceId() { withLocalProperty("serviceProviderResourceId"); return this; } public Mask statusId() { withLocalProperty("statusId"); return this; } public Mask subjectId() { withLocalProperty("subjectId"); return this; } public Mask title() { withLocalProperty("title"); return this; } public Mask totalUpdateCount() { withLocalProperty("totalUpdateCount"); return this; } public Mask userEditableFlag() { withLocalProperty("userEditableFlag"); return this; } public Mask assignedAgentCount() { withLocalProperty("assignedAgentCount"); return this; } public Mask attachedAdditionalEmailCount() { withLocalProperty("attachedAdditionalEmailCount"); return this; } public Mask attachedDedicatedHostCount() { withLocalProperty("attachedDedicatedHostCount"); return this; } public Mask attachedFileCount() { withLocalProperty("attachedFileCount"); return this; } public Mask attachedResourceCount() { withLocalProperty("attachedResourceCount"); return this; } public Mask attachedVirtualGuestCount() { withLocalProperty("attachedVirtualGuestCount"); return this; } public Mask employeeAttachmentCount() { withLocalProperty("employeeAttachmentCount"); return this; } public Mask invoiceItemCount() { withLocalProperty("invoiceItemCount"); return this; } public Mask scheduledActionCount() { withLocalProperty("scheduledActionCount"); return this; } public Mask stateCount() { withLocalProperty("stateCount"); return this; } public Mask tagReferenceCount() { withLocalProperty("tagReferenceCount"); return this; } public Mask updateCount() { withLocalProperty("updateCount"); return this; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy