org.gitlab4j.api.models.SharedGroup 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 com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.gitlab4j.api.utils.JacksonJson;
import java.io.Serializable;
import java.util.Date;
public class SharedGroup implements Serializable {
private static final long serialVersionUID = 1L;
private Long groupId;
private String groupName;
private String groupFullPath;
private AccessLevel groupAccessLevel;
@JsonSerialize(using = JacksonJson.DateOnlySerializer.class)
private Date expiresAt;
public long getGroupId() {
return groupId;
}
public void setGroupId(long groupId) {
this.groupId = groupId;
}
public String getGroupName() {
return groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public AccessLevel getGroupAccessLevel() {
return (groupAccessLevel);
}
public void setGroupAccessLevel(AccessLevel accessLevel) {
this.groupAccessLevel = accessLevel;
}
public String getGroupFullPath() {
return groupFullPath;
}
public void setGroupFullPath(String groupFullPath) {
this.groupFullPath = groupFullPath;
}
public Date getExpiresAt() {
return expiresAt;
}
public void setExpiresAt(Date expiresAt) {
this.expiresAt = expiresAt;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy