account = $account; return $this; } /** * @return ApiAccount */ public function getAccount() { return $this->account; } /** * @param string $code * * @return ApiOauthCode */ public function setCode($code) { $this->code = $code; return $this; } /** * @return string */ public function getCode() { return $this->code; } /** * @param \DateTime $created * * @return ApiOauthCode */ public function setCreated(\DateTime $created) { $this->created = $created; return $this; } /** * @return \DateTime */ public function getCreated() { return $this->created; } /** * @param integer $timestamp * * @return ApiOauthCode */ public function setExpires($timestamp) { $this->expires = $timestamp; return $this; } /** * @return $timestamp */ public function getExpires() { return $this->expires; } /** * @param string $redirectUri * * @return ApiOauthCode */ public function setRedirectUri($redirectUri) { $this->redirectUri = $redirectUri; return $this; } /** * @return string */ public function getRedirectUri() { return $this->redirectUri; } /** * @param string $scope * * @return ApiOauthCode */ public function setScope($scope) { $this->scope = $scope; return $this; } /** * @return string */ public function getScope() { return $this->scope; } /** * @param \DateTime $updated * * @return ApiOauthCode */ public function setUpdated(\DateTime $updated) { $this->updated = $updated; return $this; } /** * @return \DateTime */ public function getUpdated() { return $this->updated; } }