Documentation

ThemeActionsApi extends UuidResourceApi

V3ApiBase

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

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
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
Return values
int|null

getResourceId()

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

setUuid()

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

Search results