Class NewSchemaVersion
- java.lang.Object
-
- io.apicurio.registry.ibmcompat.model.NewSchemaVersion
-
-
Constructor Summary
Constructors Constructor Description NewSchemaVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull String
getDefinition()
Avro schema definition@NotNull String
getVersion()
The name to give this version of the schemaBoolean
getVersionenabled()
Set to false if the version of the schema is disabled.@Min(1L) Integer
getVersionid()
Requested unique ID for the version.SchemaState
getVersionstate()
int
hashCode()
void
setDefinition(String definition)
void
setVersion(String version)
void
setVersionenabled(Boolean versionenabled)
void
setVersionid(Integer versionid)
void
setVersionstate(SchemaState versionstate)
String
toString()
-
-
-
Method Detail
-
getVersion
@NotNull public @NotNull String getVersion()
The name to give this version of the schema
-
setVersion
public void setVersion(String version)
-
getDefinition
@NotNull public @NotNull String getDefinition()
Avro schema definition
-
setDefinition
public void setDefinition(String definition)
-
getVersionid
@Min(1L) public @Min(1L) Integer getVersionid()
Requested unique ID for the version. Must be unique within this schema only (different schemas will use the same version IDs). minimum: 1
-
setVersionid
public void setVersionid(Integer versionid)
-
getVersionstate
public SchemaState getVersionstate()
-
setVersionstate
public void setVersionstate(SchemaState versionstate)
-
getVersionenabled
public Boolean getVersionenabled()
Set to false if the version of the schema is disabled.
-
setVersionenabled
public void setVersionenabled(Boolean versionenabled)
-
-