Ejemplo n.º 1
0
 /**
  * @param \Google_Service_YouTube_Channel $channel
  */
 private function assignProperties(\Google_Service_YouTube_Channel $channel)
 {
     $this->id = $channel->getId();
     $this->snippet = new Snippet($channel->getSnippet());
     $this->contentDetails = new ContentDetails($channel->getContentDetails());
     $this->statistics = new Statistics($channel->getStatistics());
     $this->topicDetails = new TopicDetails($channel->getTopicDetails());
     $this->status = new Status($channel->getStatus());
     $this->brandingSettings = new BrandingSettings($channel->getBrandingSettings());
     $this->invideoPromotion = new InvideoPromotion($channel->getInvideoPromotion());
 }