类 StringTypeString
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.AbstractOpenApiSchema
-
- com.alibaba.graphscope.interactive.openapi.model.StringTypeString
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class StringTypeString extends AbstractOpenApiSchema
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classStringTypeString.CustomTypeAdapterFactory
-
构造器概要
构造器 构造器 说明 StringTypeString()StringTypeString(Object o)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static StringTypeStringfromJson(String jsonString)Create an instance of StringTypeString given an JSON stringObjectgetActualInstance()Get the actual instance, which can be the following: FixedChar, LongText, VarCharFixedChargetFixedChar()Get the actual instance of `FixedChar`.LongTextgetLongText()Get the actual instance of `LongText`.Map<String,Class<?>>getSchemas()Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectVarChargetVarChar()Get the actual instance of `VarChar`.voidsetActualInstance(Object instance)Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: FixedChar, LongText, VarChar It could be an instance of the 'oneOf' schemas.StringtoJson()Convert an instance of StringTypeString to an JSON stringstatic voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found-
从类继承的方法 com.alibaba.graphscope.interactive.openapi.model.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
-
-
-
构造器详细资料
-
StringTypeString
public StringTypeString()
-
StringTypeString
public StringTypeString(Object o)
-
-
方法详细资料
-
getSchemas
public Map<String,Class<?>> getSchemas()
从类复制的说明:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- 指定者:
getSchemas在类中AbstractOpenApiSchema- 返回:
- an instance of the actual schema/object
-
setActualInstance
public void setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: FixedChar, LongText, VarChar It could be an instance of the 'oneOf' schemas.- 覆盖:
setActualInstance在类中AbstractOpenApiSchema- 参数:
instance- the actual instance of the schema/object
-
getActualInstance
public Object getActualInstance()
Get the actual instance, which can be the following: FixedChar, LongText, VarChar- 覆盖:
getActualInstance在类中AbstractOpenApiSchema- 返回:
- The actual instance (FixedChar, LongText, VarChar)
-
getLongText
public LongText getLongText() throws ClassCastException
Get the actual instance of `LongText`. If the actual instance is not `LongText`, the ClassCastException will be thrown.- 返回:
- The actual instance of `LongText`
- 抛出:
ClassCastException- if the instance is not `LongText`
-
getFixedChar
public FixedChar getFixedChar() throws ClassCastException
Get the actual instance of `FixedChar`. If the actual instance is not `FixedChar`, the ClassCastException will be thrown.- 返回:
- The actual instance of `FixedChar`
- 抛出:
ClassCastException- if the instance is not `FixedChar`
-
getVarChar
public VarChar getVarChar() throws ClassCastException
Get the actual instance of `VarChar`. If the actual instance is not `VarChar`, the ClassCastException will be thrown.- 返回:
- The actual instance of `VarChar`
- 抛出:
ClassCastException- if the instance is not `VarChar`
-
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 StringTypeString
-
fromJson
public static StringTypeString fromJson(String jsonString) throws IOException
Create an instance of StringTypeString given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of StringTypeString
- 抛出:
IOException- if the JSON string is invalid with respect to StringTypeString
-
toJson
public String toJson()
Convert an instance of StringTypeString to an JSON string- 返回:
- JSON string
-
-