Ejemplo n.º 1
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;
 }
Ejemplo n.º 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);
        }