@@ -28,29 +28,22 @@ class VideoStat extends \Google\Model
2828 */
2929 public $ etag ;
3030 /**
31- * Output only. Identifies what kind of resource this is. Value: the fixed
32- * string "youtube#videoStats".
31+ * Output only. The ID that YouTube uses to uniquely identify the video.
3332 *
3433 * @var string
3534 */
36- public $ kind ;
35+ public $ id ;
3736 /**
38- * Output only. Identifier. The resource name for the `VideoStats` resource,
39- * in the format ` videoStats/{video_stat}` .
37+ * Output only. Identifies what kind of resource this is. Value: the fixed
38+ * string "youtube# videoStats" .
4039 *
4140 * @var string
4241 */
43- public $ name ;
42+ public $ kind ;
4443 protected $ snippetType = VideoStatsSnippet::class;
4544 protected $ snippetDataType = '' ;
4645 protected $ statisticsType = VideoStatsStatistics::class;
4746 protected $ statisticsDataType = '' ;
48- /**
49- * Output only. The ID that YouTube uses to uniquely identify the video.
50- *
51- * @var string
52- */
53- public $ videoId ;
5447
5548 /**
5649 * Output only. The VideoStatsContentDetails object contains information about
@@ -86,38 +79,37 @@ public function getEtag()
8679 return $ this ->etag ;
8780 }
8881 /**
89- * Output only. Identifies what kind of resource this is. Value: the fixed
90- * string "youtube#videoStats".
82+ * Output only. The ID that YouTube uses to uniquely identify the video.
9183 *
92- * @param string $kind
84+ * @param string $id
9385 */
94- public function setKind ( $ kind )
86+ public function setId ( $ id )
9587 {
96- $ this ->kind = $ kind ;
88+ $ this ->id = $ id ;
9789 }
9890 /**
9991 * @return string
10092 */
101- public function getKind ()
93+ public function getId ()
10294 {
103- return $ this ->kind ;
95+ return $ this ->id ;
10496 }
10597 /**
106- * Output only. Identifier. The resource name for the `VideoStats` resource,
107- * in the format ` videoStats/{video_stat}` .
98+ * Output only. Identifies what kind of resource this is. Value: the fixed
99+ * string "youtube# videoStats" .
108100 *
109- * @param string $name
101+ * @param string $kind
110102 */
111- public function setName ( $ name )
103+ public function setKind ( $ kind )
112104 {
113- $ this ->name = $ name ;
105+ $ this ->kind = $ kind ;
114106 }
115107 /**
116108 * @return string
117109 */
118- public function getName ()
110+ public function getKind ()
119111 {
120- return $ this ->name ;
112+ return $ this ->kind ;
121113 }
122114 /**
123115 * Output only. The VideoStatsSnippet object contains basic details about the
@@ -153,22 +145,6 @@ public function getStatistics()
153145 {
154146 return $ this ->statistics ;
155147 }
156- /**
157- * Output only. The ID that YouTube uses to uniquely identify the video.
158- *
159- * @param string $videoId
160- */
161- public function setVideoId ($ videoId )
162- {
163- $ this ->videoId = $ videoId ;
164- }
165- /**
166- * @return string
167- */
168- public function getVideoId ()
169- {
170- return $ this ->videoId ;
171- }
172148}
173149
174150// Adding a class alias for backwards compatibility with the previous class name.
0 commit comments