类 SchemaMappingLoadingConfigFormat
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.SchemaMappingLoadingConfigFormat
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class SchemaMappingLoadingConfigFormat extends Object
SchemaMappingLoadingConfigFormat
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSchemaMappingLoadingConfigFormat.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_METADATAstatic StringSERIALIZED_NAME_TYPE
-
构造器概要
构造器 构造器 说明 SchemaMappingLoadingConfigFormat()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)static SchemaMappingLoadingConfigFormatfromJson(String jsonString)Create an instance of SchemaMappingLoadingConfigFormat given an JSON stringMap<String,Object>getMetadata()Get metadataStringgetType()Get typeinthashCode()SchemaMappingLoadingConfigFormatmetadata(Map<String,Object> metadata)SchemaMappingLoadingConfigFormatputMetadataItem(String key, Object metadataItem)voidsetMetadata(Map<String,Object> metadata)voidsetType(String type)StringtoJson()Convert an instance of SchemaMappingLoadingConfigFormat to an JSON stringStringtoString()SchemaMappingLoadingConfigFormattype(String type)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
方法详细资料
-
type
public SchemaMappingLoadingConfigFormat type(String type)
-
setType
public void setType(String type)
-
metadata
public SchemaMappingLoadingConfigFormat metadata(Map<String,Object> metadata)
-
putMetadataItem
public SchemaMappingLoadingConfigFormat putMetadataItem(String key, Object metadataItem)
-
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 SchemaMappingLoadingConfigFormat
-
fromJson
public static SchemaMappingLoadingConfigFormat fromJson(String jsonString) throws IOException
Create an instance of SchemaMappingLoadingConfigFormat given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of SchemaMappingLoadingConfigFormat
- 抛出:
IOException- if the JSON string is invalid with respect to SchemaMappingLoadingConfigFormat
-
toJson
public String toJson()
Convert an instance of SchemaMappingLoadingConfigFormat to an JSON string- 返回:
- JSON string
-
-