br.com.anteros.nextcloud.api.provisioning.User Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Anteros-NextCloud Show documentation
Show all versions of Anteros-NextCloud Show documentation
Anteros NextCloud for Java.
/*
* Copyright (C) 2017 a.schild
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package br.com.anteros.nextcloud.api.provisioning;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
/**
*
* @author a.schild
*/
@XmlAccessorType(XmlAccessType.FIELD)
public class User
{
private String id;
private boolean enabled;
private String email;
private String displayname;
private String phone;
private String address;
private String website;
private String twitter;
private Quota quota;
@XmlElementWrapper(name = "groups")
@XmlElement(name = "element")
private List groups;
public String getId() {
return id;
}
public boolean isEnabled() {
return enabled;
}
public String getEmail() {
return email;
}
public String getDisplayname() {
return displayname;
}
public String getPhone() {
return phone;
}
public String getAddress() {
return address;
}
public String getWebsite() {
return website;
}
public String getTwitter() {
return twitter;
}
public Quota getQuota() {
return quota;
}
public List getGroups() {
return groups;
}
}