destination = $destination; } /** * @return GridCoordinate */ public function getDestination() { return $this->destination; } /** * What kind of data to paste. All the source data will be cut, regardless of * what is pasted. * * Accepted values: PASTE_NORMAL, PASTE_VALUES, PASTE_FORMAT, * PASTE_NO_BORDERS, PASTE_FORMULA, PASTE_DATA_VALIDATION, * PASTE_CONDITIONAL_FORMATTING * * @param self::PASTE_TYPE_* $pasteType */ public function setPasteType($pasteType) { $this->pasteType = $pasteType; } /** * @return self::PASTE_TYPE_* */ public function getPasteType() { return $this->pasteType; } /** * The source data to cut. * * @param GridRange $source */ public function setSource(GridRange $source) { $this->source = $source; } /** * @return GridRange */ public function getSource() { return $this->source; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CutPasteRequest::class, 'Google_Service_Sheets_CutPasteRequest');