examples/v1/downtimes/UpdateDowntime.rb in datadog_api_client-1.9.0 vs examples/v1/downtimes/UpdateDowntime.rb in datadog_api_client-1.10.0
- old
+ new
@@ -6,7 +6,8 @@
# there is a valid "downtime" in the system
DOWNTIME_ID = ENV["DOWNTIME_ID"]
body = DatadogAPIClient::V1::Downtime.new({
message: "Example-Update_a_downtime_returns_OK_response-updated",
+ mute_first_recovery_notification: true,
})
p api_instance.update_downtime(DOWNTIME_ID.to_i, body)