类 Parameter


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

      • Parameter

        public Parameter()
    • 方法详细资料

      • setName

        public void setName​(String name)
      • setType

        public void setType​(GSDataType type)
      • 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 Parameter
      • fromJson

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

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