File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ public class EndpointName
88 public static string SimpleTrigger = "SimpleTrigger" ;
99 public static string JobType = "JobType" ;
1010 public static string TimeZone = "TimeZone" ;
11+ public static string HealthStatus = "HealthStatus" ;
1112 }
1213}
1314
Original file line number Diff line number Diff line change @@ -124,6 +124,15 @@ public IList<string> GetJobTypes()
124124 return JsonConvert . DeserializeObject < IList < string > > ( result . Content ) ;
125125 }
126126 #endregion
127+
128+ #region HealthStatus
129+ public IList < HealthStatus > GetHealthStatus ( )
130+ {
131+ var request = new RestRequest ( EndpointName . HealthStatus , Method . GET ) ;
132+ var result = RestClient . Execute ( request ) ;
133+ return JsonConvert . DeserializeObject < HealthStatus > ( result . Content ) ;
134+ }
135+ #endregion
127136 }
128137}
129138
You can’t perform that action at this time.
0 commit comments