docs: public static base_response update(nitro_service client, channel resource) throws Exception {
  		channel updateresource = new channel();
  		updateresource.id = resource.id;
  		updateresource.state = resource.state;
  		updateresource.mode = resource.mode;
  		updateresource.conndistr = resource.conndistr;
  		updateresource.macdistr = resource.macdistr;
  		updateresource.lamac = resource.lamac;
  		updateresource.speed = resource.speed;
  		updateresource.flowctl = resource.flowctl;
  		updateresource.hamonitor = resource.hamonitor;
  		updateresource.tagall = resource.tagall;
  		updateresource.trunk = resource.trunk;
  		updateresource.ifalias = resource.ifalias;
  		updateresource.throughput = resource.throughput;
  		updateresource.lrminthroughput = resource.lrminthroughput;
  		updateresource.bandwidthhigh = resource.bandwidthhigh;
  		updateresource.bandwidthnormal = resource.bandwidthnormal;
  		return updateresource.update_resource(client);
  	}