def parse(self): self.backgroundImageUrl = create_or_none(BackgroundImageUrl, self._backgroundImageUrl) self.largeBrandedBannerImageImapScript = create_or_none(LargeBrandedBannerImageImapScript, self._largeBrandedBannerImageImapScript) self.largeBrandedBannerImageUrl = create_or_none(LargeBrandedBannerImageUrl, self._largeBrandedBannerImageUrl) self.smallBrandedBannerImageImapScript = create_or_none(SmallBrandedBannerImageImapScript, self._smallBrandedBannerImageImapScript) self.smallBrandedBannerImageUrl = create_or_none(SmallBrandedBannerImageUrl, self._smallBrandedBannerImageUrl) self.parse_hints()
def parse(self): super(Video, self).parse() self.contentDetails = create_or_none(ContentDetails, self._contentDetails) self.status = create_or_none(Status, self._status) self.statistics = create_or_none(Statistics, self._statistics) self.player = create_or_none(Player, self._player) self.topicDetails = create_or_none(TopicDetails, self._topicDetails) self.recordingDetails = create_or_none(RecordingDetails, self._recordingDetails) self.fileDetails = create_or_none(FileDetails, self._fileDetails) self.processingDetails = create_or_none(ProcessingDetails, self._processingDetails) self.suggestions = create_or_none(Suggestions, self._suggestions)
def parse(self): super(Channel, self).parse() self.contentDetails = create_or_none(ContentDetails, self._contentDetails) self.statistics = create_or_none(Statistics, self._statistics) self.topicDetails = create_or_none(TopicDetails, self._topicDetails) self.status = create_or_none(Status, self._status) self.brandingSettings = create_or_none(BrandingSettings, self._brandingSettings) self.invideoPromotion = create_or_none(InvideoPromotion, self._invideoPromotion)
def parse_id(self): self.id = create_or_none(ResourceID, self._id)
def parse(self): super(Playlist, self).parse() self.player = create_or_none(Player, self._player)
def parse(self): super(PlaylistItem, self).parse() self.contentDetails = create_or_none(ContentDetails, self._contentDetails) self.status = create_or_none(Status, self._status)
def parse(self): self.upload = create_or_none(Upload, self._upload) self.like = create_or_none(Like, self._like) self.favorite = create_or_none(Favorite, self._favorite) self.subscription = create_or_none(Subscription, self._subscription) self.comment = create_or_none(Comment, self._comment) self.playlistItem = create_or_none(PlayListItem, self._playlistItem) self.recommendation = create_or_none(Recommendation, self._recommendation) self.bulletin = create_or_none(Bulletin, self._bulletin) self.social = create_or_none(Social, self._social) self.channelItem = create_or_none(ChannelItem, self._channelItem) self.relatedPlaylists = create_or_none(RelatedPlaylists, self._relatedPlaylists)
def parse(self): super(Activity, self).parse() self.contentDetails = create_or_none(ContentDetails, self._contentDetails)
def parse(self): super(Subscription, self).parse() self.contentDetails = create_or_none(ContentDetails, self._contentDetails) self.subscriberSnippet = create_or_none(SubscriberSnippet, self._subscriberSnippet)
def parse(self): self.videoStreams = create_or_none(VideoStreams, self._videoStreams) self.audioStreams = create_or_none(AudioStreams, self._audioStreams) self.recordingLocation = create_or_none(RecordingLocation, self._recordingLocation)
def parse(self): self.processingProgress = create_or_none(ProcessingProgress, self._processingProgress)
def parse(self): self.parse_publishedAt() self.parse_thumbnails() self.resourceId = create_or_none(ResourceId, self._resourceId)
def parse(self): self.timing = create_or_none(Timing, self._timing) self.position = create_or_none(Position, self._position)
def parse(self): self.channel = create_or_none(Channel, self._channel) self.watch = create_or_none(Watch, self._watch) self.image = create_or_none(Image, self._image) self.parse_hints()
def parse(self): self.resourceId = create_or_none(ResourceId, **self._resourceId)
def parse(self): self.location = create_or_none(Location, self._location)
def parse(self): self.snippet = create_or_none(Snippet, self._snippet) self.parse_id()