1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\Sheets; 19 20class TreemapChartColorScale extends \Google\Model 21{ 22 protected $maxValueColorType = Color::class; 23 protected $maxValueColorDataType = ''; 24 protected $maxValueColorStyleType = ColorStyle::class; 25 protected $maxValueColorStyleDataType = ''; 26 protected $midValueColorType = Color::class; 27 protected $midValueColorDataType = ''; 28 protected $midValueColorStyleType = ColorStyle::class; 29 protected $midValueColorStyleDataType = ''; 30 protected $minValueColorType = Color::class; 31 protected $minValueColorDataType = ''; 32 protected $minValueColorStyleType = ColorStyle::class; 33 protected $minValueColorStyleDataType = ''; 34 protected $noDataColorType = Color::class; 35 protected $noDataColorDataType = ''; 36 protected $noDataColorStyleType = ColorStyle::class; 37 protected $noDataColorStyleDataType = ''; 38 39 /** 40 * @param Color 41 */ 42 public function setMaxValueColor(Color $maxValueColor) 43 { 44 $this->maxValueColor = $maxValueColor; 45 } 46 /** 47 * @return Color 48 */ 49 public function getMaxValueColor() 50 { 51 return $this->maxValueColor; 52 } 53 /** 54 * @param ColorStyle 55 */ 56 public function setMaxValueColorStyle(ColorStyle $maxValueColorStyle) 57 { 58 $this->maxValueColorStyle = $maxValueColorStyle; 59 } 60 /** 61 * @return ColorStyle 62 */ 63 public function getMaxValueColorStyle() 64 { 65 return $this->maxValueColorStyle; 66 } 67 /** 68 * @param Color 69 */ 70 public function setMidValueColor(Color $midValueColor) 71 { 72 $this->midValueColor = $midValueColor; 73 } 74 /** 75 * @return Color 76 */ 77 public function getMidValueColor() 78 { 79 return $this->midValueColor; 80 } 81 /** 82 * @param ColorStyle 83 */ 84 public function setMidValueColorStyle(ColorStyle $midValueColorStyle) 85 { 86 $this->midValueColorStyle = $midValueColorStyle; 87 } 88 /** 89 * @return ColorStyle 90 */ 91 public function getMidValueColorStyle() 92 { 93 return $this->midValueColorStyle; 94 } 95 /** 96 * @param Color 97 */ 98 public function setMinValueColor(Color $minValueColor) 99 { 100 $this->minValueColor = $minValueColor; 101 } 102 /** 103 * @return Color 104 */ 105 public function getMinValueColor() 106 { 107 return $this->minValueColor; 108 } 109 /** 110 * @param ColorStyle 111 */ 112 public function setMinValueColorStyle(ColorStyle $minValueColorStyle) 113 { 114 $this->minValueColorStyle = $minValueColorStyle; 115 } 116 /** 117 * @return ColorStyle 118 */ 119 public function getMinValueColorStyle() 120 { 121 return $this->minValueColorStyle; 122 } 123 /** 124 * @param Color 125 */ 126 public function setNoDataColor(Color $noDataColor) 127 { 128 $this->noDataColor = $noDataColor; 129 } 130 /** 131 * @return Color 132 */ 133 public function getNoDataColor() 134 { 135 return $this->noDataColor; 136 } 137 /** 138 * @param ColorStyle 139 */ 140 public function setNoDataColorStyle(ColorStyle $noDataColorStyle) 141 { 142 $this->noDataColorStyle = $noDataColorStyle; 143 } 144 /** 145 * @return ColorStyle 146 */ 147 public function getNoDataColorStyle() 148 { 149 return $this->noDataColorStyle; 150 } 151} 152 153// Adding a class alias for backwards compatibility with the previous class name. 154class_alias(TreemapChartColorScale::class, 'Google_Service_Sheets_TreemapChartColorScale'); 155