examples/v1/monitors/GetMonitor.rb in datadog_api_client-2.10.0 vs examples/v1/monitors/GetMonitor.rb in datadog_api_client-2.11.0

- old
+ new

@@ -3,6 +3,9 @@ require "datadog_api_client" api_instance = DatadogAPIClient::V1::MonitorsAPI.new # there is a valid "monitor" in the system MONITOR_ID = ENV["MONITOR_ID"] -p api_instance.get_monitor(MONITOR_ID.to_i) +opts = { + with_downtimes: true, +} +p api_instance.get_monitor(MONITOR_ID.to_i, opts)