
com.podio.org.OrganizationMember 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
The newest version!
package com.podio.org;
import org.codehaus.jackson.annotate.JsonProperty;
import com.podio.common.Role;
import com.podio.contact.Profile;
import com.podio.user.User;
public class OrganizationMember {
/**
* The user data of the member
*/
private User user;
/**
* The profile of the member
*/
private Profile profile;
/**
* True if the member is an employee, false otherwise
*/
private boolean employee;
/**
* The organization role of the user, if any, either "regular" or "admin"
*/
private Role role;
/**
* The number of spaces the user is member of in the organization
*/
private int spaceMemberships;
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public Profile getProfile() {
return profile;
}
public void setProfile(Profile profile) {
this.profile = profile;
}
public boolean isEmployee() {
return employee;
}
public void setEmployee(boolean employee) {
this.employee = employee;
}
public Role getRole() {
return role;
}
public void setRole(Role role) {
this.role = role;
}
@JsonProperty("space_memberships")
public int getSpaceMemberships() {
return spaceMemberships;
}
@JsonProperty("space_memberships")
public void setSpaceMemberships(int spaceMemberships) {
this.spaceMemberships = spaceMemberships;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy