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

com.tinypass.client.publisher.model.ExternalAPIField Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
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;

public class ExternalAPIField {

  /* The name of the field to be used to submit to the external system */
  private String fieldName = null;
  

  /* The title of the field to be displayed to the user */
  private String fieldTitle = null;
  

  /* The field description, some information about what information should be entered */
  private String description = null;
  

  /* Whether the field is required */
  private Boolean mandatory = null;
  

  /* Whether the field will be submitted hiddenly from the user, default value is required */
  private Boolean hidden = null;
  

  /* Default value for the field. It will be pre-entered on the form */
  private String defaultValue = null;
  

  /* Field order in the list */
  private Integer order = null;
  

  /* Field type */
  private String type = null;
    //public enum typeEnum {  INPUT,  COUNTRY_SELECTOR,  STATE_AUTOCOMPLETE,  };


  /* Whether the object is editable */
  private String editable = null;
  


  public String getFieldName() {
    return fieldName;
  }
  public void setFieldName(String fieldName) {
    this.fieldName = fieldName;
  }


  public String getFieldTitle() {
    return fieldTitle;
  }
  public void setFieldTitle(String fieldTitle) {
    this.fieldTitle = fieldTitle;
  }


  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }


  public Boolean getMandatory() {
    return mandatory;
  }
  public void setMandatory(Boolean mandatory) {
    this.mandatory = mandatory;
  }


  public Boolean getHidden() {
    return hidden;
  }
  public void setHidden(Boolean hidden) {
    this.hidden = hidden;
  }


  public String getDefaultValue() {
    return defaultValue;
  }
  public void setDefaultValue(String defaultValue) {
    this.defaultValue = defaultValue;
  }


  public Integer getOrder() {
    return order;
  }
  public void setOrder(Integer order) {
    this.order = order;
  }


  public String getType() {
    return type;
  }
  public void setType(String type) {
    this.type = type;
  }


  public String getEditable() {
    return editable;
  }
  public void setEditable(String editable) {
    this.editable = editable;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class ExternalAPIField {\n");
    sb.append("  fieldName: ").append(fieldName).append("\n");
    sb.append("  fieldTitle: ").append(fieldTitle).append("\n");
    sb.append("  description: ").append(description).append("\n");
    sb.append("  mandatory: ").append(mandatory).append("\n");
    sb.append("  hidden: ").append(hidden).append("\n");
    sb.append("  defaultValue: ").append(defaultValue).append("\n");
    sb.append("  order: ").append(order).append("\n");
    sb.append("  type: ").append(type).append("\n");
    sb.append("  editable: ").append(editable).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy