类 TypedValue


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.6.0")
    public class TypedValue
    extends Object
    TypedValue
    • 构造器详细资料

      • TypedValue

        public TypedValue()
    • 方法详细资料

      • setType

        public void setType​(GSDataType type)
      • setValue

        public void setValue​(Object value)
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        参数:
        jsonElement - JSON Element
        抛出:
        IOException - if the JSON Element is invalid with respect to TypedValue
      • fromJson

        public static TypedValue fromJson​(String jsonString)
                                   throws IOException
        Create an instance of TypedValue given an JSON string
        参数:
        jsonString - JSON string
        返回:
        An instance of TypedValue
        抛出:
        IOException - if the JSON string is invalid with respect to TypedValue
      • toJson

        public String toJson()
        Convert an instance of TypedValue to an JSON string
        返回:
        JSON string