Class ApiRequestDescr

    • Constructor Detail

      • ApiRequestDescr

        public ApiRequestDescr()
      • ApiRequestDescr

        public ApiRequestDescr​(ApiRequestDescr source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getName

        public String getName()
        Get 参数名称
        Returns:
        Name 参数名称
      • setName

        public void setName​(String Name)
        Set 参数名称
        Parameters:
        Name - 参数名称
      • getType

        public String getType()
        Get 参数类型
        Returns:
        Type 参数类型
      • setType

        public void setType​(String Type)
        Set 参数类型
        Parameters:
        Type - 参数类型
      • getIn

        public String getIn()
        Get 参数位置
        Returns:
        In 参数位置
      • setIn

        public void setIn​(String In)
        Set 参数位置
        Parameters:
        In - 参数位置
      • getDescription

        public String getDescription()
        Get 参数描述
        Returns:
        Description 参数描述
      • setDescription

        public void setDescription​(String Description)
        Set 参数描述
        Parameters:
        Description - 参数描述
      • getRequired

        public Boolean getRequired()
        Get 参数是否必须
        Returns:
        Required 参数是否必须
      • setRequired

        public void setRequired​(Boolean Required)
        Set 参数是否必须
        Parameters:
        Required - 参数是否必须
      • getDefaultValue

        public String getDefaultValue()
        Get 参数的默认值 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        DefaultValue 参数的默认值 注意:此字段可能返回 null,表示取不到有效值。
      • setDefaultValue

        public void setDefaultValue​(String DefaultValue)
        Set 参数的默认值 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        DefaultValue - 参数的默认值 注意:此字段可能返回 null,表示取不到有效值。