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
LAST_ACTIVATED
public
mixed
LAST_ACTIVATED
= 'last_activated'
Tags
LAST_CREATED
public
mixed
LAST_CREATED
= 'last_created'
Tags
ORIGINAL
public
mixed
ORIGINAL
= 'original'
Tags
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
Return values
bool —download()
public
download(mixed $which) : JobIdentifierResponse
Parameters
- $which : mixed
Tags
Return values
JobIdentifierResponse —getClient()
public
getClient() : Client
Tags
Return values
Client —getParentResourceId()
public
getParentResourceId() : int|null
Tags
Return values
int|null —getResourceId()
public
getResourceId() : int|null
Tags
Return values
int|null —getUuid()
public
getUuid() : string
Tags
Return values
string —setUuid()
public
setUuid(string $uuid) : void
Parameters
- $uuid : string