Advertisement
Guest User

Untitled

a guest
May 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5.  
  6. namespace SLDemo.Models
  7. {
  8. public class RealTimeDepartures
  9. {
  10. public int StatusCode { get; set; }
  11. public object Message { get; set; }
  12. public int ExecutionTime { get; set; }
  13. public Responsedata ResponseData { get; set; }
  14. }
  15.  
  16. public class Responsedata
  17. {
  18. public DateTime LatestUpdate { get; set; }
  19. public int DataAge { get; set; }
  20. public Metro[] Metros { get; set; }
  21. public Bus[] Buses { get; set; }
  22. public Train[] Trains { get; set; }
  23. public Tram[] Trams { get; set; }
  24. public object[] Ships { get; set; }
  25. public Stoppointdeviation[] StopPointDeviations { get; set; }
  26. }
  27.  
  28. public class Metro
  29. {
  30. public string GroupOfLine { get; set; }
  31. public string DisplayTime { get; set; }
  32. public string TransportMode { get; set; }
  33. public string LineNumber { get; set; }
  34. public string Destination { get; set; }
  35. public int JourneyDirection { get; set; }
  36. public string StopAreaName { get; set; }
  37. public int StopAreaNumber { get; set; }
  38. public int StopPointNumber { get; set; }
  39. public string StopPointDesignation { get; set; }
  40. public DateTime TimeTabledDateTime { get; set; }
  41. public DateTime ExpectedDateTime { get; set; }
  42. public int JourneyNumber { get; set; }
  43. public object Deviations { get; set; }
  44. }
  45.  
  46. public class Bus
  47. {
  48. public object GroupOfLine { get; set; }
  49. public string TransportMode { get; set; }
  50. public string LineNumber { get; set; }
  51. public string Destination { get; set; }
  52. public int JourneyDirection { get; set; }
  53. public string StopAreaName { get; set; }
  54. public int StopAreaNumber { get; set; }
  55. public int StopPointNumber { get; set; }
  56. public string StopPointDesignation { get; set; }
  57. public DateTime TimeTabledDateTime { get; set; }
  58. public DateTime ExpectedDateTime { get; set; }
  59. public string DisplayTime { get; set; }
  60. public int JourneyNumber { get; set; }
  61. public object Deviations { get; set; }
  62. }
  63.  
  64. public class Train
  65. {
  66. public object SecondaryDestinationName { get; set; }
  67. public string GroupOfLine { get; set; }
  68. public string TransportMode { get; set; }
  69. public string LineNumber { get; set; }
  70. public string Destination { get; set; }
  71. public int JourneyDirection { get; set; }
  72. public string StopAreaName { get; set; }
  73. public int StopAreaNumber { get; set; }
  74. public int StopPointNumber { get; set; }
  75. public string StopPointDesignation { get; set; }
  76. public DateTime TimeTabledDateTime { get; set; }
  77. public DateTime ExpectedDateTime { get; set; }
  78. public string DisplayTime { get; set; }
  79. public int JourneyNumber { get; set; }
  80. public object Deviations { get; set; }
  81. }
  82.  
  83. public class Tram
  84. {
  85. public string TransportMode { get; set; }
  86. public string LineNumber { get; set; }
  87. public string Destination { get; set; }
  88. public int JourneyDirection { get; set; }
  89. public string GroupOfLine { get; set; }
  90. public string StopAreaName { get; set; }
  91. public int StopAreaNumber { get; set; }
  92. public int StopPointNumber { get; set; }
  93. public object StopPointDesignation { get; set; }
  94. public DateTime TimeTabledDateTime { get; set; }
  95. public DateTime ExpectedDateTime { get; set; }
  96. public string DisplayTime { get; set; }
  97. public int JourneyNumber { get; set; }
  98. public object Deviations { get; set; }
  99. }
  100.  
  101. public class Stoppointdeviation
  102. {
  103. public Stopinfo StopInfo { get; set; }
  104. public Deviation Deviation { get; set; }
  105. }
  106.  
  107. public class Stopinfo
  108. {
  109. public int StopAreaNumber { get; set; }
  110. public string StopAreaName { get; set; }
  111. public string TransportMode { get; set; }
  112. public string GroupOfLine { get; set; }
  113. }
  114.  
  115. public class Deviation
  116. {
  117. public string Text { get; set; }
  118. public object Consequence { get; set; }
  119. public int ImportanceLevel { get; set; }
  120. }
  121.  
  122. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement