类 StringType


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

      • SERIALIZED_NAME_STRING

        public static final String SERIALIZED_NAME_STRING
        另请参阅:
        常量字段值
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • 构造器详细资料

      • StringType

        public StringType()
    • 方法详细资料

      • 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 StringType
      • fromJson

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

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