errorCode = $errorCode; } /** * @return self::ERROR_CODE_* */ public function getErrorCode() { return $this->errorCode; } /** * The state of a call to cancel a refresh in Sheets. * * Accepted values: REFRESH_CANCELLATION_STATE_UNSPECIFIED, CANCEL_SUCCEEDED, * CANCEL_FAILED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RefreshCancellationStatus::class, 'Google_Service_Sheets_RefreshCancellationStatus');