private static void assignVideosToTweet(Tweets tweet, String videoId, String videoName)
    {
        Set<Video> videos = new HashSet<Video>();
        Video video = new Video();
        video.setVideoId(videoId);
        video.setVideoName(videoName);
        videos.add(video);
        tweet.setVideos(videos);
    }
private static void assignVideosToTweet ( Tweets tweet , String videoId , String videoName ) { Set < Video > videos = new HashSet < Video > ( ) ; Video video = new Video ( ) ; video . setVideoId ( videoId ) ; video . setVideoName ( videoName ) ; videos . add ( video ) ; tweet . setVideos ( videos ) ; }
/*
Upload a collection of videos for a specific tweet.