Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult Class Reference

Public Member Functions

 getRevisionId ()
 
 getRevisionTimestamp ()
 
 getRedirectTarget ()
 
 itemExists ()
 
 isRedirect ()
 

Static Public Member Functions

static concreteRevision (int $revisionId, string $revisionTimestamp)
 
static redirect (ItemId $redirectTarget)
 
static itemNotFound ()
 

Private Attributes

 $revisionId
 
 $revisionTimestamp
 
 $redirectTarget
 

Detailed Description

Member Function Documentation

◆ concreteRevision()

static Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::concreteRevision ( int  $revisionId,
string  $revisionTimestamp 
)
static

◆ getRedirectTarget()

Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::getRedirectTarget ( )
Exceptions

◆ getRevisionId()

Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::getRevisionId ( )
Exceptions

◆ getRevisionTimestamp()

Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::getRevisionTimestamp ( )
Exceptions

◆ isRedirect()

Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::isRedirect ( )

◆ itemExists()

Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::itemExists ( )

◆ itemNotFound()

static Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::itemNotFound ( )
static

◆ redirect()

static Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::redirect ( ItemId  $redirectTarget)
static

Member Data Documentation

◆ $redirectTarget

Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::$redirectTarget
private

◆ $revisionId

Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::$revisionId
private

◆ $revisionTimestamp

Wikibase\Repo\RestApi\Domain\Model\LatestItemRevisionMetadataResult::$revisionTimestamp
private

The documentation for this class was generated from the following file: