public static VimeoVideoResponse Parse(JsonObject obj) {
     if (obj == null) return null;
     VimeoVideoResponse response = new VimeoVideoResponse();
     response.ParseResponse(obj);
     response.Video = obj.GetArray("video", VimeoVideo.Parse).FirstOrDefault();
     return response;
 }
Beispiel #2
0
        public static VimeoVideoResponse Parse(JsonObject obj)
        {
            if (obj == null)
            {
                return(null);
            }
            VimeoVideoResponse response = new VimeoVideoResponse();

            response.ParseResponse(obj);
            response.Video = obj.GetArray("video", VimeoVideo.Parse).FirstOrDefault();
            return(response);
        }