
io.hyperfoil.controller.model.Version Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hyperfoil-controller-api Show documentation
Show all versions of hyperfoil-controller-api Show documentation
Hyperfoil Controller RESTful API
package io.hyperfoil.controller.model;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Version {
public final String version;
public final String commitId;
public final String deploymentId;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm:ss.S")
public final Date serverTime;
@JsonCreator
public Version(@JsonProperty("version") String version, @JsonProperty("commitId") String commitId, @JsonProperty("deploymentId") String deploymentId, @JsonProperty("serverTime") Date serverTime) {
this.version = version;
this.commitId = commitId;
this.deploymentId = deploymentId;
this.serverTime = serverTime;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy