code: public static base_response add(nitro_service client, dospolicy resource) throws Exception {
  		dospolicy addresource = new dospolicy();
  		addresource.name = resource.name;
  		addresource.qdepth = resource.qdepth;
  		addresource.cltdetectrate = resource.cltdetectrate;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add dospolicy.