public class Ticket extends Request implements SearchResultEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
Ticket.Requester |
comment, createdAt, customFields, customStatusId, description, id, organizationId, priority, requester, requesterId, solved, status, subject, type, updatedAt, url, via, viaFollowupSourceId| Constructor and Description |
|---|
Ticket() |
Ticket(long requesterId,
String subject,
Comment comment) |
Ticket(Ticket.Requester requester,
String subject,
Comment comment) |
getComment, getCreatedAt, getCustomFields, getCustomStatusId, getDescription, getId, getOrganizationId, getPriority, getRequesterId, getSolved, getStatus, getSubject, getType, getUpdatedAt, getUrl, getVia, getViaFollowupSourceId, setComment, setCreatedAt, setCustomFields, setCustomStatusId, setDescription, setId, setOrganizationId, setPriority, setRequesterId, setSolved, setStatus, setSubject, setType, setUpdatedAt, setUrl, setVia, setViaFollowupSourceIdpublic Ticket()
public Ticket(Ticket.Requester requester, String subject, Comment comment)
public Long getAssigneeId()
public void setAssigneeId(Long assigneeId)
public void setCollaborators(List<Collaborator> collaborators)
public Date getDueAt()
public void setDueAt(Date dueAt)
public String getExternalId()
public void setExternalId(String externalId)
public Long getForumTopicId()
public void setForumTopicId(Long forumTopicId)
public Long getGroupId()
public void setGroupId(Long groupId)
public boolean isHasIncidents()
public void setHasIncidents(boolean hasIncidents)
public Long getProblemId()
public void setProblemId(Long problemId)
public String getRecipient()
public void setRecipient(String recipient)
public Long getBrandId()
public void setBrandId(Long brandId)
public Ticket.Requester getRequester()
getRequester in class Requestpublic void setRequester(Ticket.Requester requester)
setRequester in class Requestpublic SatisfactionRating getSatisfactionRating()
public void setSatisfactionRating(SatisfactionRating satisfactionRating)
public Long getSubmitterId()
public void setSubmitterId(Long submitterId)
public Long getTicketFormId()
public void setTicketFormId(Long ticketFormId)
public Boolean getIsPublic()
public void setIsPublic(Boolean isPublic)
public Boolean getSafeUpdate()
These properties are annotated with JsonInclude(Include.NON_DEFAULT) so that they will only be serialized to JSON if safeUpdate is set to TRUE.
For more information see Zendesk documentation at: https://developer.zendesk.com/documentation/ticketing/managing-tickets/creating-and-updating-tickets/#protecting-against-ticket-update-collisions
public void setSafeUpdate(Boolean safeUpdate)
Copyright © 2013–2024. All rights reserved.