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

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

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

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * An attachment was redacted, or permanently deleted, from a ticket comment
 *
 * @author matthewtckr
 * @see Zendesk
 *     API Documentation
 */
public class AttachmentRedactionEvent extends Event {

  private static final long serialVersionUID = 1L;

  private Long attachmentId;
  private Long commentId;

  @JsonProperty("attachment_id")
  public Long getAttachmentId() {
    return attachmentId;
  }

  public void setAttachmentId(Long attachmentId) {
    this.attachmentId = attachmentId;
  }

  @JsonProperty("comment_id")
  public Long getCommentId() {
    return commentId;
  }

  public void setCommentId(Long commentId) {
    this.commentId = commentId;
  }

  @Override
  public String toString() {
    return "AttachmentRedactionEvent"
        + "{attachmentId="
        + attachmentId
        + ", commentId="
        + commentId
        + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy