\Gomoob\Pushwoosh\Model\RequestGetTagsRequest

Class which represents Pushwoosh '/getTags' request.

Summary

Methods
Properties
Constants
create()
getApplication()
getAuth()
getHwid()
setApplication()
setAuth()
setHwid()
toJSON()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$application
$auth
$hwid
N/A

Properties

$application

$application : string

The Pushwoosh application ID where to send the message to (cannot be used together with "applicationsGroup").

Type

string

$auth

$auth : string

The API access token from the Pushwoosh control panel (create this token at https://cp.pushwoosh.com/api_access).

Type

string

$hwid

$hwid : string

The hardware device id used in registerDevice function call.

Type

string

Methods

create()

create() : \Gomoob\Pushwoosh\Model\Request\GetTagsRequest

Utility function used to create a new instance of the <tt>GetTagsRequest</tt>.

Returns

\Gomoob\Pushwoosh\Model\Request\GetTagsRequest

the new created instance.

getApplication()

getApplication() : string

Gets the Pushwoosh application ID where to send the message to.

Returns

string —

the Pushwoosh application ID where to send the message to.

getAuth()

getAuth() : string

Gets the API access token from the Pushwoosh control panel (create this token at https://cp.pushwoosh.com/api_access).

Returns

string —

the API access token from the Pushwoosh control panel (create this token at

    https://cp.pushwoosh.com/api_access).

getHwid()

getHwid() : string

Gets the hardware device id used in registerDevice function call.

Returns

string —

the hardware device id used in registerDevice function call.

setApplication()

setApplication(string $application) : \Gomoob\Pushwoosh\Model\Request\CreateMessageRequest

Sets the Pushwoosh application ID where to send the message to.

Parameters

string $application

the Pushwoosh application ID where to send the message to.

Returns

\Gomoob\Pushwoosh\Model\Request\CreateMessageRequest

this instance.

setAuth()

setAuth(string $auth) : \Gomoob\Pushwoosh\Model\Request\DeleteMessageRequest

Sets the API access token from the Pushwoosh control panel (create this token at https://cp.pushwoosh.com/api_access).

Parameters

string $auth

the API access token from the Pushwoosh control panel (create this token at

   https://cp.pushwoosh.com/api_access).

Returns

\Gomoob\Pushwoosh\Model\Request\DeleteMessageRequest

this instance.

setHwid()

setHwid(string $hwid) : \Gomoob\Pushwoosh\Model\Request\GetNearestZoneRequest

Sets the hardware device id used in registerDevice function call.

Parameters

string $hwid

the the hardware device id used in registerDevice function call.

Returns

\Gomoob\Pushwoosh\Model\Request\GetNearestZoneRequest

this instance.

toJSON()

toJSON() : array

Creates a JSON representation of this request.

Returns

array —

a PHP which can be passed to the 'json_encode' PHP method.