org.gitlab4j.api.models.AbstractUser 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 java.util.Date;
import java.util.List;
import org.gitlab4j.api.utils.JacksonJson;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public abstract class AbstractUser> {
private String avatarUrl;
private String bio;
private Boolean canCreateGroup;
private Boolean canCreateProject;
private Integer colorSchemeId;
private Date confirmedAt;
private Date createdAt;
private Date currentSignInAt;
private List customAttributes;
private String email;
private Boolean external;
private Integer id;
private List identities;
private Boolean isAdmin;
private Date lastActivityOn;
private Date lastSignInAt;
private String linkedin;
private String location;
private String name;
private String organization;
private Integer projectsLimit;
private String provider;
private Integer sharedRunnersMinutesLimit;
private String skype;
private String state;
private Integer themeId;
private String twitter;
private Boolean twoFactorEnabled;
private String username;
private String websiteUrl;
private String webUrl;
private Boolean skipConfirmation;
public String getAvatarUrl() {
return avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getBio() {
return bio;
}
public void setBio(String bio) {
this.bio = bio;
}
public Boolean getCanCreateGroup() {
return canCreateGroup;
}
public void setCanCreateGroup(Boolean canCreateGroup) {
this.canCreateGroup = canCreateGroup;
}
public Boolean getCanCreateProject() {
return canCreateProject;
}
public void setCanCreateProject(Boolean canCreateProject) {
this.canCreateProject = canCreateProject;
}
public Integer getColorSchemeId() {
return colorSchemeId;
}
public void setColorSchemeId(Integer colorSchemeId) {
this.colorSchemeId = colorSchemeId;
}
public Date getConfirmedAt() {
return confirmedAt;
}
public void setConfirmedAt(Date confirmedAt) {
this.confirmedAt = confirmedAt;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public Date getCurrentSignInAt() {
return currentSignInAt;
}
public void setCurrentSignInAt(Date currentSignInAt) {
this.currentSignInAt = currentSignInAt;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public Boolean getExternal() {
return external;
}
public void setExternal(Boolean external) {
this.external = external;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public List getIdentities() {
return identities;
}
public void setIdentities(List identities) {
this.identities = identities;
}
public Boolean getIsAdmin() {
return isAdmin;
}
public void setIsAdmin(Boolean isAdmin) {
this.isAdmin = isAdmin;
}
public Date getLastActivityOn() {
return lastActivityOn;
}
public void setLastActivityOn(Date lastActivityOn) {
this.lastActivityOn = lastActivityOn;
}
public Date getLastSignInAt() {
return lastSignInAt;
}
public void setLastSignInAt(Date lastSignInAt) {
this.lastSignInAt = lastSignInAt;
}
public String getLinkedin() {
return linkedin;
}
public void setLinkedin(String linkedin) {
this.linkedin = linkedin;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getOrganization() {
return organization;
}
public void setOrganization(String organization) {
this.organization = organization;
}
public Integer getProjectsLimit() {
return projectsLimit;
}
public void setProjectsLimit(Integer projectsLimit) {
this.projectsLimit = projectsLimit;
}
public String getProvider() {
return provider;
}
public void setProvider(String provider) {
this.provider = provider;
}
public Integer getSharedRunnersMinutesLimit() {
return sharedRunnersMinutesLimit;
}
public void setSharedRunnersMinutesLimit(Integer sharedRunnersMinutesLimit) {
this.sharedRunnersMinutesLimit = sharedRunnersMinutesLimit;
}
public String getSkype() {
return skype;
}
public void setSkype(String skype) {
this.skype = skype;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public Integer getThemeId() {
return themeId;
}
public void setThemeId(Integer themeId) {
this.themeId = themeId;
}
public String getTwitter() {
return twitter;
}
public void setTwitter(String twitter) {
this.twitter = twitter;
}
public Boolean getTwoFactorEnabled() {
return twoFactorEnabled;
}
public void setTwoFactorEnabled(Boolean twoFactorEnabled) {
this.twoFactorEnabled = twoFactorEnabled;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getWebsiteUrl() {
return websiteUrl;
}
public void setWebsiteUrl(String websiteUrl) {
this.websiteUrl = websiteUrl;
}
public String getWebUrl() {
return webUrl;
}
public void setWebUrl(String webUrl) {
this.webUrl = webUrl;
}
public Boolean getSkipConfirmation() {
return skipConfirmation;
}
public void setSkipConfirmation(Boolean skipConfirmation) {
this.skipConfirmation = skipConfirmation;
}
public List getCustomAttributes() {
return customAttributes;
}
public void setCustomAttributes(List customAttributes) {
this.customAttributes = customAttributes;
}
@SuppressWarnings("unchecked")
public U withAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withBio(String bio) {
this.bio = bio;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withCanCreateGroup(Boolean canCreateGroup) {
this.canCreateGroup = canCreateGroup;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withCanCreateProject(Boolean canCreateProject) {
this.canCreateProject = canCreateProject;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withColorSchemeId(Integer colorSchemeId) {
this.colorSchemeId = colorSchemeId;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withConfirmedAt(Date confirmedAt) {
this.confirmedAt = confirmedAt;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withCreatedAt(Date createdAt) {
this.createdAt = createdAt;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withCurrentSignInAt(Date currentSignInAt) {
this.currentSignInAt = currentSignInAt;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withEmail(String email) {
this.email = email;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withExternal(Boolean external) {
this.external = external;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withId(Integer id) {
this.id = id;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withIdentities(List identities) {
this.identities = identities;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withIsAdmin(Boolean isAdmin) {
this.isAdmin = isAdmin;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withLastActivityOn(Date lastActivityOn) {
this.lastActivityOn = lastActivityOn;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withLastSignInAt(Date lastSignInAt) {
this.lastSignInAt = lastSignInAt;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withLinkedin(String linkedin) {
this.linkedin = linkedin;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withLocation(String location) {
this.location = location;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withName(String name) {
this.name = name;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withOrganization(String organization) {
this.organization = organization;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withProjectsLimit(Integer projectsLimit) {
this.projectsLimit = projectsLimit;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withProvider(String provider) {
this.provider = provider;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withSharedRunnersMinutesLimit(Integer sharedRunnersMinutesLimit) {
this.sharedRunnersMinutesLimit = sharedRunnersMinutesLimit;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withSkype(String skype) {
this.skype = skype;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withState(String state) {
this.state = state;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withThemeId(Integer themeId) {
this.themeId = themeId;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withTwitter(String twitter) {
this.twitter = twitter;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withTwoFactorEnabled(Boolean twoFactorEnabled) {
this.twoFactorEnabled = twoFactorEnabled;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withUsername(String username) {
this.username = username;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withWebsiteUrl(String websiteUrl) {
this.websiteUrl = websiteUrl;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withWebUrl(String webUrl) {
this.webUrl = webUrl;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withSkipConfirmation(Boolean skipConfirmation) {
this.skipConfirmation = skipConfirmation;
return (U)this;
}
@SuppressWarnings("unchecked")
public U withCustomAttributes(List customAttributes) {
this.customAttributes = customAttributes;
return (U)this;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}