ThemesApi 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
- __construct() : mixed
- actions() : ThemeActionsApi
- get() : ThemeResponse
- getAll() : ThemesResponse
- getClient() : Client
- getParentResourceId() : int|null
- getResourceId() : int|null
- getUuid() : string
- job() : ThemeJobsApi
- multipleResourceUrl() : string
- setUuid() : void
- singleResourceUrl() : string
- upload() : JobIdentifierResponse
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 —actions()
public
actions() : ThemeActionsApi
Return values
ThemeActionsApi —get()
public
get() : ThemeResponse
Return values
ThemeResponse —getAll()
public
getAll() : ThemesResponse
Return values
ThemesResponse —getClient()
public
getClient() : Client
Return values
Client —getParentResourceId()
public
getParentResourceId() : int|null
Return values
int|null —getResourceId()
public
getResourceId() : int|null
Return values
int|null —getUuid()
public
getUuid() : string
Return values
string —job()
public
job(string $jobId) : ThemeJobsApi
Parameters
- $jobId : string
Return values
ThemeJobsApi —multipleResourceUrl()
public
multipleResourceUrl() : string
Return values
string —setUuid()
public
setUuid(string $uuid) : void
Parameters
- $uuid : string
Return values
void —singleResourceUrl()
public
singleResourceUrl() : string
Return values
string —upload()
public
upload(string $filename) : JobIdentifierResponse
Parameters
- $filename : string