com.podio.user.User Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
The official Java wrapper for the Podio API
package com.podio.user;
import java.util.List;
import java.util.Locale;
import java.util.TimeZone;
import org.codehaus.jackson.annotate.JsonProperty;
import org.joda.time.DateTime;
public class User {
private int id;
private String mail;
private UserStatusType status;
private Locale locale;
private TimeZone timezone;
private int invites;
private List flags;
private DateTime createdOn;
@Override
public String toString() {
return "User [id=" + id + ", mail=" + mail + ", status=" + status
+ ", locale=" + locale + ", timezone=" + timezone + "]";
}
@JsonProperty("user_id")
public int getId() {
return id;
}
@JsonProperty("user_id")
public void setId(int id) {
this.id = id;
}
public String getMail() {
return mail;
}
public void setMail(String mail) {
this.mail = mail;
}
public UserStatusType getStatus() {
return status;
}
public void setStatus(UserStatusType status) {
this.status = status;
}
public Locale getLocale() {
return locale;
}
public void setLocale(Locale locale) {
this.locale = locale;
}
public TimeZone getTimezone() {
return timezone;
}
public void setTimezone(TimeZone timezone) {
this.timezone = timezone;
}
public int getInvites() {
return invites;
}
public void setInvites(int invites) {
this.invites = invites;
}
public List getFlags() {
return flags;
}
public void setFlags(List flags) {
this.flags = flags;
}
@JsonProperty("created_on")
public DateTime getCreatedOn() {
return createdOn;
}
@JsonProperty("created_by")
public void setCreatedOn(DateTime createdOn) {
this.createdOn = createdOn;
}
}