类 BasePropertyMeta


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

      • SERIALIZED_NAME_PROPERTY_NAME

        public static final String SERIALIZED_NAME_PROPERTY_NAME
        另请参阅:
        常量字段值
      • SERIALIZED_NAME_PROPERTY_TYPE

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

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

      • BasePropertyMeta

        public BasePropertyMeta()
    • 方法详细资料

      • getPropertyName

        @Nullable
        public String getPropertyName()
        Get propertyName
        返回:
        propertyName
      • setPropertyName

        public void setPropertyName​(String propertyName)
      • getPropertyType

        @Nullable
        public GSDataType getPropertyType()
        Get propertyType
        返回:
        propertyType
      • setPropertyType

        public void setPropertyType​(GSDataType propertyType)
      • 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 BasePropertyMeta
      • fromJson

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

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