code: public static base_response rename(nitro_service client, cachepolicy resource, String new_policyname) throws Exception {
  		cachepolicy renameresource = new cachepolicy();
  		renameresource.policyname = resource.policyname;
  		return renameresource.rename_resource(client,new_policyname);
  	}
docs: Use this API to rename a cachepolicy resource.