类 CreatePropertyMeta


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

      • 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
    • 构造器详细资料

      • CreatePropertyMeta

        public CreatePropertyMeta()
    • 方法详细资料

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

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

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