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

org.zendesk.client.v2.model.events.TweetEvent Maven / Gradle / Ivy

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
        + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy