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

com.sendsafely.dto.request.AddRecipientsRequest Maven / Gradle / Ivy

package com.sendsafely.dto.request;

import java.util.List;

import com.sendsafely.enums.GetParam;
import com.sendsafely.enums.HTTPMethod;
import com.sendsafely.json.JsonManager;

public class AddRecipientsRequest extends AddRecipientRequest 
{	
	
	private HTTPMethod method = HTTPMethod.PUT;
	private String path = "/package/" + GetParam.PACKAGE_ID + "/recipients/";
	
	public AddRecipientsRequest(JsonManager jsonManager, List emails) {
		initialize(jsonManager, method, path);
	
		super.setPostParam("emails", emails);
	}
	
	public void setPackageId(String packageId)
	{
		super.setGetParam(GetParam.PACKAGE_ID, packageId);
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy