类 AbstractOpenApiSchema
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.AbstractOpenApiSchema
-
- 直接已知子类:
GSDataType,StringTypeString,TemporalTypeTemporal
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public abstract class AbstractOpenApiSchema extends Object
Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
-
-
构造器概要
构造器 构造器 说明 AbstractOpenApiSchema(String schemaType, Boolean isNullable)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)ObjectgetActualInstance()Get the actual instanceObjectgetActualInstanceRecursively()Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as wellabstract Map<String,Class<?>>getSchemas()Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectStringgetSchemaType()Get the schema type (e.g. anyOf, oneOf)inthashCode()BooleanisNullable()Is nullablevoidsetActualInstance(Object instance)Set the actual instanceStringtoString()
-
-
-
方法详细资料
-
getSchemas
public abstract Map<String,Class<?>> getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object- 返回:
- an instance of the actual schema/object
-
getActualInstance
public Object getActualInstance()
Get the actual instance- 返回:
- an instance of the actual schema/object
-
setActualInstance
public void setActualInstance(Object instance)
Set the actual instance- 参数:
instance- the actual instance of the schema/object
-
getActualInstanceRecursively
public Object getActualInstanceRecursively()
Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as well- 返回:
- an instance of the actual schema/object
-
getSchemaType
public String getSchemaType()
Get the schema type (e.g. anyOf, oneOf)- 返回:
- the schema type
-
isNullable
public Boolean isNullable()
Is nullable- 返回:
- true if it's nullable
-
-