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

Public Member Functions

 __construct (ItemId $id, ?string $type, ?TermList $labels, ?TermList $descriptions, ?AliasGroupList $aliases, ?StatementList $statements, ?SiteLinkList $siteLinks)
 
 getId ()
 
 getType ()
 
 getLabels ()
 
 getDescriptions ()
 
 getAliases ()
 
 getStatements ()
 
 getSiteLinks ()
 

Public Attributes

const FIELD_TYPE = 'type'
 
const FIELD_LABELS = 'labels'
 
const FIELD_DESCRIPTIONS = 'descriptions'
 
const FIELD_ALIASES = 'aliases'
 
const FIELD_STATEMENTS = 'statements'
 
const FIELD_SITELINKS = 'sitelinks'
 
const VALID_FIELDS
 

Private Attributes

 $id
 
 $type
 
 $labels
 
 $descriptions
 
 $aliases
 
 $statements
 
 $siteLinks
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\Model\ItemData::__construct ( ItemId  $id,
?string  $type,
?TermList  $labels,
?TermList  $descriptions,
?AliasGroupList  $aliases,
?StatementList  $statements,
?SiteLinkList  $siteLinks 
)

Member Function Documentation

◆ getAliases()

Wikibase\Repo\RestApi\Domain\Model\ItemData::getAliases ( )

◆ getDescriptions()

Wikibase\Repo\RestApi\Domain\Model\ItemData::getDescriptions ( )

◆ getId()

Wikibase\Repo\RestApi\Domain\Model\ItemData::getId ( )

◆ getLabels()

Wikibase\Repo\RestApi\Domain\Model\ItemData::getLabels ( )

◆ getSiteLinks()

Wikibase\Repo\RestApi\Domain\Model\ItemData::getSiteLinks ( )

◆ getStatements()

Wikibase\Repo\RestApi\Domain\Model\ItemData::getStatements ( )

◆ getType()

Wikibase\Repo\RestApi\Domain\Model\ItemData::getType ( )

Member Data Documentation

◆ $aliases

Wikibase\Repo\RestApi\Domain\Model\ItemData::$aliases
private

◆ $descriptions

Wikibase\Repo\RestApi\Domain\Model\ItemData::$descriptions
private

◆ $id

Wikibase\Repo\RestApi\Domain\Model\ItemData::$id
private

◆ $labels

Wikibase\Repo\RestApi\Domain\Model\ItemData::$labels
private

◆ $siteLinks

Wikibase\Repo\RestApi\Domain\Model\ItemData::$siteLinks
private

◆ $statements

Wikibase\Repo\RestApi\Domain\Model\ItemData::$statements
private

◆ $type

Wikibase\Repo\RestApi\Domain\Model\ItemData::$type
private

◆ FIELD_ALIASES

const Wikibase\Repo\RestApi\Domain\Model\ItemData::FIELD_ALIASES = 'aliases'

◆ FIELD_DESCRIPTIONS

const Wikibase\Repo\RestApi\Domain\Model\ItemData::FIELD_DESCRIPTIONS = 'descriptions'

◆ FIELD_LABELS

const Wikibase\Repo\RestApi\Domain\Model\ItemData::FIELD_LABELS = 'labels'

◆ FIELD_SITELINKS

const Wikibase\Repo\RestApi\Domain\Model\ItemData::FIELD_SITELINKS = 'sitelinks'

◆ FIELD_STATEMENTS

const Wikibase\Repo\RestApi\Domain\Model\ItemData::FIELD_STATEMENTS = 'statements'

◆ FIELD_TYPE

const Wikibase\Repo\RestApi\Domain\Model\ItemData::FIELD_TYPE = 'type'

◆ VALID_FIELDS

const Wikibase\Repo\RestApi\Domain\Model\ItemData::VALID_FIELDS
Initial value:

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