Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter Class Reference

Inherits Wikibase\Repo\RestApi\Application\UseCases\AddItemStatement\DeserializedAddItemStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\AddPropertyStatement\DeserializedAddPropertyStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItem\DeserializedGetItemRequest, Wikibase\Repo\RestApi\Application\UseCases\GetSitelinks\DeserializedGetSitelinksRequest, Wikibase\Repo\RestApi\Application\UseCases\GetSitelink\DeserializedGetSitelinkRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemLabels\DeserializedGetItemLabelsRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemLabel\DeserializedGetItemLabelRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemLabelWithFallback\DeserializedGetItemLabelWithFallbackRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemDescriptions\DeserializedGetItemDescriptionsRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemDescription\DeserializedGetItemDescriptionRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemDescriptionWithFallback\DeserializedGetItemDescriptionWithFallbackRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemAliases\DeserializedGetItemAliasesRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemAliasesInLanguage\DeserializedGetItemAliasesInLanguageRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemStatement\DeserializedGetItemStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\GetItemStatements\DeserializedGetItemStatementsRequest, Wikibase\Repo\RestApi\Application\UseCases\GetProperty\DeserializedGetPropertyRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyLabels\DeserializedGetPropertyLabelsRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyDescriptions\DeserializedGetPropertyDescriptionsRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyDescriptionWithFallback\DeserializedGetPropertyDescriptionWithFallbackRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyAliases\DeserializedGetPropertyAliasesRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyAliasesInLanguage\DeserializedGetPropertyAliasesInLanguageRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyStatement\DeserializedGetPropertyStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyStatements\DeserializedGetPropertyStatementsRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchItem\DeserializedPatchItemRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchItemLabels\DeserializedPatchItemLabelsRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchItemDescriptions\DeserializedPatchItemDescriptionsRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\DeserializedPatchItemAliasesRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchItemStatement\DeserializedPatchItemStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyStatement\DeserializedPatchPropertyStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\RemoveItemLabel\DeserializedRemoveItemLabelRequest, Wikibase\Repo\RestApi\Application\UseCases\RemoveItemDescription\DeserializedRemoveItemDescriptionRequest, Wikibase\Repo\RestApi\Application\UseCases\RemoveItemStatement\DeserializedRemoveItemStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\RemovePropertyLabel\DeserializedRemovePropertyLabelRequest, Wikibase\Repo\RestApi\Application\UseCases\RemovePropertyDescription\DeserializedRemovePropertyDescriptionRequest, Wikibase\Repo\RestApi\Application\UseCases\RemovePropertyStatement\DeserializedRemovePropertyStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\ReplaceItemStatement\DeserializedReplaceItemStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\ReplacePropertyStatement\DeserializedReplacePropertyStatementRequest, Wikibase\Repo\RestApi\Application\UseCases\SetItemLabel\DeserializedSetItemLabelRequest, Wikibase\Repo\RestApi\Application\UseCases\SetItemDescription\DeserializedSetItemDescriptionRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyLabel\DeserializedGetPropertyLabelRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyLabelWithFallback\DeserializedGetPropertyLabelWithFallbackRequest, Wikibase\Repo\RestApi\Application\UseCases\GetPropertyDescription\DeserializedGetPropertyDescriptionRequest, Wikibase\Repo\RestApi\Application\UseCases\SetPropertyDescription\DeserializedSetPropertyDescriptionRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchProperty\DeserializedPatchPropertyRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyLabels\DeserializedPatchPropertyLabelsRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\DeserializedPatchPropertyDescriptionsRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyAliases\DeserializedPatchPropertyAliasesRequest, Wikibase\Repo\RestApi\Application\UseCases\SetPropertyLabel\DeserializedSetPropertyLabelRequest, Wikibase\Repo\RestApi\Application\UseCases\AddItemAliasesInLanguage\DeserializedAddItemAliasesInLanguageRequest, Wikibase\Repo\RestApi\Application\UseCases\AddPropertyAliasesInLanguage\DeserializedAddPropertyAliasesInLanguageRequest, Wikibase\Repo\RestApi\Application\UseCases\RemoveSitelink\DeserializedRemoveSitelinkRequest, Wikibase\Repo\RestApi\Application\UseCases\SetSitelink\DeserializedSetSitelinkRequest, Wikibase\Repo\RestApi\Application\UseCases\PatchSitelinks\DeserializedPatchSitelinksRequest, and Wikibase\Repo\RestApi\Application\UseCases\CreateItem\DeserializedCreateItemRequest.

Public Member Functions

 __construct (array $deserializedRequest)
 
 getItemId ()
 
 getPropertyId ()
 
 getStatementId ()
 
 getPropertyIdFilter ()
 
 getLanguageCode ()
 
 getItemFields ()
 
 getPropertyFields ()
 
 getEditMetadata ()
 
 getStatement ()
 
 getPatch ()
 
 getSiteId ()
 
 getItemLabel ()
 
 getItemDescription ()
 
 getItemAliasesInLanguage ()
 
 getPropertyLabel ()
 
 getPropertyDescription ()
 
 getPropertyAliasesInLanguage ()
 
 getSitelink ()
 
 getItem ()
 

Private Member Functions

 getRequestField (string $field)
 

Private Attributes

array $deserializedRequest
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::__construct ( array $deserializedRequest)

Member Function Documentation

◆ getEditMetadata()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getEditMetadata ( )

◆ getItem()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getItem ( )

◆ getItemAliasesInLanguage()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getItemAliasesInLanguage ( )

◆ getItemDescription()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getItemDescription ( )

◆ getItemFields()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getItemFields ( )

◆ getItemId()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getItemId ( )

◆ getItemLabel()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getItemLabel ( )

◆ getLanguageCode()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getLanguageCode ( )

◆ getPatch()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getPatch ( )

◆ getPropertyAliasesInLanguage()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getPropertyAliasesInLanguage ( )

◆ getPropertyDescription()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getPropertyDescription ( )

◆ getPropertyFields()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getPropertyFields ( )

◆ getPropertyId()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getPropertyId ( )

◆ getPropertyIdFilter()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getPropertyIdFilter ( )

◆ getPropertyLabel()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getPropertyLabel ( )

◆ getRequestField()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getRequestField ( string $field)
private
Returns
mixed

◆ getSiteId()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getSiteId ( )

◆ getSitelink()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getSitelink ( )

◆ getStatement()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getStatement ( )

◆ getStatementId()

Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::getStatementId ( )

Member Data Documentation

◆ $deserializedRequest

array Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\DeserializedRequestAdapter::$deserializedRequest
private

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