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 18class Google_Service_YouTube_SearchResultSnippet extends Google_Model 19{ 20 public $channelId; 21 public $channelTitle; 22 public $description; 23 public $liveBroadcastContent; 24 public $publishedAt; 25 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; 26 protected $thumbnailsDataType = ''; 27 public $title; 28 29 public function setChannelId($channelId) 30 { 31 $this->channelId = $channelId; 32 } 33 public function getChannelId() 34 { 35 return $this->channelId; 36 } 37 public function setChannelTitle($channelTitle) 38 { 39 $this->channelTitle = $channelTitle; 40 } 41 public function getChannelTitle() 42 { 43 return $this->channelTitle; 44 } 45 public function setDescription($description) 46 { 47 $this->description = $description; 48 } 49 public function getDescription() 50 { 51 return $this->description; 52 } 53 public function setLiveBroadcastContent($liveBroadcastContent) 54 { 55 $this->liveBroadcastContent = $liveBroadcastContent; 56 } 57 public function getLiveBroadcastContent() 58 { 59 return $this->liveBroadcastContent; 60 } 61 public function setPublishedAt($publishedAt) 62 { 63 $this->publishedAt = $publishedAt; 64 } 65 public function getPublishedAt() 66 { 67 return $this->publishedAt; 68 } 69 /** 70 * @param Google_Service_YouTube_ThumbnailDetails 71 */ 72 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) 73 { 74 $this->thumbnails = $thumbnails; 75 } 76 /** 77 * @return Google_Service_YouTube_ThumbnailDetails 78 */ 79 public function getThumbnails() 80 { 81 return $this->thumbnails; 82 } 83 public function setTitle($title) 84 { 85 $this->title = $title; 86 } 87 public function getTitle() 88 { 89 return $this->title; 90 } 91} 92