Use this API to fetch all the nspbr resources that are configured on netscaler.
This uses nspbr_args which is a way to provide additional arguments while fetching the resources.
162771
public static nspbr[] get(nitro_service service, nspbr_args args) throws Exception{
		nspbr obj = new nspbr();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		nspbr[] response = (nspbr[])obj.get_resources(service, option);
		return response;
	}
182318
public static nsspparams get(nitro_service service) throws Exception{
		nsspparams obj = new nsspparams();
		nsspparams[] response = (nsspparams[])obj.get_resources(service);
		return response[0];
	}
1303196
public static nspbr_stats get(nitro_service service, String name) throws Exception{
		nspbr_stats obj = new nspbr_stats();
		obj.set_name(name);
		nspbr_stats response = (nspbr_stats) obj.stat_resource(service);
		return response;
	}
966436
public static nslimitsessions[] get(nitro_service service, nslimitsessions_args args) throws Exception{
		nslimitsessions obj = new nslimitsessions();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		nslimitsessions[] response = (nslimitsessions[])obj.get_resources(service, option);
		return response;
	}
659978
public static nsacl6[] get(nitro_service service) throws Exception{
		nsacl6 obj = new nsacl6();
		nsacl6[] response = (nsacl6[])obj.get_resources(service);
		return response;
	}
809944
public static ns_conf[] get(nitro_service client) throws Exception
	{
		ns_conf resource = new ns_conf();
		resource.validate("get");
		return (ns_conf[]) resource.get_resources(client);
	}
1139415
public static gslbparameter get(nitro_service service) throws Exception{
		gslbparameter obj = new gslbparameter();
		gslbparameter[] response = (gslbparameter[])obj.get_resources(service);
		return response[0];
	}
1196036
public static nspbr6_stats get(nitro_service service, String name) throws Exception{
		nspbr6_stats obj = new nspbr6_stats();
		obj.set_name(name);
		nspbr6_stats response = (nspbr6_stats) obj.stat_resource(service);
		return response;
	}
591863
public static protocolhttpband[] get(nitro_service service, protocolhttpband_args args) throws Exception{
		protocolhttpband obj = new protocolhttpband();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		protocolhttpband[] response = (protocolhttpband[])obj.get_resources(service, option);
		return response;
	}
409924
public static nspbr6[] get(nitro_service service) throws Exception{
		nspbr6 obj = new nspbr6();
		nspbr6[] response = (nspbr6[])obj.get_resources(service);
		return response;
	}
556892
public static rnat[] get(nitro_service service, options option) throws Exception{
		rnat obj = new rnat();
		rnat[] response = (rnat[])obj.get_resources(service,option);
		return response;
	}
239518
public static service[] get(nitro_service service, service_args args) throws Exception{
		service obj = new service();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		service[] response = (service[])obj.get_resources(service, option);
		return response;
	}
486485
public static lbmonitor[] get(nitro_service service, lbmonitor_args args) throws Exception{
		lbmonitor obj = new lbmonitor();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		lbmonitor[] response = (lbmonitor[])obj.get_resources(service, option);
		return response;
	}
670937
public static base_response update(nitro_service client, nspbr resource) throws Exception {
		nspbr updateresource = new nspbr();
		updateresource.name = resource.name;
		updateresource.action = resource.action;
		updateresource.srcip = resource.srcip;
		updateresource.srcipop = resource.srcipop;
		updateresource.srcipval = resource.srcipval;
		updateresource.srcport = resource.srcport;
		updateresource.srcportop = resource.srcportop;
		updateresource.srcportval = resource.srcportval;
		updateresource.destip = resource.destip;
		updateresource.destipop = resource.destipop;
		updateresource.destipval = resource.destipval;
		updateresource.destport = resource.destport;
		updateresource.destportop = resource.destportop;
		updateresource.destportval = resource.destportval;
		updateresource.nexthop = resource.nexthop;
		updateresource.nexthopval = resource.nexthopval;
		updateresource.iptunnel = resource.iptunnel;
		updateresource.iptunnelname = resource.iptunnelname;
		updateresource.srcmac = resource.srcmac;
		updateresource.protocol = resource.protocol;
		updateresource.protocolnumber = resource.protocolnumber;
		updateresource.vlan = resource.vlan;
		updateresource.Interface = resource.Interface;
		updateresource.priority = resource.priority;
		updateresource.msr = resource.msr;
		updateresource.monitor = resource.monitor;
		return updateresource.update_resource(client);
	}
1362793
public static nsevents[] get(nitro_service service, options option) throws Exception{
		nsevents obj = new nsevents();
		nsevents[] response = (nsevents[])obj.get_resources(service,option);
		return response;
	}
1029066
public static base_responses update(nitro_service client, nspbr6 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nspbr6 updateresources[] = new nspbr6[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new nspbr6();
				updateresources[i].name = resources[i].name;
				updateresources[i].action = resources[i].action;
				updateresources[i].srcipv6 = resources[i].srcipv6;
				updateresources[i].srcipop = resources[i].srcipop;
				updateresources[i].srcipv6val = resources[i].srcipv6val;
				updateresources[i].srcport = resources[i].srcport;
				updateresources[i].srcportop = resources[i].srcportop;
				updateresources[i].srcportval = resources[i].srcportval;
				updateresources[i].destipv6 = resources[i].destipv6;
				updateresources[i].destipop = resources[i].destipop;
				updateresources[i].destipv6val = resources[i].destipv6val;
				updateresources[i].destport = resources[i].destport;
				updateresources[i].destportop = resources[i].destportop;
				updateresources[i].destportval = resources[i].destportval;
				updateresources[i].srcmac = resources[i].srcmac;
				updateresources[i].protocol = resources[i].protocol;
				updateresources[i].protocolnumber = resources[i].protocolnumber;
				updateresources[i].vlan = resources[i].vlan;
				updateresources[i].Interface = resources[i].Interface;
				updateresources[i].priority = resources[i].priority;
				updateresources[i].msr = resources[i].msr;
				updateresources[i].monitor = resources[i].monitor;
				updateresources[i].nexthop = resources[i].nexthop;
				updateresources[i].nexthopval = resources[i].nexthopval;
				updateresources[i].nexthopvlan = resources[i].nexthopvlan;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
229931
public static ntpserver[] get(nitro_service service) throws Exception{
		ntpserver obj = new ntpserver();
		ntpserver[] response = (ntpserver[])obj.get_resources(service);
		return response;
	}