public static base_responses add(nitro_service client, snmpgroup resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			snmpgroup addresources[] = new snmpgroup[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new snmpgroup();
				addresources[i].name = resources[i].name;
				addresources[i].securitylevel = resources[i].securitylevel;
				addresources[i].readviewname = resources[i].readviewname;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
public static base_responses add ( nitro_service client , snmpgroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { snmpgroup addresources [ ] = new snmpgroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new snmpgroup ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . securitylevel = resources [ i ] . securitylevel ; addresources [ i ] . readviewname = resources [ i ] . readviewname ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add snmpgroup resources.