Package com.launchdarkly.api.model
Class AbstractOpenApiSchema
- java.lang.Object
-
- com.launchdarkly.api.model.AbstractOpenApiSchema
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-19T22:24:20.163470Z[Etc/UTC]") public abstract class AbstractOpenApiSchema extends java.lang.ObjectAbstract 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 booleanequals(java.lang.Object o)java.lang.ObjectgetActualInstance()Get the actual instancejava.lang.ObjectgetActualInstanceRecursively()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.StringgetSchemaType()Get the schema type (e.g.inthashCode()java.lang.BooleanisNullable()Is nullablevoidsetActualInstance(java.lang.Object instance)Set the actual instancejava.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
isNullable
public java.lang.Boolean isNullable()
Is nullable- Returns:
- true if it's nullable
-
-