code: public static base_response add(nitro_service client, server resource) throws Exception {
  		server addresource = new server();
  		addresource.name = resource.name;
  		addresource.ipaddress = resource.ipaddress;
  		addresource.domain = resource.domain;
  		addresource.translationip = resource.translationip;
  		addresource.translationmask = resource.translationmask;
  		addresource.domainresolveretry = resource.domainresolveretry;
  		addresource.state = resource.state;
  		addresource.ipv6address = resource.ipv6address;
  		addresource.comment = resource.comment;
  		addresource.td = resource.td;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add server.