Class shardimage\shardimagephp\models\accesstoken\UploadAccessToken
Inheritance | shardimage\shardimagephp\models\accesstoken\UploadAccessToken » shardimage\shardimagephp\models\accesstoken\AccessToken » shardimage\shardimagephpapi\base\BaseObject |
---|
UploadAccessToken class provides AccessToken for image uploading
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$createdAt | integer | Timestamp of creation | shardimage\shardimagephp\models\accesstoken\AccessToken |
$expiry | integer | Timestamp expiration of the access token | shardimage\shardimagephp\models\accesstoken\AccessToken |
$extra | mixed | Additional extras for the access token | shardimage\shardimagephp\models\accesstoken\AccessToken |
$id | string | ID of access token, can be used as accessToken in client configuration |
shardimage\shardimagephp\models\accesstoken\AccessToken |
$limit | integer | Request limits of the access token | shardimage\shardimagephp\models\accesstoken\AccessToken |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Creates the object, populates the properties and calls the "init" method. | shardimage\shardimagephp\models\accesstoken\AccessToken |
__get() | Returns the value of a non-defined property, it there is a getter method. | shardimage\shardimagephpapi\base\BaseObject |
__isset() | Does the non-defined property with a getter exist and is it not NULL? | shardimage\shardimagephpapi\base\BaseObject |
__set() | Sets the value of a non-defined property, if there is a setter method. | shardimage\shardimagephpapi\base\BaseObject |
__unset() | Sets the value of a non-defined property to NULL, if there is a setter. | shardimage\shardimagephpapi\base\BaseObject |
getType() | Getting the type of access token | shardimage\shardimagephp\models\accesstoken\UploadAccessToken |
init() | Custom initialization. | shardimage\shardimagephp\models\accesstoken\UploadAccessToken |
toArray() | Converts the object an array. | shardimage\shardimagephpapi\base\BaseObject |
Protected Methods
Method | Description | Defined By |
---|---|---|
ensureClass() | Creates an object from the given parameters. | shardimage\shardimagephpapi\base\BaseObject |