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

com.podio.space.SpaceInvitation Maven / Gradle / Ivy

There is a newer version: 0.7.9
Show newest version
package com.podio.space;

import java.util.List;

import com.podio.common.Role;

public class SpaceInvitation {

	/**
	 * The role of the new users
	 */
	private Role role;

	/**
	 * The subject to put in the invitation mail to the users
	 */
	private String subject;

	/**
	 * The personalized message to put in the invitation
	 */
	private String message;

	/**
	 * true if the invitation should be resend every week,
	 * false otherwise
	 */
	private boolean resend;

	/**
	 * true if the inviter should be notified when the user accepts
	 * or declines the invitation, false otherwise
	 */
	private boolean notify;

	/**
	 * The list of user ids of existing Podio users
	 */
	private List users;

	/**
	 * The list of mail addresses for new or existing Podio users
	 */
	private List mails;

	public SpaceInvitation(Role role, String subject, String message,
			boolean resend, boolean notify, List users,
			List mails) {
		super();
		this.role = role;
		this.subject = subject;
		this.message = message;
		this.resend = resend;
		this.notify = notify;
		this.users = users;
		this.mails = mails;
	}

	public Role getRole() {
		return role;
	}

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

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isResend() {
		return resend;
	}

	public void setResend(boolean resend) {
		this.resend = resend;
	}

	public boolean isNotify() {
		return notify;
	}

	public void setNotify(boolean notify) {
		this.notify = notify;
	}

	public List getUsers() {
		return users;
	}

	public void setUsers(List users) {
		this.users = users;
	}

	public List getMails() {
		return mails;
	}

	public void setMails(List mails) {
		this.mails = mails;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy