Package ai.reveng.model
Class AnyOf
java.lang.Object
ai.reveng.model.AbstractOpenApiSchema
ai.reveng.model.AnyOf
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-09-26T17:18:42.237250+01:00[Europe/London]",
comments="Generator version: 7.15.0")
public class AnyOf
extends AbstractOpenApiSchema
AnyOf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the actual instance, which can be the following: Object, String, Integer, Boolean, Double, Float, or any other typeGet the list of oneOf/anyOf composed schemas allowed to be stored in this objectinthashCode()voidsetActualInstance(Object instance) Set the instance that matches the anyOf child schema, check the instance parameter is valid against the anyOf child schemastoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundMethods inherited from class ai.reveng.model.AbstractOpenApiSchema
getActualInstanceRecursively, getSchemaType, isNullable
-
Constructor Details
-
AnyOf
public AnyOf() -
AnyOf
-
-
Method Details
-
getSchemas
Description copied from class:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemasin classAbstractOpenApiSchema- Returns:
- an instance of the actual schema/object
-
setActualInstance
Set the instance that matches the anyOf child schema, check the instance parameter is valid against the anyOf child schemas- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the anyOf schema
-
getActualInstance
Get the actual instance, which can be the following: Object, String, Integer, Boolean, Double, Float, or any other type- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (Object)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IllegalArgumentException Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IllegalArgumentException- if the JSON Element is invalid with respect to AnyOf
-
equals
- Overrides:
equalsin classAbstractOpenApiSchema
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractOpenApiSchema
-
toString
- Overrides:
toStringin classAbstractOpenApiSchema
-