[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\YouTube;
|
---|
| 19 |
|
---|
| 20 | class ActivityContentDetails extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $bulletinType = ActivityContentDetailsBulletin::class;
|
---|
| 23 | protected $bulletinDataType = '';
|
---|
| 24 | protected $channelItemType = ActivityContentDetailsChannelItem::class;
|
---|
| 25 | protected $channelItemDataType = '';
|
---|
| 26 | protected $commentType = ActivityContentDetailsComment::class;
|
---|
| 27 | protected $commentDataType = '';
|
---|
| 28 | protected $favoriteType = ActivityContentDetailsFavorite::class;
|
---|
| 29 | protected $favoriteDataType = '';
|
---|
| 30 | protected $likeType = ActivityContentDetailsLike::class;
|
---|
| 31 | protected $likeDataType = '';
|
---|
| 32 | protected $playlistItemType = ActivityContentDetailsPlaylistItem::class;
|
---|
| 33 | protected $playlistItemDataType = '';
|
---|
| 34 | protected $promotedItemType = ActivityContentDetailsPromotedItem::class;
|
---|
| 35 | protected $promotedItemDataType = '';
|
---|
| 36 | protected $recommendationType = ActivityContentDetailsRecommendation::class;
|
---|
| 37 | protected $recommendationDataType = '';
|
---|
| 38 | protected $socialType = ActivityContentDetailsSocial::class;
|
---|
| 39 | protected $socialDataType = '';
|
---|
| 40 | protected $subscriptionType = ActivityContentDetailsSubscription::class;
|
---|
| 41 | protected $subscriptionDataType = '';
|
---|
| 42 | protected $uploadType = ActivityContentDetailsUpload::class;
|
---|
| 43 | protected $uploadDataType = '';
|
---|
| 44 |
|
---|
| 45 | /**
|
---|
| 46 | * @param ActivityContentDetailsBulletin
|
---|
| 47 | */
|
---|
| 48 | public function setBulletin(ActivityContentDetailsBulletin $bulletin)
|
---|
| 49 | {
|
---|
| 50 | $this->bulletin = $bulletin;
|
---|
| 51 | }
|
---|
| 52 | /**
|
---|
| 53 | * @return ActivityContentDetailsBulletin
|
---|
| 54 | */
|
---|
| 55 | public function getBulletin()
|
---|
| 56 | {
|
---|
| 57 | return $this->bulletin;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @param ActivityContentDetailsChannelItem
|
---|
| 61 | */
|
---|
| 62 | public function setChannelItem(ActivityContentDetailsChannelItem $channelItem)
|
---|
| 63 | {
|
---|
| 64 | $this->channelItem = $channelItem;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @return ActivityContentDetailsChannelItem
|
---|
| 68 | */
|
---|
| 69 | public function getChannelItem()
|
---|
| 70 | {
|
---|
| 71 | return $this->channelItem;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @param ActivityContentDetailsComment
|
---|
| 75 | */
|
---|
| 76 | public function setComment(ActivityContentDetailsComment $comment)
|
---|
| 77 | {
|
---|
| 78 | $this->comment = $comment;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @return ActivityContentDetailsComment
|
---|
| 82 | */
|
---|
| 83 | public function getComment()
|
---|
| 84 | {
|
---|
| 85 | return $this->comment;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @param ActivityContentDetailsFavorite
|
---|
| 89 | */
|
---|
| 90 | public function setFavorite(ActivityContentDetailsFavorite $favorite)
|
---|
| 91 | {
|
---|
| 92 | $this->favorite = $favorite;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @return ActivityContentDetailsFavorite
|
---|
| 96 | */
|
---|
| 97 | public function getFavorite()
|
---|
| 98 | {
|
---|
| 99 | return $this->favorite;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @param ActivityContentDetailsLike
|
---|
| 103 | */
|
---|
| 104 | public function setLike(ActivityContentDetailsLike $like)
|
---|
| 105 | {
|
---|
| 106 | $this->like = $like;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @return ActivityContentDetailsLike
|
---|
| 110 | */
|
---|
| 111 | public function getLike()
|
---|
| 112 | {
|
---|
| 113 | return $this->like;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @param ActivityContentDetailsPlaylistItem
|
---|
| 117 | */
|
---|
| 118 | public function setPlaylistItem(ActivityContentDetailsPlaylistItem $playlistItem)
|
---|
| 119 | {
|
---|
| 120 | $this->playlistItem = $playlistItem;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @return ActivityContentDetailsPlaylistItem
|
---|
| 124 | */
|
---|
| 125 | public function getPlaylistItem()
|
---|
| 126 | {
|
---|
| 127 | return $this->playlistItem;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @param ActivityContentDetailsPromotedItem
|
---|
| 131 | */
|
---|
| 132 | public function setPromotedItem(ActivityContentDetailsPromotedItem $promotedItem)
|
---|
| 133 | {
|
---|
| 134 | $this->promotedItem = $promotedItem;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @return ActivityContentDetailsPromotedItem
|
---|
| 138 | */
|
---|
| 139 | public function getPromotedItem()
|
---|
| 140 | {
|
---|
| 141 | return $this->promotedItem;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @param ActivityContentDetailsRecommendation
|
---|
| 145 | */
|
---|
| 146 | public function setRecommendation(ActivityContentDetailsRecommendation $recommendation)
|
---|
| 147 | {
|
---|
| 148 | $this->recommendation = $recommendation;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @return ActivityContentDetailsRecommendation
|
---|
| 152 | */
|
---|
| 153 | public function getRecommendation()
|
---|
| 154 | {
|
---|
| 155 | return $this->recommendation;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @param ActivityContentDetailsSocial
|
---|
| 159 | */
|
---|
| 160 | public function setSocial(ActivityContentDetailsSocial $social)
|
---|
| 161 | {
|
---|
| 162 | $this->social = $social;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @return ActivityContentDetailsSocial
|
---|
| 166 | */
|
---|
| 167 | public function getSocial()
|
---|
| 168 | {
|
---|
| 169 | return $this->social;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @param ActivityContentDetailsSubscription
|
---|
| 173 | */
|
---|
| 174 | public function setSubscription(ActivityContentDetailsSubscription $subscription)
|
---|
| 175 | {
|
---|
| 176 | $this->subscription = $subscription;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @return ActivityContentDetailsSubscription
|
---|
| 180 | */
|
---|
| 181 | public function getSubscription()
|
---|
| 182 | {
|
---|
| 183 | return $this->subscription;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @param ActivityContentDetailsUpload
|
---|
| 187 | */
|
---|
| 188 | public function setUpload(ActivityContentDetailsUpload $upload)
|
---|
| 189 | {
|
---|
| 190 | $this->upload = $upload;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @return ActivityContentDetailsUpload
|
---|
| 194 | */
|
---|
| 195 | public function getUpload()
|
---|
| 196 | {
|
---|
| 197 | return $this->upload;
|
---|
| 198 | }
|
---|
| 199 | }
|
---|
| 200 |
|
---|
| 201 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 202 | class_alias(ActivityContentDetails::class, 'Google_Service_YouTube_ActivityContentDetails');
|
---|