com.tinypass.client.publisher.model.ExtProviderDTO 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 com.tinypass.client.publisher.model.ExternalAPIField;
import com.tinypass.client.publisher.model.ExternalAPIPropertySchema;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class ExtProviderDTO {
/* The name */
private String name = null;
private List properties = new ArrayList();
private List formFields = new ArrayList();
/* Whether the provider can enable enforce uniqueness */
private Boolean canEnforceUniqueness = null;
/* The default value for enforcing uniqueness if the publisher can't enforce it */
private Boolean enforceUniquenessByDefault = null;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List getProperties() {
return properties;
}
public void setProperties(List properties) {
this.properties = properties;
}
public List getFormFields() {
return formFields;
}
public void setFormFields(List formFields) {
this.formFields = formFields;
}
public Boolean getCanEnforceUniqueness() {
return canEnforceUniqueness;
}
public void setCanEnforceUniqueness(Boolean canEnforceUniqueness) {
this.canEnforceUniqueness = canEnforceUniqueness;
}
public Boolean getEnforceUniquenessByDefault() {
return enforceUniquenessByDefault;
}
public void setEnforceUniquenessByDefault(Boolean enforceUniquenessByDefault) {
this.enforceUniquenessByDefault = enforceUniquenessByDefault;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ExtProviderDTO {\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" properties: ").append(properties).append("\n");
sb.append(" formFields: ").append(formFields).append("\n");
sb.append(" canEnforceUniqueness: ").append(canEnforceUniqueness).append("\n");
sb.append(" enforceUniquenessByDefault: ").append(enforceUniquenessByDefault).append("\n");
sb.append("}\n");
return sb.toString();
}
}