com.tinypass.client.publisher.model.Notification Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
public class Notification {
/* text */
private String text = null;
/* The creation date */
private Integer createDate = null;
/* The type */
private String type = null;
/* referenced object type */
private String objectType = null;
/* referenced object id */
private String objectId = null;
/* initiator */
private String initiator = null;
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public Integer getCreateDate() {
return createDate;
}
public void setCreateDate(Integer createDate) {
this.createDate = createDate;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getObjectType() {
return objectType;
}
public void setObjectType(String objectType) {
this.objectType = objectType;
}
public String getObjectId() {
return objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public String getInitiator() {
return initiator;
}
public void setInitiator(String initiator) {
this.initiator = initiator;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Notification {\n");
sb.append(" text: ").append(text).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" objectType: ").append(objectType).append("\n");
sb.append(" objectId: ").append(objectId).append("\n");
sb.append(" initiator: ").append(initiator).append("\n");
sb.append("}\n");
return sb.toString();
}
}