/// <summary> /// Constructor. /// </summary> /// <param name="output">The output from the request.</param> public SubtitleData( XmlRpcStruct output ) { this.SubFileName = output.GetString( "SubFileName" ); this.AddDate = DateTime.Parse( output.GetString( "SubAddDate" ) ); this.IDSubtitleFile = output.GetULong( "IDSubtitleFile" ); this.DownloadsCount = output.GetUInt( "SubDownloadsCnt" ); this.SubDownloadLink = output.GetString( "SubDownloadLink" ); this.SubFileSize = output.GetUInt( "SubSize" ); this.LanguageName = output.GetString( "LanguageName" ); this.SubFileHash = output.GetString( "SubHash" ); this.ISO639 = output.GetString( "ISO639" ); }
/// <summary> /// Constructor. /// </summary> /// <param name="output">The server's output.</param> public SubtitleLanguage( XmlRpcStruct output ) { this.ISO639_3 = output.GetString( "SubLanguageID" ); this.LanguageName = output.GetString( "LanguageName" ); this.ISO639_2 = output.GetString( "ISO639" ); }