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;
  16. using System.Collections.Generic;
  17. namespace OpenSubtitlesHandler
  18. {
  19. [MethodResponseDescription("MovieDetails method response",
  20. "MovieDetails method response hold all expected values from server.")]
  21. public class MethodResponseMovieDetails : IMethodResponse
  22. {
  23. public MethodResponseMovieDetails()
  24. : base()
  25. { }
  26. public MethodResponseMovieDetails(string name, string message)
  27. : base(name, message)
  28. { }
  29. // Details
  30. private string id;
  31. private string title;
  32. private string year;
  33. private string coverLink;
  34. private string duration;
  35. private string tagline;
  36. private string plot;
  37. private string goofs;
  38. private string trivia;
  39. private List<string> cast = new List<string>();
  40. private List<string> directors = new List<string>();
  41. private List<string> writers = new List<string>();
  42. private List<string> awards = new List<string>();
  43. private List<string> genres = new List<string>();
  44. private List<string> country = new List<string>();
  45. private List<string> language = new List<string>();
  46. private List<string> certification = new List<string>();
  47. // Details
  48. public string ID { get { return id; } set { id = value; } }
  49. public string Title { get { return title; } set { title = value; } }
  50. public string Year { get { return year; } set { year = value; } }
  51. public string CoverLink { get { return coverLink; } set { coverLink = value; } }
  52. public string Duration { get { return duration; } set { duration = value; } }
  53. public string Tagline { get { return tagline; } set { tagline = value; } }
  54. public string Plot { get { return plot; } set { plot = value; } }
  55. public string Goofs { get { return goofs; } set { goofs = value; } }
  56. public string Trivia { get { return trivia; } set { trivia = value; } }
  57. public List<string> Cast { get { return cast; } set { cast = value; } }
  58. public List<string> Directors { get { return directors; } set { directors = value; } }
  59. public List<string> Writers { get { return writers; } set { writers = value; } }
  60. public List<string> Genres { get { return genres; } set { genres = value; } }
  61. public List<string> Awards { get { return awards; } set { awards = value; } }
  62. public List<string> Country { get { return country; } set { country = value; } }
  63. public List<string> Language { get { return language; } set { language = value; } }
  64. public List<string> Certification { get { return certification; } set { certification = value; } }
  65. }
  66. }