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 booleanequals(Object o)@NotNull StringgetDefinition()Avro schema definition@NotNull StringgetVersion()The name to give this version of the schemaBooleangetVersionenabled()Set to false if the version of the schema is disabled.@Min(1L) IntegergetVersionid()Requested unique ID for the version.SchemaStategetVersionstate()inthashCode()voidsetDefinition(String definition)voidsetVersion(String version)voidsetVersionenabled(Boolean versionenabled)voidsetVersionid(Integer versionid)voidsetVersionstate(SchemaState versionstate)StringtoString()
-
-
-
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)
-
-