org.zendesk.client.v2.model.JiraLink Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zendesk-java-client Show documentation
Show all versions of zendesk-java-client Show documentation
Java client for the Zendesk API
The newest version!
package org.zendesk.client.v2.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Date;
@JsonIgnoreProperties(ignoreUnknown = true)
public class JiraLink implements SearchResultEntity, Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private Date createdAt;
private Date updatedAt;
private String issueId;
private String issueKey;
private Long ticketId;
private String url;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
@JsonProperty("created_at")
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
@JsonProperty("updated_at")
public Date getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}
@JsonProperty("issue_id")
public String getIssueId() {
return issueId;
}
public void setIssueId(String issueId) {
this.issueId = issueId;
}
@JsonProperty("issue_key")
public String getIssueKey() {
return issueKey;
}
public void setIssueKey(String issueKey) {
this.issueKey = issueKey;
}
@JsonProperty("ticket_id")
public Long getTicketId() {
return ticketId;
}
public void setTicketId(Long ticketId) {
this.ticketId = ticketId;
}
@JsonProperty("url")
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
@Override
public String toString() {
return "JiraLink{"
+ "id="
+ id
+ ", createdAt="
+ createdAt
+ ", updatedAt="
+ updatedAt
+ ", issueId='"
+ issueId
+ '\''
+ ", issueKey='"
+ issueKey
+ '\''
+ ", ticketId="
+ ticketId
+ ", url='"
+ url
+ '\''
+ '}';
}
}