<pre>
Use this operation to add snmp manager to Repeater in bulk.
</pre>
541791
public static br_broker_snmpmanager[] addmanager(nitro_service client, br_broker_snmpmanager[] resources) throws Exception
	{
		if(resources == null)
			throw new Exception("Null resource array");
		
		
		if(resources.length == 1)
			return ((br_broker_snmpmanager[]) resources[0].perform_operation(client, "addmanager"));
		
		return ((br_broker_snmpmanager[]) perform_operation_bulk_request(client, resources, "addmanager"));
	}
998255
public static snmp_manager[] get(nitro_service client) throws Exception
	{
		snmp_manager resource = new snmp_manager();
		resource.validate("get");
		return (snmp_manager[]) resource.get_resources(client);
	}
1070650
public static base_responses add(nitro_service client, cacheselector resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			cacheselector addresources[] = new cacheselector[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new cacheselector();
				addresources[i].selectorname = resources[i].selectorname;
				addresources[i].rule = resources[i].rule;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
583386
public static br_replicateconfig[] replicate(nitro_service client, br_replicateconfig[] resources) throws Exception
	{
		if(resources == null)
			throw new Exception("Null resource array");
		
		
		if(resources.length == 1)
			return ((br_replicateconfig[]) resources[0].perform_operation(client, "replicate"));
		
		return ((br_replicateconfig[]) perform_operation_bulk_request(client, resources, "replicate"));
	}
975889
public static base_response add(nitro_service client, snmpuser resource) throws Exception {
		snmpuser addresource = new snmpuser();
		addresource.name = resource.name;
		addresource.group = resource.group;
		addresource.authtype = resource.authtype;
		addresource.authpasswd = resource.authpasswd;
		addresource.privtype = resource.privtype;
		addresource.privpasswd = resource.privpasswd;
		return addresource.add_resource(client);
	}
893492
public static base_response add(nitro_service client, snmpview resource) throws Exception {
		snmpview addresource = new snmpview();
		addresource.name = resource.name;
		addresource.subtree = resource.subtree;
		addresource.type = resource.type;
		return addresource.add_resource(client);
	}
667741
public static br_snmpmanager addmanager(nitro_service client, br_snmpmanager resource) throws Exception
	{
		return ((br_snmpmanager[]) resource.perform_operation(client, "addmanager"))[0];
	}
753762
public static base_response add(nitro_service client, nspbr6 resource) throws Exception {
		nspbr6 addresource = new nspbr6();
		addresource.name = resource.name;
		addresource.td = resource.td;
		addresource.action = resource.action;
		addresource.srcipv6 = resource.srcipv6;
		addresource.srcipop = resource.srcipop;
		addresource.srcipv6val = resource.srcipv6val;
		addresource.srcport = resource.srcport;
		addresource.srcportop = resource.srcportop;
		addresource.srcportval = resource.srcportval;
		addresource.destipv6 = resource.destipv6;
		addresource.destipop = resource.destipop;
		addresource.destipv6val = resource.destipv6val;
		addresource.destport = resource.destport;
		addresource.destportop = resource.destportop;
		addresource.destportval = resource.destportval;
		addresource.srcmac = resource.srcmac;
		addresource.protocol = resource.protocol;
		addresource.protocolnumber = resource.protocolnumber;
		addresource.vlan = resource.vlan;
		addresource.Interface = resource.Interface;
		addresource.priority = resource.priority;
		addresource.state = resource.state;
		addresource.msr = resource.msr;
		addresource.monitor = resource.monitor;
		addresource.nexthop = resource.nexthop;
		addresource.nexthopval = resource.nexthopval;
		addresource.nexthopvlan = resource.nexthopvlan;
		return addresource.add_resource(client);
	}
311963
public static base_responses add(nitro_service client, ntpserver resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			ntpserver addresources[] = new ntpserver[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new ntpserver();
				addresources[i].serverip = resources[i].serverip;
				addresources[i].servername = resources[i].servername;
				addresources[i].minpoll = resources[i].minpoll;
				addresources[i].maxpoll = resources[i].maxpoll;
				addresources[i].autokey = resources[i].autokey;
				addresources[i].key = resources[i].key;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
161142
function _new_manager(){
    var engine = new jquery_engine(golr_response);
    engine.method('GET');
    engine.use_jsonp(true);
    var manager = new golr_manager(gserv_bulk, gconf, engine, 'async');
    return manager;
}
978012
public static base_responses add(nitro_service client, dnsnameserver resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnsnameserver addresources[] = new dnsnameserver[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnsnameserver();
				addresources[i].ip = resources[i].ip;
				addresources[i].dnsvservername = resources[i].dnsvservername;
				addresources[i].local = resources[i].local;
				addresources[i].state = resources[i].state;
				addresources[i].type = resources[i].type;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
960141
public static br_adduser[] adduser(nitro_service client, br_adduser[] resources) throws Exception
	{
		if(resources == null)
			throw new Exception("Null resource array");
		
		
		if(resources.length == 1)
			return ((br_adduser[]) resources[0].perform_operation(client, "adduser"));
		
		return ((br_adduser[]) perform_operation_bulk_request(client, resources, "adduser"));
	}
1083738
public static base_response update(nitro_service client, snmpmanager resource) throws Exception {
		snmpmanager updateresource = new snmpmanager();
		updateresource.ipaddress = resource.ipaddress;
		updateresource.netmask = resource.netmask;
		updateresource.domainresolveretry = resource.domainresolveretry;
		return updateresource.update_resource(client);
	}
1188503
public static snmpmanager[] get(nitro_service service) throws Exception{
		snmpmanager obj = new snmpmanager();
		snmpmanager[] response = (snmpmanager[])obj.get_resources(service);
		return response;
	}
1227262
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_broker_snmpmanager_responses result = (br_broker_snmpmanager_responses) service.get_payload_formatter().string_to_resource(br_broker_snmpmanager_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.br_broker_snmpmanager_response_array);
		}
		br_broker_snmpmanager[] result_br_broker_snmpmanager = new br_broker_snmpmanager[result.br_broker_snmpmanager_response_array.length];
		
		for(int i = 0; i < result.br_broker_snmpmanager_response_array.length; i++)
		{
			result_br_broker_snmpmanager[i] = result.br_broker_snmpmanager_response_array[i].br_broker_snmpmanager[0];
		}
		
		return result_br_broker_snmpmanager;
	}
1142467
public static base_responses add(nitro_service client, dnssuffix resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnssuffix addresources[] = new dnssuffix[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnssuffix();
				addresources[i].Dnssuffix = resources[i].Dnssuffix;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
732222
public static snmpalarm[] get(nitro_service service) throws Exception{
		snmpalarm obj = new snmpalarm();
		snmpalarm[] response = (snmpalarm[])obj.get_resources(service);
		return response;
	}