/var/www/flurhymez/vendor/google/apiclient-services/src/Vault/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Vault/Resource/MattersExports.php (3179B)
* $vaultService = new Google\Service\Vault(...);
* $exports = $vaultService->exports;
*
*/
class MattersExports extends \Google\Service\Resource
{
/**
* Creates an export. (exports.create)
*
* @param string $matterId The matter ID.
* @param Export $postBody
* @param array $optParams Optional parameters.
* @return Export
*/
public function create($matterId, Export $postBody, $optParams = [])
{
$params = ['matterId' => $matterId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Export::class);
}
/**
* Deletes an export. (exports.delete)
*
* @param string $matterId The matter ID.
* @param string $exportId The export ID.
* @param array $optParams Optional parameters.
* @return VaultEmpty
*/
public function delete($matterId, $exportId, $optParams = [])
{
$params = ['matterId' => $matterId, 'exportId' => $exportId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], VaultEmpty::class);
}
/**
* Gets an export. (exports.get)
*
* @param string $matterId The matter ID.
* @param string $exportId The export ID.
* @param array $optParams Optional parameters.
* @return Export
*/
public function get($matterId, $exportId, $optParams = [])
{
$params = ['matterId' => $matterId, 'exportId' => $exportId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Export::class);
}
/**
* Lists details about the exports in the specified matter.
* (exports.listMattersExports)
*
* @param string $matterId The matter ID.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The number of exports to return in the response.
* @opt_param string pageToken The pagination token as returned in the response.
* @return ListExportsResponse
*/
public function listMattersExports($matterId, $optParams = [])
{
$params = ['matterId' => $matterId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListExportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MattersExports::class, 'Google_Service_Vault_Resource_MattersExports');