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

org.computate.vertx.openapi.Swagger2GeneratorGen Maven / Gradle / Ivy

/*
 * Copyright (c) 2018-2022 Computate Limited Liability Company in Utah, USA. 
 *
 * This program and the accompanying materials are made available under the
 * terms of the GNU GENERAL PUBLIC LICENSE Version 3 which is available at
 * 
 * https://www.gnu.org/licenses/gpl-3.0.en.html
 * 
 * You may not propagate or modify a covered work except as expressly provided 
 * under this License. Any attempt otherwise to propagate or modify it is void, 
 * and will automatically terminate your rights under this License (including 
 * any patent licenses granted under the third paragraph of section 11).
 */
package org.computate.vertx.openapi;

import org.computate.vertx.request.ComputateSiteRequest;
import org.computate.vertx.api.ApiRequest;
import org.computate.vertx.config.ComputateConfigKeys;
import java.util.Optional;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.computate.search.serialize.ComputateLocalDateSerializer;
import org.computate.search.serialize.ComputateLocalDateDeserializer;
import org.computate.search.serialize.ComputateZonedDateTimeSerializer;
import org.computate.search.serialize.ComputateZonedDateTimeDeserializer;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.math.MathContext;
import org.apache.commons.lang3.math.NumberUtils;
import java.text.NumberFormat;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.HashMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.math.RoundingMode;
import java.util.Map;
import java.lang.Object;
import io.vertx.ext.web.client.WebClient;
import io.vertx.core.json.JsonObject;
import java.lang.String;
import java.lang.Integer;
import java.io.File;
import org.computate.vertx.writer.AllWriter;
import org.computate.search.wrap.Wrap;
import io.vertx.core.Promise;
import io.vertx.core.Future;
import io.vertx.core.json.JsonArray;

/**	
    0

    Suggestions that can generate more code for you:

*
  • You can add a class comment "Api: true" if you wish to GET, POST, PATCH or PUT these Swagger2Generator objects in a RESTful API. *
  • *

    About the Swagger2Generator class and it's generated class Swagger2GeneratorGen<Object>:

    extends Swagger2GeneratorGen *

    * This Java class extends a generated Java class Swagger2GeneratorGen built by the https://github.com/computate-org/computate project. * Whenever this Java class is modified or touched, the watch service installed as described in the README, indexes all the information about this Java class in a local Apache Solr Search Engine. * If you are running the service, you can see the indexed data about this Java Class here: *

    *

    Find the class Swagger2Generator in Solr.

    *

    * The extended class ending with "Gen" did not exist at first, but was automatically created by the same watch service based on the data retrieved from the local Apache Server search engine. * The extended class contains many generated fields, getters, setters, initialization code, and helper methods to help build a website and API fast, reactive, and scalable. *

    * extends Swagger2GeneratorGen *

    This class Swagger2Generator extends Swagger2GeneratorGen<Object>, which means it extends a newly generated Swagger2GeneratorGen. * The generated class Swagger2GeneratorGen extends Object which means that Swagger2Generator extends Swagger2GeneratorGen which extends Object. * This generated inheritance is a powerful feature that allows a lot of boiler plate code to be created for you automatically while still preserving inheritance through the power of Java Generic classes. *

    * Api: true * ApiTag.enUS: true * ApiUri.enUS: null * Color: null * IconGroup: null * IconName: null * Indexed: true * {@inheritDoc} *

    By adding a class comment "{@inheritDoc}", the Swagger2Generator class will inherit the helpful inherited class comments from the super class Swagger2GeneratorGen. *

    * Rows: null * Model: true * Page: true * SuperPage.enUS: null * Promise: true * AName.enUS: null *

    * Delete the class Swagger2Generator in Solr: * curl -k 'https://solr-solr.apps-crc.testing/solr/computate/update?commitWithin=1000&overwrite=true&wt=json' -X POST -H 'Content-type: text/xml' --data-raw '<add><delete><query>classeNomCanonique_enUS_indexed_string:org.computate.vertx.openapi.Swagger2Generator</query></delete></add>' *

    *

    * Delete the package org.computate.vertx.openapi in Solr: * curl -k 'https://solr-solr.apps-crc.testing/solr/computate/update?commitWithin=1000&overwrite=true&wt=json' -X POST -H 'Content-type: text/xml' --data-raw '<add><delete><query>classeNomEnsemble_enUS_indexed_string:org.computate.vertx.openapi</query></delete></add>' *

    *

    * Delete the project computate-vertx in Solr: * curl -k 'https://solr-solr.apps-crc.testing/solr/computate/update?commitWithin=1000&overwrite=true&wt=json' -X POST -H 'Content-type: text/xml' --data-raw '<add><delete><query>siteNom_indexed_string:computate\-vertx</query></delete></add>' *

    **/ public abstract class Swagger2GeneratorGen extends Object { protected static final Logger LOG = LoggerFactory.getLogger(Swagger2Generator.class); public static final String configureConfigComplete1 = "The config was configured successfully. "; public static final String configureConfigComplete = configureConfigComplete1; public static final String configureConfigFail1 = "Could not configure the config(). "; public static final String configureConfigFail = configureConfigFail1; /////////////// // webClient // /////////////// /** The entity webClient * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected WebClient webClient; /**
    The entity webClient * is defined as null before being initialized. *
    Find the entity webClient in Solr *
    * @param w is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _webClient(Wrap w); public WebClient getWebClient() { return webClient; } public void setWebClient(WebClient webClient) { this.webClient = webClient; } public static WebClient staticSetWebClient(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator webClientInit() { Wrap webClientWrap = new Wrap().var("webClient"); if(webClient == null) { _webClient(webClientWrap); Optional.ofNullable(webClientWrap.getO()).ifPresent(o -> { setWebClient(o); }); } return (Swagger2Generator)this; } ////////////////// // siteRequest_ // ////////////////// /** The entity siteRequest_ * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected ComputateSiteRequest siteRequest_; /**
    The entity siteRequest_ * is defined as null before being initialized. *
    Find the entity siteRequest_ in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _siteRequest_(Wrap c); public ComputateSiteRequest getSiteRequest_() { return siteRequest_; } public void setSiteRequest_(ComputateSiteRequest siteRequest_) { this.siteRequest_ = siteRequest_; } public static ComputateSiteRequest staticSetSiteRequest_(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator siteRequest_Init() { Wrap siteRequest_Wrap = new Wrap().var("siteRequest_"); if(siteRequest_ == null) { _siteRequest_(siteRequest_Wrap); Optional.ofNullable(siteRequest_Wrap.getO()).ifPresent(o -> { setSiteRequest_(o); }); } return (Swagger2Generator)this; } //////////// // config // //////////// /** The entity config * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected JsonObject config; /**
    The entity config * is defined as null before being initialized. *
    Find the entity config in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _config(Wrap c); public JsonObject getConfig() { return config; } public void setConfig(JsonObject config) { this.config = config; } @JsonIgnore public void setConfig(String o) { this.config = Swagger2Generator.staticSetConfig(siteRequest_, o); } public static JsonObject staticSetConfig(ComputateSiteRequest siteRequest_, String o) { if(o != null) { return new JsonObject(o); } return null; } protected Swagger2Generator configInit() { Wrap configWrap = new Wrap().var("config"); if(config == null) { _config(configWrap); Optional.ofNullable(configWrap.getO()).ifPresent(o -> { setConfig(o); }); } return (Swagger2Generator)this; } public static String staticSearchConfig(ComputateSiteRequest siteRequest_, JsonObject o) { return o.toString(); } public static String staticSearchStrConfig(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqConfig(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrConfig(siteRequest_, Swagger2Generator.staticSearchConfig(siteRequest_, Swagger2Generator.staticSetConfig(siteRequest_, o))); } ///////////// // appName // ///////////// /** The entity appName * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String appName; /**
    The entity appName * is defined as null before being initialized. *
    Find the entity appName in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _appName(Wrap c); public String getAppName() { return appName; } public void setAppName(String o) { this.appName = Swagger2Generator.staticSetAppName(siteRequest_, o); } public static String staticSetAppName(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator appNameInit() { Wrap appNameWrap = new Wrap().var("appName"); if(appName == null) { _appName(appNameWrap); Optional.ofNullable(appNameWrap.getO()).ifPresent(o -> { setAppName(o); }); } return (Swagger2Generator)this; } public static String staticSearchAppName(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrAppName(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqAppName(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrAppName(siteRequest_, Swagger2Generator.staticSearchAppName(siteRequest_, Swagger2Generator.staticSetAppName(siteRequest_, o))); } ////////////////// // languageName // ////////////////// /** The entity languageName * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String languageName; /**
    The entity languageName * is defined as null before being initialized. *
    Find the entity languageName in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _languageName(Wrap c); public String getLanguageName() { return languageName; } public void setLanguageName(String o) { this.languageName = Swagger2Generator.staticSetLanguageName(siteRequest_, o); } public static String staticSetLanguageName(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator languageNameInit() { Wrap languageNameWrap = new Wrap().var("languageName"); if(languageName == null) { _languageName(languageNameWrap); Optional.ofNullable(languageNameWrap.getO()).ifPresent(o -> { setLanguageName(o); }); } return (Swagger2Generator)this; } public static String staticSearchLanguageName(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrLanguageName(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqLanguageName(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrLanguageName(siteRequest_, Swagger2Generator.staticSearchLanguageName(siteRequest_, Swagger2Generator.staticSetLanguageName(siteRequest_, o))); } ///////////// // appPath // ///////////// /** The entity appPath * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String appPath; /**
    The entity appPath * is defined as null before being initialized. *
    Find the entity appPath in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _appPath(Wrap c); public String getAppPath() { return appPath; } public void setAppPath(String o) { this.appPath = Swagger2Generator.staticSetAppPath(siteRequest_, o); } public static String staticSetAppPath(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator appPathInit() { Wrap appPathWrap = new Wrap().var("appPath"); if(appPath == null) { _appPath(appPathWrap); Optional.ofNullable(appPathWrap.getO()).ifPresent(o -> { setAppPath(o); }); } return (Swagger2Generator)this; } public static String staticSearchAppPath(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrAppPath(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqAppPath(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrAppPath(siteRequest_, Swagger2Generator.staticSearchAppPath(siteRequest_, Swagger2Generator.staticSetAppPath(siteRequest_, o))); } //////////////////// // openApiVersion // //////////////////// /** The entity openApiVersion * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String openApiVersion; /**
    The entity openApiVersion * is defined as null before being initialized. *
    Find the entity openApiVersion in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _openApiVersion(Wrap c); public String getOpenApiVersion() { return openApiVersion; } public void setOpenApiVersion(String o) { this.openApiVersion = Swagger2Generator.staticSetOpenApiVersion(siteRequest_, o); } public static String staticSetOpenApiVersion(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator openApiVersionInit() { Wrap openApiVersionWrap = new Wrap().var("openApiVersion"); if(openApiVersion == null) { _openApiVersion(openApiVersionWrap); Optional.ofNullable(openApiVersionWrap.getO()).ifPresent(o -> { setOpenApiVersion(o); }); } return (Swagger2Generator)this; } public static String staticSearchOpenApiVersion(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrOpenApiVersion(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqOpenApiVersion(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrOpenApiVersion(siteRequest_, Swagger2Generator.staticSearchOpenApiVersion(siteRequest_, Swagger2Generator.staticSetOpenApiVersion(siteRequest_, o))); } ////////////////////////// // openApiVersionNumber // ////////////////////////// /** The entity openApiVersionNumber * is defined as null before being initialized. */ @JsonProperty @JsonSerialize(using = ToStringSerializer.class) @JsonInclude(Include.NON_NULL) protected Integer openApiVersionNumber; /**
    The entity openApiVersionNumber * is defined as null before being initialized. *
    Find the entity openApiVersionNumber in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _openApiVersionNumber(Wrap c); public Integer getOpenApiVersionNumber() { return openApiVersionNumber; } public void setOpenApiVersionNumber(Integer openApiVersionNumber) { this.openApiVersionNumber = openApiVersionNumber; } @JsonIgnore public void setOpenApiVersionNumber(String o) { this.openApiVersionNumber = Swagger2Generator.staticSetOpenApiVersionNumber(siteRequest_, o); } public static Integer staticSetOpenApiVersionNumber(ComputateSiteRequest siteRequest_, String o) { if(NumberUtils.isParsable(o)) return Integer.parseInt(o); return null; } protected Swagger2Generator openApiVersionNumberInit() { Wrap openApiVersionNumberWrap = new Wrap().var("openApiVersionNumber"); if(openApiVersionNumber == null) { _openApiVersionNumber(openApiVersionNumberWrap); Optional.ofNullable(openApiVersionNumberWrap.getO()).ifPresent(o -> { setOpenApiVersionNumber(o); }); } return (Swagger2Generator)this; } public static Integer staticSearchOpenApiVersionNumber(ComputateSiteRequest siteRequest_, Integer o) { return o; } public static String staticSearchStrOpenApiVersionNumber(ComputateSiteRequest siteRequest_, Integer o) { return o == null ? null : o.toString(); } public static String staticSearchFqOpenApiVersionNumber(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrOpenApiVersionNumber(siteRequest_, Swagger2Generator.staticSearchOpenApiVersionNumber(siteRequest_, Swagger2Generator.staticSetOpenApiVersionNumber(siteRequest_, o))); } //////////////// // tabsSchema // //////////////// /** The entity tabsSchema * is defined as null before being initialized. */ @JsonProperty @JsonSerialize(using = ToStringSerializer.class) @JsonInclude(Include.NON_NULL) protected Integer tabsSchema; /**
    The entity tabsSchema * is defined as null before being initialized. *
    Find the entity tabsSchema in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _tabsSchema(Wrap c); public Integer getTabsSchema() { return tabsSchema; } public void setTabsSchema(Integer tabsSchema) { this.tabsSchema = tabsSchema; } @JsonIgnore public void setTabsSchema(String o) { this.tabsSchema = Swagger2Generator.staticSetTabsSchema(siteRequest_, o); } public static Integer staticSetTabsSchema(ComputateSiteRequest siteRequest_, String o) { if(NumberUtils.isParsable(o)) return Integer.parseInt(o); return null; } protected Swagger2Generator tabsSchemaInit() { Wrap tabsSchemaWrap = new Wrap().var("tabsSchema"); if(tabsSchema == null) { _tabsSchema(tabsSchemaWrap); Optional.ofNullable(tabsSchemaWrap.getO()).ifPresent(o -> { setTabsSchema(o); }); } return (Swagger2Generator)this; } public static Integer staticSearchTabsSchema(ComputateSiteRequest siteRequest_, Integer o) { return o; } public static String staticSearchStrTabsSchema(ComputateSiteRequest siteRequest_, Integer o) { return o == null ? null : o.toString(); } public static String staticSearchFqTabsSchema(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrTabsSchema(siteRequest_, Swagger2Generator.staticSearchTabsSchema(siteRequest_, Swagger2Generator.staticSetTabsSchema(siteRequest_, o))); } //////////////// // apiVersion // //////////////// /** The entity apiVersion * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String apiVersion; /**
    The entity apiVersion * is defined as null before being initialized. *
    Find the entity apiVersion in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _apiVersion(Wrap c); public String getApiVersion() { return apiVersion; } public void setApiVersion(String o) { this.apiVersion = Swagger2Generator.staticSetApiVersion(siteRequest_, o); } public static String staticSetApiVersion(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator apiVersionInit() { Wrap apiVersionWrap = new Wrap().var("apiVersion"); if(apiVersion == null) { _apiVersion(apiVersionWrap); Optional.ofNullable(apiVersionWrap.getO()).ifPresent(o -> { setApiVersion(o); }); } return (Swagger2Generator)this; } public static String staticSearchApiVersion(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrApiVersion(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqApiVersion(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrApiVersion(siteRequest_, Swagger2Generator.staticSearchApiVersion(siteRequest_, Swagger2Generator.staticSetApiVersion(siteRequest_, o))); } ///////////////////// // openApiYamlPath // ///////////////////// /** The entity openApiYamlPath * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String openApiYamlPath; /**
    The entity openApiYamlPath * is defined as null before being initialized. *
    Find the entity openApiYamlPath in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _openApiYamlPath(Wrap c); public String getOpenApiYamlPath() { return openApiYamlPath; } public void setOpenApiYamlPath(String o) { this.openApiYamlPath = Swagger2Generator.staticSetOpenApiYamlPath(siteRequest_, o); } public static String staticSetOpenApiYamlPath(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator openApiYamlPathInit() { Wrap openApiYamlPathWrap = new Wrap().var("openApiYamlPath"); if(openApiYamlPath == null) { _openApiYamlPath(openApiYamlPathWrap); Optional.ofNullable(openApiYamlPathWrap.getO()).ifPresent(o -> { setOpenApiYamlPath(o); }); } return (Swagger2Generator)this; } public static String staticSearchOpenApiYamlPath(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrOpenApiYamlPath(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqOpenApiYamlPath(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrOpenApiYamlPath(siteRequest_, Swagger2Generator.staticSearchOpenApiYamlPath(siteRequest_, Swagger2Generator.staticSetOpenApiYamlPath(siteRequest_, o))); } ///////////////////// // openApiYamlFile // ///////////////////// /** The entity openApiYamlFile * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected File openApiYamlFile; /**
    The entity openApiYamlFile * is defined as null before being initialized. *
    Find the entity openApiYamlFile in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _openApiYamlFile(Wrap c); public File getOpenApiYamlFile() { return openApiYamlFile; } public void setOpenApiYamlFile(File openApiYamlFile) { this.openApiYamlFile = openApiYamlFile; } public static File staticSetOpenApiYamlFile(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator openApiYamlFileInit() { Wrap openApiYamlFileWrap = new Wrap().var("openApiYamlFile"); if(openApiYamlFile == null) { _openApiYamlFile(openApiYamlFileWrap); Optional.ofNullable(openApiYamlFileWrap.getO()).ifPresent(o -> { setOpenApiYamlFile(o); }); } return (Swagger2Generator)this; } /////////////////// // sqlCreatePath // /////////////////// /** The entity sqlCreatePath * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String sqlCreatePath; /**
    The entity sqlCreatePath * is defined as null before being initialized. *
    Find the entity sqlCreatePath in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _sqlCreatePath(Wrap c); public String getSqlCreatePath() { return sqlCreatePath; } public void setSqlCreatePath(String o) { this.sqlCreatePath = Swagger2Generator.staticSetSqlCreatePath(siteRequest_, o); } public static String staticSetSqlCreatePath(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator sqlCreatePathInit() { Wrap sqlCreatePathWrap = new Wrap().var("sqlCreatePath"); if(sqlCreatePath == null) { _sqlCreatePath(sqlCreatePathWrap); Optional.ofNullable(sqlCreatePathWrap.getO()).ifPresent(o -> { setSqlCreatePath(o); }); } return (Swagger2Generator)this; } public static String staticSearchSqlCreatePath(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrSqlCreatePath(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqSqlCreatePath(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrSqlCreatePath(siteRequest_, Swagger2Generator.staticSearchSqlCreatePath(siteRequest_, Swagger2Generator.staticSetSqlCreatePath(siteRequest_, o))); } /////////////////// // sqlCreateFile // /////////////////// /** The entity sqlCreateFile * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected File sqlCreateFile; /**
    The entity sqlCreateFile * is defined as null before being initialized. *
    Find the entity sqlCreateFile in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _sqlCreateFile(Wrap c); public File getSqlCreateFile() { return sqlCreateFile; } public void setSqlCreateFile(File sqlCreateFile) { this.sqlCreateFile = sqlCreateFile; } public static File staticSetSqlCreateFile(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator sqlCreateFileInit() { Wrap sqlCreateFileWrap = new Wrap().var("sqlCreateFile"); if(sqlCreateFile == null) { _sqlCreateFile(sqlCreateFileWrap); Optional.ofNullable(sqlCreateFileWrap.getO()).ifPresent(o -> { setSqlCreateFile(o); }); } return (Swagger2Generator)this; } ///////////////// // sqlDropPath // ///////////////// /** The entity sqlDropPath * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String sqlDropPath; /**
    The entity sqlDropPath * is defined as null before being initialized. *
    Find the entity sqlDropPath in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _sqlDropPath(Wrap c); public String getSqlDropPath() { return sqlDropPath; } public void setSqlDropPath(String o) { this.sqlDropPath = Swagger2Generator.staticSetSqlDropPath(siteRequest_, o); } public static String staticSetSqlDropPath(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator sqlDropPathInit() { Wrap sqlDropPathWrap = new Wrap().var("sqlDropPath"); if(sqlDropPath == null) { _sqlDropPath(sqlDropPathWrap); Optional.ofNullable(sqlDropPathWrap.getO()).ifPresent(o -> { setSqlDropPath(o); }); } return (Swagger2Generator)this; } public static String staticSearchSqlDropPath(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrSqlDropPath(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqSqlDropPath(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrSqlDropPath(siteRequest_, Swagger2Generator.staticSearchSqlDropPath(siteRequest_, Swagger2Generator.staticSetSqlDropPath(siteRequest_, o))); } ///////////////// // sqlDropFile // ///////////////// /** The entity sqlDropFile * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected File sqlDropFile; /**
    The entity sqlDropFile * is defined as null before being initialized. *
    Find the entity sqlDropFile in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _sqlDropFile(Wrap c); public File getSqlDropFile() { return sqlDropFile; } public void setSqlDropFile(File sqlDropFile) { this.sqlDropFile = sqlDropFile; } public static File staticSetSqlDropFile(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator sqlDropFileInit() { Wrap sqlDropFileWrap = new Wrap().var("sqlDropFile"); if(sqlDropFile == null) { _sqlDropFile(sqlDropFileWrap); Optional.ofNullable(sqlDropFileWrap.getO()).ifPresent(o -> { setSqlDropFile(o); }); } return (Swagger2Generator)this; } ///////////////////// // articleYamlPath // ///////////////////// /** The entity articleYamlPath * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected String articleYamlPath; /**
    The entity articleYamlPath * is defined as null before being initialized. *
    Find the entity articleYamlPath in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _articleYamlPath(Wrap c); public String getArticleYamlPath() { return articleYamlPath; } public void setArticleYamlPath(String o) { this.articleYamlPath = Swagger2Generator.staticSetArticleYamlPath(siteRequest_, o); } public static String staticSetArticleYamlPath(ComputateSiteRequest siteRequest_, String o) { return o; } protected Swagger2Generator articleYamlPathInit() { Wrap articleYamlPathWrap = new Wrap().var("articleYamlPath"); if(articleYamlPath == null) { _articleYamlPath(articleYamlPathWrap); Optional.ofNullable(articleYamlPathWrap.getO()).ifPresent(o -> { setArticleYamlPath(o); }); } return (Swagger2Generator)this; } public static String staticSearchArticleYamlPath(ComputateSiteRequest siteRequest_, String o) { return o; } public static String staticSearchStrArticleYamlPath(ComputateSiteRequest siteRequest_, String o) { return o == null ? null : o.toString(); } public static String staticSearchFqArticleYamlPath(ComputateSiteRequest siteRequest_, String o) { return Swagger2Generator.staticSearchStrArticleYamlPath(siteRequest_, Swagger2Generator.staticSearchArticleYamlPath(siteRequest_, Swagger2Generator.staticSetArticleYamlPath(siteRequest_, o))); } ///////////////////// // articleYamlFile // ///////////////////// /** The entity articleYamlFile * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected File articleYamlFile; /**
    The entity articleYamlFile * is defined as null before being initialized. *
    Find the entity articleYamlFile in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _articleYamlFile(Wrap c); public File getArticleYamlFile() { return articleYamlFile; } public void setArticleYamlFile(File articleYamlFile) { this.articleYamlFile = articleYamlFile; } public static File staticSetArticleYamlFile(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator articleYamlFileInit() { Wrap articleYamlFileWrap = new Wrap().var("articleYamlFile"); if(articleYamlFile == null) { _articleYamlFile(articleYamlFileWrap); Optional.ofNullable(articleYamlFileWrap.getO()).ifPresent(o -> { setArticleYamlFile(o); }); } return (Swagger2Generator)this; } /////// // w // /////// /** The entity w * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected AllWriter w; /**
    The entity w * is defined as null before being initialized. *
    Find the entity w in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _w(Wrap c); public AllWriter getW() { return w; } public void setW(AllWriter w) { this.w = w; } public static AllWriter staticSetW(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator wInit() { Wrap wWrap = new Wrap().var("w"); if(w == null) { _w(wWrap); Optional.ofNullable(wWrap.getO()).ifPresent(o -> { setW(o); }); } if(w != null) w.initDeepForClass(siteRequest_); return (Swagger2Generator)this; } //////////////// // wSqlCreate // //////////////// /** The entity wSqlCreate * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected AllWriter wSqlCreate; /**
    The entity wSqlCreate * is defined as null before being initialized. *
    Find the entity wSqlCreate in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _wSqlCreate(Wrap c); public AllWriter getWSqlCreate() { return wSqlCreate; } public void setWSqlCreate(AllWriter wSqlCreate) { this.wSqlCreate = wSqlCreate; } public static AllWriter staticSetWSqlCreate(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator wSqlCreateInit() { Wrap wSqlCreateWrap = new Wrap().var("wSqlCreate"); if(wSqlCreate == null) { _wSqlCreate(wSqlCreateWrap); Optional.ofNullable(wSqlCreateWrap.getO()).ifPresent(o -> { setWSqlCreate(o); }); } if(wSqlCreate != null) wSqlCreate.initDeepForClass(siteRequest_); return (Swagger2Generator)this; } ////////////// // wSqlDrop // ////////////// /** The entity wSqlDrop * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected AllWriter wSqlDrop; /**
    The entity wSqlDrop * is defined as null before being initialized. *
    Find the entity wSqlDrop in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _wSqlDrop(Wrap c); public AllWriter getWSqlDrop() { return wSqlDrop; } public void setWSqlDrop(AllWriter wSqlDrop) { this.wSqlDrop = wSqlDrop; } public static AllWriter staticSetWSqlDrop(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator wSqlDropInit() { Wrap wSqlDropWrap = new Wrap().var("wSqlDrop"); if(wSqlDrop == null) { _wSqlDrop(wSqlDropWrap); Optional.ofNullable(wSqlDropWrap.getO()).ifPresent(o -> { setWSqlDrop(o); }); } if(wSqlDrop != null) wSqlDrop.initDeepForClass(siteRequest_); return (Swagger2Generator)this; } ////////////// // wArticle // ////////////// /** The entity wArticle * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected AllWriter wArticle; /**
    The entity wArticle * is defined as null before being initialized. *
    Find the entity wArticle in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _wArticle(Wrap c); public AllWriter getWArticle() { return wArticle; } public void setWArticle(AllWriter wArticle) { this.wArticle = wArticle; } public static AllWriter staticSetWArticle(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator wArticleInit() { Wrap wArticleWrap = new Wrap().var("wArticle"); if(wArticle == null) { _wArticle(wArticleWrap); Optional.ofNullable(wArticleWrap.getO()).ifPresent(o -> { setWArticle(o); }); } if(wArticle != null) wArticle.initDeepForClass(siteRequest_); return (Swagger2Generator)this; } //////////// // wPaths // //////////// /** The entity wPaths * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected AllWriter wPaths; /**
    The entity wPaths * is defined as null before being initialized. *
    Find the entity wPaths in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _wPaths(Wrap c); public AllWriter getWPaths() { return wPaths; } public void setWPaths(AllWriter wPaths) { this.wPaths = wPaths; } public static AllWriter staticSetWPaths(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator wPathsInit() { Wrap wPathsWrap = new Wrap().var("wPaths"); if(wPaths == null) { _wPaths(wPathsWrap); Optional.ofNullable(wPathsWrap.getO()).ifPresent(o -> { setWPaths(o); }); } if(wPaths != null) wPaths.initDeepForClass(siteRequest_); return (Swagger2Generator)this; } //////////////////// // wRequestBodies // //////////////////// /** The entity wRequestBodies * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected AllWriter wRequestBodies; /**
    The entity wRequestBodies * is defined as null before being initialized. *
    Find the entity wRequestBodies in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _wRequestBodies(Wrap c); public AllWriter getWRequestBodies() { return wRequestBodies; } public void setWRequestBodies(AllWriter wRequestBodies) { this.wRequestBodies = wRequestBodies; } public static AllWriter staticSetWRequestBodies(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator wRequestBodiesInit() { Wrap wRequestBodiesWrap = new Wrap().var("wRequestBodies"); if(wRequestBodies == null) { _wRequestBodies(wRequestBodiesWrap); Optional.ofNullable(wRequestBodiesWrap.getO()).ifPresent(o -> { setWRequestBodies(o); }); } if(wRequestBodies != null) wRequestBodies.initDeepForClass(siteRequest_); return (Swagger2Generator)this; } ////////////// // wSchemas // ////////////// /** The entity wSchemas * is defined as null before being initialized. */ @JsonProperty @JsonInclude(Include.NON_NULL) protected AllWriter wSchemas; /**
    The entity wSchemas * is defined as null before being initialized. *
    Find the entity wSchemas in Solr *
    * @param c is for wrapping a value to assign to this entity during initialization. **/ protected abstract void _wSchemas(Wrap c); public AllWriter getWSchemas() { return wSchemas; } public void setWSchemas(AllWriter wSchemas) { this.wSchemas = wSchemas; } public static AllWriter staticSetWSchemas(ComputateSiteRequest siteRequest_, String o) { return null; } protected Swagger2Generator wSchemasInit() { Wrap wSchemasWrap = new Wrap().var("wSchemas"); if(wSchemas == null) { _wSchemas(wSchemasWrap); Optional.ofNullable(wSchemasWrap.getO()).ifPresent(o -> { setWSchemas(o); }); } if(wSchemas != null) wSchemas.initDeepForClass(siteRequest_); return (Swagger2Generator)this; } public static final String writeApiError1 = "An error occured while writing the API. "; public static final String writeApiError = writeApiError1; public static final String writeApiError21 = "An error occured while writing the API. "; public static final String writeApiError2 = writeApiError21; ////////////// // initDeep // ////////////// public Swagger2Generator initDeepSwagger2Generator(ComputateSiteRequest siteRequest_) { setSiteRequest_(siteRequest_); initDeepSwagger2Generator(); return (Swagger2Generator)this; } public void initDeepSwagger2Generator() { initSwagger2Generator(); } public void initSwagger2Generator() { webClientInit(); siteRequest_Init(); configInit(); appNameInit(); languageNameInit(); appPathInit(); openApiVersionInit(); openApiVersionNumberInit(); tabsSchemaInit(); apiVersionInit(); openApiYamlPathInit(); openApiYamlFileInit(); sqlCreatePathInit(); sqlCreateFileInit(); sqlDropPathInit(); sqlDropFileInit(); articleYamlPathInit(); articleYamlFileInit(); wInit(); wSqlCreateInit(); wSqlDropInit(); wArticleInit(); wPathsInit(); wRequestBodiesInit(); wSchemasInit(); } public void initDeepForClass(ComputateSiteRequest siteRequest_) { initDeepSwagger2Generator(siteRequest_); } ///////////////// // siteRequest // ///////////////// public void siteRequestSwagger2Generator(ComputateSiteRequest siteRequest_) { if(w != null) w.setSiteRequest_(siteRequest_); if(wSqlCreate != null) wSqlCreate.setSiteRequest_(siteRequest_); if(wSqlDrop != null) wSqlDrop.setSiteRequest_(siteRequest_); if(wArticle != null) wArticle.setSiteRequest_(siteRequest_); if(wPaths != null) wPaths.setSiteRequest_(siteRequest_); if(wRequestBodies != null) wRequestBodies.setSiteRequest_(siteRequest_); if(wSchemas != null) wSchemas.setSiteRequest_(siteRequest_); } public void siteRequestForClass(ComputateSiteRequest siteRequest_) { siteRequestSwagger2Generator(siteRequest_); } ///////////// // obtain // ///////////// public Object obtainForClass(String var) { String[] vars = StringUtils.split(var, "."); Object o = null; for(String v : vars) { if(o == null) o = obtainSwagger2Generator(v); else if(o instanceof Map) { Map map = (Map)o; o = map.get(v); } } return o; } public Object obtainSwagger2Generator(String var) { Swagger2Generator oSwagger2Generator = (Swagger2Generator)this; switch(var) { case "webClient": return oSwagger2Generator.webClient; case "siteRequest_": return oSwagger2Generator.siteRequest_; case "config": return oSwagger2Generator.config; case "appName": return oSwagger2Generator.appName; case "languageName": return oSwagger2Generator.languageName; case "appPath": return oSwagger2Generator.appPath; case "openApiVersion": return oSwagger2Generator.openApiVersion; case "openApiVersionNumber": return oSwagger2Generator.openApiVersionNumber; case "tabsSchema": return oSwagger2Generator.tabsSchema; case "apiVersion": return oSwagger2Generator.apiVersion; case "openApiYamlPath": return oSwagger2Generator.openApiYamlPath; case "openApiYamlFile": return oSwagger2Generator.openApiYamlFile; case "sqlCreatePath": return oSwagger2Generator.sqlCreatePath; case "sqlCreateFile": return oSwagger2Generator.sqlCreateFile; case "sqlDropPath": return oSwagger2Generator.sqlDropPath; case "sqlDropFile": return oSwagger2Generator.sqlDropFile; case "articleYamlPath": return oSwagger2Generator.articleYamlPath; case "articleYamlFile": return oSwagger2Generator.articleYamlFile; case "w": return oSwagger2Generator.w; case "wSqlCreate": return oSwagger2Generator.wSqlCreate; case "wSqlDrop": return oSwagger2Generator.wSqlDrop; case "wArticle": return oSwagger2Generator.wArticle; case "wPaths": return oSwagger2Generator.wPaths; case "wRequestBodies": return oSwagger2Generator.wRequestBodies; case "wSchemas": return oSwagger2Generator.wSchemas; default: return null; } } /////////////// // relate // /////////////// public boolean relateForClass(String var, Object val) { String[] vars = StringUtils.split(var, "."); Object o = null; for(String v : vars) { if(o == null) o = relateSwagger2Generator(v, val); } return o != null; } public Object relateSwagger2Generator(String var, Object val) { Swagger2Generator oSwagger2Generator = (Swagger2Generator)this; switch(var) { default: return null; } } /////////////// // staticSet // /////////////// public static Object staticSetForClass(String entityVar, ComputateSiteRequest siteRequest_, String o) { return staticSetSwagger2Generator(entityVar, siteRequest_, o); } public static Object staticSetSwagger2Generator(String entityVar, ComputateSiteRequest siteRequest_, String o) { switch(entityVar) { case "config": return Swagger2Generator.staticSetConfig(siteRequest_, o); case "appName": return Swagger2Generator.staticSetAppName(siteRequest_, o); case "languageName": return Swagger2Generator.staticSetLanguageName(siteRequest_, o); case "appPath": return Swagger2Generator.staticSetAppPath(siteRequest_, o); case "openApiVersion": return Swagger2Generator.staticSetOpenApiVersion(siteRequest_, o); case "openApiVersionNumber": return Swagger2Generator.staticSetOpenApiVersionNumber(siteRequest_, o); case "tabsSchema": return Swagger2Generator.staticSetTabsSchema(siteRequest_, o); case "apiVersion": return Swagger2Generator.staticSetApiVersion(siteRequest_, o); case "openApiYamlPath": return Swagger2Generator.staticSetOpenApiYamlPath(siteRequest_, o); case "sqlCreatePath": return Swagger2Generator.staticSetSqlCreatePath(siteRequest_, o); case "sqlDropPath": return Swagger2Generator.staticSetSqlDropPath(siteRequest_, o); case "articleYamlPath": return Swagger2Generator.staticSetArticleYamlPath(siteRequest_, o); default: return null; } } //////////////// // staticSearch // //////////////// public static Object staticSearchForClass(String entityVar, ComputateSiteRequest siteRequest_, Object o) { return staticSearchSwagger2Generator(entityVar, siteRequest_, o); } public static Object staticSearchSwagger2Generator(String entityVar, ComputateSiteRequest siteRequest_, Object o) { switch(entityVar) { case "config": return Swagger2Generator.staticSearchConfig(siteRequest_, (JsonObject)o); case "appName": return Swagger2Generator.staticSearchAppName(siteRequest_, (String)o); case "languageName": return Swagger2Generator.staticSearchLanguageName(siteRequest_, (String)o); case "appPath": return Swagger2Generator.staticSearchAppPath(siteRequest_, (String)o); case "openApiVersion": return Swagger2Generator.staticSearchOpenApiVersion(siteRequest_, (String)o); case "openApiVersionNumber": return Swagger2Generator.staticSearchOpenApiVersionNumber(siteRequest_, (Integer)o); case "tabsSchema": return Swagger2Generator.staticSearchTabsSchema(siteRequest_, (Integer)o); case "apiVersion": return Swagger2Generator.staticSearchApiVersion(siteRequest_, (String)o); case "openApiYamlPath": return Swagger2Generator.staticSearchOpenApiYamlPath(siteRequest_, (String)o); case "sqlCreatePath": return Swagger2Generator.staticSearchSqlCreatePath(siteRequest_, (String)o); case "sqlDropPath": return Swagger2Generator.staticSearchSqlDropPath(siteRequest_, (String)o); case "articleYamlPath": return Swagger2Generator.staticSearchArticleYamlPath(siteRequest_, (String)o); default: return null; } } /////////////////// // staticSearchStr // /////////////////// public static String staticSearchStrForClass(String entityVar, ComputateSiteRequest siteRequest_, Object o) { return staticSearchStrSwagger2Generator(entityVar, siteRequest_, o); } public static String staticSearchStrSwagger2Generator(String entityVar, ComputateSiteRequest siteRequest_, Object o) { switch(entityVar) { case "config": return Swagger2Generator.staticSearchStrConfig(siteRequest_, (String)o); case "appName": return Swagger2Generator.staticSearchStrAppName(siteRequest_, (String)o); case "languageName": return Swagger2Generator.staticSearchStrLanguageName(siteRequest_, (String)o); case "appPath": return Swagger2Generator.staticSearchStrAppPath(siteRequest_, (String)o); case "openApiVersion": return Swagger2Generator.staticSearchStrOpenApiVersion(siteRequest_, (String)o); case "openApiVersionNumber": return Swagger2Generator.staticSearchStrOpenApiVersionNumber(siteRequest_, (Integer)o); case "tabsSchema": return Swagger2Generator.staticSearchStrTabsSchema(siteRequest_, (Integer)o); case "apiVersion": return Swagger2Generator.staticSearchStrApiVersion(siteRequest_, (String)o); case "openApiYamlPath": return Swagger2Generator.staticSearchStrOpenApiYamlPath(siteRequest_, (String)o); case "sqlCreatePath": return Swagger2Generator.staticSearchStrSqlCreatePath(siteRequest_, (String)o); case "sqlDropPath": return Swagger2Generator.staticSearchStrSqlDropPath(siteRequest_, (String)o); case "articleYamlPath": return Swagger2Generator.staticSearchStrArticleYamlPath(siteRequest_, (String)o); default: return null; } } ////////////////// // staticSearchFq // ////////////////// public static String staticSearchFqForClass(String entityVar, ComputateSiteRequest siteRequest_, String o) { return staticSearchFqSwagger2Generator(entityVar, siteRequest_, o); } public static String staticSearchFqSwagger2Generator(String entityVar, ComputateSiteRequest siteRequest_, String o) { switch(entityVar) { case "config": return Swagger2Generator.staticSearchFqConfig(siteRequest_, o); case "appName": return Swagger2Generator.staticSearchFqAppName(siteRequest_, o); case "languageName": return Swagger2Generator.staticSearchFqLanguageName(siteRequest_, o); case "appPath": return Swagger2Generator.staticSearchFqAppPath(siteRequest_, o); case "openApiVersion": return Swagger2Generator.staticSearchFqOpenApiVersion(siteRequest_, o); case "openApiVersionNumber": return Swagger2Generator.staticSearchFqOpenApiVersionNumber(siteRequest_, o); case "tabsSchema": return Swagger2Generator.staticSearchFqTabsSchema(siteRequest_, o); case "apiVersion": return Swagger2Generator.staticSearchFqApiVersion(siteRequest_, o); case "openApiYamlPath": return Swagger2Generator.staticSearchFqOpenApiYamlPath(siteRequest_, o); case "sqlCreatePath": return Swagger2Generator.staticSearchFqSqlCreatePath(siteRequest_, o); case "sqlDropPath": return Swagger2Generator.staticSearchFqSqlDropPath(siteRequest_, o); case "articleYamlPath": return Swagger2Generator.staticSearchFqArticleYamlPath(siteRequest_, o); default: return null; } } ////////////// // toString // ////////////// @Override public String toString() { StringBuilder sb = new StringBuilder(); return sb.toString(); } public static final String[] Swagger2GeneratorVals = new String[] { configureConfigComplete1, configureConfigFail1, writeApiError1, writeApiError21 }; public static final String CLASS_SIMPLE_NAME = "Swagger2Generator"; public static final String VAR_webClient = "webClient"; public static final String VAR_siteRequest_ = "siteRequest_"; public static final String VAR_config = "config"; public static final String VAR_appName = "appName"; public static final String VAR_languageName = "languageName"; public static final String VAR_appPath = "appPath"; public static final String VAR_openApiVersion = "openApiVersion"; public static final String VAR_openApiVersionNumber = "openApiVersionNumber"; public static final String VAR_tabsSchema = "tabsSchema"; public static final String VAR_apiVersion = "apiVersion"; public static final String VAR_openApiYamlPath = "openApiYamlPath"; public static final String VAR_openApiYamlFile = "openApiYamlFile"; public static final String VAR_sqlCreatePath = "sqlCreatePath"; public static final String VAR_sqlCreateFile = "sqlCreateFile"; public static final String VAR_sqlDropPath = "sqlDropPath"; public static final String VAR_sqlDropFile = "sqlDropFile"; public static final String VAR_articleYamlPath = "articleYamlPath"; public static final String VAR_articleYamlFile = "articleYamlFile"; public static final String VAR_w = "w"; public static final String VAR_wSqlCreate = "wSqlCreate"; public static final String VAR_wSqlDrop = "wSqlDrop"; public static final String VAR_wArticle = "wArticle"; public static final String VAR_wPaths = "wPaths"; public static final String VAR_wRequestBodies = "wRequestBodies"; public static final String VAR_wSchemas = "wSchemas"; public static final String DISPLAY_NAME_webClient = ""; public static final String DISPLAY_NAME_siteRequest_ = ""; public static final String DISPLAY_NAME_config = ""; public static final String DISPLAY_NAME_appName = ""; public static final String DISPLAY_NAME_languageName = ""; public static final String DISPLAY_NAME_appPath = ""; public static final String DISPLAY_NAME_openApiVersion = ""; public static final String DISPLAY_NAME_openApiVersionNumber = ""; public static final String DISPLAY_NAME_tabsSchema = ""; public static final String DISPLAY_NAME_apiVersion = ""; public static final String DISPLAY_NAME_openApiYamlPath = ""; public static final String DISPLAY_NAME_openApiYamlFile = ""; public static final String DISPLAY_NAME_sqlCreatePath = ""; public static final String DISPLAY_NAME_sqlCreateFile = ""; public static final String DISPLAY_NAME_sqlDropPath = ""; public static final String DISPLAY_NAME_sqlDropFile = ""; public static final String DISPLAY_NAME_articleYamlPath = ""; public static final String DISPLAY_NAME_articleYamlFile = ""; public static final String DISPLAY_NAME_w = ""; public static final String DISPLAY_NAME_wSqlCreate = ""; public static final String DISPLAY_NAME_wSqlDrop = ""; public static final String DISPLAY_NAME_wArticle = ""; public static final String DISPLAY_NAME_wPaths = ""; public static final String DISPLAY_NAME_wRequestBodies = ""; public static final String DISPLAY_NAME_wSchemas = ""; public static String displayNameForClass(String var) { return Swagger2Generator.displayNameSwagger2Generator(var); } public static String displayNameSwagger2Generator(String var) { switch(var) { case VAR_webClient: return DISPLAY_NAME_webClient; case VAR_siteRequest_: return DISPLAY_NAME_siteRequest_; case VAR_config: return DISPLAY_NAME_config; case VAR_appName: return DISPLAY_NAME_appName; case VAR_languageName: return DISPLAY_NAME_languageName; case VAR_appPath: return DISPLAY_NAME_appPath; case VAR_openApiVersion: return DISPLAY_NAME_openApiVersion; case VAR_openApiVersionNumber: return DISPLAY_NAME_openApiVersionNumber; case VAR_tabsSchema: return DISPLAY_NAME_tabsSchema; case VAR_apiVersion: return DISPLAY_NAME_apiVersion; case VAR_openApiYamlPath: return DISPLAY_NAME_openApiYamlPath; case VAR_openApiYamlFile: return DISPLAY_NAME_openApiYamlFile; case VAR_sqlCreatePath: return DISPLAY_NAME_sqlCreatePath; case VAR_sqlCreateFile: return DISPLAY_NAME_sqlCreateFile; case VAR_sqlDropPath: return DISPLAY_NAME_sqlDropPath; case VAR_sqlDropFile: return DISPLAY_NAME_sqlDropFile; case VAR_articleYamlPath: return DISPLAY_NAME_articleYamlPath; case VAR_articleYamlFile: return DISPLAY_NAME_articleYamlFile; case VAR_w: return DISPLAY_NAME_w; case VAR_wSqlCreate: return DISPLAY_NAME_wSqlCreate; case VAR_wSqlDrop: return DISPLAY_NAME_wSqlDrop; case VAR_wArticle: return DISPLAY_NAME_wArticle; case VAR_wPaths: return DISPLAY_NAME_wPaths; case VAR_wRequestBodies: return DISPLAY_NAME_wRequestBodies; case VAR_wSchemas: return DISPLAY_NAME_wSchemas; default: return null; } } }