Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest Class Reference

Public Member Functions

 __construct (string $itemId, array $statement, array $editTags, bool $isBot, ?string $comment, ?string $username)
 
 getStatement ()
 
 getEditTags ()
 
 isBot ()
 
 getItemId ()
 
 getComment ()
 
 hasUser ()
 
 getUsername ()
 

Private Attributes

 $itemId
 
 $statement
 
 $editTags
 
 $isBot
 
 $comment
 
 $username
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::__construct ( string  $itemId,
array  $statement,
array  $editTags,
bool  $isBot,
?string  $comment,
?string  $username 
)

Member Function Documentation

◆ getComment()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::getComment ( )

◆ getEditTags()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::getEditTags ( )

◆ getItemId()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::getItemId ( )

◆ getStatement()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::getStatement ( )

◆ getUsername()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::getUsername ( )

◆ hasUser()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::hasUser ( )

◆ isBot()

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::isBot ( )

Member Data Documentation

◆ $comment

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::$comment
private

◆ $editTags

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::$editTags
private

◆ $isBot

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::$isBot
private

◆ $itemId

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::$itemId
private

◆ $statement

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::$statement
private

◆ $username

Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementRequest::$username
private

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