com.podio.contact.ProfileUpdate Maven / Gradle / Ivy
package com.podio.contact;
import java.util.List;
import org.codehaus.jackson.annotate.JsonProperty;
import org.joda.time.LocalDate;
import com.podio.file.File;
public class ProfileUpdate {
/**
* The full name
*/
private String name;
/**
* The file id of the avatar
*/
private Integer avatar;
/**
* The image details for the user
*/
private File image;
/**
* The birthdate
*/
private LocalDate birthdate;
/**
* The organization or company the person is associated with
*/
private String organization;
/**
* The username for Skype
*/
private String skype;
/**
* Short text about the person
*/
private String about;
/**
* The addresses where the person lives or work
*/
private List addresses;
/**
* Any instant messaging address
*/
private List ims;
/**
* The locations of the person
*/
private List locations;
/**
* Email addresses
*/
private List mails;
/**
* The phone numbers
*/
private List phones;
/**
* The persons title, usually the work title
*/
private List titles;
/**
* An URL to the persons homepage or the homepage of the company
*/
private List urls;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getAvatar() {
return avatar;
}
public void setAvatar(Integer avatar) {
this.avatar = avatar;
}
public File getImage() {
return image;
}
public void setImage(File image) {
this.image = image;
}
public LocalDate getBirthdate() {
return birthdate;
}
public void setBirthdate(LocalDate birthdate) {
this.birthdate = birthdate;
}
public String getOrganization() {
return organization;
}
public void setOrganization(String organization) {
this.organization = organization;
}
public String getSkype() {
return skype;
}
public void setSkype(String skype) {
this.skype = skype;
}
public String getAbout() {
return about;
}
public void setAbout(String about) {
this.about = about;
}
@JsonProperty("address")
public List getAddresses() {
return addresses;
}
@JsonProperty("address")
public void setAddresses(List addresses) {
this.addresses = addresses;
}
@JsonProperty("im")
public List getIms() {
return ims;
}
@JsonProperty("im")
public void setIms(List ims) {
this.ims = ims;
}
@JsonProperty("location")
public List getLocations() {
return locations;
}
@JsonProperty("location")
public void setLocations(List locations) {
this.locations = locations;
}
@JsonProperty("mail")
public List getMails() {
return mails;
}
@JsonProperty("mail")
public void setMails(List mails) {
this.mails = mails;
}
@JsonProperty("phone")
public List getPhones() {
return phones;
}
@JsonProperty("phone")
public void setPhones(List phones) {
this.phones = phones;
}
@JsonProperty("title")
public List getTitles() {
return titles;
}
@JsonProperty("title")
public void setTitles(List titles) {
this.titles = titles;
}
@JsonProperty("url")
public List getUrls() {
return urls;
}
@JsonProperty("url")
public void setUrls(List urls) {
this.urls = urls;
}
}