org.gitlab4j.api.models.SearchBlob 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.io.Serializable;
public class SearchBlob implements Serializable {
private static final long serialVersionUID = 1L;
private String basename;
private String data;
private String filename;
private String id;
private String ref;
private Integer startline;
private Long projectId;
public String getBasename() {
return basename;
}
public void setBasename(String basename) {
this.basename = basename;
}
public String getData() {
return data;
}
public void setData(String data) {
this.data = data;
}
public String getFilename() {
return filename;
}
public void setFilename(String filename) {
this.filename = filename;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getRef() {
return ref;
}
public void setRef(String ref) {
this.ref = ref;
}
public Integer getStartline() {
return startline;
}
public void setStartline(Integer startline) {
this.startline = startline;
}
public Long getProjectId() {
return projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy