account = $account; return $this; } /** * @return ApiAccount */ public function getAccount() { return $this->account; } /** * @param \DateTime $created * * @return ApiOauthTokens */ public function setCreated(\DateTime $created) { $this->created = $created; return $this; } /** * @return \DateTime */ public function getCreated() { return $this->created; } /** * @param \DateTime $expires * * @return ApiOauthTokens */ public function setExpires(\DateTime $expires = null) { $this->expires = $expires; return $this; } /** * @return \DateTime */ public function getExpires() { return $this->expires; } /** * @param string $oauthToken * * @return ApiOauthTokens */ public function setOauthToken($oauthToken) { $this->oauthToken = $oauthToken; return $this; } /** * @return string */ public function getOauthToken() { return $this->oauthToken; } /** * @param string $scope * * @return ApiOauthTokens */ public function setScope($scope) { $this->scope = $scope; return $this; } /** * @return string */ public function getScope() { return $this->scope; } /** * @param Session $session * * @return ApiOauthTokens */ public function setSession(Session $session) { $this->session = $session; return $this; } /** * @return Session */ public function getSession() { return $this->session; } /** * @param \DateTime $updated * * @return ApiOauthTokens */ public function setUpdated(\DateTime $updated) { $this->updated = $updated; return $this; } /** * @return \DateTime */ public function getUpdated() { return $this->updated; } }