Class SchemaVersion
- java.lang.Object
-
- io.apicurio.registry.ibmcompat.model.SchemaVersion
-
@Generated("org.openapitools.codegen.languages.JavaResteasyServerCodegen") public class SchemaVersion extends Object
-
-
Constructor Summary
Constructors Constructor Description SchemaVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull Date
getDate()
Timestamp for when a schema version was created.@NotNull Boolean
getEnabled()
Set to false if the version of the schema is disabled.@NotNull @Min(1L) Integer
getId()
Server-managed unique ID for the version.@NotNull @Size(max=50) String
getName()
Client-provided description of a version.@NotNull SchemaState
getState()
The active/deprecated stateint
hashCode()
void
setDate(Date date)
void
setEnabled(Boolean enabled)
void
setId(Integer id)
void
setName(String name)
void
setState(SchemaState state)
String
toString()
-
-
-
Method Detail
-
getId
@NotNull @Min(1L) public @NotNull @Min(1L) Integer getId()
Server-managed unique ID for the version. Guaranteed to be unique within this schema only (different schemas will use the same version IDs). minimum: 1
-
setId
public void setId(Integer id)
-
getName
@NotNull @Size(max=50) public @NotNull @Size(max=50) String getName()
Client-provided description of a version. Enforced to be unique within this schema only (different schemas may use the same version names).
-
setName
public void setName(String name)
-
getDate
@NotNull public @NotNull Date getDate()
Timestamp for when a schema version was created. When used for an overall schema, this will be the timestamp for when the most recent version was created.
-
setDate
public void setDate(Date date)
-
getState
@NotNull public @NotNull SchemaState getState()
The active/deprecated state
-
setState
public void setState(SchemaState state)
-
getEnabled
@NotNull public @NotNull Boolean getEnabled()
Set to false if the version of the schema is disabled.
-
setEnabled
public void setEnabled(Boolean enabled)
-
-