Class SchemaVersion


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

      • SchemaVersion

        public SchemaVersion()
    • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object