code: public static base_response sync(nitro_service client, hafiles resource) throws Exception {
  		hafiles syncresource = new hafiles();
  		syncresource.mode = resource.mode;
  		return syncresource.perform_operation(client,"sync");
  	}
docs: Use this API to sync hafiles.