Package llmjava.hf_text_embeddings.model
Class AbstractOpenApiSchema
- java.lang.Object
-
- llmjava.hf_text_embeddings.model.AbstractOpenApiSchema
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-12-04T22:31:14.792592Z[Etc/UTC]") public abstract class AbstractOpenApiSchema extends ObjectAbstract class for oneOf,anyOf schemas defined in OpenAPI spec
-
-
Constructor Summary
Constructors Constructor Description AbstractOpenApiSchema(String schemaType, Boolean isNullable)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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.inthashCode()BooleanisNullable()Is nullablevoidsetActualInstance(Object instance)Set the actual instanceStringtoString()
-
-
-
Method Detail
-
getSchemas
public abstract Map<String,Class<?>> getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object- Returns:
- an instance of the actual schema/object
-
getActualInstance
public Object getActualInstance()
Get the actual instance- Returns:
- an instance of the actual schema/object
-
setActualInstance
public void setActualInstance(Object instance)
Set the actual instance- Parameters:
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- Returns:
- an instance of the actual schema/object
-
getSchemaType
public String getSchemaType()
Get the schema type (e.g. anyOf, oneOf)- Returns:
- the schema type
-
isNullable
public Boolean isNullable()
Is nullable- Returns:
- true if it's nullable
-
-