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

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

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

import com.fasterxml.jackson.annotation.JsonProperty;

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

  private static final long serialVersionUID = 1L;

  private String body;
  private String phoneNumber;
  private Long recipientId;

  public String getBody() {
    return body;
  }

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

  @JsonProperty("phone_number")
  public String getPhoneNumber() {
    return phoneNumber;
  }

  public void setPhoneNumber(String phoneNumber) {
    this.phoneNumber = phoneNumber;
  }

  @JsonProperty("recipient_id")
  public Long getRecipientId() {
    return recipientId;
  }

  public void setRecipientId(Long recipientId) {
    this.recipientId = recipientId;
  }

  @Override
  public String toString() {
    return "SMSEvent"
        + "{body='"
        + body
        + '\''
        + ", phoneNumber='"
        + phoneNumber
        + '\''
        + ", recipientId="
        + recipientId
        + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy