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

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

The newest version!
package org.zendesk.client.v2.model.events;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/**
 * @author stephenc
 * @since 05/04/2013 11:57
 */
public class FacebookEvent extends Event {

  private static final long serialVersionUID = 1L;

  private Map page;
  private Long communication;
  private String ticketVia;
  private String body;

  public Long getCommunication() {
    return communication;
  }

  public void setCommunication(Long communication) {
    this.communication = communication;
  }

  public Map getPage() {
    return page;
  }

  public void setPage(Map page) {
    this.page = page;
  }

  @JsonProperty("ticket_via")
  public String getTicketVia() {
    return ticketVia;
  }

  public void setTicketVia(String ticketVia) {
    this.ticketVia = ticketVia;
  }

  public String getBody() {
    return body;
  }

  public void setBody(String body) {
    this.body = body;
  }

  @Override
  public String toString() {
    return "FacebookEvent"
        + "{body='"
        + body
        + '\''
        + ", page="
        + page
        + ", communication="
        + communication
        + ", ticketVia='"
        + ticketVia
        + '\''
        + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy