类 SchemaMappingLoadingConfig
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.SchemaMappingLoadingConfig
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class SchemaMappingLoadingConfig extends Object
SchemaMappingLoadingConfig
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSchemaMappingLoadingConfig.CustomTypeAdapterFactorystatic classSchemaMappingLoadingConfig.ImportOptionEnumGets or Sets importOption
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FORMATstatic StringSERIALIZED_NAME_IMPORT_OPTION
-
构造器概要
构造器 构造器 说明 SchemaMappingLoadingConfig()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)SchemaMappingLoadingConfigformat(SchemaMappingLoadingConfigFormat format)static SchemaMappingLoadingConfigfromJson(String jsonString)Create an instance of SchemaMappingLoadingConfig given an JSON stringSchemaMappingLoadingConfigFormatgetFormat()Get formatSchemaMappingLoadingConfig.ImportOptionEnumgetImportOption()Get importOptioninthashCode()SchemaMappingLoadingConfigimportOption(SchemaMappingLoadingConfig.ImportOptionEnum importOption)voidsetFormat(SchemaMappingLoadingConfigFormat format)voidsetImportOption(SchemaMappingLoadingConfig.ImportOptionEnum importOption)StringtoJson()Convert an instance of SchemaMappingLoadingConfig to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
方法详细资料
-
importOption
public SchemaMappingLoadingConfig importOption(SchemaMappingLoadingConfig.ImportOptionEnum importOption)
-
getImportOption
@Nullable public SchemaMappingLoadingConfig.ImportOptionEnum getImportOption()
Get importOption- 返回:
- importOption
-
setImportOption
public void setImportOption(SchemaMappingLoadingConfig.ImportOptionEnum importOption)
-
format
public SchemaMappingLoadingConfig format(SchemaMappingLoadingConfigFormat format)
-
getFormat
@Nullable public SchemaMappingLoadingConfigFormat getFormat()
Get format- 返回:
- format
-
setFormat
public void setFormat(SchemaMappingLoadingConfigFormat format)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to SchemaMappingLoadingConfig
-
fromJson
public static SchemaMappingLoadingConfig fromJson(String jsonString) throws IOException
Create an instance of SchemaMappingLoadingConfig given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of SchemaMappingLoadingConfig
- 抛出:
IOException- if the JSON string is invalid with respect to SchemaMappingLoadingConfig
-
toJson
public String toJson()
Convert an instance of SchemaMappingLoadingConfig to an JSON string- 返回:
- JSON string
-
-