com.google.api.services.youtube.model.ChannelSnippet

Here are the examples of the java api class com.google.api.services.youtube.model.ChannelSnippet taken from open source projects.

1. YoutubeChannelDeserializer#setChannelSnippet()

Project: incubator-streams
File: YoutubeChannelDeserializer.java
protected ChannelSnippet setChannelSnippet(JsonNode node) {
    ChannelSnippet snippet = new ChannelSnippet();
    snippet.setTitle(node.get("title").asText());
    snippet.setDescription(node.get("description").asText());
    snippet.setPublishedAt(new DateTime(node.get("publishedAt").get("value").longValue()));
    snippet.setLocalized(setLocalized(node.findValue("localized")));
    snippet.setThumbnails(setThumbnails(node.findValue("thumbnails")));
    return snippet;
}