All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.podio.user.User Maven / Gradle / Ivy

There is a newer version: 0.7.9
Show newest version
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy