org.gitlab4j.api.models.ExternalStatusCheck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab4j-api Show documentation
Show all versions of gitlab4j-api Show documentation
GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.
package org.gitlab4j.api.models;
import org.gitlab4j.api.utils.JacksonJson;
import java.util.List;
public class ExternalStatusCheck {
private Long id;
private String name;
private Long projectId;
private String externalUrl;
private List protectedBranches;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Long getProjectId() {
return projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public String getExternalUrl() {
return externalUrl;
}
public void setExternalUrl(String externalUrl) {
this.externalUrl = externalUrl;
}
public List getProtectedBranches() {
return protectedBranches;
}
public void setProtectedBranches(List protectedBranches) {
this.protectedBranches = protectedBranches;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}