userId = $userId; return $this; } /** * Get userId. * * @return int */ public function getUserId() { return $this->userId; } /** * Set apiKey. * * @return UserApiKey */ public function setApiKey(string $apiKey) { $this->apiKey = $apiKey; return $this; } /** * Get apiKey. * * @return string */ public function getApiKey() { return $this->apiKey; } /** * Set apiService. * * @return UserApiKey */ public function setApiService(string $apiService) { $this->apiService = $apiService; return $this; } /** * Get apiService. * * @return string */ public function getApiService() { return $this->apiService; } /** * Set apiEndPoint. * * @return UserApiKey */ public function setApiEndPoint(string $apiEndPoint) { $this->apiEndPoint = $apiEndPoint; return $this; } /** * Get apiEndPoint. * * @return string */ public function getApiEndPoint() { return $this->apiEndPoint; } /** * Set createdDate. * * @return UserApiKey */ public function setCreatedDate(DateTime $createdDate) { $this->createdDate = $createdDate; return $this; } /** * Get createdDate. * * @return DateTime */ public function getCreatedDate() { return $this->createdDate; } /** * Set validityStartDate. * * @return UserApiKey */ public function setValidityStartDate(DateTime $validityStartDate) { $this->validityStartDate = $validityStartDate; return $this; } /** * Get validityStartDate. * * @return DateTime */ public function getValidityStartDate() { return $this->validityStartDate; } /** * Set validityEndDate. * * @return UserApiKey */ public function setValidityEndDate(DateTime $validityEndDate) { $this->validityEndDate = $validityEndDate; return $this; } /** * Get validityEndDate. * * @return DateTime */ public function getValidityEndDate() { return $this->validityEndDate; } /** * Set description. * * @return UserApiKey */ public function setDescription(string $description) { $this->description = $description; return $this; } /** * Get description. * * @return string */ public function getDescription() { return $this->description; } /** * Get id. * * @return int */ public function getId() { return $this->id; } }