repo/rest-api/src/Application/UseCases/PatchItemAliases/PatchItemAliasesResponse.php
<?php declare( strict_types=1 );
namespace Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases;
use Wikibase\Repo\RestApi\Domain\ReadModel\Aliases;
/**
* @license GPL-2.0-or-later
*/
class PatchItemAliasesResponse {
private Aliases $aliases;
private string $lastModified;
private int $revisionId;
public function __construct( Aliases $aliases, string $lastModified, int $revisionId ) {
$this->aliases = $aliases;
$this->lastModified = $lastModified;
$this->revisionId = $revisionId;
}
public function getAliases(): aliases {
return $this->aliases;
}
public function getLastModified(): string {
return $this->lastModified;
}
public function getRevisionId(): int {
return $this->revisionId;
}
}