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

com.tinypass.client.publisher.model.ExternalAPIConfiguration 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 com.tinypass.client.publisher.model.App;
import com.tinypass.client.publisher.model.ExternalAPIField;
import com.tinypass.client.publisher.model.ExternalAPIProviderProperty;
import com.tinypass.client.publisher.model.Term;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

public class ExternalAPIConfiguration {

  /* The ID of the external API configuration */
  private String externalApiId = null;
  

  /* The name */
  private String name = null;
  

  /* The application ref */
  private App app = null;
  

    private List formFields = new ArrayList();
  

    private List properties = new ArrayList();
  

  /* The name of the external API provider */
  private String provider = null;
  

  /* The description of the external API configuration */
  private String description = null;
  

    private List terms = new ArrayList();
  

  /* Enforce uniqueness */
  private Boolean enforceUniqueness = null;
  

  /* Whether the external API has rights to update firlds */
  private Boolean canUpdateFields = null;
  

  /* The external API force grace period */
  private Integer forceGracePeriod = null;
  

  /* The ID of the external API source */
  private Integer externalApiSourceId = null;
  

  /* The default verification period of the external API */
  private Integer defaultVerificationPeriod = null;
  


  public String getExternalApiId() {
    return externalApiId;
  }
  public void setExternalApiId(String externalApiId) {
    this.externalApiId = externalApiId;
  }


  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }


  public App getApp() {
    return app;
  }
  public void setApp(App app) {
    this.app = app;
  }


  public List getFormFields() {
    return formFields;
  }
  public void setFormFields(List formFields) {
    this.formFields = formFields;
  }


  public List getProperties() {
    return properties;
  }
  public void setProperties(List properties) {
    this.properties = properties;
  }


  public String getProvider() {
    return provider;
  }
  public void setProvider(String provider) {
    this.provider = provider;
  }


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


  public List getTerms() {
    return terms;
  }
  public void setTerms(List terms) {
    this.terms = terms;
  }


  public Boolean getEnforceUniqueness() {
    return enforceUniqueness;
  }
  public void setEnforceUniqueness(Boolean enforceUniqueness) {
    this.enforceUniqueness = enforceUniqueness;
  }


  public Boolean getCanUpdateFields() {
    return canUpdateFields;
  }
  public void setCanUpdateFields(Boolean canUpdateFields) {
    this.canUpdateFields = canUpdateFields;
  }


  public Integer getForceGracePeriod() {
    return forceGracePeriod;
  }
  public void setForceGracePeriod(Integer forceGracePeriod) {
    this.forceGracePeriod = forceGracePeriod;
  }


  public Integer getExternalApiSourceId() {
    return externalApiSourceId;
  }
  public void setExternalApiSourceId(Integer externalApiSourceId) {
    this.externalApiSourceId = externalApiSourceId;
  }


  public Integer getDefaultVerificationPeriod() {
    return defaultVerificationPeriod;
  }
  public void setDefaultVerificationPeriod(Integer defaultVerificationPeriod) {
    this.defaultVerificationPeriod = defaultVerificationPeriod;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class ExternalAPIConfiguration {\n");
    sb.append("  externalApiId: ").append(externalApiId).append("\n");
    sb.append("  name: ").append(name).append("\n");
    sb.append("  app: ").append(app).append("\n");
    sb.append("  formFields: ").append(formFields).append("\n");
    sb.append("  properties: ").append(properties).append("\n");
    sb.append("  provider: ").append(provider).append("\n");
    sb.append("  description: ").append(description).append("\n");
    sb.append("  terms: ").append(terms).append("\n");
    sb.append("  enforceUniqueness: ").append(enforceUniqueness).append("\n");
    sb.append("  canUpdateFields: ").append(canUpdateFields).append("\n");
    sb.append("  forceGracePeriod: ").append(forceGracePeriod).append("\n");
    sb.append("  externalApiSourceId: ").append(externalApiSourceId).append("\n");
    sb.append("  defaultVerificationPeriod: ").append(defaultVerificationPeriod).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy