类 SchemaMappingLoadingConfigDataSource


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class SchemaMappingLoadingConfigDataSource
    extends Object
    SchemaMappingLoadingConfigDataSource
    • 字段详细资料

      • SERIALIZED_NAME_SCHEME

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

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

      • SchemaMappingLoadingConfigDataSource

        public SchemaMappingLoadingConfigDataSource()
    • 方法详细资料

      • getScheme

        @Nullable
        public String getScheme()
        Get scheme
        返回:
        scheme
      • setScheme

        public void setScheme​(String scheme)
      • 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 SchemaMappingLoadingConfigDataSource
      • fromJson

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

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