com.podio.common.AuthorizationEntity 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.common;
import java.io.Serializable;
import java.net.URL;
import org.codehaus.jackson.annotate.JsonProperty;
public class AuthorizationEntity implements Serializable {
private static final long serialVersionUID = 1L;
private AuthorizationEntityType type;
private int id;
private AvatarType avatarType;
private Integer avatarId;
private String name;
private URL url;
public AuthorizationEntityType getType() {
return type;
}
public void setType(AuthorizationEntityType type) {
this.type = type;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public AvatarType getAvatarType() {
return avatarType;
}
@JsonProperty("avatar_type")
public void setAvatarType(AvatarType avatarType) {
this.avatarType = avatarType;
}
public Integer getAvatarId() {
return avatarId;
}
@JsonProperty("avatar_id")
public void setAvatarId(Integer avatarId) {
this.avatarId = avatarId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public URL getUrl() {
return url;
}
public void setUrl(URL url) {
this.url = url;
}
}