/* * Copyright (C) 2015 Raymond Wanyoike * * This file is part of Converge. * * Converge 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. * * Converge 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 Converge. If not, see <http://www.gnu.org/licenses/>. */ package dk.i2m.drupal.services.entities; import com.google.gson.annotations.SerializedName; /** * Drupal user entity. */ public class UserEntity { @SerializedName("uid") private Long id; @SerializedName("name") private String name; @SerializedName("pass") private String pass; @SerializedName("mail") private String mail; @SerializedName("theme") private String theme; @SerializedName("signature") private String signature; @SerializedName("signature_format") private String signatureFormat; @SerializedName("created") private Long created; @SerializedName("access") private Long access; @SerializedName("login") private Integer login; @SerializedName("status") private Integer status; @SerializedName("timezone") private String timezone; @SerializedName("language") private String language; @SerializedName("picture") private Integer picture; @SerializedName("init") private String init; // FIXME: Depreciated // @SerializedName("data") // private String data; 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 String getPass() { return pass; } public void setPass(String pass) { this.pass = pass; } public String getMail() { return mail; } public void setMail(String mail) { this.mail = mail; } public String getTheme() { return theme; } public void setTheme(String theme) { this.theme = theme; } public String getSignature() { return signature; } public void setSignature(String signature) { this.signature = signature; } public String getSignatureFormat() { return signatureFormat; } public void setSignatureFormat(String signatureFormat) { this.signatureFormat = signatureFormat; } public Long getCreated() { return created; } public void setCreated(Long created) { this.created = created; } public Long getAccess() { return access; } public void setAccess(Long access) { this.access = access; } public Integer getLogin() { return login; } public void setLogin(Integer login) { this.login = login; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } public String getTimezone() { return timezone; } public void setTimezone(String timezone) { this.timezone = timezone; } public String getLanguage() { return language; } public void setLanguage(String language) { this.language = language; } public Integer getPicture() { return picture; } public void setPicture(Integer picture) { this.picture = picture; } public String getInit() { return init; } public void setInit(String init) { this.init = init; } }