com.tinypass.client.id.model.CustomFieldDefinitionDto Maven / Gradle / Ivy
package com.tinypass.client.id.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.id.model.CustomFieldAttributeDto;
import com.tinypass.client.id.model.Tooltip;
import com.tinypass.client.id.model.Validator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class CustomFieldDefinitionDto {
private String fieldName = null;
private String title = null;
private String comment = null;
private Boolean editable = null;
private String dataType = null;
//public enum dataTypeEnum { TEXT, ISO_DATE, BOOLEAN, NUMBER, SINGLE_SELECT_LIST, MULTI_SELECT_LIST, PHONE_NUMBER, };
private List validators = new ArrayList();
private List options = new ArrayList();
private List favouriteOptions = new ArrayList();
private Long optionsLink = null;
private String setName = null;
private Boolean requiredByDefault = null;
private Long valuesCount = null;
private Boolean archived = null;
private Long defaultSortOrder = null;
private CustomFieldAttributeDto attribute = null;
private Tooltip tooltip = null;
private Long parent = null;
private Boolean hidden = null;
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public Boolean getEditable() {
return editable;
}
public void setEditable(Boolean editable) {
this.editable = editable;
}
public String getDataType() {
return dataType;
}
public void setDataType(String dataType) {
this.dataType = dataType;
}
public List getValidators() {
return validators;
}
public void setValidators(List validators) {
this.validators = validators;
}
public List getOptions() {
return options;
}
public void setOptions(List options) {
this.options = options;
}
public List getFavouriteOptions() {
return favouriteOptions;
}
public void setFavouriteOptions(List favouriteOptions) {
this.favouriteOptions = favouriteOptions;
}
public Long getOptionsLink() {
return optionsLink;
}
public void setOptionsLink(Long optionsLink) {
this.optionsLink = optionsLink;
}
public String getSetName() {
return setName;
}
public void setSetName(String setName) {
this.setName = setName;
}
public Boolean getRequiredByDefault() {
return requiredByDefault;
}
public void setRequiredByDefault(Boolean requiredByDefault) {
this.requiredByDefault = requiredByDefault;
}
public Long getValuesCount() {
return valuesCount;
}
public void setValuesCount(Long valuesCount) {
this.valuesCount = valuesCount;
}
public Boolean getArchived() {
return archived;
}
public void setArchived(Boolean archived) {
this.archived = archived;
}
public Long getDefaultSortOrder() {
return defaultSortOrder;
}
public void setDefaultSortOrder(Long defaultSortOrder) {
this.defaultSortOrder = defaultSortOrder;
}
public CustomFieldAttributeDto getAttribute() {
return attribute;
}
public void setAttribute(CustomFieldAttributeDto attribute) {
this.attribute = attribute;
}
public Tooltip getTooltip() {
return tooltip;
}
public void setTooltip(Tooltip tooltip) {
this.tooltip = tooltip;
}
public Long getParent() {
return parent;
}
public void setParent(Long parent) {
this.parent = parent;
}
public Boolean getHidden() {
return hidden;
}
public void setHidden(Boolean hidden) {
this.hidden = hidden;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CustomFieldDefinitionDto {\n");
sb.append(" fieldName: ").append(fieldName).append("\n");
sb.append(" title: ").append(title).append("\n");
sb.append(" comment: ").append(comment).append("\n");
sb.append(" editable: ").append(editable).append("\n");
sb.append(" dataType: ").append(dataType).append("\n");
sb.append(" validators: ").append(validators).append("\n");
sb.append(" options: ").append(options).append("\n");
sb.append(" favouriteOptions: ").append(favouriteOptions).append("\n");
sb.append(" optionsLink: ").append(optionsLink).append("\n");
sb.append(" setName: ").append(setName).append("\n");
sb.append(" requiredByDefault: ").append(requiredByDefault).append("\n");
sb.append(" valuesCount: ").append(valuesCount).append("\n");
sb.append(" archived: ").append(archived).append("\n");
sb.append(" defaultSortOrder: ").append(defaultSortOrder).append("\n");
sb.append(" attribute: ").append(attribute).append("\n");
sb.append(" tooltip: ").append(tooltip).append("\n");
sb.append(" parent: ").append(parent).append("\n");
sb.append(" hidden: ").append(hidden).append("\n");
sb.append("}\n");
return sb.toString();
}
}