Package com.exoscale.sdk.model
Class AbstractOpenApiSchema
java.lang.Object
com.exoscale.sdk.model.AbstractOpenApiSchema
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public abstract class AbstractOpenApiSchema
extends Object
Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the actual instanceGet the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as wellGet the list of oneOf/anyOf composed schemas allowed to be stored in this objectGet the schema type (e.g.int
hashCode()
Is nullablevoid
setActualInstance
(Object instance) Set the actual instancetoString()
-
Constructor Details
-
AbstractOpenApiSchema
-
-
Method Details
-
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
Get the actual instance- Returns:
- an instance of the actual schema/object
-
setActualInstance
Set the actual instance- Parameters:
instance
- the actual instance of the schema/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
Get the schema type (e.g. anyOf, oneOf)- Returns:
- the schema type
-
toString
-
equals
-
hashCode
public int hashCode() -
isNullable
Is nullable- Returns:
- true if it's nullable
-