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

org.zendesk.client.v2.model.targets.EmailTarget Maven / Gradle / Ivy

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

/**
 * @author adavidson
 */
public class EmailTarget extends Target {
  private String email;
  private String subject;

  @Override
  public String getType() {
    return "email_target";
  }

  @Override
  public String toString() {
    return "UrlTarget"
        + "{id="
        + getId()
        + ", title="
        + getTitle()
        + ", type="
        + getType()
        + ", active="
        + isActive()
        + ", createdAt="
        + getCreatedAt()
        + ", email="
        + email
        + ", subject="
        + subject
        + '}';
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getSubject() {
    return subject;
  }

  public void setSubject(String subject) {
    this.subject = subject;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy