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

com.heroku.api.Collaborator Maven / Gradle / Ivy

There is a newer version: 0.46
Show newest version
package com.heroku.api;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * TODO: Javadoc
 *
 * @author Naaman Newbold
 */
public class Collaborator implements Serializable {

    private static final long serialVersionUID = 1L;

    List> permissions;
    Map user;
    String role;

    public List> getPermissions() {
        return permissions;
    }

    public void setPermissions(List> permissions) {
        this.permissions = permissions;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getEmail() {
        return user.get("email");
    }

    public Map getUser() {
        return user;
    }

    public void setUser(Map user) {
        this.user = user;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy