com.tinypass.client.publisher.model.ConsentBoxEntry 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 ConsentBoxEntry {
/* The name of the consent box field */
private String fieldName = null;
/* The displayed text of the consent box */
private String displayText = null;
/* Whether the user checked the consent box */
private Boolean entry = null;
/* The date when the entry was created */
private Integer createDate = null;
/* The consent box type (\"registration\" or \"checkout\") */
private String type = null;
//public enum typeEnum { registration, checkout, };
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public String getDisplayText() {
return displayText;
}
public void setDisplayText(String displayText) {
this.displayText = displayText;
}
public Boolean getEntry() {
return entry;
}
public void setEntry(Boolean entry) {
this.entry = entry;
}
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;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConsentBoxEntry {\n");
sb.append(" fieldName: ").append(fieldName).append("\n");
sb.append(" displayText: ").append(displayText).append("\n");
sb.append(" entry: ").append(entry).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append("}\n");
return sb.toString();
}
}