<?php

/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
namespace ElementskitVendor\Google\Service\Sheets;

class CellFormat extends \ElementskitVendor\Google\Model
{
    protected $backgroundColorType = Color::class;
    protected $backgroundColorDataType = '';
    protected $backgroundColorStyleType = ColorStyle::class;
    protected $backgroundColorStyleDataType = '';
    protected $bordersType = Borders::class;
    protected $bordersDataType = '';
    public $horizontalAlignment;
    public $hyperlinkDisplayType;
    protected $numberFormatType = NumberFormat::class;
    protected $numberFormatDataType = '';
    protected $paddingType = Padding::class;
    protected $paddingDataType = '';
    public $textDirection;
    protected $textFormatType = TextFormat::class;
    protected $textFormatDataType = '';
    protected $textRotationType = TextRotation::class;
    protected $textRotationDataType = '';
    public $verticalAlignment;
    public $wrapStrategy;
    /**
     * @param Color
     */
    public function setBackgroundColor(Color $backgroundColor)
    {
        $this->backgroundColor = $backgroundColor;
    }
    /**
     * @return Color
     */
    public function getBackgroundColor()
    {
        return $this->backgroundColor;
    }
    /**
     * @param ColorStyle
     */
    public function setBackgroundColorStyle(ColorStyle $backgroundColorStyle)
    {
        $this->backgroundColorStyle = $backgroundColorStyle;
    }
    /**
     * @return ColorStyle
     */
    public function getBackgroundColorStyle()
    {
        return $this->backgroundColorStyle;
    }
    /**
     * @param Borders
     */
    public function setBorders(Borders $borders)
    {
        $this->borders = $borders;
    }
    /**
     * @return Borders
     */
    public function getBorders()
    {
        return $this->borders;
    }
    public function setHorizontalAlignment($horizontalAlignment)
    {
        $this->horizontalAlignment = $horizontalAlignment;
    }
    public function getHorizontalAlignment()
    {
        return $this->horizontalAlignment;
    }
    public function setHyperlinkDisplayType($hyperlinkDisplayType)
    {
        $this->hyperlinkDisplayType = $hyperlinkDisplayType;
    }
    public function getHyperlinkDisplayType()
    {
        return $this->hyperlinkDisplayType;
    }
    /**
     * @param NumberFormat
     */
    public function setNumberFormat(NumberFormat $numberFormat)
    {
        $this->numberFormat = $numberFormat;
    }
    /**
     * @return NumberFormat
     */
    public function getNumberFormat()
    {
        return $this->numberFormat;
    }
    /**
     * @param Padding
     */
    public function setPadding(Padding $padding)
    {
        $this->padding = $padding;
    }
    /**
     * @return Padding
     */
    public function getPadding()
    {
        return $this->padding;
    }
    public function setTextDirection($textDirection)
    {
        $this->textDirection = $textDirection;
    }
    public function getTextDirection()
    {
        return $this->textDirection;
    }
    /**
     * @param TextFormat
     */
    public function setTextFormat(TextFormat $textFormat)
    {
        $this->textFormat = $textFormat;
    }
    /**
     * @return TextFormat
     */
    public function getTextFormat()
    {
        return $this->textFormat;
    }
    /**
     * @param TextRotation
     */
    public function setTextRotation(TextRotation $textRotation)
    {
        $this->textRotation = $textRotation;
    }
    /**
     * @return TextRotation
     */
    public function getTextRotation()
    {
        return $this->textRotation;
    }
    public function setVerticalAlignment($verticalAlignment)
    {
        $this->verticalAlignment = $verticalAlignment;
    }
    public function getVerticalAlignment()
    {
        return $this->verticalAlignment;
    }
    public function setWrapStrategy($wrapStrategy)
    {
        $this->wrapStrategy = $wrapStrategy;
    }
    public function getWrapStrategy()
    {
        return $this->wrapStrategy;
    }
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(CellFormat::class, 'ElementskitVendor\\Google_Service_Sheets_CellFormat');
