bold = $bold; } /** * @return bool */ public function getBold() { return $this->bold; } /** * @param string */ public function setFontFamily($fontFamily) { $this->fontFamily = $fontFamily; } /** * @return string */ public function getFontFamily() { return $this->fontFamily; } /** * @param int */ public function setFontSize($fontSize) { $this->fontSize = $fontSize; } /** * @return int */ public function getFontSize() { return $this->fontSize; } /** * @param Color */ public function setForegroundColor(Color $foregroundColor) { $this->foregroundColor = $foregroundColor; } /** * @return Color */ public function getForegroundColor() { return $this->foregroundColor; } /** * @param ColorStyle */ public function setForegroundColorStyle(ColorStyle $foregroundColorStyle) { $this->foregroundColorStyle = $foregroundColorStyle; } /** * @return ColorStyle */ public function getForegroundColorStyle() { return $this->foregroundColorStyle; } /** * @param bool */ public function setItalic($italic) { $this->italic = $italic; } /** * @return bool */ public function getItalic() { return $this->italic; } /** * @param Link */ public function setLink(Link $link) { $this->link = $link; } /** * @return Link */ public function getLink() { return $this->link; } /** * @param bool */ public function setStrikethrough($strikethrough) { $this->strikethrough = $strikethrough; } /** * @return bool */ public function getStrikethrough() { return $this->strikethrough; } /** * @param bool */ public function setUnderline($underline) { $this->underline = $underline; } /** * @return bool */ public function getUnderline() { return $this->underline; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TextFormat::class, 'Google_Service_Sheets_TextFormat');