source: vendor/google/apiclient-services/src/YouTube/CommentThreadSnippet.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Upload project files

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[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
18namespace Google\Service\YouTube;
19
20class CommentThreadSnippet extends \Google\Model
21{
22 /**
23 * @var bool
24 */
25 public $canReply;
26 /**
27 * @var string
28 */
29 public $channelId;
30 /**
31 * @var bool
32 */
33 public $isPublic;
34 protected $topLevelCommentType = Comment::class;
35 protected $topLevelCommentDataType = '';
36 /**
37 * @var string
38 */
39 public $totalReplyCount;
40 /**
41 * @var string
42 */
43 public $videoId;
44
45 /**
46 * @param bool
47 */
48 public function setCanReply($canReply)
49 {
50 $this->canReply = $canReply;
51 }
52 /**
53 * @return bool
54 */
55 public function getCanReply()
56 {
57 return $this->canReply;
58 }
59 /**
60 * @param string
61 */
62 public function setChannelId($channelId)
63 {
64 $this->channelId = $channelId;
65 }
66 /**
67 * @return string
68 */
69 public function getChannelId()
70 {
71 return $this->channelId;
72 }
73 /**
74 * @param bool
75 */
76 public function setIsPublic($isPublic)
77 {
78 $this->isPublic = $isPublic;
79 }
80 /**
81 * @return bool
82 */
83 public function getIsPublic()
84 {
85 return $this->isPublic;
86 }
87 /**
88 * @param Comment
89 */
90 public function setTopLevelComment(Comment $topLevelComment)
91 {
92 $this->topLevelComment = $topLevelComment;
93 }
94 /**
95 * @return Comment
96 */
97 public function getTopLevelComment()
98 {
99 return $this->topLevelComment;
100 }
101 /**
102 * @param string
103 */
104 public function setTotalReplyCount($totalReplyCount)
105 {
106 $this->totalReplyCount = $totalReplyCount;
107 }
108 /**
109 * @return string
110 */
111 public function getTotalReplyCount()
112 {
113 return $this->totalReplyCount;
114 }
115 /**
116 * @param string
117 */
118 public function setVideoId($videoId)
119 {
120 $this->videoId = $videoId;
121 }
122 /**
123 * @return string
124 */
125 public function getVideoId()
126 {
127 return $this->videoId;
128 }
129}
130
131// Adding a class alias for backwards compatibility with the previous class name.
132class_alias(CommentThreadSnippet::class, 'Google_Service_YouTube_CommentThreadSnippet');
Note: See TracBrowser for help on using the repository browser.