org.zendesk.client.v2.model.events.TweetEvent 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.events;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* @author stephenc
* @since 05/04/2013 11:57
*/
public class TweetEvent extends Event {
private static final long serialVersionUID = 1L;
private Boolean directMessage;
private String body;
private List recipients;
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
@JsonProperty("direct_message")
public Boolean getDirectMessage() {
return directMessage;
}
public void setDirectMessage(Boolean directMessage) {
this.directMessage = directMessage;
}
public List getRecipients() {
return recipients;
}
public void setRecipients(List recipients) {
this.recipients = recipients;
}
@Override
public String toString() {
return "TweetEvent"
+ "{body='"
+ body
+ '\''
+ ", directMessage="
+ directMessage
+ ", recipients="
+ recipients
+ '}';
}
}