public static base_response add(nitro_service client, policypatset resource) throws Exception {
		policypatset addresource = new policypatset();
		addresource.name = resource.name;
		addresource.indextype = resource.indextype;
		return addresource.add_resource(client);
	}
public static base_response add ( nitro_service client , policypatset resource ) throws Exception { policypatset addresource = new policypatset ( ) ; addresource . name = resource . name ; addresource . indextype = resource . indextype ; return addresource . add_resource ( client ) ; }
Use this API to add policypatset.