Class SettingValueType


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2025-11-07T15:32:06.171915713Z[Etc/UTC]",
               comments="Generator version: 7.7.0")
    public class SettingValueType
    extends AbstractOpenApiSchema
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Map<java.lang.String,​java.lang.Class<?>> schemas  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SettingValueType fromJson​(java.lang.String jsonString)
      Create an instance of SettingValueType given an JSON string
      java.lang.Object getActualInstance()
      Get the actual instance, which can be the following: Boolean, Double, String
      java.lang.Boolean getBoolean()
      Get the actual instance of `Boolean`.
      java.lang.Double getDouble()
      Get the actual instance of `Double`.
      java.util.Map<java.lang.String,​java.lang.Class<?>> getSchemas()
      Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
      java.lang.String getString()
      Get the actual instance of `String`.
      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: Boolean, Double, String It could be an instance of the 'oneOf' schemas.
      java.lang.String toJson()
      Convert an instance of SettingValueType to an JSON string
      static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
      Validates the JSON Element and throws an exception if issues found
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • schemas

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

      • SettingValueType

        public SettingValueType()
      • SettingValueType

        public SettingValueType​(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: Boolean, Double, 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: Boolean, Double, String
        Overrides:
        getActualInstance in class AbstractOpenApiSchema
        Returns:
        The actual instance (Boolean, Double, 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`
      • 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`
      • getDouble

        public java.lang.Double getDouble()
                                   throws java.lang.ClassCastException
        Get the actual instance of `Double`. If the actual instance is not `Double`, the ClassCastException will be thrown.
        Returns:
        The actual instance of `Double`
        Throws:
        java.lang.ClassCastException - if the instance is not `Double`
      • 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 SettingValueType
      • fromJson

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

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