docs: public static base_response add(nitro_service client, service resource) throws Exception {
  		service addresource = new service();
  		addresource.name = resource.name;
  		addresource.ip = resource.ip;
  		addresource.servername = resource.servername;
  		addresource.servicetype = resource.servicetype;
  		addresource.port = resource.port;
  		addresource.cleartextport = resource.cleartextport;
  		addresource.cachetype = resource.cachetype;
  		addresource.maxclient = resource.maxclient;
  		addresource.healthmonitor = resource.healthmonitor;
  		addresource.maxreq = resource.maxreq;
  		addresource.cacheable = resource.cacheable;
  		addresource.cip = resource.cip;
  		addresource.cipheader = resource.cipheader;
  		addresource.usip = resource.usip;
  		addresource.pathmonitor = resource.pathmonitor;
  		addresource.pathmonitorindv = resource.pathmonitorindv;
  		addresource.useproxyport = resource.useproxyport;
  		addresource.sc = resource.sc;
  		addresource.sp = resource.sp;
  		addresource.rtspsessionidremap = resource.rtspsessionidremap;
  		addresource.clttimeout = resource.clttimeout;
  		addresource.svrtimeout = resource.svrtimeout;
  		addresource.customserverid = resource.customserverid;
  		addresource.serverid = resource.serverid;
  		addresource.cka = resource.cka;
  		addresource.tcpb = resource.tcpb;
  		addresource.cmp = resource.cmp;
  		addresource.maxbandwidth = resource.maxbandwidth;
  		addresource.accessdown = resource.accessdown;
  		addresource.monthreshold = resource.monthreshold;
  		addresource.state = resource.state;
  		addresource.downstateflush = resource.downstateflush;
  		addresource.tcpprofilename = resource.tcpprofilename;
  		addresource.httpprofilename = resource.httpprofilename;
  		addresource.hashid = resource.hashid;
  		addresource.comment = resource.comment;
  		addresource.appflowlog = resource.appflowlog;
  		addresource.netprofile = resource.netprofile;
  		addresource.td = resource.td;
  		return addresource.add_resource(client);
  	}