Class shardimage\shardimagephp\models\accesstoken\UploadAccessToken

Inheritanceshardimage\shardimagephp\models\accesstoken\UploadAccessToken » shardimage\shardimagephp\models\accesstoken\AccessToken » shardimage\shardimagephpapi\base\BaseObject

UploadAccessToken class provides AccessToken for image uploading

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined 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

Hide inherited methods

MethodDescriptionDefined 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

Hide inherited methods

MethodDescriptionDefined By
ensureClass() Creates an object from the given parameters. shardimage\shardimagephpapi\base\BaseObject

Method Details

getType() public method

Getting the type of access token

public void getType ( )
init() public method

Custom initialization.

public void init ( )