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

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

package com.sendsafely.dto.request;

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

public class AddContactGroupAsRecipientRequest extends BaseRequest{
	private HTTPMethod method = HTTPMethod.PUT;
	protected String path = "/package/" + GetParam.PACKAGE_ID + "/group/" + GetParam.GROUP_ID + "/";
	
	public void setGroupId(String groupId) {
		super.setGetParam(GetParam.GROUP_ID, groupId);
	}
	
	public void setPackageId(String packageId) {
		super.setGetParam(GetParam.PACKAGE_ID, packageId);
	}
	
	public AddContactGroupAsRecipientRequest(JsonManager jsonManager, String packageId, String groupId){
		initialize(jsonManager, method, path);
		super.setGetParam(GetParam.PACKAGE_ID, packageId);
		super.setGetParam(GetParam.GROUP_ID, groupId);
		
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy