Documentation

ThemeActionsApi extends UuidResourceApi
in package

V3ApiBase

Add constructors and some basic scaffolding that will work for all API classes regardless of which endpoints they implement

Tags

Table of Contents

LAST_ACTIVATED  = 'last_activated'
LAST_CREATED  = 'last_created'
ORIGINAL  = 'original'
__construct()  : mixed
activate()  : bool
download()  : JobIdentifierResponse
getClient()  : Client
getParentResourceId()  : int|null
getResourceId()  : int|null
getUuid()  : string
setUuid()  : void

Constants

Methods

__construct()

public __construct(Client $client[, int|null $resourceId = null ][, int|null $parentResourceId = null ]) : mixed
Parameters
$client : Client
$resourceId : int|null = null
$parentResourceId : int|null = null
Tags
Return values
mixed

activate()

public activate(string $variationId, string $which) : bool
Parameters
$variationId : string

The identifier for the variation to activate.

$which : string

Which configuration to use.

Tags
throws
GuzzleException
Return values
bool

getParentResourceId()

public getParentResourceId() : int|null
Tags
Return values
int|null

getResourceId()

public getResourceId() : int|null
Tags
Return values
int|null

setUuid()

public setUuid(string $uuid) : void
Parameters
$uuid : string
Tags
Return values
void

        

Search results