Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Mar 12, 2024
1 parent 10205d5 commit 2ef40e3
Show file tree
Hide file tree
Showing 479 changed files with 1,141 additions and 19 deletions.
1 change: 1 addition & 0 deletions examples/v1_aws-integration_create_aws_account.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Create an AWS integration returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_integration::*;
use datadog_api_client::datadogV1::model::*;
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_aws-integration_create_aws_tag_filter.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Set an AWS tag filter returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_aws-integration_delete_aws_event_bridge_source.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Delete an Amazon EventBridge source returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_aws-integration_delete_aws_tag_filter.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Delete a tag filtering entry returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
3 changes: 0 additions & 3 deletions examples/v1_aws-integration_list_available_aws_namespaces.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// List namespace rules returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
3 changes: 3 additions & 0 deletions examples/v1_aws-integration_list_aws_event_bridge_sources.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Get all Amazon EventBridge sources returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
1 change: 1 addition & 0 deletions examples/v1_aws-integration_update_aws_account.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Update an AWS integration returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_integration::*;
use datadog_api_client::datadogV1::model::*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Check that an AWS Lambda Function exists returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_logs_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Check permissions for log services returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_logs_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_aws-logs-integration_enable_aws_log_services.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Enable an AWS Logs integration returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_aws_logs_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_azure-integration_create_azure_integration.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create an Azure integration returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_azure_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_azure-integration_delete_azure_integration.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Delete an Azure integration returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_azure_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_azure-integration_update_azure_host_filters.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Update Azure integration host filters returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_azure_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_azure-integration_update_azure_integration.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Update an Azure integration returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_azure_integration::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboard-lists_create_dashboard_list.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a dashboard list returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboard_lists::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
3 changes: 3 additions & 0 deletions examples/v1_dashboard-lists_delete_dashboard_list.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Delete a dashboard list returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboard_lists::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
3 changes: 3 additions & 0 deletions examples/v1_dashboard-lists_get_dashboard_list.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Get a dashboard list returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboard_lists::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
3 changes: 3 additions & 0 deletions examples/v1_dashboard-lists_list_dashboard_lists.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Get all dashboard lists returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboard_lists::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1024858348.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with a formulas and functions treemap widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1094917386.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with manage_status widget and show_priority parameter
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1177423752.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with heatmap widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1200099236.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with hostmap widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1213075383.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with toplist widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1284514532.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// Create a new dashboard with a timeseries widget using formulas and functions
// cloud cost query
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1423904722.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with slo list widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_173805046.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with slo widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1754992756.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with powerpack widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_1877023900.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with list_stream widget with a valid sort parameter ASC
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2064651578.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with team tags returns "OK" response
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2104498738.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with formulas and functions scatterplot widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2278756614.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with split graph widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2308247857.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with alert_graph widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2316374332.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with alert_value widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2336428357.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with query_table widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2361531620.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with list_stream widget with a valid sort parameter DESC
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2432046716.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with event_stream list_stream widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2490110261.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with an audit logs query
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 0 additions & 2 deletions examples/v1_dashboards_create_dashboard_252716965.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// Create a distribution widget using a histogram request containing a formulas
// and functions metrics query
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 2 additions & 0 deletions examples/v1_dashboards_create_dashboard_2607944105.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Create a new dashboard with check_status widget
use chrono::prelude::{DateTime, Utc};
use datadog_api_client::datadog::configuration::Configuration;
use datadog_api_client::datadogV1::api::api_dashboards::*;
use datadog_api_client::datadogV1::model::*;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
Expand Down
Loading

0 comments on commit 2ef40e3

Please sign in to comment.