Class SchemaSummary
- java.lang.Object
-
- io.apicurio.registry.ibmcompat.model.SchemaSummary
-
- Direct Known Subclasses:
Schema
,SchemaInfo
,SchemaListItem
@Generated("org.openapitools.codegen.languages.JavaResteasyServerCodegen") public class SchemaSummary extends Object
-
-
Constructor Summary
Constructors Constructor Description SchemaSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull String
getId()
Lower-case URL-encoded version of the schema name.@NotNull @Size(min=1,max=100) String
getName()
User-provided name for a schema.@NotNull SchemaState
getState()
int
hashCode()
@javax.validation.constraints.NotNull boolean
isEnabled()
Set to false if the schema is disabled.void
setEnabled(boolean enabled)
void
setId(String id)
void
setName(String name)
void
setState(SchemaState state)
protected String
toIndentedString(Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).String
toString()
-
-
-
Method Detail
-
getId
@NotNull public @NotNull String getId()
Lower-case URL-encoded version of the schema name.
-
setId
public void setId(String id)
-
getName
@NotNull @Size(min=1, max=100) public @NotNull @Size(min=1,max=100) String getName()
User-provided name for a schema. Not necessarily unique.
-
setName
public void setName(String name)
-
getState
@NotNull public @NotNull SchemaState getState()
-
setState
public void setState(SchemaState state)
-
isEnabled
@NotNull public @javax.validation.constraints.NotNull boolean isEnabled()
Set to false if the schema is disabled. If the schema is disabled, all the schema versions are disabled.
-
setEnabled
public void setEnabled(boolean enabled)
-
-