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 booleanequals(Object o)@NotNull StringgetId()Lower-case URL-encoded version of the schema name.@NotNull @Size(min=1,max=100) StringgetName()User-provided name for a schema.@NotNull SchemaStategetState()inthashCode()@javax.validation.constraints.NotNull booleanisEnabled()Set to false if the schema is disabled.voidsetEnabled(boolean enabled)voidsetId(String id)voidsetName(String name)voidsetState(SchemaState state)protected StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoString()
-
-
-
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)
-
-