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

com.sendsafely.Package Maven / Gradle / Ivy

package com.sendsafely;

import java.util.List;

/**
 * A Java Bean containing information about a package. 
 * Only the Getters should be used from this object, since the server will populate the object. 
 * Updating the setters will not change any state on the server and should be avoided.
 *
 */
public class Package extends BasePackage {

	private List recipients;
	
	private List contactGroups;
	/**
	 * @description Get all recipients that are currently associated with the package
	 * @returnType List
	 * @return A list of recipients.
	 */
	public List getRecipients() {
		return recipients;
	}
	
	/**
	 * @description Set internally by the API.
	 * @param recipients
	 */
	public void setRecipients(List recipients) {
		this.recipients = recipients;
	}

	/**
	 * @description Set internally by the API.
	 * @returnType List
	 * @return A list of contact groups.
	 */
	public List getContactGroups() {
		return contactGroups;
	}

	/**
	 * @description Set internally by the API.
	 * @param contactGroups
	 */
	public void setContactGroups(List contactGroups) {
		this.contactGroups = contactGroups;
	}	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy