/// <summary> /// Gets a list of monitors matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response.</returns> public SocialHttpResponse GetMonitors(UptimeRobotGetMonitorsOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.DoHttpPostRequest("https://api.uptimerobot.com/v2/getMonitors", options)); }
/// <summary> /// Gets a list of monitors matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="UptimeRobotGetMonitorsResponse"/> representing the response.</returns> public UptimeRobotGetMonitorsResponse GetMonitors(UptimeRobotGetMonitorsOptions options) { return(UptimeRobotGetMonitorsResponse.ParseResponse(Raw.GetMonitors(options))); }