User
class User (View source)
Represents a user.
Properties
string | $id | UUID v4. |
|
string | Email of user. |
||
string | $apiKey | Key. |
Methods
__construct(string $id, string $email, string $apiKey)
Constructor.
static User
createFromJsonResponse(string $jsonString)
Create a user from the JSON data returned by the rokka.io API.
string
getId()
Get Id.
string
getEmail()
Get Email.
string
getApiKey()
Get Api Key.
Details
__construct(string $id, string $email, string $apiKey)
Constructor.
static User
createFromJsonResponse(string $jsonString)
Create a user from the JSON data returned by the rokka.io API.
string
getId()
Get Id.
string
getEmail()
Get Email.
string
getApiKey()
Get Api Key.