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

com.sendsafely.PackageReference 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 PackageReference extends BasePackage {

	private List recipients;
	private List contactGroupNames;
	
	/**
	 * @description Get all recipients that are currently associated with the package
	 * @returnType List
	 * @return A list of recipient emails.
	 */
	public List getRecipients() {
		return recipients;
	}
	
	/**
	 * @description Set internally by the API.
	 * @param recipients
	 */
	public void setRecipients(List recipients) {
		this.recipients = recipients;
	}
	
	/**
	 * @description Get all contactGroup names that are currently associated with the package
	 * @returnType List
	 * @return A list of contact group names.
	 */
	public List getContactGroupNames() {
		return contactGroupNames;
	}
	
	/**
	 * @description Set internally by the API.
	 * @param contactGroupNames
	 */
	public void setContactGroupNames(List contactGroupNames) {
		this.contactGroupNames = contactGroupNames;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy