docs: public static base_responses add(nitro_service client, channel resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			channel addresources[] = new channel[resources.length];
  			for (int i=0;i<resources.length;i++){
  				addresources[i] = new channel();
  				addresources[i].id = resources[i].id;
  				addresources[i].ifnum = resources[i].ifnum;
  				addresources[i].state = resources[i].state;
  				addresources[i].mode = resources[i].mode;
  				addresources[i].conndistr = resources[i].conndistr;
  				addresources[i].macdistr = resources[i].macdistr;
  				addresources[i].lamac = resources[i].lamac;
  				addresources[i].speed = resources[i].speed;
  				addresources[i].flowctl = resources[i].flowctl;
  				addresources[i].hamonitor = resources[i].hamonitor;
  				addresources[i].tagall = resources[i].tagall;
  				addresources[i].trunk = resources[i].trunk;
  				addresources[i].ifalias = resources[i].ifalias;
  				addresources[i].throughput = resources[i].throughput;
  				addresources[i].bandwidthhigh = resources[i].bandwidthhigh;
  				addresources[i].bandwidthnormal = resources[i].bandwidthnormal;
  			}
  			result = add_bulk_request(client, addresources);
  		}
  		return result;
  	}