status = $status; $this->errorCode = $errorCode; $this->retryAfterSeconds = $retryAfterSeconds; $this->body = $body; } public function getStatus(): int { return $this->status; } public function getErrorCode(): string { return $this->errorCode; } public function getRetryAfterSeconds(): ?int { return $this->retryAfterSeconds; } /** @return mixed */ public function getBody() { return $this->body; } }