Package com.launchdarkly.api.model
Class AbstractOpenApiSchema
- java.lang.Object
-
- com.launchdarkly.api.model.AbstractOpenApiSchema
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-07-11T22:46:03.646077Z[Etc/UTC]") public abstract class AbstractOpenApiSchema extends java.lang.Object
Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
-
-
Constructor Summary
Constructors Constructor Description AbstractOpenApiSchema(java.lang.String schemaType, java.lang.Boolean isNullable)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Object
getActualInstance()
Get the actual instancejava.lang.Object
getActualInstanceRecursively()
Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as wellabstract java.util.Map<java.lang.String,javax.ws.rs.core.GenericType>
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectjava.lang.String
getSchemaType()
Get the schema type (e.g.int
hashCode()
java.lang.Boolean
isNullable()
Is nullablevoid
setActualInstance(java.lang.Object instance)
Set the actual instancejava.lang.String
toString()
-
-
-
Method Detail
-
getSchemas
public abstract java.util.Map<java.lang.String,javax.ws.rs.core.GenericType> 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 java.lang.Object getActualInstance()
Get the actual instance- Returns:
- an instance of the actual schema/object
-
setActualInstance
public void setActualInstance(java.lang.Object instance)
Set the actual instance- Parameters:
instance
- the actual instance of the schema/object
-
getActualInstanceRecursively
public java.lang.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 java.lang.String getSchemaType()
Get the schema type (e.g. anyOf, oneOf)- Returns:
- the schema type
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
isNullable
public java.lang.Boolean isNullable()
Is nullable- Returns:
- true if it's nullable
-
-