MethodResponseMovieDetails.cs 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* This file is part of OpenSubtitles Handler
  2. A library that handle OpenSubtitles.org XML-RPC methods.
  3. Copyright © Ala Ibrahim Hadid 2013
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. using System.Collections.Generic;
  16. namespace OpenSubtitlesHandler
  17. {
  18. [MethodResponseDescription("MovieDetails method response",
  19. "MovieDetails method response hold all expected values from server.")]
  20. public class MethodResponseMovieDetails : IMethodResponse
  21. {
  22. public MethodResponseMovieDetails()
  23. : base()
  24. { }
  25. public MethodResponseMovieDetails(string name, string message)
  26. : base(name, message)
  27. { }
  28. // Details
  29. private string id;
  30. private string title;
  31. private string year;
  32. private string coverLink;
  33. private string duration;
  34. private string tagline;
  35. private string plot;
  36. private string goofs;
  37. private string trivia;
  38. private List<string> cast = new List<string>();
  39. private List<string> directors = new List<string>();
  40. private List<string> writers = new List<string>();
  41. private List<string> awards = new List<string>();
  42. private List<string> genres = new List<string>();
  43. private List<string> country = new List<string>();
  44. private List<string> language = new List<string>();
  45. private List<string> certification = new List<string>();
  46. // Details
  47. public string ID { get { return id; } set { id = value; } }
  48. public string Title { get { return title; } set { title = value; } }
  49. public string Year { get { return year; } set { year = value; } }
  50. public string CoverLink { get { return coverLink; } set { coverLink = value; } }
  51. public string Duration { get { return duration; } set { duration = value; } }
  52. public string Tagline { get { return tagline; } set { tagline = value; } }
  53. public string Plot { get { return plot; } set { plot = value; } }
  54. public string Goofs { get { return goofs; } set { goofs = value; } }
  55. public string Trivia { get { return trivia; } set { trivia = value; } }
  56. public List<string> Cast { get { return cast; } set { cast = value; } }
  57. public List<string> Directors { get { return directors; } set { directors = value; } }
  58. public List<string> Writers { get { return writers; } set { writers = value; } }
  59. public List<string> Genres { get { return genres; } set { genres = value; } }
  60. public List<string> Awards { get { return awards; } set { awards = value; } }
  61. public List<string> Country { get { return country; } set { country = value; } }
  62. public List<string> Language { get { return language; } set { language = value; } }
  63. public List<string> Certification { get { return certification; } set { certification = value; } }
  64. }
  65. }