Class SchemaState
- java.lang.Object
-
- io.apicurio.registry.ibmcompat.model.SchemaState
-
@Generated("org.openapitools.codegen.languages.JavaResteasyServerCodegen") public class SchemaState extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaState.StateEnum
If the schema state is 'deprecated', all the schema version states are 'deprecated'.
-
Constructor Summary
Constructors Constructor Description SchemaState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@Size(max=300) String
getComment()
User-provided string to explain why a schema is deprecated.@NotNull SchemaState.StateEnum
getState()
If the schema state is 'deprecated', all the schema version states are 'deprecated'.int
hashCode()
void
setComment(String comment)
void
setState(SchemaState.StateEnum state)
String
toString()
-
-
-
Method Detail
-
getState
@NotNull public @NotNull SchemaState.StateEnum getState()
If the schema state is 'deprecated', all the schema version states are 'deprecated'.
-
setState
public void setState(SchemaState.StateEnum state)
-
getComment
@Size(max=300) public @Size(max=300) String getComment()
User-provided string to explain why a schema is deprecated. Ignored if the state is 'active'. If the schema state is 'deprecated', the schema version state comment will match the schema state comment, unless a specific state comment is set for the schema version.
-
setComment
public void setComment(String comment)
-
-