for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Dropbox\Models;
class AccessToken extends BaseModel
{
/**
* Access Token
*
* @var string
*/
protected $token;
* Token Type
protected $tokenType;
* Bearer
protected $bearer;
* User ID
protected $uid;
* Account ID
protected $accountId;
* Team ID
protected $teamId;
* Create a new AccessToken instance
* @param array $data
public function __construct(array $data)
parent::__construct($data);
$this->token = $this->getDataProperty('access_token');
$this->tokenType = $this->getDataProperty('token_type');
$this->bearer = $this->getDataProperty('bearer');
$this->uid = $this->getDataProperty('uid');
$this->accountId = $this->getDataProperty('account_id');
$this->teamId = $this->getDataProperty('team_id');
}
* Get Access Token
* @return string
public function getToken()
return $this->token;
* Get Token Type
public function getTokenType()
return $this->tokenType;
* Get Bearer
public function getBearer()
return $this->bearer;
* Get User ID
public function getUid()
return $this->uid;
* Get Account ID
public function getAccountId()
return $this->accountId;
* Get Team ID
public function getTeamId()
return $this->teamId;