Here are the examples of the java api class com.google.api.services.youtube.model.Channel taken from open source projects.
1. YoutubeChannelDataCollectorTest#createMockResponse()
Project: incubator-streams
File: YoutubeChannelDataCollectorTest.java
File: YoutubeChannelDataCollectorTest.java
private ChannelListResponse createMockResponse() { ChannelListResponse response = new ChannelListResponse(); List<Channel> channelList = Lists.newLinkedList(); response.setItems(channelList); Channel channel = new Channel(); channel.setId(ID); channelList.add(channel); return response; }