All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gitlab4j.api.models.Deployable Maven / Gradle / Ivy

Go to download

GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.

There is a newer version: 6.0.0-rc.6
Show newest version
package org.gitlab4j.api.models;

import java.util.Date;
import java.util.List;

import org.gitlab4j.api.Constants.DeploymentStatus;
import org.gitlab4j.api.utils.JacksonJson;

public class Deployable {

    private Long id;
    private DeploymentStatus status;
    private String stage;
    private String name;
    private String ref;
    private Boolean tag;
    private Float coverage;
    private Date createdAt;
    private Date startedAt;
    private Date finishedAt;
    private Double duration;
    private User user;
    private Commit commit;
    private Pipeline pipeline;
    private String webUrl;
    private List artifacts;
    private Runner runner;
    private Date artifactsExpireAt;

    public Long getId() {
	return id;
    }

    public void setId(Long id) {
	this.id = id;
    }

    public DeploymentStatus getStatus() {
	return status;
    }

    public void setStatus(DeploymentStatus status) {
	this.status = status;
    }

    public String getStage() {
	return stage;
    }

    public void setStage(String stage) {
	this.stage = stage;
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public String getRef() {
	return ref;
    }

    public void setRef(String ref) {
	this.ref = ref;
    }

    public Boolean getTag() {
	return tag;
    }

    public void setTag(Boolean tag) {
	this.tag = tag;
    }

    public Float getCoverage() {
	return coverage;
    }

    public void setCoverage(Float coverage) {
	this.coverage = coverage;
    }

    public Date getCreatedAt() {
	return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
	this.createdAt = createdAt;
    }

    public Date getStartedAt() {
	return startedAt;
    }

    public void setStartedAt(Date startedAt) {
	this.startedAt = startedAt;
    }

    public Date getFinishedAt() {
	return finishedAt;
    }

    public void setFinishedAt(Date finishedAt) {
	this.finishedAt = finishedAt;
    }

    public Double getDuration() {
	return duration;
    }

    public void setDuration(Double duration) {
	this.duration = duration;
    }

    public User getUser() {
	return user;
    }

    public void setUser(User user) {
	this.user = user;
    }

    public Commit getCommit() {
	return commit;
    }

    public void setCommit(Commit commit) {
	this.commit = commit;
    }

    public Pipeline getPipeline() {
	return pipeline;
    }

    public void setPipeline(Pipeline pipeline) {
	this.pipeline = pipeline;
    }

    public String getWebUrl() {
	return webUrl;
    }

    public void setWebUrl(String webUrl) {
	this.webUrl = webUrl;
    }

    public List getArtifacts() {
	return artifacts;
    }

    public void setArtifacts(List artifacts) {
	this.artifacts = artifacts;
    }

    public Runner getRunner() {
	return runner;
    }

    public void setRunner(Runner runner) {
	this.runner = runner;
    }

    public Date getArtifactsExpireAt() {
	return artifactsExpireAt;
    }

    public void setArtifactsExpireAt(Date artifactsExpireAt) {
	this.artifactsExpireAt = artifactsExpireAt;
    }

    @Override
    public String toString() {
	return (JacksonJson.toJsonString(this));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy