Class VersionMetaData

java.lang.Object
io.apicurio.registry.rest.v1.beans.VersionMetaData

public class VersionMetaData extends Object
Root Type for ArtifactVersionMetaData

  • Constructor Details

    • VersionMetaData

      public VersionMetaData()
  • Method Details

    • getVersion

      public Integer getVersion()
      (Required)
    • setVersion

      public void setVersion(Integer version)
      (Required)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getCreatedBy

      public String getCreatedBy()
      (Required)
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      (Required)
    • getCreatedOn

      public long getCreatedOn()
      (Required)
    • setCreatedOn

      public void setCreatedOn(long createdOn)
      (Required)
    • getType

      public String getType()
      (Required)
    • setType

      public void setType(String type)
      (Required)
    • getGlobalId

      public Long getGlobalId()
      (Required)
    • setGlobalId

      public void setGlobalId(Long globalId)
      (Required)
    • getState

      public ArtifactState getState()
      Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED
    • setState

      public void setState(ArtifactState state)
      Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED
    • getId

      public String getId()
      The artifact id. (Required)
    • setId

      public void setId(String id)
      The artifact id. (Required)
    • getLabels

      public List<String> getLabels()
    • setLabels

      public void setLabels(List<String> labels)
    • getProperties

      public Map<String,String> getProperties()
    • setProperties

      public void setProperties(Map<String,String> properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object