暂无描述

ChannelSectionSnippet.php 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. class Google_Service_YouTube_ChannelSectionSnippet extends Google_Model
  18. {
  19. public $channelId;
  20. public $defaultLanguage;
  21. protected $localizedType = 'Google_Service_YouTube_ChannelSectionLocalization';
  22. protected $localizedDataType = '';
  23. public $position;
  24. public $style;
  25. public $title;
  26. public $type;
  27. public function setChannelId($channelId)
  28. {
  29. $this->channelId = $channelId;
  30. }
  31. public function getChannelId()
  32. {
  33. return $this->channelId;
  34. }
  35. public function setDefaultLanguage($defaultLanguage)
  36. {
  37. $this->defaultLanguage = $defaultLanguage;
  38. }
  39. public function getDefaultLanguage()
  40. {
  41. return $this->defaultLanguage;
  42. }
  43. /**
  44. * @param Google_Service_YouTube_ChannelSectionLocalization
  45. */
  46. public function setLocalized(Google_Service_YouTube_ChannelSectionLocalization $localized)
  47. {
  48. $this->localized = $localized;
  49. }
  50. /**
  51. * @return Google_Service_YouTube_ChannelSectionLocalization
  52. */
  53. public function getLocalized()
  54. {
  55. return $this->localized;
  56. }
  57. public function setPosition($position)
  58. {
  59. $this->position = $position;
  60. }
  61. public function getPosition()
  62. {
  63. return $this->position;
  64. }
  65. public function setStyle($style)
  66. {
  67. $this->style = $style;
  68. }
  69. public function getStyle()
  70. {
  71. return $this->style;
  72. }
  73. public function setTitle($title)
  74. {
  75. $this->title = $title;
  76. }
  77. public function getTitle()
  78. {
  79. return $this->title;
  80. }
  81. public function setType($type)
  82. {
  83. $this->type = $type;
  84. }
  85. public function getType()
  86. {
  87. return $this->type;
  88. }
  89. }