Class AIConfigTargetingVariationValue


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2026-03-05T10:45:26.516033Z[Etc/UTC]",
               comments="Generator version: 7.18.0")
    public class AIConfigTargetingVariationValue
    extends AbstractOpenApiSchema
    • Field Detail

      • schemas

        public static final java.util.Map<java.lang.String,​java.lang.Class<?>> schemas
    • Constructor Detail

      • AIConfigTargetingVariationValue

        public AIConfigTargetingVariationValue()
      • AIConfigTargetingVariationValue

        public AIConfigTargetingVariationValue​(java.lang.Object o)
    • Method Detail

      • getSchemas

        public java.util.Map<java.lang.String,​java.lang.Class<?>> getSchemas()
        Description copied from class: AbstractOpenApiSchema
        Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
        Specified by:
        getSchemas in class AbstractOpenApiSchema
        Returns:
        an instance of the actual schema/object
      • setActualInstance

        public void setActualInstance​(java.lang.Object instance)
        Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: BigDecimal, Boolean, Object, String It could be an instance of the 'oneOf' schemas.
        Overrides:
        setActualInstance in class AbstractOpenApiSchema
        Parameters:
        instance - the actual instance of the schema/object
      • getActualInstance

        public java.lang.Object getActualInstance()
        Get the actual instance, which can be the following: BigDecimal, Boolean, Object, String
        Overrides:
        getActualInstance in class AbstractOpenApiSchema
        Returns:
        The actual instance (BigDecimal, Boolean, Object, String)
      • getBoolean

        public java.lang.Boolean getBoolean()
                                     throws java.lang.ClassCastException
        Get the actual instance of `Boolean`. If the actual instance is not `Boolean`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `Boolean`
        Throws:
        java.lang.ClassCastException - if the instance is not `Boolean`
      • getObject

        public java.lang.Object getObject()
                                   throws java.lang.ClassCastException
        Get the actual instance of `Object`. If the actual instance is not `Object`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `Object`
        Throws:
        java.lang.ClassCastException - if the instance is not `Object`
      • getBigDecimal

        public java.math.BigDecimal getBigDecimal()
                                           throws java.lang.ClassCastException
        Get the actual instance of `BigDecimal`. If the actual instance is not `BigDecimal`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `BigDecimal`
        Throws:
        java.lang.ClassCastException - if the instance is not `BigDecimal`
      • getString

        public java.lang.String getString()
                                   throws java.lang.ClassCastException
        Get the actual instance of `String`. If the actual instance is not `String`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `String`
        Throws:
        java.lang.ClassCastException - if the instance is not `String`
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        java.io.IOException - if the JSON Element is invalid with respect to AIConfigTargetingVariationValue
      • fromJson

        public static AIConfigTargetingVariationValue fromJson​(java.lang.String jsonString)
                                                        throws java.io.IOException
        Create an instance of AIConfigTargetingVariationValue given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AIConfigTargetingVariationValue
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to AIConfigTargetingVariationValue
      • toJson

        public java.lang.String toJson()
        Convert an instance of AIConfigTargetingVariationValue to an JSON string
        Returns:
        JSON string