类 AbstractOpenApiSchema

java.lang.Object
com.easemob.im.api.model.AbstractOpenApiSchema

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]") public abstract class AbstractOpenApiSchema extends Object
Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
  • 构造器详细资料

    • AbstractOpenApiSchema

      public AbstractOpenApiSchema(String schemaType, Boolean isNullable)
  • 方法详细资料

    • getSchemas

      public abstract Map<String,Class<?>> getSchemas()
      Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
      返回:
      an instance of the actual schema/object
    • getActualInstance

      public Object getActualInstance()
      Get the actual instance
      返回:
      an instance of the actual schema/object
    • setActualInstance

      public void setActualInstance(Object instance)
      Set the actual instance
      参数:
      instance - the actual instance of the schema/object
    • getActualInstanceRecursively

      public Object getActualInstanceRecursively()
      Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as well
      返回:
      an instance of the actual schema/object
    • getSchemaType

      public String getSchemaType()
      Get the schema type (e.g. anyOf, oneOf)
      返回:
      the schema type
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • isNullable

      public Boolean isNullable()
      Is nullable
      返回:
      true if it's nullable