
pro.taskana.common.rest.models.VersionRepresentationModel Maven / Gradle / Ivy
The newest version!
package pro.taskana.common.rest.models;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import org.springframework.hateoas.RepresentationModel;
import org.springframework.lang.NonNull;
@Schema(description = "EntityModel class for version information.")
public class VersionRepresentationModel extends RepresentationModel {
@Schema(name = "version", description = "The current TASKANA version of the REST Service.")
@NotNull
private String version;
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
@Override
public @NonNull String toString() {
return "VersionResource [" + "version= " + this.version + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy