Class SchemaState


  • @Generated("org.openapitools.codegen.languages.JavaResteasyServerCodegen")
    public class SchemaState
    extends Object
    • Constructor Detail

      • SchemaState

        public SchemaState()
    • Method Detail

      • getState

        @NotNull
        public @NotNull SchemaState.StateEnum getState()
        If the schema state is 'deprecated', all the schema version states are 'deprecated'.
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object