diff --git a/.generator/src/generator/templates/api.j2 b/.generator/src/generator/templates/api.j2 index abfbe14e8..7d0e744fc 100644 --- a/.generator/src/generator/templates/api.j2 +++ b/.generator/src/generator/templates/api.j2 @@ -19,6 +19,7 @@ use log::warn; {%- for name, parameter in optionalParams %} {%- if loop.first %} /// {{operation.operationId}}OptionalParams is a struct for passing parameters to the method [`{{ structName }}::{{operation.operationId | snake_case}}`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct {{operation.operationId}}OptionalParams { {%- endif %} diff --git a/.generator/src/generator/templates/configuration.j2 b/.generator/src/generator/templates/configuration.j2 index 445f80edc..706ac84e8 100644 --- a/.generator/src/generator/templates/configuration.j2 +++ b/.generator/src/generator/templates/configuration.j2 @@ -20,7 +20,7 @@ pub struct Configuration { {%- endfor %} {%- endfor %} {%- endif %} - + unstable_operations: HashMap, } impl Configuration { @@ -29,33 +29,35 @@ impl Configuration { } pub fn set_unstable_operation_enabled(&mut self, operation: &str, enabled: bool) -> bool { - if let Some(unstable_operations) = &mut self.unstable_operations { - if unstable_operations.contains_key(operation) { - unstable_operations.insert(operation.to_string(), enabled); - return true; - } + if self.unstable_operations.contains_key(operation) { + self.unstable_operations.insert(operation.to_string(), enabled); + return true; } - warn!("Operation {} is not an unstable operation, can't enable/disable", operation); + warn!( + "Operation {} is not an unstable operation, can't enable/disable", + operation + ); + false } pub fn is_unstable_operation_enabled(&self, operation: &str) -> bool { - if let Some(unstable_operations) = &self.unstable_operations { - if unstable_operations.contains_key(operation) { - return unstable_operations.get(operation).unwrap().clone(); - } + if self.unstable_operations.contains_key(operation) { + return self.unstable_operations.get(operation).unwrap().clone(); } - warn!("Operation {} is not an unstable operation, is always enabled", operation); + warn!( + "Operation {} is not an unstable operation, is always enabled", + operation + ); + false } pub fn is_unstable_operation(&self, operation: &str) -> bool { - if let Some(unstable_operations) = &self.unstable_operations { - if unstable_operations.contains_key(operation) { - return true; - } + if self.unstable_operations.contains_key(operation) { + return true; } false @@ -65,7 +67,7 @@ impl Configuration { impl Default for Configuration { fn default() -> Self { let http_client = reqwest_middleware::ClientBuilder::new(reqwest::Client::new()); - let unstable_operations = Some(HashMap::from([ + let unstable_operations = HashMap::from([ {%- for version, api in apis.items() %} {%- for operations in api.values() %} {%- for _, _, operation in operations|sort(attribute="2.operationId") %} @@ -75,7 +77,7 @@ impl Default for Configuration { {%- endfor %} {%- endfor %} {%- endfor %} - ])); + ]); Configuration { base_path: "https://api.datadoghq.com".to_owned(), @@ -99,6 +101,7 @@ impl Default for Configuration { {%- endfor %} {%- endfor %} {%- endif %} + unstable_operations, } } } diff --git a/.generator/src/generator/templates/function_mappings.j2 b/.generator/src/generator/templates/function_mappings.j2 index 2927e99a0..ece5429f5 100644 --- a/.generator/src/generator/templates/function_mappings.j2 +++ b/.generator/src/generator/templates/function_mappings.j2 @@ -38,7 +38,7 @@ pub fn collect_function_calls(world: &mut DatadogWorld) { {%- for version, apis in all_apis.items() %} {%- for _, operations in apis.items() %} {%- for _, _, operation in operations %} - world.function_mappings.insert("{{version}}.{{ operation['operationId'] }}".to_string(), test_{{version}}_{{ operation['operationId'] | snake_case }}); + world.function_mappings.insert("{{version}}.{{ operation['operationId'] }}".into(), test_{{version}}_{{ operation['operationId'] | snake_case }}); {%- endfor %} {%- endfor %} {%- endfor %} @@ -61,25 +61,23 @@ fn test_{{version}}_{{ operation['operationId'] | snake_case }}(world: &mut Data let {{ parameter[0] | variable_name }} = serde_json::from_value(_parameters.get("{{ parameter[0] }}").unwrap().clone()).unwrap(); {%- endif -%} {%- else %} - let {{ parameter[0] | variable_name }} = if let Some(param) = _parameters.get("{{ parameter[0] }}") { + let {{ parameter[0] | variable_name }} = _parameters.get("{{ parameter[0] }}").and_then(|param| {%- if schema | is_primitive and schema.get("format") == "binary" -%} Some(param.as_str().unwrap().as_bytes().to_vec()) {%- else -%} Some(serde_json::from_value(param.clone()).unwrap()) {%- endif -%} - } else { - None - }; + ); {%- endif %} {%- endfor %} {%- for parameter in optionalParams %} {%- if loop.first %} - let params = datadog{{ version.upper() }}::api::{{ apiName }}::{{ operation['operationId'] }}OptionalParams { + let mut params = datadog{{ version.upper() }}::api::{{ apiName }}::{{ operation['operationId'] }}OptionalParams::default(); {%- endif %} - {{ parameter[0] | variable_name }}, + params.{{ parameter[0] | variable_name }} = {{ parameter[0] | variable_name }}; {%- if loop.last %} - }; + ; {%- endif %} {%- endfor %} let response = match block_on(api.{{ operation['operationId'] | snake_case}}_with_http_info({% for name, parameter in requiredParams %}{{name|variable_name}}{% if loop.last %}{% if operation|has_optional_parameter %}, {% endif %}{% else %}, {% endif %}{% endfor %}{% if operation|has_optional_parameter %}params{% endif %})) { diff --git a/.generator/src/generator/templates/lib.j2 b/.generator/src/generator/templates/lib.j2 index d174b8b59..da4d8c5cb 100644 --- a/.generator/src/generator/templates/lib.j2 +++ b/.generator/src/generator/templates/lib.j2 @@ -2,11 +2,6 @@ #![allow(non_camel_case_types)] #![allow(non_snake_case)] -extern crate serde; -extern crate serde_json; -extern crate url; -extern crate reqwest; - pub mod datadog; pub mod datadogV1; pub mod datadogV2; diff --git a/.generator/src/generator/templates/model.mustache b/.generator/src/generator/templates/model.mustache deleted file mode 100644 index 1cf4f4227..000000000 --- a/.generator/src/generator/templates/model.mustache +++ /dev/null @@ -1,118 +0,0 @@ -{{>partial_header}} -{{#models}} -{{#model}} -{{#description}} -/// {{{classname}}} : {{{description}}} -{{/description}} - -{{!-- for enum schemas --}} -{{#isEnum}} -/// {{{description}}} -#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] -pub enum {{{classname}}} { -{{#allowableValues}} -{{#enumVars}} - #[serde(rename = "{{{value}}}")] - {{{name}}}, -{{/enumVars}}{{/allowableValues}} -} - -impl ToString for {{{classname}}} { - fn to_string(&self) -> String { - match self { - {{#allowableValues}} - {{#enumVars}} - Self::{{{name}}} => String::from("{{{value}}}"), - {{/enumVars}} - {{/allowableValues}} - } - } -} - -impl Default for {{{classname}}} { - fn default() -> {{{classname}}} { - {{#allowableValues}} - Self::{{ enumVars.0.name }} - {{/allowableValues}} - } -} -{{/isEnum}} - -{{!-- for schemas that have a discriminator --}} -{{#discriminator}} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -#[serde(tag = "{{{vendorExtensions.x-tag-name}}}")] -pub enum {{{classname}}} { -{{#vendorExtensions}} - {{#x-mapped-models}} - #[serde(rename="{{mappingName}}")] - {{{modelName}}} { - {{#vars}} - {{#description}} - /// {{{.}}} - {{/description}} - #[serde(rename = "{{{baseName}}}"{{^required}}, skip_serializing_if = "Option::is_none"{{/required}})] - {{{name}}}: {{#required}}{{#isNullable}}Option<{{/isNullable}}{{/required}}{{^required}}Option<{{/required}}{{#isEnum}}{{{enumName}}}{{/isEnum}}{{^isEnum}}{{#isModel}}Box<{{{dataType}}}>{{/isModel}}{{^isModel}}{{{dataType}}}{{/isModel}}{{/isEnum}}{{#required}}{{#isNullable}}>{{/isNullable}}{{/required}}{{^required}}>{{/required}}, - {{/vars}} - }, - {{/x-mapped-models}} -{{/vendorExtensions}} -} - -{{/discriminator}} - -{{!-- for non-enum schemas --}} -{{^isEnum}} -{{^discriminator}} -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] -pub struct {{{classname}}} { -{{#vars}} - {{#description}} - /// {{{.}}} - {{/description}} - #[serde(rename = "{{{baseName}}}"{{^required}}{{#isNullable}}, default, with = "::serde_with::rust::double_option"{{/isNullable}}{{/required}}{{^required}}, skip_serializing_if = "Option::is_none"{{/required}}{{#required}}{{#isNullable}}, deserialize_with = "Option::deserialize"{{/isNullable}}{{/required}})] - pub {{{name}}}: {{#isNullable}}Option<{{/isNullable}}{{^required}}Option<{{/required}}{{#isEnum}}{{#isArray}}{{#uniqueItems}}std::collections::HashSet<{{/uniqueItems}}{{^uniqueItems}}Vec<{{/uniqueItems}}{{/isArray}}{{{enumName}}}{{#isArray}}>{{/isArray}}{{/isEnum}}{{^isEnum}}{{#isModel}}Box<{{{dataType}}}>{{/isModel}}{{^isModel}}{{{dataType}}}{{/isModel}}{{/isEnum}}{{#isNullable}}>{{/isNullable}}{{^required}}>{{/required}}, -{{/vars}} -} - -impl {{{classname}}} { - {{#description}} - /// {{{.}}} - {{/description}} - pub fn new({{#requiredVars}}{{{name}}}: {{#isNullable}}Option<{{/isNullable}}{{#isEnum}}{{#isArray}}Vec<{{/isArray}}{{{enumName}}}{{#isArray}}>{{/isArray}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{#isNullable}}>{{/isNullable}}{{^-last}}, {{/-last}}{{/requiredVars}}) -> {{{classname}}} { - {{{classname}}} { - {{#vars}} - {{{name}}}{{^required}}{{#isArray}}: None{{/isArray}}{{#isMap}}: None{{/isMap}}{{#isContainer}}{{#isNullable}}: None{{/isNullable}}{{/isContainer}}{{^isContainer}}: None{{/isContainer}}{{/required}}{{#required}}{{#isModel}}: {{^isNullable}}Box::new({{{name}}}){{/isNullable}}{{#isNullable}}if let Some(x) = {{{name}}} {Some(Box::new(x))} else {None}{{/isNullable}}{{/isModel}}{{/required}}, - {{/vars}} - } - } -} -{{/discriminator}} -{{/isEnum}} - -{{!-- for properties that are of enum type --}} -{{#vars}} -{{#isEnum}} -/// {{{description}}} -#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] -pub enum {{{enumName}}} { -{{#allowableValues}} -{{#enumVars}} - #[serde(rename = "{{{value}}}")] - {{{name}}}, -{{/enumVars}} -{{/allowableValues}} -} - -impl Default for {{{enumName}}} { - fn default() -> {{{enumName}}} { - {{#allowableValues}} - Self::{{ enumVars.0.name }} - {{/allowableValues}} - } -} -{{/isEnum}} -{{/vars}} - -{{/model}} -{{/models}} diff --git a/.generator/src/generator/templates/model_enum.j2 b/.generator/src/generator/templates/model_enum.j2 index ca34b635f..9958bc500 100644 --- a/.generator/src/generator/templates/model_enum.j2 +++ b/.generator/src/generator/templates/model_enum.j2 @@ -7,9 +7,10 @@ use serde::{Serialize, Deserialize}; {{ description | block_comment }} {%- endif %} +#[non_exhaustive] {%- if model["type"] == "integer" %} #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr)] -#[repr({{model | simple_type(False, False)}})] +#[repr({{model | simple_type(false, false)}})] {%- else %} #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] {%- endif %} diff --git a/.generator/src/generator/templates/model_oneof.j2 b/.generator/src/generator/templates/model_oneof.j2 index d297426a7..0ebbd14fa 100644 --- a/.generator/src/generator/templates/model_oneof.j2 +++ b/.generator/src/generator/templates/model_oneof.j2 @@ -1,6 +1,7 @@ use serde::{Deserialize, Serialize}; {{ model.description | block_comment }} +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum {{name}} { diff --git a/.generator/src/generator/templates/model_simple.j2 b/.generator/src/generator/templates/model_simple.j2 index 1b5f3a7d5..f171abb30 100644 --- a/.generator/src/generator/templates/model_simple.j2 +++ b/.generator/src/generator/templates/model_simple.j2 @@ -2,13 +2,14 @@ use serde::{Serialize, Deserialize}; use serde_with::skip_serializing_none; {{ model.description | block_comment }} +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct {{ name }} { {%- for attr, schema in model.get("properties", {}).items() %} {%- set propertyName = attr|variable_name %} {%- set required = attr in model.required %} -{%- set nullable = schema.get("nullable", False)%} +{%- set nullable = schema.get("nullable", false)%} {%- set dataType = get_type(schema, alternative_name=name + propertyName, render_nullable=nullable, render_option=not required, render_box=false, version=version) %} {%- if schema.description is defined %} {{ schema.description | block_comment }} @@ -19,22 +20,22 @@ pub struct {{ name }} { #[serde(rename = "{{ attr }}"{% if not required and nullable%}, default, with = "::serde_with::rust::double_option"{% endif %})] pub {{propertyName}}: {{dataType}}, {%- endfor %} -{%- if model.additionalProperties is defined and model.additionalProperties != False %} -{%- set dataType = get_type(model.additionalProperties, alternative_name=None, render_nullable=False, render_option=False, render_box=false, version=version) %} +{%- if model.additionalProperties is defined and model.additionalProperties != false %} +{%- set dataType = get_type(model.additionalProperties, alternative_name=None, render_nullable=false, render_option=false, render_box=false, version=version) %} #[serde(flatten)] pub additional_properties: std::collections::BTreeMap, {%- endif %} } impl {{ name }} { - pub fn new({% for attr, schema in model.get("properties", {}).items() if attr in model.required %}{%- set nullable = schema.get("nullable", False)%}{%- set dataType = get_type(schema, alternative_name=name + attr|variable_name, render_nullable=nullable, render_option=False, render_box=false, version=version) %}{{attr|variable_name}}: {{ dataType }}{%- if not loop.last %}, {% endif %}{% endfor %}) -> {{ name }} { + pub fn new({% for attr, schema in model.get("properties", {}).items() if attr in model.required %}{%- set nullable = schema.get("nullable", false)%}{%- set dataType = get_type(schema, alternative_name=name + attr|variable_name, render_nullable=nullable, render_option=false, render_box=false, version=version) %}{{attr|variable_name}}: {{ dataType }}{%- if not loop.last %}, {% endif %}{% endfor %}) -> {{ name }} { {%- if get_deprecated(model) %} #[allow(deprecated)] {%- endif %} {{ name }} { {%- for attr, schema in model.get("properties", {}).items() %} {%- set required = attr in model.required %} - {%- set nullable = schema.get("nullable", False)%} + {%- set nullable = schema.get("nullable", false)%} {%- set dataType = get_type(schema, alternative_name=name + attr|variable_name, render_nullable=nullable, render_option=not required, render_box=false, version=version) %} {%- if attr in model.get("required", []) %} {{ attr|variable_name }}, @@ -42,14 +43,14 @@ impl {{ name }} { {{ attr|variable_name }}: None, {%- endif %} {%- endfor %} - {%- if model.additionalProperties is defined and model.additionalProperties != False %} + {%- if model.additionalProperties is defined and model.additionalProperties != false %} additional_properties: std::collections::BTreeMap::new(), {%- endif %} } } {% for attr, schema in model.get("properties", {}).items() if attr not in model.required %} - {%- set nullable = schema.get("nullable", False)%} - {%- set dataType = get_type(schema, alternative_name=name + attr|variable_name, render_nullable=nullable, render_option=False, render_box=false, version=version) %} + {%- set nullable = schema.get("nullable", false)%} + {%- set dataType = get_type(schema, alternative_name=name + attr|variable_name, render_nullable=nullable, render_option=false, render_box=false, version=version) %} {%- if get_deprecated(model) %} #[allow(deprecated)] {%- endif %} diff --git a/.gitignore b/.gitignore index 13c4f6f4f..a1a55f01c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,13 @@ /target/ **/*.rs.bk Cargo.lock -__pycache__ \ No newline at end of file +__pycache__ + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ diff --git a/scripts/license-check.sh b/scripts/license-check.sh index 04571927b..05704d427 100755 --- a/scripts/license-check.sh +++ b/scripts/license-check.sh @@ -1,4 +1,5 @@ cargo install --quiet dd-rust-license-tool +cargo fetch --target aarch64-apple-darwin dd-rust-license-tool check if [ $? -ne 0 ]; then echo "Run 'dd-rust-license-tool write' to regenerate license csv file." diff --git a/src/datadog/configuration.rs b/src/datadog/configuration.rs index f96db9dd1..8005dacd2 100644 --- a/src/datadog/configuration.rs +++ b/src/datadog/configuration.rs @@ -13,6 +13,7 @@ pub struct Configuration { pub unstable_operations: Option>, pub api_key_auth: Option, pub app_key_auth: Option, + unstable_operations: HashMap, } impl Configuration { @@ -21,39 +22,36 @@ impl Configuration { } pub fn set_unstable_operation_enabled(&mut self, operation: &str, enabled: bool) -> bool { - if let Some(unstable_operations) = &mut self.unstable_operations { - if unstable_operations.contains_key(operation) { - unstable_operations.insert(operation.to_string(), enabled); - return true; - } + if self.unstable_operations.contains_key(operation) { + self.unstable_operations + .insert(operation.to_string(), enabled); + return true; } warn!( "Operation {} is not an unstable operation, can't enable/disable", operation ); + false } pub fn is_unstable_operation_enabled(&self, operation: &str) -> bool { - if let Some(unstable_operations) = &self.unstable_operations { - if unstable_operations.contains_key(operation) { - return unstable_operations.get(operation).unwrap().clone(); - } + if self.unstable_operations.contains_key(operation) { + return self.unstable_operations.get(operation).unwrap().clone(); } warn!( "Operation {} is not an unstable operation, is always enabled", operation ); + false } pub fn is_unstable_operation(&self, operation: &str) -> bool { - if let Some(unstable_operations) = &self.unstable_operations { - if unstable_operations.contains_key(operation) { - return true; - } + if self.unstable_operations.contains_key(operation) { + return true; } false @@ -63,7 +61,7 @@ impl Configuration { impl Default for Configuration { fn default() -> Self { let http_client = reqwest_middleware::ClientBuilder::new(reqwest::Client::new()); - let unstable_operations = Some(HashMap::from([ + let unstable_operations = HashMap::from([ ("v2.get_active_billing_dimensions".to_owned(), false), ("v2.get_monthly_cost_attribution".to_owned(), false), ("v2.create_dora_deployment".to_owned(), false), @@ -106,7 +104,7 @@ impl Default for Configuration { ("v2.get_incident_team".to_owned(), false), ("v2.list_incident_teams".to_owned(), false), ("v2.update_incident_team".to_owned(), false), - ])); + ]); Configuration { base_path: "https://api.datadoghq.com".to_owned(), @@ -121,6 +119,7 @@ impl Default for Configuration { unstable_operations: unstable_operations, api_key_auth: env::var("DD_API_KEY").ok(), app_key_auth: env::var("DD_APP_KEY").ok(), + unstable_operations, } } } diff --git a/src/datadogV1/api/api_aws_integration.rs b/src/datadogV1/api/api_aws_integration.rs index b2b5b33a0..482b0ed75 100644 --- a/src/datadogV1/api/api_aws_integration.rs +++ b/src/datadogV1/api/api_aws_integration.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListAWSAccountsOptionalParams is a struct for passing parameters to the method [`AWSIntegrationAPI::list_aws_accounts`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListAWSAccountsOptionalParams { /// Only return AWS accounts that matches this `account_id`. @@ -35,6 +36,7 @@ impl ListAWSAccountsOptionalParams { } /// UpdateAWSAccountOptionalParams is a struct for passing parameters to the method [`AWSIntegrationAPI::update_aws_account`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct UpdateAWSAccountOptionalParams { /// Only return AWS accounts that matches this `account_id`. diff --git a/src/datadogV1/api/api_dashboards.rs b/src/datadogV1/api/api_dashboards.rs index a513d60e0..6fa87b1b9 100644 --- a/src/datadogV1/api/api_dashboards.rs +++ b/src/datadogV1/api/api_dashboards.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetPublicDashboardInvitationsOptionalParams is a struct for passing parameters to the method [`DashboardsAPI::get_public_dashboard_invitations`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetPublicDashboardInvitationsOptionalParams { /// The number of records to return in a single request. @@ -28,6 +29,7 @@ impl GetPublicDashboardInvitationsOptionalParams { } /// ListDashboardsOptionalParams is a struct for passing parameters to the method [`DashboardsAPI::list_dashboards`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListDashboardsOptionalParams { /// When `true`, this query only returns shared custom created diff --git a/src/datadogV1/api/api_downtimes.rs b/src/datadogV1/api/api_downtimes.rs index 297aa37d3..844c495ff 100644 --- a/src/datadogV1/api/api_downtimes.rs +++ b/src/datadogV1/api/api_downtimes.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListDowntimesOptionalParams is a struct for passing parameters to the method [`DowntimesAPI::list_downtimes`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListDowntimesOptionalParams { /// Only return downtimes that are active when the request is made. diff --git a/src/datadogV1/api/api_events.rs b/src/datadogV1/api/api_events.rs index 3ca9d5466..a00030952 100644 --- a/src/datadogV1/api/api_events.rs +++ b/src/datadogV1/api/api_events.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListEventsOptionalParams is a struct for passing parameters to the method [`EventsAPI::list_events`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListEventsOptionalParams { /// Priority of your events, either `low` or `normal`. diff --git a/src/datadogV1/api/api_hosts.rs b/src/datadogV1/api/api_hosts.rs index 812369958..fc08f4015 100644 --- a/src/datadogV1/api/api_hosts.rs +++ b/src/datadogV1/api/api_hosts.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetHostTotalsOptionalParams is a struct for passing parameters to the method [`HostsAPI::get_host_totals`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetHostTotalsOptionalParams { /// Number of seconds from which you want to get total number of active hosts. @@ -21,6 +22,7 @@ impl GetHostTotalsOptionalParams { } /// ListHostsOptionalParams is a struct for passing parameters to the method [`HostsAPI::list_hosts`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListHostsOptionalParams { /// String to filter search results. diff --git a/src/datadogV1/api/api_logs.rs b/src/datadogV1/api/api_logs.rs index cc85bf80b..7460e097e 100644 --- a/src/datadogV1/api/api_logs.rs +++ b/src/datadogV1/api/api_logs.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// SubmitLogOptionalParams is a struct for passing parameters to the method [`LogsAPI::submit_log`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SubmitLogOptionalParams { /// HTTP header used to compress the media-type. diff --git a/src/datadogV1/api/api_metrics.rs b/src/datadogV1/api/api_metrics.rs index c6021fe73..dd3ed8d5f 100644 --- a/src/datadogV1/api/api_metrics.rs +++ b/src/datadogV1/api/api_metrics.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListActiveMetricsOptionalParams is a struct for passing parameters to the method [`MetricsAPI::list_active_metrics`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListActiveMetricsOptionalParams { /// Hostname for filtering the list of metrics returned. @@ -32,6 +33,7 @@ impl ListActiveMetricsOptionalParams { } /// SubmitDistributionPointsOptionalParams is a struct for passing parameters to the method [`MetricsAPI::submit_distribution_points`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SubmitDistributionPointsOptionalParams { /// HTTP header used to compress the media-type. @@ -50,6 +52,7 @@ impl SubmitDistributionPointsOptionalParams { } /// SubmitMetricsOptionalParams is a struct for passing parameters to the method [`MetricsAPI::submit_metrics`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SubmitMetricsOptionalParams { /// HTTP header used to compress the media-type. diff --git a/src/datadogV1/api/api_monitors.rs b/src/datadogV1/api/api_monitors.rs index 83d02ec94..f4487b883 100644 --- a/src/datadogV1/api/api_monitors.rs +++ b/src/datadogV1/api/api_monitors.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// DeleteMonitorOptionalParams is a struct for passing parameters to the method [`MonitorsAPI::delete_monitor`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct DeleteMonitorOptionalParams { /// Delete the monitor even if it's referenced by other resources (for example SLO, composite monitor). @@ -21,6 +22,7 @@ impl DeleteMonitorOptionalParams { } /// GetMonitorOptionalParams is a struct for passing parameters to the method [`MonitorsAPI::get_monitor`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetMonitorOptionalParams { /// When specified, shows additional information about the group states. Choose one or more from `all`, `alert`, `warn`, and `no data`. @@ -43,6 +45,7 @@ impl GetMonitorOptionalParams { } /// ListMonitorsOptionalParams is a struct for passing parameters to the method [`MonitorsAPI::list_monitors`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListMonitorsOptionalParams { /// When specified, shows additional information about the group states. @@ -113,6 +116,7 @@ impl ListMonitorsOptionalParams { } /// SearchMonitorGroupsOptionalParams is a struct for passing parameters to the method [`MonitorsAPI::search_monitor_groups`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchMonitorGroupsOptionalParams { /// After entering a search query in your [Manage Monitor page][1] use the query parameter value in the @@ -171,6 +175,7 @@ impl SearchMonitorGroupsOptionalParams { } /// SearchMonitorsOptionalParams is a struct for passing parameters to the method [`MonitorsAPI::search_monitors`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchMonitorsOptionalParams { /// After entering a search query in your [Manage Monitor page][1] use the query parameter value in the diff --git a/src/datadogV1/api/api_notebooks.rs b/src/datadogV1/api/api_notebooks.rs index 6c3b8858c..479dafc90 100644 --- a/src/datadogV1/api/api_notebooks.rs +++ b/src/datadogV1/api/api_notebooks.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListNotebooksOptionalParams is a struct for passing parameters to the method [`NotebooksAPI::list_notebooks`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListNotebooksOptionalParams { /// Return notebooks created by the given `author_handle`. diff --git a/src/datadogV1/api/api_service_level_objective_corrections.rs b/src/datadogV1/api/api_service_level_objective_corrections.rs index 289867471..089902063 100644 --- a/src/datadogV1/api/api_service_level_objective_corrections.rs +++ b/src/datadogV1/api/api_service_level_objective_corrections.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListSLOCorrectionOptionalParams is a struct for passing parameters to the method [`ServiceLevelObjectiveCorrectionsAPI::list_slo_correction`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListSLOCorrectionOptionalParams { /// The specific offset to use as the beginning of the returned response. diff --git a/src/datadogV1/api/api_service_level_objectives.rs b/src/datadogV1/api/api_service_level_objectives.rs index 4741de8c5..47c5f5330 100644 --- a/src/datadogV1/api/api_service_level_objectives.rs +++ b/src/datadogV1/api/api_service_level_objectives.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// DeleteSLOOptionalParams is a struct for passing parameters to the method [`ServiceLevelObjectivesAPI::delete_slo`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct DeleteSLOOptionalParams { /// Delete the monitor even if it's referenced by other resources (for example SLO, composite monitor). @@ -21,6 +22,7 @@ impl DeleteSLOOptionalParams { } /// GetSLOOptionalParams is a struct for passing parameters to the method [`ServiceLevelObjectivesAPI::get_slo`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetSLOOptionalParams { /// Get the IDs of SLO monitors that reference this SLO. @@ -36,6 +38,7 @@ impl GetSLOOptionalParams { } /// GetSLOHistoryOptionalParams is a struct for passing parameters to the method [`ServiceLevelObjectivesAPI::get_slo_history`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetSLOHistoryOptionalParams { /// The SLO target. If `target` is passed in, the response will include the remaining error budget and a timeframe value of `custom`. @@ -60,6 +63,7 @@ impl GetSLOHistoryOptionalParams { } /// ListSLOsOptionalParams is a struct for passing parameters to the method [`ServiceLevelObjectivesAPI::list_sl_os`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListSLOsOptionalParams { /// A comma separated list of the IDs of the service level objectives objects. @@ -110,6 +114,7 @@ impl ListSLOsOptionalParams { } /// SearchSLOOptionalParams is a struct for passing parameters to the method [`ServiceLevelObjectivesAPI::search_slo`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchSLOOptionalParams { /// The query string to filter results based on SLO names. diff --git a/src/datadogV1/api/api_snapshots.rs b/src/datadogV1/api/api_snapshots.rs index f906b9c79..2bd08dc16 100644 --- a/src/datadogV1/api/api_snapshots.rs +++ b/src/datadogV1/api/api_snapshots.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetGraphSnapshotOptionalParams is a struct for passing parameters to the method [`SnapshotsAPI::get_graph_snapshot`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetGraphSnapshotOptionalParams { /// The metric query. diff --git a/src/datadogV1/api/api_synthetics.rs b/src/datadogV1/api/api_synthetics.rs index 9515ef045..97f536f88 100644 --- a/src/datadogV1/api/api_synthetics.rs +++ b/src/datadogV1/api/api_synthetics.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetAPITestLatestResultsOptionalParams is a struct for passing parameters to the method [`SyntheticsAPI::get_api_test_latest_results`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetAPITestLatestResultsOptionalParams { /// Timestamp in milliseconds from which to start querying results. @@ -35,6 +36,7 @@ impl GetAPITestLatestResultsOptionalParams { } /// GetBrowserTestLatestResultsOptionalParams is a struct for passing parameters to the method [`SyntheticsAPI::get_browser_test_latest_results`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetBrowserTestLatestResultsOptionalParams { /// Timestamp in milliseconds from which to start querying results. @@ -64,6 +66,7 @@ impl GetBrowserTestLatestResultsOptionalParams { } /// ListTestsOptionalParams is a struct for passing parameters to the method [`SyntheticsAPI::list_tests`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListTestsOptionalParams { /// Used for pagination. The number of tests returned in the page. diff --git a/src/datadogV1/api/api_tags.rs b/src/datadogV1/api/api_tags.rs index 5dc4361cd..43edc3831 100644 --- a/src/datadogV1/api/api_tags.rs +++ b/src/datadogV1/api/api_tags.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// CreateHostTagsOptionalParams is a struct for passing parameters to the method [`TagsAPI::create_host_tags`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct CreateHostTagsOptionalParams { /// The source of the tags. @@ -23,6 +24,7 @@ impl CreateHostTagsOptionalParams { } /// DeleteHostTagsOptionalParams is a struct for passing parameters to the method [`TagsAPI::delete_host_tags`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct DeleteHostTagsOptionalParams { /// The source of the tags (for example chef, puppet). @@ -40,6 +42,7 @@ impl DeleteHostTagsOptionalParams { } /// GetHostTagsOptionalParams is a struct for passing parameters to the method [`TagsAPI::get_host_tags`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetHostTagsOptionalParams { /// Source to filter. @@ -55,6 +58,7 @@ impl GetHostTagsOptionalParams { } /// ListHostTagsOptionalParams is a struct for passing parameters to the method [`TagsAPI::list_host_tags`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListHostTagsOptionalParams { /// When specified, filters host list to those tags with the specified source. @@ -70,6 +74,7 @@ impl ListHostTagsOptionalParams { } /// UpdateHostTagsOptionalParams is a struct for passing parameters to the method [`TagsAPI::update_host_tags`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct UpdateHostTagsOptionalParams { /// The source of the tags (for example chef, puppet). diff --git a/src/datadogV1/api/api_usage_metering.rs b/src/datadogV1/api/api_usage_metering.rs index 56d795793..7e4d2ac4d 100644 --- a/src/datadogV1/api/api_usage_metering.rs +++ b/src/datadogV1/api/api_usage_metering.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetDailyCustomReportsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_daily_custom_reports`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetDailyCustomReportsOptionalParams { /// The number of files to return in the response. `[default=60]`. @@ -42,6 +43,7 @@ impl GetDailyCustomReportsOptionalParams { } /// GetHourlyUsageAttributionOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_hourly_usage_attribution`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetHourlyUsageAttributionOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -84,6 +86,7 @@ impl GetHourlyUsageAttributionOptionalParams { } /// GetIncidentManagementOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_incident_management`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetIncidentManagementOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -101,6 +104,7 @@ impl GetIncidentManagementOptionalParams { } /// GetIngestedSpansOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_ingested_spans`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetIngestedSpansOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -118,6 +122,7 @@ impl GetIngestedSpansOptionalParams { } /// GetMonthlyCustomReportsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_monthly_custom_reports`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetMonthlyCustomReportsOptionalParams { /// The number of files to return in the response `[default=60].` @@ -154,6 +159,7 @@ impl GetMonthlyCustomReportsOptionalParams { } /// GetMonthlyUsageAttributionOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_monthly_usage_attribution`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetMonthlyUsageAttributionOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month. @@ -214,6 +220,7 @@ impl GetMonthlyUsageAttributionOptionalParams { } /// GetUsageAnalyzedLogsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_analyzed_logs`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageAnalyzedLogsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -231,6 +238,7 @@ impl GetUsageAnalyzedLogsOptionalParams { } /// GetUsageAttributionOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_attribution`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageAttributionOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month. @@ -284,6 +292,7 @@ impl GetUsageAttributionOptionalParams { } /// GetUsageAuditLogsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_audit_logs`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageAuditLogsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -301,6 +310,7 @@ impl GetUsageAuditLogsOptionalParams { } /// GetUsageBillableSummaryOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_billable_summary`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageBillableSummaryOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage starting this month. @@ -316,6 +326,7 @@ impl GetUsageBillableSummaryOptionalParams { } /// GetUsageCIAppOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_ci_app`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageCIAppOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -333,6 +344,7 @@ impl GetUsageCIAppOptionalParams { } /// GetUsageCWSOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_cws`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageCWSOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -350,6 +362,7 @@ impl GetUsageCWSOptionalParams { } /// GetUsageCloudSecurityPostureManagementOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_cloud_security_posture_management`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageCloudSecurityPostureManagementOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -367,6 +380,7 @@ impl GetUsageCloudSecurityPostureManagementOptionalParams { } /// GetUsageDBMOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_dbm`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageDBMOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -384,6 +398,7 @@ impl GetUsageDBMOptionalParams { } /// GetUsageFargateOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_fargate`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageFargateOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -399,6 +414,7 @@ impl GetUsageFargateOptionalParams { } /// GetUsageHostsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_hosts`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageHostsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -414,6 +430,7 @@ impl GetUsageHostsOptionalParams { } /// GetUsageIndexedSpansOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_indexed_spans`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageIndexedSpansOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. @@ -429,6 +446,7 @@ impl GetUsageIndexedSpansOptionalParams { } /// GetUsageInternetOfThingsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_internet_of_things`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageInternetOfThingsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -446,6 +464,7 @@ impl GetUsageInternetOfThingsOptionalParams { } /// GetUsageLambdaOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_lambda`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageLambdaOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -461,6 +480,7 @@ impl GetUsageLambdaOptionalParams { } /// GetUsageLogsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_logs`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageLogsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -476,6 +496,7 @@ impl GetUsageLogsOptionalParams { } /// GetUsageLogsByIndexOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_logs_by_index`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageLogsByIndexOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -498,6 +519,7 @@ impl GetUsageLogsByIndexOptionalParams { } /// GetUsageLogsByRetentionOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_logs_by_retention`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageLogsByRetentionOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -515,6 +537,7 @@ impl GetUsageLogsByRetentionOptionalParams { } /// GetUsageNetworkFlowsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_network_flows`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageNetworkFlowsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -532,6 +555,7 @@ impl GetUsageNetworkFlowsOptionalParams { } /// GetUsageNetworkHostsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_network_hosts`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageNetworkHostsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -547,6 +571,7 @@ impl GetUsageNetworkHostsOptionalParams { } /// GetUsageOnlineArchiveOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_online_archive`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageOnlineArchiveOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -564,6 +589,7 @@ impl GetUsageOnlineArchiveOptionalParams { } /// GetUsageProfilingOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_profiling`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageProfilingOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -581,6 +607,7 @@ impl GetUsageProfilingOptionalParams { } /// GetUsageRumSessionsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_rum_sessions`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageRumSessionsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -603,6 +630,7 @@ impl GetUsageRumSessionsOptionalParams { } /// GetUsageRumUnitsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_rum_units`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageRumUnitsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -618,6 +646,7 @@ impl GetUsageRumUnitsOptionalParams { } /// GetUsageSDSOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_sds`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageSDSOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -635,6 +664,7 @@ impl GetUsageSDSOptionalParams { } /// GetUsageSNMPOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_snmp`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageSNMPOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -652,6 +682,7 @@ impl GetUsageSNMPOptionalParams { } /// GetUsageSummaryOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_summary`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageSummaryOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month. @@ -674,6 +705,7 @@ impl GetUsageSummaryOptionalParams { } /// GetUsageSyntheticsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_synthetics`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageSyntheticsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -689,6 +721,7 @@ impl GetUsageSyntheticsOptionalParams { } /// GetUsageSyntheticsAPIOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_synthetics_api`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageSyntheticsAPIOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -704,6 +737,7 @@ impl GetUsageSyntheticsAPIOptionalParams { } /// GetUsageSyntheticsBrowserOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_synthetics_browser`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageSyntheticsBrowserOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -719,6 +753,7 @@ impl GetUsageSyntheticsBrowserOptionalParams { } /// GetUsageTimeseriesOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_timeseries`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageTimeseriesOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -734,6 +769,7 @@ impl GetUsageTimeseriesOptionalParams { } /// GetUsageTopAvgMetricsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_top_avg_metrics`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageTopAvgMetricsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for usage beginning at this hour. (Either month or day should be specified, but not both) diff --git a/src/datadogV1/model/model_access_role.rs b/src/datadogV1/model/model_access_role.rs index 25bfaf72c..19e8217f4 100644 --- a/src/datadogV1/model/model_access_role.rs +++ b/src/datadogV1/model/model_access_role.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AccessRole { #[serde(rename = "st")] diff --git a/src/datadogV1/model/model_add_signal_to_incident_request.rs b/src/datadogV1/model/model_add_signal_to_incident_request.rs index 4c5699274..2c808563c 100644 --- a/src/datadogV1/model/model_add_signal_to_incident_request.rs +++ b/src/datadogV1/model/model_add_signal_to_incident_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes describing which incident to add the signal to. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AddSignalToIncidentRequest { diff --git a/src/datadogV1/model/model_alert_graph_widget_definition.rs b/src/datadogV1/model/model_alert_graph_widget_definition.rs index 749847764..d87600842 100644 --- a/src/datadogV1/model/model_alert_graph_widget_definition.rs +++ b/src/datadogV1/model/model_alert_graph_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Alert graphs are timeseries graphs showing the current status of any monitor defined on your system. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AlertGraphWidgetDefinition { diff --git a/src/datadogV1/model/model_alert_graph_widget_definition_type.rs b/src/datadogV1/model/model_alert_graph_widget_definition_type.rs index 5b4b124a5..550c3206a 100644 --- a/src/datadogV1/model/model_alert_graph_widget_definition_type.rs +++ b/src/datadogV1/model/model_alert_graph_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AlertGraphWidgetDefinitionType { #[serde(rename = "alert_graph")] diff --git a/src/datadogV1/model/model_alert_value_widget_definition.rs b/src/datadogV1/model/model_alert_value_widget_definition.rs index b27cabceb..4f645126f 100644 --- a/src/datadogV1/model/model_alert_value_widget_definition.rs +++ b/src/datadogV1/model/model_alert_value_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Alert values are query values showing the current value of the metric in any monitor defined on your system. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AlertValueWidgetDefinition { diff --git a/src/datadogV1/model/model_alert_value_widget_definition_type.rs b/src/datadogV1/model/model_alert_value_widget_definition_type.rs index 617a1e9f4..e7ba4943d 100644 --- a/src/datadogV1/model/model_alert_value_widget_definition_type.rs +++ b/src/datadogV1/model/model_alert_value_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AlertValueWidgetDefinitionType { #[serde(rename = "alert_value")] diff --git a/src/datadogV1/model/model_api_error_response.rs b/src/datadogV1/model/model_api_error_response.rs index 65e5c0734..d67c52d61 100644 --- a/src/datadogV1/model/model_api_error_response.rs +++ b/src/datadogV1/model/model_api_error_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Error response object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIErrorResponse { diff --git a/src/datadogV1/model/model_api_key.rs b/src/datadogV1/model/model_api_key.rs index 765eb709e..fd490d7e4 100644 --- a/src/datadogV1/model/model_api_key.rs +++ b/src/datadogV1/model/model_api_key.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Datadog API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApiKey { diff --git a/src/datadogV1/model/model_api_key_list_response.rs b/src/datadogV1/model/model_api_key_list_response.rs index ec1bf223c..00ff20b91 100644 --- a/src/datadogV1/model/model_api_key_list_response.rs +++ b/src/datadogV1/model/model_api_key_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of API and application keys available for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApiKeyListResponse { diff --git a/src/datadogV1/model/model_api_key_response.rs b/src/datadogV1/model/model_api_key_response.rs index 500143efb..7423077f2 100644 --- a/src/datadogV1/model/model_api_key_response.rs +++ b/src/datadogV1/model/model_api_key_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An API key with its associated metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApiKeyResponse { diff --git a/src/datadogV1/model/model_apm_stats_query_column_type.rs b/src/datadogV1/model/model_apm_stats_query_column_type.rs index c64d12de7..5a61ad1f9 100644 --- a/src/datadogV1/model/model_apm_stats_query_column_type.rs +++ b/src/datadogV1/model/model_apm_stats_query_column_type.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Column properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApmStatsQueryColumnType { diff --git a/src/datadogV1/model/model_apm_stats_query_definition.rs b/src/datadogV1/model/model_apm_stats_query_definition.rs index 07927d8b6..5160bc3b9 100644 --- a/src/datadogV1/model/model_apm_stats_query_definition.rs +++ b/src/datadogV1/model/model_apm_stats_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The APM stats query for table and distributions widgets. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApmStatsQueryDefinition { diff --git a/src/datadogV1/model/model_apm_stats_query_row_type.rs b/src/datadogV1/model/model_apm_stats_query_row_type.rs index 4b93b89dd..bafc85b94 100644 --- a/src/datadogV1/model/model_apm_stats_query_row_type.rs +++ b/src/datadogV1/model/model_apm_stats_query_row_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ApmStatsQueryRowType { #[serde(rename = "service")] diff --git a/src/datadogV1/model/model_application_key.rs b/src/datadogV1/model/model_application_key.rs index e57f041b2..d289a1ffc 100644 --- a/src/datadogV1/model/model_application_key.rs +++ b/src/datadogV1/model/model_application_key.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An application key with its associated metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKey { diff --git a/src/datadogV1/model/model_application_key_list_response.rs b/src/datadogV1/model/model_application_key_list_response.rs index 4a2ae0ffc..b47fab60d 100644 --- a/src/datadogV1/model/model_application_key_list_response.rs +++ b/src/datadogV1/model/model_application_key_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An application key response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyListResponse { diff --git a/src/datadogV1/model/model_application_key_response.rs b/src/datadogV1/model/model_application_key_response.rs index 11fc00c01..641cd59fa 100644 --- a/src/datadogV1/model/model_application_key_response.rs +++ b/src/datadogV1/model/model_application_key_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An application key response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyResponse { diff --git a/src/datadogV1/model/model_authentication_validation_response.rs b/src/datadogV1/model/model_authentication_validation_response.rs index 215bc823b..17330102d 100644 --- a/src/datadogV1/model/model_authentication_validation_response.rs +++ b/src/datadogV1/model/model_authentication_validation_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Represent validation endpoint responses. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthenticationValidationResponse { diff --git a/src/datadogV1/model/model_aws_account.rs b/src/datadogV1/model/model_aws_account.rs index 07d089228..0dde41a7e 100644 --- a/src/datadogV1/model/model_aws_account.rs +++ b/src/datadogV1/model/model_aws_account.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Returns the AWS account associated with this integration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSAccount { diff --git a/src/datadogV1/model/model_aws_account_and_lambda_request.rs b/src/datadogV1/model/model_aws_account_and_lambda_request.rs index 334b04300..99064026d 100644 --- a/src/datadogV1/model/model_aws_account_and_lambda_request.rs +++ b/src/datadogV1/model/model_aws_account_and_lambda_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AWS account ID and Lambda ARN. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSAccountAndLambdaRequest { diff --git a/src/datadogV1/model/model_aws_account_create_response.rs b/src/datadogV1/model/model_aws_account_create_response.rs index 7a42eebe4..5bd64b069 100644 --- a/src/datadogV1/model/model_aws_account_create_response.rs +++ b/src/datadogV1/model/model_aws_account_create_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Response returned by the AWS Create Account call. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSAccountCreateResponse { diff --git a/src/datadogV1/model/model_aws_account_delete_request.rs b/src/datadogV1/model/model_aws_account_delete_request.rs index ccbe2ccb0..eb4d9c068 100644 --- a/src/datadogV1/model/model_aws_account_delete_request.rs +++ b/src/datadogV1/model/model_aws_account_delete_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of AWS accounts to delete. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSAccountDeleteRequest { diff --git a/src/datadogV1/model/model_aws_account_list_response.rs b/src/datadogV1/model/model_aws_account_list_response.rs index d507ce34f..d00775e8e 100644 --- a/src/datadogV1/model/model_aws_account_list_response.rs +++ b/src/datadogV1/model/model_aws_account_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of enabled AWS accounts. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSAccountListResponse { diff --git a/src/datadogV1/model/model_aws_event_bridge_account_configuration.rs b/src/datadogV1/model/model_aws_event_bridge_account_configuration.rs index a34ae0ed6..3a2dbfeb4 100644 --- a/src/datadogV1/model/model_aws_event_bridge_account_configuration.rs +++ b/src/datadogV1/model/model_aws_event_bridge_account_configuration.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The EventBridge configuration for one AWS account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSEventBridgeAccountConfiguration { diff --git a/src/datadogV1/model/model_aws_event_bridge_create_request.rs b/src/datadogV1/model/model_aws_event_bridge_create_request.rs index 8cac48acf..e86ebc279 100644 --- a/src/datadogV1/model/model_aws_event_bridge_create_request.rs +++ b/src/datadogV1/model/model_aws_event_bridge_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object used to create an EventBridge source. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSEventBridgeCreateRequest { diff --git a/src/datadogV1/model/model_aws_event_bridge_create_response.rs b/src/datadogV1/model/model_aws_event_bridge_create_response.rs index c1c699eee..a0fe4c3b8 100644 --- a/src/datadogV1/model/model_aws_event_bridge_create_response.rs +++ b/src/datadogV1/model/model_aws_event_bridge_create_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A created EventBridge source. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSEventBridgeCreateResponse { diff --git a/src/datadogV1/model/model_aws_event_bridge_create_status.rs b/src/datadogV1/model/model_aws_event_bridge_create_status.rs index c1b3c52a6..90690376c 100644 --- a/src/datadogV1/model/model_aws_event_bridge_create_status.rs +++ b/src/datadogV1/model/model_aws_event_bridge_create_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AWSEventBridgeCreateStatus { #[serde(rename = "created")] diff --git a/src/datadogV1/model/model_aws_event_bridge_delete_request.rs b/src/datadogV1/model/model_aws_event_bridge_delete_request.rs index ddcc09085..80ffe7245 100644 --- a/src/datadogV1/model/model_aws_event_bridge_delete_request.rs +++ b/src/datadogV1/model/model_aws_event_bridge_delete_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object used to delete an EventBridge source. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSEventBridgeDeleteRequest { diff --git a/src/datadogV1/model/model_aws_event_bridge_delete_response.rs b/src/datadogV1/model/model_aws_event_bridge_delete_response.rs index 91ed2848b..405d17d89 100644 --- a/src/datadogV1/model/model_aws_event_bridge_delete_response.rs +++ b/src/datadogV1/model/model_aws_event_bridge_delete_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An indicator of the successful deletion of an EventBridge source. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSEventBridgeDeleteResponse { diff --git a/src/datadogV1/model/model_aws_event_bridge_delete_status.rs b/src/datadogV1/model/model_aws_event_bridge_delete_status.rs index 1f599a090..4068f6011 100644 --- a/src/datadogV1/model/model_aws_event_bridge_delete_status.rs +++ b/src/datadogV1/model/model_aws_event_bridge_delete_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AWSEventBridgeDeleteStatus { #[serde(rename = "empty")] diff --git a/src/datadogV1/model/model_aws_event_bridge_list_response.rs b/src/datadogV1/model/model_aws_event_bridge_list_response.rs index ddf7a5fa8..31c2d02c3 100644 --- a/src/datadogV1/model/model_aws_event_bridge_list_response.rs +++ b/src/datadogV1/model/model_aws_event_bridge_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object describing the EventBridge configuration for multiple accounts. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSEventBridgeListResponse { diff --git a/src/datadogV1/model/model_aws_event_bridge_source.rs b/src/datadogV1/model/model_aws_event_bridge_source.rs index c35e155a8..cdcb225cf 100644 --- a/src/datadogV1/model/model_aws_event_bridge_source.rs +++ b/src/datadogV1/model/model_aws_event_bridge_source.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An EventBridge source. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSEventBridgeSource { diff --git a/src/datadogV1/model/model_aws_logs_async_error.rs b/src/datadogV1/model/model_aws_logs_async_error.rs index 6b44d9800..d206afda6 100644 --- a/src/datadogV1/model/model_aws_logs_async_error.rs +++ b/src/datadogV1/model/model_aws_logs_async_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Description of errors. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSLogsAsyncError { diff --git a/src/datadogV1/model/model_aws_logs_async_response.rs b/src/datadogV1/model/model_aws_logs_async_response.rs index cb8137726..956456915 100644 --- a/src/datadogV1/model/model_aws_logs_async_response.rs +++ b/src/datadogV1/model/model_aws_logs_async_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A list of all Datadog-AWS logs integrations available in your Datadog organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSLogsAsyncResponse { diff --git a/src/datadogV1/model/model_aws_logs_lambda.rs b/src/datadogV1/model/model_aws_logs_lambda.rs index 4530a2637..d3ccf1f98 100644 --- a/src/datadogV1/model/model_aws_logs_lambda.rs +++ b/src/datadogV1/model/model_aws_logs_lambda.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Description of the Lambdas. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSLogsLambda { diff --git a/src/datadogV1/model/model_aws_logs_list_response.rs b/src/datadogV1/model/model_aws_logs_list_response.rs index e2bd9b52b..c80af706c 100644 --- a/src/datadogV1/model/model_aws_logs_list_response.rs +++ b/src/datadogV1/model/model_aws_logs_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A list of all Datadog-AWS logs integrations available in your Datadog organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSLogsListResponse { diff --git a/src/datadogV1/model/model_aws_logs_list_services_response.rs b/src/datadogV1/model/model_aws_logs_list_services_response.rs index c7c1cf36b..70f057060 100644 --- a/src/datadogV1/model/model_aws_logs_list_services_response.rs +++ b/src/datadogV1/model/model_aws_logs_list_services_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The list of current AWS services for which Datadog offers automatic log collection. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSLogsListServicesResponse { diff --git a/src/datadogV1/model/model_aws_logs_services_request.rs b/src/datadogV1/model/model_aws_logs_services_request.rs index 3f5e6adcf..07c54bd27 100644 --- a/src/datadogV1/model/model_aws_logs_services_request.rs +++ b/src/datadogV1/model/model_aws_logs_services_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A list of current AWS services for which Datadog offers automatic log collection. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSLogsServicesRequest { diff --git a/src/datadogV1/model/model_aws_namespace.rs b/src/datadogV1/model/model_aws_namespace.rs index 8731ecb94..870c3934f 100644 --- a/src/datadogV1/model/model_aws_namespace.rs +++ b/src/datadogV1/model/model_aws_namespace.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AWSNamespace { #[serde(rename = "elb")] diff --git a/src/datadogV1/model/model_aws_tag_filter.rs b/src/datadogV1/model/model_aws_tag_filter.rs index 0f72f32c5..c63e81575 100644 --- a/src/datadogV1/model/model_aws_tag_filter.rs +++ b/src/datadogV1/model/model_aws_tag_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A tag filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSTagFilter { diff --git a/src/datadogV1/model/model_aws_tag_filter_create_request.rs b/src/datadogV1/model/model_aws_tag_filter_create_request.rs index b133816d4..b47f8cfa6 100644 --- a/src/datadogV1/model/model_aws_tag_filter_create_request.rs +++ b/src/datadogV1/model/model_aws_tag_filter_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The objects used to set an AWS tag filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSTagFilterCreateRequest { diff --git a/src/datadogV1/model/model_aws_tag_filter_delete_request.rs b/src/datadogV1/model/model_aws_tag_filter_delete_request.rs index f1440e109..fc544ab85 100644 --- a/src/datadogV1/model/model_aws_tag_filter_delete_request.rs +++ b/src/datadogV1/model/model_aws_tag_filter_delete_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The objects used to delete an AWS tag filter entry. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSTagFilterDeleteRequest { diff --git a/src/datadogV1/model/model_aws_tag_filter_list_response.rs b/src/datadogV1/model/model_aws_tag_filter_list_response.rs index b0a92e284..ce011a6e8 100644 --- a/src/datadogV1/model/model_aws_tag_filter_list_response.rs +++ b/src/datadogV1/model/model_aws_tag_filter_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An array of tag filter rules by `namespace` and tag filter string. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSTagFilterListResponse { diff --git a/src/datadogV1/model/model_azure_account.rs b/src/datadogV1/model/model_azure_account.rs index 34951ada5..94f8e5504 100644 --- a/src/datadogV1/model/model_azure_account.rs +++ b/src/datadogV1/model/model_azure_account.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Datadog-Azure integrations configured for your organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureAccount { diff --git a/src/datadogV1/model/model_cancel_downtimes_by_scope_request.rs b/src/datadogV1/model/model_cancel_downtimes_by_scope_request.rs index 0293b388e..5f15151b6 100644 --- a/src/datadogV1/model/model_cancel_downtimes_by_scope_request.rs +++ b/src/datadogV1/model/model_cancel_downtimes_by_scope_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Cancel downtimes according to scope. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CancelDowntimesByScopeRequest { diff --git a/src/datadogV1/model/model_canceled_downtimes_ids.rs b/src/datadogV1/model/model_canceled_downtimes_ids.rs index f9aaeefb7..f5851befd 100644 --- a/src/datadogV1/model/model_canceled_downtimes_ids.rs +++ b/src/datadogV1/model/model_canceled_downtimes_ids.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing array of IDs of canceled downtimes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CanceledDowntimesIds { diff --git a/src/datadogV1/model/model_change_widget_definition.rs b/src/datadogV1/model/model_change_widget_definition.rs index 62f93e7d9..41ba6ca3a 100644 --- a/src/datadogV1/model/model_change_widget_definition.rs +++ b/src/datadogV1/model/model_change_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Change graph shows you the change in a value over the time period chosen. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ChangeWidgetDefinition { diff --git a/src/datadogV1/model/model_change_widget_definition_type.rs b/src/datadogV1/model/model_change_widget_definition_type.rs index b85e6d471..b822577a5 100644 --- a/src/datadogV1/model/model_change_widget_definition_type.rs +++ b/src/datadogV1/model/model_change_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ChangeWidgetDefinitionType { #[serde(rename = "change")] diff --git a/src/datadogV1/model/model_change_widget_request.rs b/src/datadogV1/model/model_change_widget_request.rs index 244beebf3..136d2c599 100644 --- a/src/datadogV1/model/model_change_widget_request.rs +++ b/src/datadogV1/model/model_change_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated change widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ChangeWidgetRequest { diff --git a/src/datadogV1/model/model_check_can_delete_monitor_response.rs b/src/datadogV1/model/model_check_can_delete_monitor_response.rs index 53b742c80..35c89ec2d 100644 --- a/src/datadogV1/model/model_check_can_delete_monitor_response.rs +++ b/src/datadogV1/model/model_check_can_delete_monitor_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response of monitor IDs that can or can't be safely deleted. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CheckCanDeleteMonitorResponse { diff --git a/src/datadogV1/model/model_check_can_delete_monitor_response_data.rs b/src/datadogV1/model/model_check_can_delete_monitor_response_data.rs index 366a6290e..4815b7ff7 100644 --- a/src/datadogV1/model/model_check_can_delete_monitor_response_data.rs +++ b/src/datadogV1/model/model_check_can_delete_monitor_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Wrapper object with the list of monitor IDs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CheckCanDeleteMonitorResponseData { diff --git a/src/datadogV1/model/model_check_can_delete_slo_response.rs b/src/datadogV1/model/model_check_can_delete_slo_response.rs index e4c37285b..66980c0d7 100644 --- a/src/datadogV1/model/model_check_can_delete_slo_response.rs +++ b/src/datadogV1/model/model_check_can_delete_slo_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A service level objective response containing the requested object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CheckCanDeleteSLOResponse { diff --git a/src/datadogV1/model/model_check_can_delete_slo_response_data.rs b/src/datadogV1/model/model_check_can_delete_slo_response_data.rs index 01fc5c432..34c669c92 100644 --- a/src/datadogV1/model/model_check_can_delete_slo_response_data.rs +++ b/src/datadogV1/model/model_check_can_delete_slo_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An array of service level objective objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CheckCanDeleteSLOResponseData { diff --git a/src/datadogV1/model/model_check_status_widget_definition.rs b/src/datadogV1/model/model_check_status_widget_definition.rs index 1427b1d27..17d519f1a 100644 --- a/src/datadogV1/model/model_check_status_widget_definition.rs +++ b/src/datadogV1/model/model_check_status_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Check status shows the current status or number of results for any check performed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CheckStatusWidgetDefinition { diff --git a/src/datadogV1/model/model_check_status_widget_definition_type.rs b/src/datadogV1/model/model_check_status_widget_definition_type.rs index 45a80e000..65750946b 100644 --- a/src/datadogV1/model/model_check_status_widget_definition_type.rs +++ b/src/datadogV1/model/model_check_status_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CheckStatusWidgetDefinitionType { #[serde(rename = "check_status")] diff --git a/src/datadogV1/model/model_content_encoding.rs b/src/datadogV1/model/model_content_encoding.rs index 11f5161b9..ee92ab7e6 100644 --- a/src/datadogV1/model/model_content_encoding.rs +++ b/src/datadogV1/model/model_content_encoding.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ContentEncoding { #[serde(rename = "gzip")] diff --git a/src/datadogV1/model/model_creator.rs b/src/datadogV1/model/model_creator.rs index 41cdc099a..8b061da76 100644 --- a/src/datadogV1/model/model_creator.rs +++ b/src/datadogV1/model/model_creator.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the creator of the shared element. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Creator { diff --git a/src/datadogV1/model/model_dashboard.rs b/src/datadogV1/model/model_dashboard.rs index f57e596b4..203abcf50 100644 --- a/src/datadogV1/model/model_dashboard.rs +++ b/src/datadogV1/model/model_dashboard.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A dashboard is Datadog’s tool for visually tracking, analyzing, and displaying /// key performance metrics, which enable you to monitor the health of your infrastructure. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Dashboard { diff --git a/src/datadogV1/model/model_dashboard_bulk_action_data.rs b/src/datadogV1/model/model_dashboard_bulk_action_data.rs index c3cc14c7c..9cce5237c 100644 --- a/src/datadogV1/model/model_dashboard_bulk_action_data.rs +++ b/src/datadogV1/model/model_dashboard_bulk_action_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Dashboard bulk action request data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardBulkActionData { diff --git a/src/datadogV1/model/model_dashboard_bulk_delete_request.rs b/src/datadogV1/model/model_dashboard_bulk_delete_request.rs index 76e98e691..8aea14d3f 100644 --- a/src/datadogV1/model/model_dashboard_bulk_delete_request.rs +++ b/src/datadogV1/model/model_dashboard_bulk_delete_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Dashboard bulk delete request body. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardBulkDeleteRequest { diff --git a/src/datadogV1/model/model_dashboard_delete_response.rs b/src/datadogV1/model/model_dashboard_delete_response.rs index 9f2982194..3650a19e4 100644 --- a/src/datadogV1/model/model_dashboard_delete_response.rs +++ b/src/datadogV1/model/model_dashboard_delete_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response from the delete dashboard call. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardDeleteResponse { diff --git a/src/datadogV1/model/model_dashboard_global_time.rs b/src/datadogV1/model/model_dashboard_global_time.rs index d0a5b7fe3..4e5d04f81 100644 --- a/src/datadogV1/model/model_dashboard_global_time.rs +++ b/src/datadogV1/model/model_dashboard_global_time.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the live span selection for the dashboard. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardGlobalTime { diff --git a/src/datadogV1/model/model_dashboard_global_time_live_span.rs b/src/datadogV1/model/model_dashboard_global_time_live_span.rs index 932cfea1d..d248cc88a 100644 --- a/src/datadogV1/model/model_dashboard_global_time_live_span.rs +++ b/src/datadogV1/model/model_dashboard_global_time_live_span.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DashboardGlobalTimeLiveSpan { #[serde(rename = "15m")] diff --git a/src/datadogV1/model/model_dashboard_invite_type.rs b/src/datadogV1/model/model_dashboard_invite_type.rs index a71a1adcd..8a0e962e6 100644 --- a/src/datadogV1/model/model_dashboard_invite_type.rs +++ b/src/datadogV1/model/model_dashboard_invite_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DashboardInviteType { #[serde(rename = "public_dashboard_invitation")] diff --git a/src/datadogV1/model/model_dashboard_layout_type.rs b/src/datadogV1/model/model_dashboard_layout_type.rs index 4c6cb9f98..6ebd2d979 100644 --- a/src/datadogV1/model/model_dashboard_layout_type.rs +++ b/src/datadogV1/model/model_dashboard_layout_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DashboardLayoutType { #[serde(rename = "ordered")] diff --git a/src/datadogV1/model/model_dashboard_list.rs b/src/datadogV1/model/model_dashboard_list.rs index 31c260ffc..5b8a79908 100644 --- a/src/datadogV1/model/model_dashboard_list.rs +++ b/src/datadogV1/model/model_dashboard_list.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Your Datadog Dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardList { diff --git a/src/datadogV1/model/model_dashboard_list_delete_response.rs b/src/datadogV1/model/model_dashboard_list_delete_response.rs index 21e935a12..b48347633 100644 --- a/src/datadogV1/model/model_dashboard_list_delete_response.rs +++ b/src/datadogV1/model/model_dashboard_list_delete_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Deleted dashboard details. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListDeleteResponse { diff --git a/src/datadogV1/model/model_dashboard_list_list_response.rs b/src/datadogV1/model/model_dashboard_list_list_response.rs index 1c5439287..bc1bdca47 100644 --- a/src/datadogV1/model/model_dashboard_list_list_response.rs +++ b/src/datadogV1/model/model_dashboard_list_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Information on your dashboard lists. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListListResponse { diff --git a/src/datadogV1/model/model_dashboard_reflow_type.rs b/src/datadogV1/model/model_dashboard_reflow_type.rs index b8e0324a7..f4c6b8537 100644 --- a/src/datadogV1/model/model_dashboard_reflow_type.rs +++ b/src/datadogV1/model/model_dashboard_reflow_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DashboardReflowType { #[serde(rename = "auto")] diff --git a/src/datadogV1/model/model_dashboard_resource_type.rs b/src/datadogV1/model/model_dashboard_resource_type.rs index f9594a9b7..20530c4ad 100644 --- a/src/datadogV1/model/model_dashboard_resource_type.rs +++ b/src/datadogV1/model/model_dashboard_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DashboardResourceType { #[serde(rename = "dashboard")] diff --git a/src/datadogV1/model/model_dashboard_restore_request.rs b/src/datadogV1/model/model_dashboard_restore_request.rs index cd38ff65b..19aca6007 100644 --- a/src/datadogV1/model/model_dashboard_restore_request.rs +++ b/src/datadogV1/model/model_dashboard_restore_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Dashboard restore request body. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardRestoreRequest { diff --git a/src/datadogV1/model/model_dashboard_share_type.rs b/src/datadogV1/model/model_dashboard_share_type.rs index 6f4f7ca10..299f6077d 100644 --- a/src/datadogV1/model/model_dashboard_share_type.rs +++ b/src/datadogV1/model/model_dashboard_share_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DashboardShareType { #[serde(rename = "open")] diff --git a/src/datadogV1/model/model_dashboard_summary.rs b/src/datadogV1/model/model_dashboard_summary.rs index 273369fd1..9be4efbdd 100644 --- a/src/datadogV1/model/model_dashboard_summary.rs +++ b/src/datadogV1/model/model_dashboard_summary.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Dashboard summary response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardSummary { diff --git a/src/datadogV1/model/model_dashboard_summary_definition.rs b/src/datadogV1/model/model_dashboard_summary_definition.rs index 3a515f1e9..40f4cfc9e 100644 --- a/src/datadogV1/model/model_dashboard_summary_definition.rs +++ b/src/datadogV1/model/model_dashboard_summary_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Dashboard definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardSummaryDefinition { diff --git a/src/datadogV1/model/model_dashboard_template_variable.rs b/src/datadogV1/model/model_dashboard_template_variable.rs index ca970bd59..7fa922407 100644 --- a/src/datadogV1/model/model_dashboard_template_variable.rs +++ b/src/datadogV1/model/model_dashboard_template_variable.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Template variable. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardTemplateVariable { diff --git a/src/datadogV1/model/model_dashboard_template_variable_preset.rs b/src/datadogV1/model/model_dashboard_template_variable_preset.rs index 7347dcb30..d75455cb7 100644 --- a/src/datadogV1/model/model_dashboard_template_variable_preset.rs +++ b/src/datadogV1/model/model_dashboard_template_variable_preset.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Template variables saved views. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardTemplateVariablePreset { diff --git a/src/datadogV1/model/model_dashboard_template_variable_preset_value.rs b/src/datadogV1/model/model_dashboard_template_variable_preset_value.rs index c38424925..e3cf9579e 100644 --- a/src/datadogV1/model/model_dashboard_template_variable_preset_value.rs +++ b/src/datadogV1/model/model_dashboard_template_variable_preset_value.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Template variables saved views. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardTemplateVariablePresetValue { diff --git a/src/datadogV1/model/model_dashboard_type.rs b/src/datadogV1/model/model_dashboard_type.rs index f2867f502..635636023 100644 --- a/src/datadogV1/model/model_dashboard_type.rs +++ b/src/datadogV1/model/model_dashboard_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DashboardType { #[serde(rename = "custom_timeboard")] diff --git a/src/datadogV1/model/model_delete_shared_dashboard_response.rs b/src/datadogV1/model/model_delete_shared_dashboard_response.rs index f94faba72..487cb952c 100644 --- a/src/datadogV1/model/model_delete_shared_dashboard_response.rs +++ b/src/datadogV1/model/model_delete_shared_dashboard_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing token of deleted shared dashboard. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DeleteSharedDashboardResponse { diff --git a/src/datadogV1/model/model_deleted_monitor.rs b/src/datadogV1/model/model_deleted_monitor.rs index 9bab5a937..51b7c9ddd 100644 --- a/src/datadogV1/model/model_deleted_monitor.rs +++ b/src/datadogV1/model/model_deleted_monitor.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response from the delete monitor call. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DeletedMonitor { diff --git a/src/datadogV1/model/model_distribution_point_item.rs b/src/datadogV1/model/model_distribution_point_item.rs index acc859614..917582de5 100644 --- a/src/datadogV1/model/model_distribution_point_item.rs +++ b/src/datadogV1/model/model_distribution_point_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// List of distribution point. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum DistributionPointItem { diff --git a/src/datadogV1/model/model_distribution_points_content_encoding.rs b/src/datadogV1/model/model_distribution_points_content_encoding.rs index 758f47d8e..e3c2cd660 100644 --- a/src/datadogV1/model/model_distribution_points_content_encoding.rs +++ b/src/datadogV1/model/model_distribution_points_content_encoding.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DistributionPointsContentEncoding { #[serde(rename = "deflate")] diff --git a/src/datadogV1/model/model_distribution_points_payload.rs b/src/datadogV1/model/model_distribution_points_payload.rs index f0f2964b3..c656f5028 100644 --- a/src/datadogV1/model/model_distribution_points_payload.rs +++ b/src/datadogV1/model/model_distribution_points_payload.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The distribution points payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DistributionPointsPayload { diff --git a/src/datadogV1/model/model_distribution_points_series.rs b/src/datadogV1/model/model_distribution_points_series.rs index 5c167f3f2..2feedfc20 100644 --- a/src/datadogV1/model/model_distribution_points_series.rs +++ b/src/datadogV1/model/model_distribution_points_series.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A distribution points metric to submit to Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DistributionPointsSeries { diff --git a/src/datadogV1/model/model_distribution_points_type.rs b/src/datadogV1/model/model_distribution_points_type.rs index ed6d85762..2b0e497ef 100644 --- a/src/datadogV1/model/model_distribution_points_type.rs +++ b/src/datadogV1/model/model_distribution_points_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DistributionPointsType { #[serde(rename = "distribution")] diff --git a/src/datadogV1/model/model_distribution_widget_definition.rs b/src/datadogV1/model/model_distribution_widget_definition.rs index 73701cc51..4977898b6 100644 --- a/src/datadogV1/model/model_distribution_widget_definition.rs +++ b/src/datadogV1/model/model_distribution_widget_definition.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// The Distribution visualization is another way of showing metrics /// aggregated across one or several tags, such as hosts. /// Unlike the heat map, a distribution graph’s x-axis is quantity rather than time. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DistributionWidgetDefinition { diff --git a/src/datadogV1/model/model_distribution_widget_definition_type.rs b/src/datadogV1/model/model_distribution_widget_definition_type.rs index 3b3755b87..848916611 100644 --- a/src/datadogV1/model/model_distribution_widget_definition_type.rs +++ b/src/datadogV1/model/model_distribution_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DistributionWidgetDefinitionType { #[serde(rename = "distribution")] diff --git a/src/datadogV1/model/model_distribution_widget_histogram_request_query.rs b/src/datadogV1/model/model_distribution_widget_histogram_request_query.rs index 04ef7e8ee..e52f4bce7 100644 --- a/src/datadogV1/model/model_distribution_widget_histogram_request_query.rs +++ b/src/datadogV1/model/model_distribution_widget_histogram_request_query.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Query definition for Distribution Widget Histogram Request +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum DistributionWidgetHistogramRequestQuery { diff --git a/src/datadogV1/model/model_distribution_widget_histogram_request_type.rs b/src/datadogV1/model/model_distribution_widget_histogram_request_type.rs index 9ca9bc67d..6785ed0c5 100644 --- a/src/datadogV1/model/model_distribution_widget_histogram_request_type.rs +++ b/src/datadogV1/model/model_distribution_widget_histogram_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DistributionWidgetHistogramRequestType { #[serde(rename = "histogram")] diff --git a/src/datadogV1/model/model_distribution_widget_request.rs b/src/datadogV1/model/model_distribution_widget_request.rs index 1d969d807..83a6bd8ff 100644 --- a/src/datadogV1/model/model_distribution_widget_request.rs +++ b/src/datadogV1/model/model_distribution_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated distribution widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DistributionWidgetRequest { diff --git a/src/datadogV1/model/model_distribution_widget_x_axis.rs b/src/datadogV1/model/model_distribution_widget_x_axis.rs index 272006f0c..c09efd7b9 100644 --- a/src/datadogV1/model/model_distribution_widget_x_axis.rs +++ b/src/datadogV1/model/model_distribution_widget_x_axis.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// X Axis controls for the distribution widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DistributionWidgetXAxis { diff --git a/src/datadogV1/model/model_distribution_widget_y_axis.rs b/src/datadogV1/model/model_distribution_widget_y_axis.rs index 8ec7d251f..a53d74066 100644 --- a/src/datadogV1/model/model_distribution_widget_y_axis.rs +++ b/src/datadogV1/model/model_distribution_widget_y_axis.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Y Axis controls for the distribution widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DistributionWidgetYAxis { diff --git a/src/datadogV1/model/model_downtime.rs b/src/datadogV1/model/model_downtime.rs index 5d4899672..6614fa2ae 100644 --- a/src/datadogV1/model/model_downtime.rs +++ b/src/datadogV1/model/model_downtime.rs @@ -8,6 +8,7 @@ use serde_with::skip_serializing_none; /// allowing you to globally exclude scopes from alerting. /// Downtime settings, which can be scheduled with start and end times, /// prevent all alerting related to specified Datadog tags. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Downtime { diff --git a/src/datadogV1/model/model_downtime_child.rs b/src/datadogV1/model/model_downtime_child.rs index 32e62c48d..29075cfe9 100644 --- a/src/datadogV1/model/model_downtime_child.rs +++ b/src/datadogV1/model/model_downtime_child.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The downtime object definition of the active child for the original parent recurring downtime. This /// field will only exist on recurring downtimes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeChild { diff --git a/src/datadogV1/model/model_downtime_recurrence.rs b/src/datadogV1/model/model_downtime_recurrence.rs index 2fc36ee96..610408f62 100644 --- a/src/datadogV1/model/model_downtime_recurrence.rs +++ b/src/datadogV1/model/model_downtime_recurrence.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object defining the recurrence of the downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeRecurrence { diff --git a/src/datadogV1/model/model_event.rs b/src/datadogV1/model/model_event.rs index 8799f3e1b..c270d1836 100644 --- a/src/datadogV1/model/model_event.rs +++ b/src/datadogV1/model/model_event.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object representing an event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Event { diff --git a/src/datadogV1/model/model_event_alert_type.rs b/src/datadogV1/model/model_event_alert_type.rs index 738bd6a95..8550be7a0 100644 --- a/src/datadogV1/model/model_event_alert_type.rs +++ b/src/datadogV1/model/model_event_alert_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventAlertType { #[serde(rename = "error")] diff --git a/src/datadogV1/model/model_event_create_request.rs b/src/datadogV1/model/model_event_create_request.rs index 557c1e600..21a508c5b 100644 --- a/src/datadogV1/model/model_event_create_request.rs +++ b/src/datadogV1/model/model_event_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object representing an event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventCreateRequest { diff --git a/src/datadogV1/model/model_event_create_response.rs b/src/datadogV1/model/model_event_create_response.rs index f56003510..df71d8028 100644 --- a/src/datadogV1/model/model_event_create_response.rs +++ b/src/datadogV1/model/model_event_create_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing an event response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventCreateResponse { diff --git a/src/datadogV1/model/model_event_list_response.rs b/src/datadogV1/model/model_event_list_response.rs index 75e9ef999..e330b48bb 100644 --- a/src/datadogV1/model/model_event_list_response.rs +++ b/src/datadogV1/model/model_event_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An event list response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventListResponse { diff --git a/src/datadogV1/model/model_event_priority.rs b/src/datadogV1/model/model_event_priority.rs index 38fef7152..30943219f 100644 --- a/src/datadogV1/model/model_event_priority.rs +++ b/src/datadogV1/model/model_event_priority.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventPriority { #[serde(rename = "normal")] diff --git a/src/datadogV1/model/model_event_query_definition.rs b/src/datadogV1/model/model_event_query_definition.rs index 9b83df239..5f7e89f4a 100644 --- a/src/datadogV1/model/model_event_query_definition.rs +++ b/src/datadogV1/model/model_event_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The event query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventQueryDefinition { diff --git a/src/datadogV1/model/model_event_response.rs b/src/datadogV1/model/model_event_response.rs index d789a8273..10bd178ed 100644 --- a/src/datadogV1/model/model_event_response.rs +++ b/src/datadogV1/model/model_event_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing an event response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventResponse { diff --git a/src/datadogV1/model/model_event_stream_widget_definition.rs b/src/datadogV1/model/model_event_stream_widget_definition.rs index d402e0d23..00905fa56 100644 --- a/src/datadogV1/model/model_event_stream_widget_definition.rs +++ b/src/datadogV1/model/model_event_stream_widget_definition.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The event stream is a widget version of the stream of events /// on the Event Stream view. Only available on FREE layout dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventStreamWidgetDefinition { diff --git a/src/datadogV1/model/model_event_stream_widget_definition_type.rs b/src/datadogV1/model/model_event_stream_widget_definition_type.rs index 2b10520a8..c3567c3ce 100644 --- a/src/datadogV1/model/model_event_stream_widget_definition_type.rs +++ b/src/datadogV1/model/model_event_stream_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventStreamWidgetDefinitionType { #[serde(rename = "event_stream")] diff --git a/src/datadogV1/model/model_event_timeline_widget_definition.rs b/src/datadogV1/model/model_event_timeline_widget_definition.rs index e624c997c..3db289dcd 100644 --- a/src/datadogV1/model/model_event_timeline_widget_definition.rs +++ b/src/datadogV1/model/model_event_timeline_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The event timeline is a widget version of the timeline that appears at the top of the Event Stream view. Only available on FREE layout dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventTimelineWidgetDefinition { diff --git a/src/datadogV1/model/model_event_timeline_widget_definition_type.rs b/src/datadogV1/model/model_event_timeline_widget_definition_type.rs index 5d14b67b4..3f8831b20 100644 --- a/src/datadogV1/model/model_event_timeline_widget_definition_type.rs +++ b/src/datadogV1/model/model_event_timeline_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventTimelineWidgetDefinitionType { #[serde(rename = "event_timeline")] diff --git a/src/datadogV1/model/model_formula_and_function_apm_dependency_stat_name.rs b/src/datadogV1/model/model_formula_and_function_apm_dependency_stat_name.rs index e463747d6..bf7a434ca 100644 --- a/src/datadogV1/model/model_formula_and_function_apm_dependency_stat_name.rs +++ b/src/datadogV1/model/model_formula_and_function_apm_dependency_stat_name.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionApmDependencyStatName { #[serde(rename = "avg_duration")] diff --git a/src/datadogV1/model/model_formula_and_function_apm_dependency_stats_data_source.rs b/src/datadogV1/model/model_formula_and_function_apm_dependency_stats_data_source.rs index 516c78269..1a4c74bdb 100644 --- a/src/datadogV1/model/model_formula_and_function_apm_dependency_stats_data_source.rs +++ b/src/datadogV1/model/model_formula_and_function_apm_dependency_stats_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionApmDependencyStatsDataSource { #[serde(rename = "apm_dependency_stats")] diff --git a/src/datadogV1/model/model_formula_and_function_apm_dependency_stats_query_definition.rs b/src/datadogV1/model/model_formula_and_function_apm_dependency_stats_query_definition.rs index db3b6371e..cd4e402c2 100644 --- a/src/datadogV1/model/model_formula_and_function_apm_dependency_stats_query_definition.rs +++ b/src/datadogV1/model/model_formula_and_function_apm_dependency_stats_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A formula and functions APM dependency stats query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionApmDependencyStatsQueryDefinition { diff --git a/src/datadogV1/model/model_formula_and_function_apm_resource_stat_name.rs b/src/datadogV1/model/model_formula_and_function_apm_resource_stat_name.rs index 26b72eef8..593ae98b6 100644 --- a/src/datadogV1/model/model_formula_and_function_apm_resource_stat_name.rs +++ b/src/datadogV1/model/model_formula_and_function_apm_resource_stat_name.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionApmResourceStatName { #[serde(rename = "errors")] diff --git a/src/datadogV1/model/model_formula_and_function_apm_resource_stats_data_source.rs b/src/datadogV1/model/model_formula_and_function_apm_resource_stats_data_source.rs index 8cd146092..cf6f04bce 100644 --- a/src/datadogV1/model/model_formula_and_function_apm_resource_stats_data_source.rs +++ b/src/datadogV1/model/model_formula_and_function_apm_resource_stats_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionApmResourceStatsDataSource { #[serde(rename = "apm_resource_stats")] diff --git a/src/datadogV1/model/model_formula_and_function_apm_resource_stats_query_definition.rs b/src/datadogV1/model/model_formula_and_function_apm_resource_stats_query_definition.rs index 9eaa68b19..18914af9d 100644 --- a/src/datadogV1/model/model_formula_and_function_apm_resource_stats_query_definition.rs +++ b/src/datadogV1/model/model_formula_and_function_apm_resource_stats_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// APM resource stats query using formulas and functions. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionApmResourceStatsQueryDefinition { diff --git a/src/datadogV1/model/model_formula_and_function_cloud_cost_data_source.rs b/src/datadogV1/model/model_formula_and_function_cloud_cost_data_source.rs index 4b01ae5bf..0ce35c453 100644 --- a/src/datadogV1/model/model_formula_and_function_cloud_cost_data_source.rs +++ b/src/datadogV1/model/model_formula_and_function_cloud_cost_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionCloudCostDataSource { #[serde(rename = "cloud_cost")] diff --git a/src/datadogV1/model/model_formula_and_function_cloud_cost_query_definition.rs b/src/datadogV1/model/model_formula_and_function_cloud_cost_query_definition.rs index 5b1bd3853..ce0522ee8 100644 --- a/src/datadogV1/model/model_formula_and_function_cloud_cost_query_definition.rs +++ b/src/datadogV1/model/model_formula_and_function_cloud_cost_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A formula and functions Cloud Cost query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionCloudCostQueryDefinition { diff --git a/src/datadogV1/model/model_formula_and_function_event_aggregation.rs b/src/datadogV1/model/model_formula_and_function_event_aggregation.rs index f6f65dfc3..1dd829798 100644 --- a/src/datadogV1/model/model_formula_and_function_event_aggregation.rs +++ b/src/datadogV1/model/model_formula_and_function_event_aggregation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionEventAggregation { #[serde(rename = "count")] diff --git a/src/datadogV1/model/model_formula_and_function_event_query_definition.rs b/src/datadogV1/model/model_formula_and_function_event_query_definition.rs index b91de6822..90673d427 100644 --- a/src/datadogV1/model/model_formula_and_function_event_query_definition.rs +++ b/src/datadogV1/model/model_formula_and_function_event_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A formula and functions events query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionEventQueryDefinition { diff --git a/src/datadogV1/model/model_formula_and_function_event_query_definition_compute.rs b/src/datadogV1/model/model_formula_and_function_event_query_definition_compute.rs index 52910dd17..278db7f93 100644 --- a/src/datadogV1/model/model_formula_and_function_event_query_definition_compute.rs +++ b/src/datadogV1/model/model_formula_and_function_event_query_definition_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Compute options. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionEventQueryDefinitionCompute { diff --git a/src/datadogV1/model/model_formula_and_function_event_query_definition_search.rs b/src/datadogV1/model/model_formula_and_function_event_query_definition_search.rs index 95022b2c2..a77e989ec 100644 --- a/src/datadogV1/model/model_formula_and_function_event_query_definition_search.rs +++ b/src/datadogV1/model/model_formula_and_function_event_query_definition_search.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Search options. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionEventQueryDefinitionSearch { diff --git a/src/datadogV1/model/model_formula_and_function_event_query_group_by.rs b/src/datadogV1/model/model_formula_and_function_event_query_group_by.rs index 8194a1ffb..f55545114 100644 --- a/src/datadogV1/model/model_formula_and_function_event_query_group_by.rs +++ b/src/datadogV1/model/model_formula_and_function_event_query_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of objects used to group by. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionEventQueryGroupBy { diff --git a/src/datadogV1/model/model_formula_and_function_event_query_group_by_sort.rs b/src/datadogV1/model/model_formula_and_function_event_query_group_by_sort.rs index 696bc797a..8a55bdca8 100644 --- a/src/datadogV1/model/model_formula_and_function_event_query_group_by_sort.rs +++ b/src/datadogV1/model/model_formula_and_function_event_query_group_by_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options for sorting group by results. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionEventQueryGroupBySort { diff --git a/src/datadogV1/model/model_formula_and_function_events_data_source.rs b/src/datadogV1/model/model_formula_and_function_events_data_source.rs index cc43b940d..c484d5782 100644 --- a/src/datadogV1/model/model_formula_and_function_events_data_source.rs +++ b/src/datadogV1/model/model_formula_and_function_events_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionEventsDataSource { #[serde(rename = "logs")] diff --git a/src/datadogV1/model/model_formula_and_function_metric_aggregation.rs b/src/datadogV1/model/model_formula_and_function_metric_aggregation.rs index e86098076..3306b3039 100644 --- a/src/datadogV1/model/model_formula_and_function_metric_aggregation.rs +++ b/src/datadogV1/model/model_formula_and_function_metric_aggregation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionMetricAggregation { #[serde(rename = "avg")] diff --git a/src/datadogV1/model/model_formula_and_function_metric_data_source.rs b/src/datadogV1/model/model_formula_and_function_metric_data_source.rs index 266b8910a..0fedefac5 100644 --- a/src/datadogV1/model/model_formula_and_function_metric_data_source.rs +++ b/src/datadogV1/model/model_formula_and_function_metric_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionMetricDataSource { #[serde(rename = "metrics")] diff --git a/src/datadogV1/model/model_formula_and_function_metric_query_definition.rs b/src/datadogV1/model/model_formula_and_function_metric_query_definition.rs index 1865d8662..d0e110af9 100644 --- a/src/datadogV1/model/model_formula_and_function_metric_query_definition.rs +++ b/src/datadogV1/model/model_formula_and_function_metric_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A formula and functions metrics query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionMetricQueryDefinition { diff --git a/src/datadogV1/model/model_formula_and_function_process_query_data_source.rs b/src/datadogV1/model/model_formula_and_function_process_query_data_source.rs index d79438b02..081f24b93 100644 --- a/src/datadogV1/model/model_formula_and_function_process_query_data_source.rs +++ b/src/datadogV1/model/model_formula_and_function_process_query_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionProcessQueryDataSource { #[serde(rename = "process")] diff --git a/src/datadogV1/model/model_formula_and_function_process_query_definition.rs b/src/datadogV1/model/model_formula_and_function_process_query_definition.rs index 7ac024027..4a55dbc0f 100644 --- a/src/datadogV1/model/model_formula_and_function_process_query_definition.rs +++ b/src/datadogV1/model/model_formula_and_function_process_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Process query using formulas and functions. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionProcessQueryDefinition { diff --git a/src/datadogV1/model/model_formula_and_function_query_definition.rs b/src/datadogV1/model/model_formula_and_function_query_definition.rs index 9a921427d..dd9ebb68b 100644 --- a/src/datadogV1/model/model_formula_and_function_query_definition.rs +++ b/src/datadogV1/model/model_formula_and_function_query_definition.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A formula and function query. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum FormulaAndFunctionQueryDefinition { diff --git a/src/datadogV1/model/model_formula_and_function_response_format.rs b/src/datadogV1/model/model_formula_and_function_response_format.rs index 289f94345..962a5b16c 100644 --- a/src/datadogV1/model/model_formula_and_function_response_format.rs +++ b/src/datadogV1/model/model_formula_and_function_response_format.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionResponseFormat { #[serde(rename = "timeseries")] diff --git a/src/datadogV1/model/model_formula_and_function_slo_data_source.rs b/src/datadogV1/model/model_formula_and_function_slo_data_source.rs index 2f7372df5..2b5413e4b 100644 --- a/src/datadogV1/model/model_formula_and_function_slo_data_source.rs +++ b/src/datadogV1/model/model_formula_and_function_slo_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionSLODataSource { #[serde(rename = "slo")] diff --git a/src/datadogV1/model/model_formula_and_function_slo_group_mode.rs b/src/datadogV1/model/model_formula_and_function_slo_group_mode.rs index 470bfaa41..bf22f4e7d 100644 --- a/src/datadogV1/model/model_formula_and_function_slo_group_mode.rs +++ b/src/datadogV1/model/model_formula_and_function_slo_group_mode.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionSLOGroupMode { #[serde(rename = "overall")] diff --git a/src/datadogV1/model/model_formula_and_function_slo_measure.rs b/src/datadogV1/model/model_formula_and_function_slo_measure.rs index 91642f0b7..7b9335ffb 100644 --- a/src/datadogV1/model/model_formula_and_function_slo_measure.rs +++ b/src/datadogV1/model/model_formula_and_function_slo_measure.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionSLOMeasure { #[serde(rename = "good_events")] diff --git a/src/datadogV1/model/model_formula_and_function_slo_query_definition.rs b/src/datadogV1/model/model_formula_and_function_slo_query_definition.rs index 463e08a22..95267ae89 100644 --- a/src/datadogV1/model/model_formula_and_function_slo_query_definition.rs +++ b/src/datadogV1/model/model_formula_and_function_slo_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A formula and functions metrics query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaAndFunctionSLOQueryDefinition { diff --git a/src/datadogV1/model/model_formula_and_function_slo_query_type.rs b/src/datadogV1/model/model_formula_and_function_slo_query_type.rs index 04cf09aeb..8c43eece4 100644 --- a/src/datadogV1/model/model_formula_and_function_slo_query_type.rs +++ b/src/datadogV1/model/model_formula_and_function_slo_query_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FormulaAndFunctionSLOQueryType { #[serde(rename = "metric")] diff --git a/src/datadogV1/model/model_free_text_widget_definition.rs b/src/datadogV1/model/model_free_text_widget_definition.rs index e5cab0171..4f7b40943 100644 --- a/src/datadogV1/model/model_free_text_widget_definition.rs +++ b/src/datadogV1/model/model_free_text_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FreeTextWidgetDefinition { diff --git a/src/datadogV1/model/model_free_text_widget_definition_type.rs b/src/datadogV1/model/model_free_text_widget_definition_type.rs index e528dcea8..547d78b03 100644 --- a/src/datadogV1/model/model_free_text_widget_definition_type.rs +++ b/src/datadogV1/model/model_free_text_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FreeTextWidgetDefinitionType { #[serde(rename = "free_text")] diff --git a/src/datadogV1/model/model_funnel_query.rs b/src/datadogV1/model/model_funnel_query.rs index 9e6c8faa9..de44c7f58 100644 --- a/src/datadogV1/model/model_funnel_query.rs +++ b/src/datadogV1/model/model_funnel_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated funnel widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FunnelQuery { diff --git a/src/datadogV1/model/model_funnel_request_type.rs b/src/datadogV1/model/model_funnel_request_type.rs index 2a0db1b4b..097f67fef 100644 --- a/src/datadogV1/model/model_funnel_request_type.rs +++ b/src/datadogV1/model/model_funnel_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FunnelRequestType { #[serde(rename = "funnel")] diff --git a/src/datadogV1/model/model_funnel_source.rs b/src/datadogV1/model/model_funnel_source.rs index 11d295004..173f216c1 100644 --- a/src/datadogV1/model/model_funnel_source.rs +++ b/src/datadogV1/model/model_funnel_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FunnelSource { #[serde(rename = "rum")] diff --git a/src/datadogV1/model/model_funnel_step.rs b/src/datadogV1/model/model_funnel_step.rs index 69a08eb03..817054552 100644 --- a/src/datadogV1/model/model_funnel_step.rs +++ b/src/datadogV1/model/model_funnel_step.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The funnel step. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FunnelStep { diff --git a/src/datadogV1/model/model_funnel_widget_definition.rs b/src/datadogV1/model/model_funnel_widget_definition.rs index f43e8d851..1e7e0605d 100644 --- a/src/datadogV1/model/model_funnel_widget_definition.rs +++ b/src/datadogV1/model/model_funnel_widget_definition.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The funnel visualization displays a funnel of user sessions that maps a sequence of view navigation and user interaction in your application. /// +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FunnelWidgetDefinition { diff --git a/src/datadogV1/model/model_funnel_widget_definition_type.rs b/src/datadogV1/model/model_funnel_widget_definition_type.rs index 48b93a192..0bb84b3fe 100644 --- a/src/datadogV1/model/model_funnel_widget_definition_type.rs +++ b/src/datadogV1/model/model_funnel_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FunnelWidgetDefinitionType { #[serde(rename = "funnel")] diff --git a/src/datadogV1/model/model_funnel_widget_request.rs b/src/datadogV1/model/model_funnel_widget_request.rs index 67f7b682c..5bccd854a 100644 --- a/src/datadogV1/model/model_funnel_widget_request.rs +++ b/src/datadogV1/model/model_funnel_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated funnel widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FunnelWidgetRequest { diff --git a/src/datadogV1/model/model_gcp_account.rs b/src/datadogV1/model/model_gcp_account.rs index eaf0ad206..81bef578f 100644 --- a/src/datadogV1/model/model_gcp_account.rs +++ b/src/datadogV1/model/model_gcp_account.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Your Google Cloud Platform Account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPAccount { diff --git a/src/datadogV1/model/model_geomap_widget_definition.rs b/src/datadogV1/model/model_geomap_widget_definition.rs index dd24d4a94..d8376fe82 100644 --- a/src/datadogV1/model/model_geomap_widget_definition.rs +++ b/src/datadogV1/model/model_geomap_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// This visualization displays a series of values by country on a world map. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GeomapWidgetDefinition { diff --git a/src/datadogV1/model/model_geomap_widget_definition_style.rs b/src/datadogV1/model/model_geomap_widget_definition_style.rs index b04d0973b..fedddfc0c 100644 --- a/src/datadogV1/model/model_geomap_widget_definition_style.rs +++ b/src/datadogV1/model/model_geomap_widget_definition_style.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The style to apply to the widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GeomapWidgetDefinitionStyle { diff --git a/src/datadogV1/model/model_geomap_widget_definition_type.rs b/src/datadogV1/model/model_geomap_widget_definition_type.rs index fd9bae5cf..5ef175bd5 100644 --- a/src/datadogV1/model/model_geomap_widget_definition_type.rs +++ b/src/datadogV1/model/model_geomap_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum GeomapWidgetDefinitionType { #[serde(rename = "geomap")] diff --git a/src/datadogV1/model/model_geomap_widget_definition_view.rs b/src/datadogV1/model/model_geomap_widget_definition_view.rs index f72bc34b5..d04d8f687 100644 --- a/src/datadogV1/model/model_geomap_widget_definition_view.rs +++ b/src/datadogV1/model/model_geomap_widget_definition_view.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The view of the world that the map should render. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GeomapWidgetDefinitionView { diff --git a/src/datadogV1/model/model_geomap_widget_request.rs b/src/datadogV1/model/model_geomap_widget_request.rs index 7d6bdcb7d..57da86986 100644 --- a/src/datadogV1/model/model_geomap_widget_request.rs +++ b/src/datadogV1/model/model_geomap_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An updated geomap widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GeomapWidgetRequest { diff --git a/src/datadogV1/model/model_graph_snapshot.rs b/src/datadogV1/model/model_graph_snapshot.rs index f82d0defd..745b03692 100644 --- a/src/datadogV1/model/model_graph_snapshot.rs +++ b/src/datadogV1/model/model_graph_snapshot.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object representing a graph snapshot. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GraphSnapshot { diff --git a/src/datadogV1/model/model_group_widget_definition.rs b/src/datadogV1/model/model_group_widget_definition.rs index 169e2761f..0feb09b6c 100644 --- a/src/datadogV1/model/model_group_widget_definition.rs +++ b/src/datadogV1/model/model_group_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GroupWidgetDefinition { diff --git a/src/datadogV1/model/model_group_widget_definition_type.rs b/src/datadogV1/model/model_group_widget_definition_type.rs index 5d0a40227..6b656c129 100644 --- a/src/datadogV1/model/model_group_widget_definition_type.rs +++ b/src/datadogV1/model/model_group_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum GroupWidgetDefinitionType { #[serde(rename = "group")] diff --git a/src/datadogV1/model/model_heat_map_widget_definition.rs b/src/datadogV1/model/model_heat_map_widget_definition.rs index 2632a1681..b6f84e2ff 100644 --- a/src/datadogV1/model/model_heat_map_widget_definition.rs +++ b/src/datadogV1/model/model_heat_map_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The heat map visualization shows metrics aggregated across many tags, such as hosts. The more hosts that have a particular value, the darker that square is. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HeatMapWidgetDefinition { diff --git a/src/datadogV1/model/model_heat_map_widget_definition_type.rs b/src/datadogV1/model/model_heat_map_widget_definition_type.rs index 0009568d9..35372073e 100644 --- a/src/datadogV1/model/model_heat_map_widget_definition_type.rs +++ b/src/datadogV1/model/model_heat_map_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum HeatMapWidgetDefinitionType { #[serde(rename = "heatmap")] diff --git a/src/datadogV1/model/model_heat_map_widget_request.rs b/src/datadogV1/model/model_heat_map_widget_request.rs index 306cffdae..8f3c973fd 100644 --- a/src/datadogV1/model/model_heat_map_widget_request.rs +++ b/src/datadogV1/model/model_heat_map_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated heat map widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HeatMapWidgetRequest { diff --git a/src/datadogV1/model/model_host.rs b/src/datadogV1/model/model_host.rs index 7c5374750..cd9bc712a 100644 --- a/src/datadogV1/model/model_host.rs +++ b/src/datadogV1/model/model_host.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object representing a host. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Host { diff --git a/src/datadogV1/model/model_host_list_response.rs b/src/datadogV1/model/model_host_list_response.rs index 031e6e58f..8f0af1c20 100644 --- a/src/datadogV1/model/model_host_list_response.rs +++ b/src/datadogV1/model/model_host_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with Host information from Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostListResponse { diff --git a/src/datadogV1/model/model_host_map_request.rs b/src/datadogV1/model/model_host_map_request.rs index e83cc97ef..bb28f53fa 100644 --- a/src/datadogV1/model/model_host_map_request.rs +++ b/src/datadogV1/model/model_host_map_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated host map. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMapRequest { diff --git a/src/datadogV1/model/model_host_map_widget_definition.rs b/src/datadogV1/model/model_host_map_widget_definition.rs index bcc188af8..437107e5b 100644 --- a/src/datadogV1/model/model_host_map_widget_definition.rs +++ b/src/datadogV1/model/model_host_map_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The host map widget graphs any metric across your hosts using the same visualization available from the main Host Map page. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMapWidgetDefinition { diff --git a/src/datadogV1/model/model_host_map_widget_definition_requests.rs b/src/datadogV1/model/model_host_map_widget_definition_requests.rs index 641dae84f..3a4ffa0d7 100644 --- a/src/datadogV1/model/model_host_map_widget_definition_requests.rs +++ b/src/datadogV1/model/model_host_map_widget_definition_requests.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of definitions. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMapWidgetDefinitionRequests { diff --git a/src/datadogV1/model/model_host_map_widget_definition_style.rs b/src/datadogV1/model/model_host_map_widget_definition_style.rs index 1d03ea98a..6a1ba8755 100644 --- a/src/datadogV1/model/model_host_map_widget_definition_style.rs +++ b/src/datadogV1/model/model_host_map_widget_definition_style.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The style to apply to the widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMapWidgetDefinitionStyle { diff --git a/src/datadogV1/model/model_host_map_widget_definition_type.rs b/src/datadogV1/model/model_host_map_widget_definition_type.rs index 0e3b5b660..cca04e1e4 100644 --- a/src/datadogV1/model/model_host_map_widget_definition_type.rs +++ b/src/datadogV1/model/model_host_map_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum HostMapWidgetDefinitionType { #[serde(rename = "hostmap")] diff --git a/src/datadogV1/model/model_host_meta.rs b/src/datadogV1/model/model_host_meta.rs index 8df7fe9cd..d357e85a9 100644 --- a/src/datadogV1/model/model_host_meta.rs +++ b/src/datadogV1/model/model_host_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata associated with your host. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMeta { diff --git a/src/datadogV1/model/model_host_meta_install_method.rs b/src/datadogV1/model/model_host_meta_install_method.rs index ec96aa4c7..b1b56c0d4 100644 --- a/src/datadogV1/model/model_host_meta_install_method.rs +++ b/src/datadogV1/model/model_host_meta_install_method.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Agent install method. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMetaInstallMethod { diff --git a/src/datadogV1/model/model_host_metrics.rs b/src/datadogV1/model/model_host_metrics.rs index c4c735fbb..b842a3974 100644 --- a/src/datadogV1/model/model_host_metrics.rs +++ b/src/datadogV1/model/model_host_metrics.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Host Metrics collected. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMetrics { diff --git a/src/datadogV1/model/model_host_mute_response.rs b/src/datadogV1/model/model_host_mute_response.rs index c08746f4e..2a119084e 100644 --- a/src/datadogV1/model/model_host_mute_response.rs +++ b/src/datadogV1/model/model_host_mute_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with the list of muted host for your organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMuteResponse { diff --git a/src/datadogV1/model/model_host_mute_settings.rs b/src/datadogV1/model/model_host_mute_settings.rs index d90f2089b..e8a370bcb 100644 --- a/src/datadogV1/model/model_host_mute_settings.rs +++ b/src/datadogV1/model/model_host_mute_settings.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Combination of settings to mute a host. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostMuteSettings { diff --git a/src/datadogV1/model/model_host_tags.rs b/src/datadogV1/model/model_host_tags.rs index 3783b8ee4..8349fb65a 100644 --- a/src/datadogV1/model/model_host_tags.rs +++ b/src/datadogV1/model/model_host_tags.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Set of tags to associate with your host. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostTags { diff --git a/src/datadogV1/model/model_host_totals.rs b/src/datadogV1/model/model_host_totals.rs index 304437d54..7c2a47490 100644 --- a/src/datadogV1/model/model_host_totals.rs +++ b/src/datadogV1/model/model_host_totals.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Total number of host currently monitored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HostTotals { diff --git a/src/datadogV1/model/model_hourly_usage_attribution_body.rs b/src/datadogV1/model/model_hourly_usage_attribution_body.rs index 079846d1c..651bad08f 100644 --- a/src/datadogV1/model/model_hourly_usage_attribution_body.rs +++ b/src/datadogV1/model/model_hourly_usage_attribution_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The usage for one set of tags for one hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsageAttributionBody { diff --git a/src/datadogV1/model/model_hourly_usage_attribution_metadata.rs b/src/datadogV1/model/model_hourly_usage_attribution_metadata.rs index 939263e66..d6a6717f1 100644 --- a/src/datadogV1/model/model_hourly_usage_attribution_metadata.rs +++ b/src/datadogV1/model/model_hourly_usage_attribution_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing document metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsageAttributionMetadata { diff --git a/src/datadogV1/model/model_hourly_usage_attribution_pagination.rs b/src/datadogV1/model/model_hourly_usage_attribution_pagination.rs index ad1991b80..85c15a2fe 100644 --- a/src/datadogV1/model/model_hourly_usage_attribution_pagination.rs +++ b/src/datadogV1/model/model_hourly_usage_attribution_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata for the current pagination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsageAttributionPagination { diff --git a/src/datadogV1/model/model_hourly_usage_attribution_response.rs b/src/datadogV1/model/model_hourly_usage_attribution_response.rs index b15e9016b..6cbc00e39 100644 --- a/src/datadogV1/model/model_hourly_usage_attribution_response.rs +++ b/src/datadogV1/model/model_hourly_usage_attribution_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the hourly usage attribution by tag(s). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsageAttributionResponse { diff --git a/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs b/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs index e25fba436..5c712d4b9 100644 --- a/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs +++ b/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum HourlyUsageAttributionUsageType { #[serde(rename = "api_usage")] diff --git a/src/datadogV1/model/model_http_log_error.rs b/src/datadogV1/model/model_http_log_error.rs index 4f4ba126c..fc39dede7 100644 --- a/src/datadogV1/model/model_http_log_error.rs +++ b/src/datadogV1/model/model_http_log_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Invalid query performed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HTTPLogError { diff --git a/src/datadogV1/model/model_http_log_item.rs b/src/datadogV1/model/model_http_log_item.rs index 5105039e7..8e324f45c 100644 --- a/src/datadogV1/model/model_http_log_item.rs +++ b/src/datadogV1/model/model_http_log_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Logs that are sent over HTTP. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HTTPLogItem { diff --git a/src/datadogV1/model/model_i_frame_widget_definition.rs b/src/datadogV1/model/model_i_frame_widget_definition.rs index 0d42564ca..bd83ba531 100644 --- a/src/datadogV1/model/model_i_frame_widget_definition.rs +++ b/src/datadogV1/model/model_i_frame_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IFrameWidgetDefinition { diff --git a/src/datadogV1/model/model_i_frame_widget_definition_type.rs b/src/datadogV1/model/model_i_frame_widget_definition_type.rs index e6a8e1494..bff9aed0a 100644 --- a/src/datadogV1/model/model_i_frame_widget_definition_type.rs +++ b/src/datadogV1/model/model_i_frame_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IFrameWidgetDefinitionType { #[serde(rename = "iframe")] diff --git a/src/datadogV1/model/model_idp_form_data.rs b/src/datadogV1/model/model_idp_form_data.rs index fcd22080b..d8f26a937 100644 --- a/src/datadogV1/model/model_idp_form_data.rs +++ b/src/datadogV1/model/model_idp_form_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the IdP configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IdpFormData { diff --git a/src/datadogV1/model/model_idp_response.rs b/src/datadogV1/model/model_idp_response.rs index 987151777..e6559ad3e 100644 --- a/src/datadogV1/model/model_idp_response.rs +++ b/src/datadogV1/model/model_idp_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The IdP response object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IdpResponse { diff --git a/src/datadogV1/model/model_image_widget_definition.rs b/src/datadogV1/model/model_image_widget_definition.rs index 69929ff07..b0ebe3d3e 100644 --- a/src/datadogV1/model/model_image_widget_definition.rs +++ b/src/datadogV1/model/model_image_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. Only available on FREE layout dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ImageWidgetDefinition { diff --git a/src/datadogV1/model/model_image_widget_definition_type.rs b/src/datadogV1/model/model_image_widget_definition_type.rs index 84cf53d35..5e62209fd 100644 --- a/src/datadogV1/model/model_image_widget_definition_type.rs +++ b/src/datadogV1/model/model_image_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ImageWidgetDefinitionType { #[serde(rename = "image")] diff --git a/src/datadogV1/model/model_intake_payload_accepted.rs b/src/datadogV1/model/model_intake_payload_accepted.rs index 08f9373a0..74298a3be 100644 --- a/src/datadogV1/model/model_intake_payload_accepted.rs +++ b/src/datadogV1/model/model_intake_payload_accepted.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The payload accepted for intake. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IntakePayloadAccepted { diff --git a/src/datadogV1/model/model_ip_prefixes_agents.rs b/src/datadogV1/model/model_ip_prefixes_agents.rs index 287e109e6..f1f28e676 100644 --- a/src/datadogV1/model/model_ip_prefixes_agents.rs +++ b/src/datadogV1/model/model_ip_prefixes_agents.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the Agent endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesAgents { diff --git a/src/datadogV1/model/model_ip_prefixes_api.rs b/src/datadogV1/model/model_ip_prefixes_api.rs index 4fdbadbbb..e49e630d4 100644 --- a/src/datadogV1/model/model_ip_prefixes_api.rs +++ b/src/datadogV1/model/model_ip_prefixes_api.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the API endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesAPI { diff --git a/src/datadogV1/model/model_ip_prefixes_apm.rs b/src/datadogV1/model/model_ip_prefixes_apm.rs index 93ee80049..e4eea54ee 100644 --- a/src/datadogV1/model/model_ip_prefixes_apm.rs +++ b/src/datadogV1/model/model_ip_prefixes_apm.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the APM endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesAPM { diff --git a/src/datadogV1/model/model_ip_prefixes_global.rs b/src/datadogV1/model/model_ip_prefixes_global.rs index eb7581f50..095cea1de 100644 --- a/src/datadogV1/model/model_ip_prefixes_global.rs +++ b/src/datadogV1/model/model_ip_prefixes_global.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for all Datadog endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesGlobal { diff --git a/src/datadogV1/model/model_ip_prefixes_logs.rs b/src/datadogV1/model/model_ip_prefixes_logs.rs index 49f24868f..9e08b143a 100644 --- a/src/datadogV1/model/model_ip_prefixes_logs.rs +++ b/src/datadogV1/model/model_ip_prefixes_logs.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the Logs endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesLogs { diff --git a/src/datadogV1/model/model_ip_prefixes_orchestrator.rs b/src/datadogV1/model/model_ip_prefixes_orchestrator.rs index 0a95c5bc1..ef213497e 100644 --- a/src/datadogV1/model/model_ip_prefixes_orchestrator.rs +++ b/src/datadogV1/model/model_ip_prefixes_orchestrator.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the Orchestrator endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesOrchestrator { diff --git a/src/datadogV1/model/model_ip_prefixes_process.rs b/src/datadogV1/model/model_ip_prefixes_process.rs index 0b6ce4657..e1508b4e2 100644 --- a/src/datadogV1/model/model_ip_prefixes_process.rs +++ b/src/datadogV1/model/model_ip_prefixes_process.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the Process endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesProcess { diff --git a/src/datadogV1/model/model_ip_prefixes_remote_configuration.rs b/src/datadogV1/model/model_ip_prefixes_remote_configuration.rs index e3094f185..98921ed30 100644 --- a/src/datadogV1/model/model_ip_prefixes_remote_configuration.rs +++ b/src/datadogV1/model/model_ip_prefixes_remote_configuration.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the Remote Configuration endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesRemoteConfiguration { diff --git a/src/datadogV1/model/model_ip_prefixes_synthetics.rs b/src/datadogV1/model/model_ip_prefixes_synthetics.rs index ce8aee954..16fced9e5 100644 --- a/src/datadogV1/model/model_ip_prefixes_synthetics.rs +++ b/src/datadogV1/model/model_ip_prefixes_synthetics.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the Synthetics endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesSynthetics { diff --git a/src/datadogV1/model/model_ip_prefixes_synthetics_private_locations.rs b/src/datadogV1/model/model_ip_prefixes_synthetics_private_locations.rs index aecfaf8dc..2e24ab783 100644 --- a/src/datadogV1/model/model_ip_prefixes_synthetics_private_locations.rs +++ b/src/datadogV1/model/model_ip_prefixes_synthetics_private_locations.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the Synthetics Private Locations endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesSyntheticsPrivateLocations { diff --git a/src/datadogV1/model/model_ip_prefixes_webhooks.rs b/src/datadogV1/model/model_ip_prefixes_webhooks.rs index ad15998f7..2d39773e3 100644 --- a/src/datadogV1/model/model_ip_prefixes_webhooks.rs +++ b/src/datadogV1/model/model_ip_prefixes_webhooks.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Available prefix information for the Webhook endpoints. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPPrefixesWebhooks { diff --git a/src/datadogV1/model/model_ip_ranges.rs b/src/datadogV1/model/model_ip_ranges.rs index 5f69c6540..fcb54f175 100644 --- a/src/datadogV1/model/model_ip_ranges.rs +++ b/src/datadogV1/model/model_ip_ranges.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// IP ranges. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPRanges { diff --git a/src/datadogV1/model/model_list_stream_column.rs b/src/datadogV1/model/model_list_stream_column.rs index 9f88f70cb..873f2b33c 100644 --- a/src/datadogV1/model/model_list_stream_column.rs +++ b/src/datadogV1/model/model_list_stream_column.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Widget column. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListStreamColumn { diff --git a/src/datadogV1/model/model_list_stream_column_width.rs b/src/datadogV1/model/model_list_stream_column_width.rs index cc9d50009..66ca14960 100644 --- a/src/datadogV1/model/model_list_stream_column_width.rs +++ b/src/datadogV1/model/model_list_stream_column_width.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ListStreamColumnWidth { #[serde(rename = "auto")] diff --git a/src/datadogV1/model/model_list_stream_compute_aggregation.rs b/src/datadogV1/model/model_list_stream_compute_aggregation.rs index c405ccb9c..009345e77 100644 --- a/src/datadogV1/model/model_list_stream_compute_aggregation.rs +++ b/src/datadogV1/model/model_list_stream_compute_aggregation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ListStreamComputeAggregation { #[serde(rename = "count")] diff --git a/src/datadogV1/model/model_list_stream_compute_items.rs b/src/datadogV1/model/model_list_stream_compute_items.rs index 938a8341f..bc65e365f 100644 --- a/src/datadogV1/model/model_list_stream_compute_items.rs +++ b/src/datadogV1/model/model_list_stream_compute_items.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of facets and aggregations which to compute. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListStreamComputeItems { diff --git a/src/datadogV1/model/model_list_stream_group_by_items.rs b/src/datadogV1/model/model_list_stream_group_by_items.rs index d2d548d1b..6c8a14c31 100644 --- a/src/datadogV1/model/model_list_stream_group_by_items.rs +++ b/src/datadogV1/model/model_list_stream_group_by_items.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of facets on which to group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListStreamGroupByItems { diff --git a/src/datadogV1/model/model_list_stream_query.rs b/src/datadogV1/model/model_list_stream_query.rs index 3fd040f12..886ef2d07 100644 --- a/src/datadogV1/model/model_list_stream_query.rs +++ b/src/datadogV1/model/model_list_stream_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated list stream widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListStreamQuery { diff --git a/src/datadogV1/model/model_list_stream_response_format.rs b/src/datadogV1/model/model_list_stream_response_format.rs index 539891162..8fe5f22f0 100644 --- a/src/datadogV1/model/model_list_stream_response_format.rs +++ b/src/datadogV1/model/model_list_stream_response_format.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ListStreamResponseFormat { #[serde(rename = "event_list")] diff --git a/src/datadogV1/model/model_list_stream_source.rs b/src/datadogV1/model/model_list_stream_source.rs index c5ca8dddf..7b9e2e82f 100644 --- a/src/datadogV1/model/model_list_stream_source.rs +++ b/src/datadogV1/model/model_list_stream_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ListStreamSource { #[serde(rename = "logs_stream")] diff --git a/src/datadogV1/model/model_list_stream_widget_definition.rs b/src/datadogV1/model/model_list_stream_widget_definition.rs index 3942d36df..d48137181 100644 --- a/src/datadogV1/model/model_list_stream_widget_definition.rs +++ b/src/datadogV1/model/model_list_stream_widget_definition.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// The list stream visualization displays a table of recent events in your application that /// match a search criteria using user-defined columns. /// +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListStreamWidgetDefinition { diff --git a/src/datadogV1/model/model_list_stream_widget_definition_type.rs b/src/datadogV1/model/model_list_stream_widget_definition_type.rs index 1999ec170..3bdf43340 100644 --- a/src/datadogV1/model/model_list_stream_widget_definition_type.rs +++ b/src/datadogV1/model/model_list_stream_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ListStreamWidgetDefinitionType { #[serde(rename = "list_stream")] diff --git a/src/datadogV1/model/model_list_stream_widget_request.rs b/src/datadogV1/model/model_list_stream_widget_request.rs index 3e346c049..8f78ca656 100644 --- a/src/datadogV1/model/model_list_stream_widget_request.rs +++ b/src/datadogV1/model/model_list_stream_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated list stream widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListStreamWidgetRequest { diff --git a/src/datadogV1/model/model_log.rs b/src/datadogV1/model/model_log.rs index 1c19d585c..de5af7741 100644 --- a/src/datadogV1/model/model_log.rs +++ b/src/datadogV1/model/model_log.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing a log after being processed and stored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Log { diff --git a/src/datadogV1/model/model_log_content.rs b/src/datadogV1/model/model_log_content.rs index f9c7b5c6a..10cafb432 100644 --- a/src/datadogV1/model/model_log_content.rs +++ b/src/datadogV1/model/model_log_content.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// JSON object containing all log attributes and their associated values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogContent { diff --git a/src/datadogV1/model/model_log_query_definition.rs b/src/datadogV1/model/model_log_query_definition.rs index bf8aa6b7a..7e3eaf95b 100644 --- a/src/datadogV1/model/model_log_query_definition.rs +++ b/src/datadogV1/model/model_log_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The log query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogQueryDefinition { diff --git a/src/datadogV1/model/model_log_query_definition_group_by.rs b/src/datadogV1/model/model_log_query_definition_group_by.rs index dd72947c0..269ce2512 100644 --- a/src/datadogV1/model/model_log_query_definition_group_by.rs +++ b/src/datadogV1/model/model_log_query_definition_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Defined items in the group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogQueryDefinitionGroupBy { diff --git a/src/datadogV1/model/model_log_query_definition_group_by_sort.rs b/src/datadogV1/model/model_log_query_definition_group_by_sort.rs index 57bec1f5d..7ca430bf5 100644 --- a/src/datadogV1/model/model_log_query_definition_group_by_sort.rs +++ b/src/datadogV1/model/model_log_query_definition_group_by_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Define a sorting method. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogQueryDefinitionGroupBySort { diff --git a/src/datadogV1/model/model_log_query_definition_search.rs b/src/datadogV1/model/model_log_query_definition_search.rs index f981c20c2..4e6a3b1c7 100644 --- a/src/datadogV1/model/model_log_query_definition_search.rs +++ b/src/datadogV1/model/model_log_query_definition_search.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The query being made on the logs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogQueryDefinitionSearch { diff --git a/src/datadogV1/model/model_log_stream_widget_definition.rs b/src/datadogV1/model/model_log_stream_widget_definition.rs index c2a3b3283..758a0f1d3 100644 --- a/src/datadogV1/model/model_log_stream_widget_definition.rs +++ b/src/datadogV1/model/model_log_stream_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogStreamWidgetDefinition { diff --git a/src/datadogV1/model/model_log_stream_widget_definition_type.rs b/src/datadogV1/model/model_log_stream_widget_definition_type.rs index c5e94b536..6cf238306 100644 --- a/src/datadogV1/model/model_log_stream_widget_definition_type.rs +++ b/src/datadogV1/model/model_log_stream_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogStreamWidgetDefinitionType { #[serde(rename = "log_stream")] diff --git a/src/datadogV1/model/model_logs_api_error.rs b/src/datadogV1/model/model_logs_api_error.rs index 241f56003..8afbf6708 100644 --- a/src/datadogV1/model/model_logs_api_error.rs +++ b/src/datadogV1/model/model_logs_api_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Error returned by the Logs API +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAPIError { diff --git a/src/datadogV1/model/model_logs_api_error_response.rs b/src/datadogV1/model/model_logs_api_error_response.rs index 884d2a558..3af819437 100644 --- a/src/datadogV1/model/model_logs_api_error_response.rs +++ b/src/datadogV1/model/model_logs_api_error_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response returned by the Logs API when errors occur. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAPIErrorResponse { diff --git a/src/datadogV1/model/model_logs_arithmetic_processor.rs b/src/datadogV1/model/model_logs_arithmetic_processor.rs index eec07a63c..7eeebfb51 100644 --- a/src/datadogV1/model/model_logs_arithmetic_processor.rs +++ b/src/datadogV1/model/model_logs_arithmetic_processor.rs @@ -25,6 +25,7 @@ use serde_with::skip_serializing_none; /// the actual value stored for the attribute is `0.123456789`. /// - If you need to scale a unit of measure, /// see [Scale Filter](). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArithmeticProcessor { diff --git a/src/datadogV1/model/model_logs_arithmetic_processor_type.rs b/src/datadogV1/model/model_logs_arithmetic_processor_type.rs index a6bf6eba9..1575a6ccc 100644 --- a/src/datadogV1/model/model_logs_arithmetic_processor_type.rs +++ b/src/datadogV1/model/model_logs_arithmetic_processor_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsArithmeticProcessorType { #[serde(rename = "arithmetic-processor")] diff --git a/src/datadogV1/model/model_logs_attribute_remapper.rs b/src/datadogV1/model/model_logs_attribute_remapper.rs index f88c10397..dc70fd707 100644 --- a/src/datadogV1/model/model_logs_attribute_remapper.rs +++ b/src/datadogV1/model/model_logs_attribute_remapper.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// The remapper processor remaps any source attribute(s) or tag to another target attribute or tag. /// Constraints on the tag/attribute name are explained in the [Tag Best Practice documentation](). /// Some additional constraints are applied as `:` or `,` are not allowed in the target tag/attribute name. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAttributeRemapper { diff --git a/src/datadogV1/model/model_logs_attribute_remapper_type.rs b/src/datadogV1/model/model_logs_attribute_remapper_type.rs index 51381c103..1d8037382 100644 --- a/src/datadogV1/model/model_logs_attribute_remapper_type.rs +++ b/src/datadogV1/model/model_logs_attribute_remapper_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsAttributeRemapperType { #[serde(rename = "attribute-remapper")] diff --git a/src/datadogV1/model/model_logs_by_retention.rs b/src/datadogV1/model/model_logs_by_retention.rs index 6ce211039..0cca20d20 100644 --- a/src/datadogV1/model/model_logs_by_retention.rs +++ b/src/datadogV1/model/model_logs_by_retention.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing logs usage data broken down by retention period. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsByRetention { diff --git a/src/datadogV1/model/model_logs_by_retention_monthly_usage.rs b/src/datadogV1/model/model_logs_by_retention_monthly_usage.rs index 70d8d4a5e..2bad62f42 100644 --- a/src/datadogV1/model/model_logs_by_retention_monthly_usage.rs +++ b/src/datadogV1/model/model_logs_by_retention_monthly_usage.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing a summary of indexed logs usage by retention period for a single month. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsByRetentionMonthlyUsage { diff --git a/src/datadogV1/model/model_logs_by_retention_org_usage.rs b/src/datadogV1/model/model_logs_by_retention_org_usage.rs index 277a14ad2..b3d97a505 100644 --- a/src/datadogV1/model/model_logs_by_retention_org_usage.rs +++ b/src/datadogV1/model/model_logs_by_retention_org_usage.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Indexed logs usage by retention for a single organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsByRetentionOrgUsage { diff --git a/src/datadogV1/model/model_logs_by_retention_orgs.rs b/src/datadogV1/model/model_logs_by_retention_orgs.rs index 184d42593..8a510e848 100644 --- a/src/datadogV1/model/model_logs_by_retention_orgs.rs +++ b/src/datadogV1/model/model_logs_by_retention_orgs.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Indexed logs usage summary for each organization for each retention period with usage. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsByRetentionOrgs { diff --git a/src/datadogV1/model/model_logs_category_processor.rs b/src/datadogV1/model/model_logs_category_processor.rs index b2191a8c9..3b1944fb8 100644 --- a/src/datadogV1/model/model_logs_category_processor.rs +++ b/src/datadogV1/model/model_logs_category_processor.rs @@ -17,6 +17,7 @@ use serde_with::skip_serializing_none; /// Make sure they are properly ordered in case a log could match several queries. /// - The names of the categories must be unique. /// - Once defined in the Category Processor, you can map categories to log status using the Log Status Remapper. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsCategoryProcessor { diff --git a/src/datadogV1/model/model_logs_category_processor_category.rs b/src/datadogV1/model/model_logs_category_processor_category.rs index faad4051d..28f63121b 100644 --- a/src/datadogV1/model/model_logs_category_processor_category.rs +++ b/src/datadogV1/model/model_logs_category_processor_category.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the logs filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsCategoryProcessorCategory { diff --git a/src/datadogV1/model/model_logs_category_processor_type.rs b/src/datadogV1/model/model_logs_category_processor_type.rs index 86f380604..b472bb05c 100644 --- a/src/datadogV1/model/model_logs_category_processor_type.rs +++ b/src/datadogV1/model/model_logs_category_processor_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsCategoryProcessorType { #[serde(rename = "category-processor")] diff --git a/src/datadogV1/model/model_logs_date_remapper.rs b/src/datadogV1/model/model_logs_date_remapper.rs index af7a87c46..843f19987 100644 --- a/src/datadogV1/model/model_logs_date_remapper.rs +++ b/src/datadogV1/model/model_logs_date_remapper.rs @@ -23,6 +23,7 @@ use serde_with::skip_serializing_none; /// /// If multiple log date remapper processors can be applied to a given log, /// only the first one (according to the pipelines order) is taken into account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsDateRemapper { diff --git a/src/datadogV1/model/model_logs_date_remapper_type.rs b/src/datadogV1/model/model_logs_date_remapper_type.rs index f7e3e0a27..98b588d28 100644 --- a/src/datadogV1/model/model_logs_date_remapper_type.rs +++ b/src/datadogV1/model/model_logs_date_remapper_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsDateRemapperType { #[serde(rename = "date-remapper")] diff --git a/src/datadogV1/model/model_logs_exclusion.rs b/src/datadogV1/model/model_logs_exclusion.rs index c8a8e4988..54897d2d7 100644 --- a/src/datadogV1/model/model_logs_exclusion.rs +++ b/src/datadogV1/model/model_logs_exclusion.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Represents the index exclusion filter object from configuration API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsExclusion { diff --git a/src/datadogV1/model/model_logs_exclusion_filter.rs b/src/datadogV1/model/model_logs_exclusion_filter.rs index 904a29395..d83877eda 100644 --- a/src/datadogV1/model/model_logs_exclusion_filter.rs +++ b/src/datadogV1/model/model_logs_exclusion_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsExclusionFilter { diff --git a/src/datadogV1/model/model_logs_filter.rs b/src/datadogV1/model/model_logs_filter.rs index aa7fc56f2..2fb79abe8 100644 --- a/src/datadogV1/model/model_logs_filter.rs +++ b/src/datadogV1/model/model_logs_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Filter for logs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsFilter { diff --git a/src/datadogV1/model/model_logs_geo_ip_parser.rs b/src/datadogV1/model/model_logs_geo_ip_parser.rs index 7a23ec1df..a4122e343 100644 --- a/src/datadogV1/model/model_logs_geo_ip_parser.rs +++ b/src/datadogV1/model/model_logs_geo_ip_parser.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The GeoIP parser takes an IP address attribute and extracts if available /// the Continent, Country, Subdivision, and City information in the target attribute path. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsGeoIPParser { diff --git a/src/datadogV1/model/model_logs_geo_ip_parser_type.rs b/src/datadogV1/model/model_logs_geo_ip_parser_type.rs index 4513b3b29..923765330 100644 --- a/src/datadogV1/model/model_logs_geo_ip_parser_type.rs +++ b/src/datadogV1/model/model_logs_geo_ip_parser_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsGeoIPParserType { #[serde(rename = "geo-ip-parser")] diff --git a/src/datadogV1/model/model_logs_grok_parser.rs b/src/datadogV1/model/model_logs_grok_parser.rs index fc61bd2ed..7f535d574 100644 --- a/src/datadogV1/model/model_logs_grok_parser.rs +++ b/src/datadogV1/model/model_logs_grok_parser.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Create custom grok rules to parse the full message or [a specific attribute of your raw event](). /// For more information, see the [parsing section](). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsGrokParser { diff --git a/src/datadogV1/model/model_logs_grok_parser_rules.rs b/src/datadogV1/model/model_logs_grok_parser_rules.rs index 933cf95cb..8a55e216b 100644 --- a/src/datadogV1/model/model_logs_grok_parser_rules.rs +++ b/src/datadogV1/model/model_logs_grok_parser_rules.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Set of rules for the grok parser. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsGrokParserRules { diff --git a/src/datadogV1/model/model_logs_grok_parser_type.rs b/src/datadogV1/model/model_logs_grok_parser_type.rs index 8a7844221..7f57bf780 100644 --- a/src/datadogV1/model/model_logs_grok_parser_type.rs +++ b/src/datadogV1/model/model_logs_grok_parser_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsGrokParserType { #[serde(rename = "grok-parser")] diff --git a/src/datadogV1/model/model_logs_index.rs b/src/datadogV1/model/model_logs_index.rs index e8af61f1f..7bca6de28 100644 --- a/src/datadogV1/model/model_logs_index.rs +++ b/src/datadogV1/model/model_logs_index.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing a Datadog Log index. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsIndex { diff --git a/src/datadogV1/model/model_logs_index_list_response.rs b/src/datadogV1/model/model_logs_index_list_response.rs index 7d430f79a..323e27621 100644 --- a/src/datadogV1/model/model_logs_index_list_response.rs +++ b/src/datadogV1/model/model_logs_index_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object with all Index configurations for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsIndexListResponse { diff --git a/src/datadogV1/model/model_logs_index_update_request.rs b/src/datadogV1/model/model_logs_index_update_request.rs index a95124e7c..831116d53 100644 --- a/src/datadogV1/model/model_logs_index_update_request.rs +++ b/src/datadogV1/model/model_logs_index_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for updating a Datadog Log index. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsIndexUpdateRequest { diff --git a/src/datadogV1/model/model_logs_indexes_order.rs b/src/datadogV1/model/model_logs_indexes_order.rs index af7520169..d5c3f06d5 100644 --- a/src/datadogV1/model/model_logs_indexes_order.rs +++ b/src/datadogV1/model/model_logs_indexes_order.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the ordered list of log index names. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsIndexesOrder { diff --git a/src/datadogV1/model/model_logs_list_request.rs b/src/datadogV1/model/model_logs_list_request.rs index 00e2892e2..b7f1b66c7 100644 --- a/src/datadogV1/model/model_logs_list_request.rs +++ b/src/datadogV1/model/model_logs_list_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to send with the request to retrieve a list of logs from your Organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsListRequest { diff --git a/src/datadogV1/model/model_logs_list_request_time.rs b/src/datadogV1/model/model_logs_list_request_time.rs index 86c65cfb7..e893e28cc 100644 --- a/src/datadogV1/model/model_logs_list_request_time.rs +++ b/src/datadogV1/model/model_logs_list_request_time.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Timeframe to retrieve the log from. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsListRequestTime { diff --git a/src/datadogV1/model/model_logs_list_response.rs b/src/datadogV1/model/model_logs_list_response.rs index 09e783adc..ec4a918f3 100644 --- a/src/datadogV1/model/model_logs_list_response.rs +++ b/src/datadogV1/model/model_logs_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object with all logs matching the request and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsListResponse { diff --git a/src/datadogV1/model/model_logs_lookup_processor.rs b/src/datadogV1/model/model_logs_lookup_processor.rs index 245427005..b55889998 100644 --- a/src/datadogV1/model/model_logs_lookup_processor.rs +++ b/src/datadogV1/model/model_logs_lookup_processor.rs @@ -10,6 +10,7 @@ use serde_with::skip_serializing_none; /// into a human readable service name. Alternatively, you could also use it to check /// if the MAC address that just attempted to connect to the production /// environment belongs to your list of stolen machines. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsLookupProcessor { diff --git a/src/datadogV1/model/model_logs_lookup_processor_type.rs b/src/datadogV1/model/model_logs_lookup_processor_type.rs index 479650213..e618b1516 100644 --- a/src/datadogV1/model/model_logs_lookup_processor_type.rs +++ b/src/datadogV1/model/model_logs_lookup_processor_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsLookupProcessorType { #[serde(rename = "lookup-processor")] diff --git a/src/datadogV1/model/model_logs_message_remapper.rs b/src/datadogV1/model/model_logs_message_remapper.rs index f7166c6d0..8dea3cc18 100644 --- a/src/datadogV1/model/model_logs_message_remapper.rs +++ b/src/datadogV1/model/model_logs_message_remapper.rs @@ -10,6 +10,7 @@ use serde_with::skip_serializing_none; /// /// **Note:** If multiple log message remapper processors can be applied to a given log, /// only the first one (according to the pipeline order) is taken into account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMessageRemapper { diff --git a/src/datadogV1/model/model_logs_message_remapper_type.rs b/src/datadogV1/model/model_logs_message_remapper_type.rs index 7b04153fa..6ba81f077 100644 --- a/src/datadogV1/model/model_logs_message_remapper_type.rs +++ b/src/datadogV1/model/model_logs_message_remapper_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsMessageRemapperType { #[serde(rename = "message-remapper")] diff --git a/src/datadogV1/model/model_logs_pipeline.rs b/src/datadogV1/model/model_logs_pipeline.rs index b5a757fee..255c1625c 100644 --- a/src/datadogV1/model/model_logs_pipeline.rs +++ b/src/datadogV1/model/model_logs_pipeline.rs @@ -9,6 +9,7 @@ use serde_with::skip_serializing_none; /// /// **Note**: These endpoints are only available for admin users. /// Make sure to use an application key created by an admin. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsPipeline { diff --git a/src/datadogV1/model/model_logs_pipeline_processor.rs b/src/datadogV1/model/model_logs_pipeline_processor.rs index b8fe13e76..48929ab14 100644 --- a/src/datadogV1/model/model_logs_pipeline_processor.rs +++ b/src/datadogV1/model/model_logs_pipeline_processor.rs @@ -9,6 +9,7 @@ use serde_with::skip_serializing_none; /// integration, service, or any other tag or attribute. /// /// A pipeline can contain Nested Pipelines and Processors whereas a Nested Pipeline can only contain Processors. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsPipelineProcessor { diff --git a/src/datadogV1/model/model_logs_pipeline_processor_type.rs b/src/datadogV1/model/model_logs_pipeline_processor_type.rs index ac1155815..7c2872499 100644 --- a/src/datadogV1/model/model_logs_pipeline_processor_type.rs +++ b/src/datadogV1/model/model_logs_pipeline_processor_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsPipelineProcessorType { #[serde(rename = "pipeline")] diff --git a/src/datadogV1/model/model_logs_pipelines_order.rs b/src/datadogV1/model/model_logs_pipelines_order.rs index 663d5b312..652dc4152 100644 --- a/src/datadogV1/model/model_logs_pipelines_order.rs +++ b/src/datadogV1/model/model_logs_pipelines_order.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the ordered list of pipeline IDs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsPipelinesOrder { diff --git a/src/datadogV1/model/model_logs_processor.rs b/src/datadogV1/model/model_logs_processor.rs index d68e13a7f..5dcab4e20 100644 --- a/src/datadogV1/model/model_logs_processor.rs +++ b/src/datadogV1/model/model_logs_processor.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Definition of a logs processor. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum LogsProcessor { diff --git a/src/datadogV1/model/model_logs_query_compute.rs b/src/datadogV1/model/model_logs_query_compute.rs index 41a3046e8..6199b8d46 100644 --- a/src/datadogV1/model/model_logs_query_compute.rs +++ b/src/datadogV1/model/model_logs_query_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Define computation for a log query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsQueryCompute { diff --git a/src/datadogV1/model/model_logs_retention_agg_sum_usage.rs b/src/datadogV1/model/model_logs_retention_agg_sum_usage.rs index a1eb9c5c4..5343d39fd 100644 --- a/src/datadogV1/model/model_logs_retention_agg_sum_usage.rs +++ b/src/datadogV1/model/model_logs_retention_agg_sum_usage.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing indexed logs usage aggregated across organizations and months for a retention period. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsRetentionAggSumUsage { diff --git a/src/datadogV1/model/model_logs_retention_sum_usage.rs b/src/datadogV1/model/model_logs_retention_sum_usage.rs index 16531764f..73b1f06f1 100644 --- a/src/datadogV1/model/model_logs_retention_sum_usage.rs +++ b/src/datadogV1/model/model_logs_retention_sum_usage.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing indexed logs usage grouped by retention period and summed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsRetentionSumUsage { diff --git a/src/datadogV1/model/model_logs_service_remapper.rs b/src/datadogV1/model/model_logs_service_remapper.rs index 13039cae9..05ceb4ef8 100644 --- a/src/datadogV1/model/model_logs_service_remapper.rs +++ b/src/datadogV1/model/model_logs_service_remapper.rs @@ -8,6 +8,7 @@ use serde_with::skip_serializing_none; /// /// **Note:** If multiple service remapper processors can be applied to a given log, /// only the first one (according to the pipeline order) is taken into account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsServiceRemapper { diff --git a/src/datadogV1/model/model_logs_service_remapper_type.rs b/src/datadogV1/model/model_logs_service_remapper_type.rs index 510ffb20f..689a1ee16 100644 --- a/src/datadogV1/model/model_logs_service_remapper_type.rs +++ b/src/datadogV1/model/model_logs_service_remapper_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsServiceRemapperType { #[serde(rename = "service-remapper")] diff --git a/src/datadogV1/model/model_logs_sort.rs b/src/datadogV1/model/model_logs_sort.rs index 5e1befcb5..ae7a6141f 100644 --- a/src/datadogV1/model/model_logs_sort.rs +++ b/src/datadogV1/model/model_logs_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsSort { #[serde(rename = "asc")] diff --git a/src/datadogV1/model/model_logs_status_remapper.rs b/src/datadogV1/model/model_logs_status_remapper.rs index edf62e256..523c30040 100644 --- a/src/datadogV1/model/model_logs_status_remapper.rs +++ b/src/datadogV1/model/model_logs_status_remapper.rs @@ -22,6 +22,7 @@ use serde_with::skip_serializing_none; /// /// **Note:** If multiple log status remapper processors can be applied to a given log, /// only the first one (according to the pipelines order) is taken into account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsStatusRemapper { diff --git a/src/datadogV1/model/model_logs_status_remapper_type.rs b/src/datadogV1/model/model_logs_status_remapper_type.rs index ca4645ac1..b03a1e9ec 100644 --- a/src/datadogV1/model/model_logs_status_remapper_type.rs +++ b/src/datadogV1/model/model_logs_status_remapper_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsStatusRemapperType { #[serde(rename = "status-remapper")] diff --git a/src/datadogV1/model/model_logs_string_builder_processor.rs b/src/datadogV1/model/model_logs_string_builder_processor.rs index 28e1ae6ff..bd4aee5d9 100644 --- a/src/datadogV1/model/model_logs_string_builder_processor.rs +++ b/src/datadogV1/model/model_logs_string_builder_processor.rs @@ -17,6 +17,7 @@ use serde_with::skip_serializing_none; /// it is replaced by an empty string or the entire operation is skipped depending on your selection. /// - If the target attribute already exists, it is overwritten by the result of the template. /// - Results of the template cannot exceed 256 characters. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsStringBuilderProcessor { diff --git a/src/datadogV1/model/model_logs_string_builder_processor_type.rs b/src/datadogV1/model/model_logs_string_builder_processor_type.rs index 76aff5847..a594f42ef 100644 --- a/src/datadogV1/model/model_logs_string_builder_processor_type.rs +++ b/src/datadogV1/model/model_logs_string_builder_processor_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsStringBuilderProcessorType { #[serde(rename = "string-builder-processor")] diff --git a/src/datadogV1/model/model_logs_trace_remapper.rs b/src/datadogV1/model/model_logs_trace_remapper.rs index 61d437e85..5d6d5ddd0 100644 --- a/src/datadogV1/model/model_logs_trace_remapper.rs +++ b/src/datadogV1/model/model_logs_trace_remapper.rs @@ -10,6 +10,7 @@ use serde_with::skip_serializing_none; /// and by default log integrations take care of all the rest of the setup. /// /// 2. Use the Trace remapper processor to define a log attribute as its associated trace ID. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsTraceRemapper { diff --git a/src/datadogV1/model/model_logs_trace_remapper_type.rs b/src/datadogV1/model/model_logs_trace_remapper_type.rs index da349c2d1..80289bb91 100644 --- a/src/datadogV1/model/model_logs_trace_remapper_type.rs +++ b/src/datadogV1/model/model_logs_trace_remapper_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsTraceRemapperType { #[serde(rename = "trace-id-remapper")] diff --git a/src/datadogV1/model/model_logs_url_parser.rs b/src/datadogV1/model/model_logs_url_parser.rs index 1ae208e6f..04ffc662c 100644 --- a/src/datadogV1/model/model_logs_url_parser.rs +++ b/src/datadogV1/model/model_logs_url_parser.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// This processor extracts query parameters and other important parameters from a URL. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsURLParser { diff --git a/src/datadogV1/model/model_logs_url_parser_type.rs b/src/datadogV1/model/model_logs_url_parser_type.rs index b4495ec6c..025dcce5a 100644 --- a/src/datadogV1/model/model_logs_url_parser_type.rs +++ b/src/datadogV1/model/model_logs_url_parser_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsURLParserType { #[serde(rename = "url-parser")] diff --git a/src/datadogV1/model/model_logs_user_agent_parser.rs b/src/datadogV1/model/model_logs_user_agent_parser.rs index ec7f44599..75fd35aff 100644 --- a/src/datadogV1/model/model_logs_user_agent_parser.rs +++ b/src/datadogV1/model/model_logs_user_agent_parser.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The User-Agent parser takes a User-Agent attribute and extracts the OS, browser, device, and other user data. /// It recognizes major bots like the Google Bot, Yahoo Slurp, and Bing. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsUserAgentParser { diff --git a/src/datadogV1/model/model_logs_user_agent_parser_type.rs b/src/datadogV1/model/model_logs_user_agent_parser_type.rs index 937271bb3..c28bccd9d 100644 --- a/src/datadogV1/model/model_logs_user_agent_parser_type.rs +++ b/src/datadogV1/model/model_logs_user_agent_parser_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsUserAgentParserType { #[serde(rename = "user-agent-parser")] diff --git a/src/datadogV1/model/model_matching_downtime.rs b/src/datadogV1/model/model_matching_downtime.rs index cd2bb694a..ed04485b9 100644 --- a/src/datadogV1/model/model_matching_downtime.rs +++ b/src/datadogV1/model/model_matching_downtime.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing a downtime that matches this monitor. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MatchingDowntime { diff --git a/src/datadogV1/model/model_metric_content_encoding.rs b/src/datadogV1/model/model_metric_content_encoding.rs index 77ac622cd..3f3c4ae5f 100644 --- a/src/datadogV1/model/model_metric_content_encoding.rs +++ b/src/datadogV1/model/model_metric_content_encoding.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricContentEncoding { #[serde(rename = "deflate")] diff --git a/src/datadogV1/model/model_metric_metadata.rs b/src/datadogV1/model/model_metric_metadata.rs index 02500c8b2..a0a67db1f 100644 --- a/src/datadogV1/model/model_metric_metadata.rs +++ b/src/datadogV1/model/model_metric_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object with all metric related metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricMetadata { diff --git a/src/datadogV1/model/model_metric_search_response.rs b/src/datadogV1/model/model_metric_search_response.rs index 9fa8a559c..92779e599 100644 --- a/src/datadogV1/model/model_metric_search_response.rs +++ b/src/datadogV1/model/model_metric_search_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the list of metrics matching the search query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricSearchResponse { diff --git a/src/datadogV1/model/model_metric_search_response_results.rs b/src/datadogV1/model/model_metric_search_response_results.rs index 59fbc0f20..4e6ffa034 100644 --- a/src/datadogV1/model/model_metric_search_response_results.rs +++ b/src/datadogV1/model/model_metric_search_response_results.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Search result. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricSearchResponseResults { diff --git a/src/datadogV1/model/model_metrics_list_response.rs b/src/datadogV1/model/model_metrics_list_response.rs index e2c83be9d..ca5222045 100644 --- a/src/datadogV1/model/model_metrics_list_response.rs +++ b/src/datadogV1/model/model_metrics_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object listing all metric names stored by Datadog since a given time. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricsListResponse { diff --git a/src/datadogV1/model/model_metrics_payload.rs b/src/datadogV1/model/model_metrics_payload.rs index 16cfb851d..b1c773df0 100644 --- a/src/datadogV1/model/model_metrics_payload.rs +++ b/src/datadogV1/model/model_metrics_payload.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metrics' payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricsPayload { diff --git a/src/datadogV1/model/model_metrics_query_metadata.rs b/src/datadogV1/model/model_metrics_query_metadata.rs index 8d659c908..75bf599da 100644 --- a/src/datadogV1/model/model_metrics_query_metadata.rs +++ b/src/datadogV1/model/model_metrics_query_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing all metric names returned and their associated metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricsQueryMetadata { diff --git a/src/datadogV1/model/model_metrics_query_response.rs b/src/datadogV1/model/model_metrics_query_response.rs index 9b6ede7ce..052646f41 100644 --- a/src/datadogV1/model/model_metrics_query_response.rs +++ b/src/datadogV1/model/model_metrics_query_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response Object that includes your query and the list of metrics retrieved. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricsQueryResponse { diff --git a/src/datadogV1/model/model_metrics_query_unit.rs b/src/datadogV1/model/model_metrics_query_unit.rs index daee17b9d..8b0291111 100644 --- a/src/datadogV1/model/model_metrics_query_unit.rs +++ b/src/datadogV1/model/model_metrics_query_unit.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the metric unit family, scale factor, name, and short name. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricsQueryUnit { diff --git a/src/datadogV1/model/model_monitor.rs b/src/datadogV1/model/model_monitor.rs index 77f0d5997..9f7381713 100644 --- a/src/datadogV1/model/model_monitor.rs +++ b/src/datadogV1/model/model_monitor.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing a monitor. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Monitor { diff --git a/src/datadogV1/model/model_monitor_device_id.rs b/src/datadogV1/model/model_monitor_device_id.rs index 2671761cf..8531cc769 100644 --- a/src/datadogV1/model/model_monitor_device_id.rs +++ b/src/datadogV1/model/model_monitor_device_id.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorDeviceID { #[serde(rename = "laptop_large")] diff --git a/src/datadogV1/model/model_monitor_formula_and_function_event_aggregation.rs b/src/datadogV1/model/model_monitor_formula_and_function_event_aggregation.rs index 2f4403d8a..2848ca8ba 100644 --- a/src/datadogV1/model/model_monitor_formula_and_function_event_aggregation.rs +++ b/src/datadogV1/model/model_monitor_formula_and_function_event_aggregation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorFormulaAndFunctionEventAggregation { #[serde(rename = "count")] diff --git a/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition.rs b/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition.rs index 16d902c94..3207e5164 100644 --- a/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition.rs +++ b/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A formula and functions events query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorFormulaAndFunctionEventQueryDefinition { diff --git a/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition_compute.rs b/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition_compute.rs index 907c4914f..6edefc2b3 100644 --- a/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition_compute.rs +++ b/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Compute options. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorFormulaAndFunctionEventQueryDefinitionCompute { diff --git a/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition_search.rs b/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition_search.rs index a3f163ff2..0683a0e40 100644 --- a/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition_search.rs +++ b/src/datadogV1/model/model_monitor_formula_and_function_event_query_definition_search.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Search options. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorFormulaAndFunctionEventQueryDefinitionSearch { diff --git a/src/datadogV1/model/model_monitor_formula_and_function_event_query_group_by.rs b/src/datadogV1/model/model_monitor_formula_and_function_event_query_group_by.rs index 07d3ed0fb..fe4f313ed 100644 --- a/src/datadogV1/model/model_monitor_formula_and_function_event_query_group_by.rs +++ b/src/datadogV1/model/model_monitor_formula_and_function_event_query_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of objects used to group by. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorFormulaAndFunctionEventQueryGroupBy { diff --git a/src/datadogV1/model/model_monitor_formula_and_function_event_query_group_by_sort.rs b/src/datadogV1/model/model_monitor_formula_and_function_event_query_group_by_sort.rs index 7a12bec0c..452fcb259 100644 --- a/src/datadogV1/model/model_monitor_formula_and_function_event_query_group_by_sort.rs +++ b/src/datadogV1/model/model_monitor_formula_and_function_event_query_group_by_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options for sorting group by results. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorFormulaAndFunctionEventQueryGroupBySort { diff --git a/src/datadogV1/model/model_monitor_formula_and_function_events_data_source.rs b/src/datadogV1/model/model_monitor_formula_and_function_events_data_source.rs index ea61d382c..0503b6dfb 100644 --- a/src/datadogV1/model/model_monitor_formula_and_function_events_data_source.rs +++ b/src/datadogV1/model/model_monitor_formula_and_function_events_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorFormulaAndFunctionEventsDataSource { #[serde(rename = "rum")] diff --git a/src/datadogV1/model/model_monitor_formula_and_function_query_definition.rs b/src/datadogV1/model/model_monitor_formula_and_function_query_definition.rs index 6a0f69dc7..c106b1de0 100644 --- a/src/datadogV1/model/model_monitor_formula_and_function_query_definition.rs +++ b/src/datadogV1/model/model_monitor_formula_and_function_query_definition.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A formula and function query. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum MonitorFormulaAndFunctionQueryDefinition { diff --git a/src/datadogV1/model/model_monitor_group_search_response.rs b/src/datadogV1/model/model_monitor_group_search_response.rs index fddb3b63b..2d0990477 100644 --- a/src/datadogV1/model/model_monitor_group_search_response.rs +++ b/src/datadogV1/model/model_monitor_group_search_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response of a monitor group search. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorGroupSearchResponse { diff --git a/src/datadogV1/model/model_monitor_group_search_response_counts.rs b/src/datadogV1/model/model_monitor_group_search_response_counts.rs index 145675230..921dba7a8 100644 --- a/src/datadogV1/model/model_monitor_group_search_response_counts.rs +++ b/src/datadogV1/model/model_monitor_group_search_response_counts.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The counts of monitor groups per different criteria. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorGroupSearchResponseCounts { diff --git a/src/datadogV1/model/model_monitor_group_search_result.rs b/src/datadogV1/model/model_monitor_group_search_result.rs index 0675bcae5..996c25cc8 100644 --- a/src/datadogV1/model/model_monitor_group_search_result.rs +++ b/src/datadogV1/model/model_monitor_group_search_result.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single monitor group search result. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorGroupSearchResult { diff --git a/src/datadogV1/model/model_monitor_options.rs b/src/datadogV1/model/model_monitor_options.rs index 309cf2771..a8087f1cf 100644 --- a/src/datadogV1/model/model_monitor_options.rs +++ b/src/datadogV1/model/model_monitor_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of options associated with your monitor. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorOptions { diff --git a/src/datadogV1/model/model_monitor_options_aggregation.rs b/src/datadogV1/model/model_monitor_options_aggregation.rs index e99382bd3..8e185f4c9 100644 --- a/src/datadogV1/model/model_monitor_options_aggregation.rs +++ b/src/datadogV1/model/model_monitor_options_aggregation.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Type of aggregation performed in the monitor query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorOptionsAggregation { diff --git a/src/datadogV1/model/model_monitor_options_custom_schedule.rs b/src/datadogV1/model/model_monitor_options_custom_schedule.rs index ef1e85d2a..b8cf1ea3c 100644 --- a/src/datadogV1/model/model_monitor_options_custom_schedule.rs +++ b/src/datadogV1/model/model_monitor_options_custom_schedule.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration options for the custom schedule. **This feature is in private beta.** +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorOptionsCustomSchedule { diff --git a/src/datadogV1/model/model_monitor_options_custom_schedule_recurrence.rs b/src/datadogV1/model/model_monitor_options_custom_schedule_recurrence.rs index 8206b325d..39fb1b687 100644 --- a/src/datadogV1/model/model_monitor_options_custom_schedule_recurrence.rs +++ b/src/datadogV1/model/model_monitor_options_custom_schedule_recurrence.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration for a recurrence set on the monitor options for custom schedule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorOptionsCustomScheduleRecurrence { diff --git a/src/datadogV1/model/model_monitor_options_notification_presets.rs b/src/datadogV1/model/model_monitor_options_notification_presets.rs index 4a72d1fd1..f368f4112 100644 --- a/src/datadogV1/model/model_monitor_options_notification_presets.rs +++ b/src/datadogV1/model/model_monitor_options_notification_presets.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorOptionsNotificationPresets { #[serde(rename = "show_all")] diff --git a/src/datadogV1/model/model_monitor_options_scheduling_options.rs b/src/datadogV1/model/model_monitor_options_scheduling_options.rs index b589de0d1..bf7bb4986 100644 --- a/src/datadogV1/model/model_monitor_options_scheduling_options.rs +++ b/src/datadogV1/model/model_monitor_options_scheduling_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration options for scheduling. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorOptionsSchedulingOptions { diff --git a/src/datadogV1/model/model_monitor_options_scheduling_options_evaluation_window.rs b/src/datadogV1/model/model_monitor_options_scheduling_options_evaluation_window.rs index daf169907..e5c954623 100644 --- a/src/datadogV1/model/model_monitor_options_scheduling_options_evaluation_window.rs +++ b/src/datadogV1/model/model_monitor_options_scheduling_options_evaluation_window.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration options for the evaluation window. If `hour_starts` is set, no other fields may be set. Otherwise, `day_starts` and `month_starts` must be set together. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorOptionsSchedulingOptionsEvaluationWindow { diff --git a/src/datadogV1/model/model_monitor_overall_states.rs b/src/datadogV1/model/model_monitor_overall_states.rs index 1c3d95294..0b978e2a1 100644 --- a/src/datadogV1/model/model_monitor_overall_states.rs +++ b/src/datadogV1/model/model_monitor_overall_states.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorOverallStates { #[serde(rename = "Alert")] diff --git a/src/datadogV1/model/model_monitor_renotify_status_type.rs b/src/datadogV1/model/model_monitor_renotify_status_type.rs index b9ec3e133..02e9dcbdd 100644 --- a/src/datadogV1/model/model_monitor_renotify_status_type.rs +++ b/src/datadogV1/model/model_monitor_renotify_status_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorRenotifyStatusType { #[serde(rename = "alert")] diff --git a/src/datadogV1/model/model_monitor_search_count_item.rs b/src/datadogV1/model/model_monitor_search_count_item.rs index f3a69c8e6..b5a576f3f 100644 --- a/src/datadogV1/model/model_monitor_search_count_item.rs +++ b/src/datadogV1/model/model_monitor_search_count_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A facet item. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorSearchCountItem { diff --git a/src/datadogV1/model/model_monitor_search_response.rs b/src/datadogV1/model/model_monitor_search_response.rs index 37c4beb42..57ce9414b 100644 --- a/src/datadogV1/model/model_monitor_search_response.rs +++ b/src/datadogV1/model/model_monitor_search_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response form a monitor search. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorSearchResponse { diff --git a/src/datadogV1/model/model_monitor_search_response_counts.rs b/src/datadogV1/model/model_monitor_search_response_counts.rs index 7a88bcf2e..eb67289da 100644 --- a/src/datadogV1/model/model_monitor_search_response_counts.rs +++ b/src/datadogV1/model/model_monitor_search_response_counts.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The counts of monitors per different criteria. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorSearchResponseCounts { diff --git a/src/datadogV1/model/model_monitor_search_response_metadata.rs b/src/datadogV1/model/model_monitor_search_response_metadata.rs index b048fc3dd..e739c22e1 100644 --- a/src/datadogV1/model/model_monitor_search_response_metadata.rs +++ b/src/datadogV1/model/model_monitor_search_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata about the response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorSearchResponseMetadata { diff --git a/src/datadogV1/model/model_monitor_search_result.rs b/src/datadogV1/model/model_monitor_search_result.rs index aa1b49d4b..0b09e0759 100644 --- a/src/datadogV1/model/model_monitor_search_result.rs +++ b/src/datadogV1/model/model_monitor_search_result.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Holds search results. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorSearchResult { diff --git a/src/datadogV1/model/model_monitor_search_result_notification.rs b/src/datadogV1/model/model_monitor_search_result_notification.rs index 6ea9e597c..b3bd7c6f3 100644 --- a/src/datadogV1/model/model_monitor_search_result_notification.rs +++ b/src/datadogV1/model/model_monitor_search_result_notification.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A notification triggered by the monitor. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorSearchResultNotification { diff --git a/src/datadogV1/model/model_monitor_state.rs b/src/datadogV1/model/model_monitor_state.rs index b210f0985..b950acad5 100644 --- a/src/datadogV1/model/model_monitor_state.rs +++ b/src/datadogV1/model/model_monitor_state.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Wrapper object with the different monitor states. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorState { diff --git a/src/datadogV1/model/model_monitor_state_group.rs b/src/datadogV1/model/model_monitor_state_group.rs index 2d287188f..0ecca7d5b 100644 --- a/src/datadogV1/model/model_monitor_state_group.rs +++ b/src/datadogV1/model/model_monitor_state_group.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Monitor state for a single group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorStateGroup { diff --git a/src/datadogV1/model/model_monitor_summary_widget_definition.rs b/src/datadogV1/model/model_monitor_summary_widget_definition.rs index 27c419f18..595f76b0d 100644 --- a/src/datadogV1/model/model_monitor_summary_widget_definition.rs +++ b/src/datadogV1/model/model_monitor_summary_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorSummaryWidgetDefinition { diff --git a/src/datadogV1/model/model_monitor_summary_widget_definition_type.rs b/src/datadogV1/model/model_monitor_summary_widget_definition_type.rs index ed62db676..bf30f4e13 100644 --- a/src/datadogV1/model/model_monitor_summary_widget_definition_type.rs +++ b/src/datadogV1/model/model_monitor_summary_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorSummaryWidgetDefinitionType { #[serde(rename = "manage_status")] diff --git a/src/datadogV1/model/model_monitor_threshold_window_options.rs b/src/datadogV1/model/model_monitor_threshold_window_options.rs index 57696a9bb..b14bab804 100644 --- a/src/datadogV1/model/model_monitor_threshold_window_options.rs +++ b/src/datadogV1/model/model_monitor_threshold_window_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Alerting time window options. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorThresholdWindowOptions { diff --git a/src/datadogV1/model/model_monitor_thresholds.rs b/src/datadogV1/model/model_monitor_thresholds.rs index d2e07a3a5..f186ba67c 100644 --- a/src/datadogV1/model/model_monitor_thresholds.rs +++ b/src/datadogV1/model/model_monitor_thresholds.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of the different monitor threshold available. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorThresholds { diff --git a/src/datadogV1/model/model_monitor_type.rs b/src/datadogV1/model/model_monitor_type.rs index 3deb39f21..6fb0d3977 100644 --- a/src/datadogV1/model/model_monitor_type.rs +++ b/src/datadogV1/model/model_monitor_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorType { #[serde(rename = "composite")] diff --git a/src/datadogV1/model/model_monitor_update_request.rs b/src/datadogV1/model/model_monitor_update_request.rs index 2c0637641..193abbf66 100644 --- a/src/datadogV1/model/model_monitor_update_request.rs +++ b/src/datadogV1/model/model_monitor_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing a monitor update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorUpdateRequest { diff --git a/src/datadogV1/model/model_monthly_usage_attribution_body.rs b/src/datadogV1/model/model_monthly_usage_attribution_body.rs index d2d26310d..c23b2b311 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_body.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Usage Summary by tag for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyUsageAttributionBody { diff --git a/src/datadogV1/model/model_monthly_usage_attribution_metadata.rs b/src/datadogV1/model/model_monthly_usage_attribution_metadata.rs index f69f9e289..01dae1540 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_metadata.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing document metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyUsageAttributionMetadata { diff --git a/src/datadogV1/model/model_monthly_usage_attribution_pagination.rs b/src/datadogV1/model/model_monthly_usage_attribution_pagination.rs index 09fa08430..f501358c5 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_pagination.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata for the current pagination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyUsageAttributionPagination { diff --git a/src/datadogV1/model/model_monthly_usage_attribution_response.rs b/src/datadogV1/model/model_monthly_usage_attribution_response.rs index 42a69c33d..a8f063471 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_response.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the monthly Usage Summary by tag(s). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyUsageAttributionResponse { diff --git a/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs b/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs index 72c5dfc4f..aef321eba 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonthlyUsageAttributionSupportedMetrics { #[serde(rename = "api_usage")] diff --git a/src/datadogV1/model/model_monthly_usage_attribution_values.rs b/src/datadogV1/model/model_monthly_usage_attribution_values.rs index 3707e067b..30ef9d1b6 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_values.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_values.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Fields in Usage Summary by tag(s). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyUsageAttributionValues { diff --git a/src/datadogV1/model/model_note_widget_definition.rs b/src/datadogV1/model/model_note_widget_definition.rs index c59ecb0cd..1b2cdcaee 100644 --- a/src/datadogV1/model/model_note_widget_definition.rs +++ b/src/datadogV1/model/model_note_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The notes and links widget is similar to free text widget, but allows for more formatting options. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NoteWidgetDefinition { diff --git a/src/datadogV1/model/model_note_widget_definition_type.rs b/src/datadogV1/model/model_note_widget_definition_type.rs index f838a121a..ddb164f6f 100644 --- a/src/datadogV1/model/model_note_widget_definition_type.rs +++ b/src/datadogV1/model/model_note_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NoteWidgetDefinitionType { #[serde(rename = "note")] diff --git a/src/datadogV1/model/model_notebook_absolute_time.rs b/src/datadogV1/model/model_notebook_absolute_time.rs index ab3915f00..10258eae9 100644 --- a/src/datadogV1/model/model_notebook_absolute_time.rs +++ b/src/datadogV1/model/model_notebook_absolute_time.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Absolute timeframe. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookAbsoluteTime { diff --git a/src/datadogV1/model/model_notebook_author.rs b/src/datadogV1/model/model_notebook_author.rs index 11c0742f0..255be5b24 100644 --- a/src/datadogV1/model/model_notebook_author.rs +++ b/src/datadogV1/model/model_notebook_author.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of user object returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookAuthor { diff --git a/src/datadogV1/model/model_notebook_cell_create_request.rs b/src/datadogV1/model/model_notebook_cell_create_request.rs index 415c27ce0..2ae90cccc 100644 --- a/src/datadogV1/model/model_notebook_cell_create_request.rs +++ b/src/datadogV1/model/model_notebook_cell_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The description of a notebook cell create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookCellCreateRequest { diff --git a/src/datadogV1/model/model_notebook_cell_create_request_attributes.rs b/src/datadogV1/model/model_notebook_cell_create_request_attributes.rs index cd31dbaa3..d57eeb25f 100644 --- a/src/datadogV1/model/model_notebook_cell_create_request_attributes.rs +++ b/src/datadogV1/model/model_notebook_cell_create_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; /// The attributes of a notebook cell in create cell request. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`, /// `log_stream`. [More information on each graph visualization type.]() +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum NotebookCellCreateRequestAttributes { diff --git a/src/datadogV1/model/model_notebook_cell_resource_type.rs b/src/datadogV1/model/model_notebook_cell_resource_type.rs index 402394d2d..1cef6b73c 100644 --- a/src/datadogV1/model/model_notebook_cell_resource_type.rs +++ b/src/datadogV1/model/model_notebook_cell_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NotebookCellResourceType { #[serde(rename = "notebook_cells")] diff --git a/src/datadogV1/model/model_notebook_cell_response.rs b/src/datadogV1/model/model_notebook_cell_response.rs index 0dd0f5f04..cb824fc27 100644 --- a/src/datadogV1/model/model_notebook_cell_response.rs +++ b/src/datadogV1/model/model_notebook_cell_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The description of a notebook cell response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookCellResponse { diff --git a/src/datadogV1/model/model_notebook_cell_response_attributes.rs b/src/datadogV1/model/model_notebook_cell_response_attributes.rs index 039afe89b..d47ce3f1a 100644 --- a/src/datadogV1/model/model_notebook_cell_response_attributes.rs +++ b/src/datadogV1/model/model_notebook_cell_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; /// The attributes of a notebook cell response. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`, /// `log_stream`. [More information on each graph visualization type.]() +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum NotebookCellResponseAttributes { diff --git a/src/datadogV1/model/model_notebook_cell_time.rs b/src/datadogV1/model/model_notebook_cell_time.rs index 28c3db740..1730dfde9 100644 --- a/src/datadogV1/model/model_notebook_cell_time.rs +++ b/src/datadogV1/model/model_notebook_cell_time.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Timeframe for the notebook cell. When 'null', the notebook global time is used. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum NotebookCellTime { diff --git a/src/datadogV1/model/model_notebook_cell_update_request.rs b/src/datadogV1/model/model_notebook_cell_update_request.rs index 282afd69a..4190499aa 100644 --- a/src/datadogV1/model/model_notebook_cell_update_request.rs +++ b/src/datadogV1/model/model_notebook_cell_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The description of a notebook cell update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookCellUpdateRequest { diff --git a/src/datadogV1/model/model_notebook_cell_update_request_attributes.rs b/src/datadogV1/model/model_notebook_cell_update_request_attributes.rs index 8fea453e3..db00fb8bf 100644 --- a/src/datadogV1/model/model_notebook_cell_update_request_attributes.rs +++ b/src/datadogV1/model/model_notebook_cell_update_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; /// The attributes of a notebook cell in update cell request. Valid cell types are `markdown`, `timeseries`, `toplist`, `heatmap`, `distribution`, /// `log_stream`. [More information on each graph visualization type.]() +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum NotebookCellUpdateRequestAttributes { diff --git a/src/datadogV1/model/model_notebook_create_data.rs b/src/datadogV1/model/model_notebook_create_data.rs index a7a1f82ef..7e8766ada 100644 --- a/src/datadogV1/model/model_notebook_create_data.rs +++ b/src/datadogV1/model/model_notebook_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data for a notebook create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookCreateData { diff --git a/src/datadogV1/model/model_notebook_create_data_attributes.rs b/src/datadogV1/model/model_notebook_create_data_attributes.rs index 9f2a414b5..94d7804a6 100644 --- a/src/datadogV1/model/model_notebook_create_data_attributes.rs +++ b/src/datadogV1/model/model_notebook_create_data_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data attributes of a notebook. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookCreateDataAttributes { diff --git a/src/datadogV1/model/model_notebook_create_request.rs b/src/datadogV1/model/model_notebook_create_request.rs index 193c97ab3..79a4aa33d 100644 --- a/src/datadogV1/model/model_notebook_create_request.rs +++ b/src/datadogV1/model/model_notebook_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The description of a notebook create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookCreateRequest { diff --git a/src/datadogV1/model/model_notebook_distribution_cell_attributes.rs b/src/datadogV1/model/model_notebook_distribution_cell_attributes.rs index 3c88d3c81..9ca7c934d 100644 --- a/src/datadogV1/model/model_notebook_distribution_cell_attributes.rs +++ b/src/datadogV1/model/model_notebook_distribution_cell_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a notebook `distribution` cell. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookDistributionCellAttributes { diff --git a/src/datadogV1/model/model_notebook_global_time.rs b/src/datadogV1/model/model_notebook_global_time.rs index e6cc05696..d8107606f 100644 --- a/src/datadogV1/model/model_notebook_global_time.rs +++ b/src/datadogV1/model/model_notebook_global_time.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Notebook global timeframe. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum NotebookGlobalTime { diff --git a/src/datadogV1/model/model_notebook_graph_size.rs b/src/datadogV1/model/model_notebook_graph_size.rs index 9910110b9..aa7869955 100644 --- a/src/datadogV1/model/model_notebook_graph_size.rs +++ b/src/datadogV1/model/model_notebook_graph_size.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NotebookGraphSize { #[serde(rename = "xs")] diff --git a/src/datadogV1/model/model_notebook_heat_map_cell_attributes.rs b/src/datadogV1/model/model_notebook_heat_map_cell_attributes.rs index 86650b9f3..63f4f0f67 100644 --- a/src/datadogV1/model/model_notebook_heat_map_cell_attributes.rs +++ b/src/datadogV1/model/model_notebook_heat_map_cell_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a notebook `heatmap` cell. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookHeatMapCellAttributes { diff --git a/src/datadogV1/model/model_notebook_log_stream_cell_attributes.rs b/src/datadogV1/model/model_notebook_log_stream_cell_attributes.rs index e89d96f15..78fac88b1 100644 --- a/src/datadogV1/model/model_notebook_log_stream_cell_attributes.rs +++ b/src/datadogV1/model/model_notebook_log_stream_cell_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a notebook `log_stream` cell. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookLogStreamCellAttributes { diff --git a/src/datadogV1/model/model_notebook_markdown_cell_attributes.rs b/src/datadogV1/model/model_notebook_markdown_cell_attributes.rs index da1c99f2e..45cd44a70 100644 --- a/src/datadogV1/model/model_notebook_markdown_cell_attributes.rs +++ b/src/datadogV1/model/model_notebook_markdown_cell_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a notebook `markdown` cell. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookMarkdownCellAttributes { diff --git a/src/datadogV1/model/model_notebook_markdown_cell_definition.rs b/src/datadogV1/model/model_notebook_markdown_cell_definition.rs index 1507d4a48..cc938444d 100644 --- a/src/datadogV1/model/model_notebook_markdown_cell_definition.rs +++ b/src/datadogV1/model/model_notebook_markdown_cell_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Text in a notebook is formatted with [Markdown](), which enables the use of headings, subheadings, links, images, lists, and code blocks. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookMarkdownCellDefinition { diff --git a/src/datadogV1/model/model_notebook_markdown_cell_definition_type.rs b/src/datadogV1/model/model_notebook_markdown_cell_definition_type.rs index ff275c3b9..ae8ca3740 100644 --- a/src/datadogV1/model/model_notebook_markdown_cell_definition_type.rs +++ b/src/datadogV1/model/model_notebook_markdown_cell_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NotebookMarkdownCellDefinitionType { #[serde(rename = "markdown")] diff --git a/src/datadogV1/model/model_notebook_metadata.rs b/src/datadogV1/model/model_notebook_metadata.rs index 044617e61..dc6b32a50 100644 --- a/src/datadogV1/model/model_notebook_metadata.rs +++ b/src/datadogV1/model/model_notebook_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata associated with the notebook. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookMetadata { diff --git a/src/datadogV1/model/model_notebook_metadata_type.rs b/src/datadogV1/model/model_notebook_metadata_type.rs index 3f861f568..2a1ef80ef 100644 --- a/src/datadogV1/model/model_notebook_metadata_type.rs +++ b/src/datadogV1/model/model_notebook_metadata_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NotebookMetadataType { #[serde(rename = "postmortem")] diff --git a/src/datadogV1/model/model_notebook_relative_time.rs b/src/datadogV1/model/model_notebook_relative_time.rs index 21572f7f1..66ebc0201 100644 --- a/src/datadogV1/model/model_notebook_relative_time.rs +++ b/src/datadogV1/model/model_notebook_relative_time.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relative timeframe. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookRelativeTime { diff --git a/src/datadogV1/model/model_notebook_resource_type.rs b/src/datadogV1/model/model_notebook_resource_type.rs index becee07e6..7531238f5 100644 --- a/src/datadogV1/model/model_notebook_resource_type.rs +++ b/src/datadogV1/model/model_notebook_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NotebookResourceType { #[serde(rename = "notebooks")] diff --git a/src/datadogV1/model/model_notebook_response.rs b/src/datadogV1/model/model_notebook_response.rs index 026fa1bb0..c0254b186 100644 --- a/src/datadogV1/model/model_notebook_response.rs +++ b/src/datadogV1/model/model_notebook_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The description of a notebook response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookResponse { diff --git a/src/datadogV1/model/model_notebook_response_data.rs b/src/datadogV1/model/model_notebook_response_data.rs index ac38723b1..ca45867cc 100644 --- a/src/datadogV1/model/model_notebook_response_data.rs +++ b/src/datadogV1/model/model_notebook_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data for a notebook. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookResponseData { diff --git a/src/datadogV1/model/model_notebook_response_data_attributes.rs b/src/datadogV1/model/model_notebook_response_data_attributes.rs index 435b3b6e9..818883df4 100644 --- a/src/datadogV1/model/model_notebook_response_data_attributes.rs +++ b/src/datadogV1/model/model_notebook_response_data_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a notebook. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookResponseDataAttributes { diff --git a/src/datadogV1/model/model_notebook_split_by.rs b/src/datadogV1/model/model_notebook_split_by.rs index c439a8422..a710bb990 100644 --- a/src/datadogV1/model/model_notebook_split_by.rs +++ b/src/datadogV1/model/model_notebook_split_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing how to split the graph to display multiple visualizations per request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookSplitBy { diff --git a/src/datadogV1/model/model_notebook_status.rs b/src/datadogV1/model/model_notebook_status.rs index bccb86c8c..64564b680 100644 --- a/src/datadogV1/model/model_notebook_status.rs +++ b/src/datadogV1/model/model_notebook_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NotebookStatus { #[serde(rename = "published")] diff --git a/src/datadogV1/model/model_notebook_timeseries_cell_attributes.rs b/src/datadogV1/model/model_notebook_timeseries_cell_attributes.rs index fbdb0b4f2..89aecbb44 100644 --- a/src/datadogV1/model/model_notebook_timeseries_cell_attributes.rs +++ b/src/datadogV1/model/model_notebook_timeseries_cell_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a notebook `timeseries` cell. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookTimeseriesCellAttributes { diff --git a/src/datadogV1/model/model_notebook_toplist_cell_attributes.rs b/src/datadogV1/model/model_notebook_toplist_cell_attributes.rs index 971e1fb4a..6a1fdce47 100644 --- a/src/datadogV1/model/model_notebook_toplist_cell_attributes.rs +++ b/src/datadogV1/model/model_notebook_toplist_cell_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a notebook `toplist` cell. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookToplistCellAttributes { diff --git a/src/datadogV1/model/model_notebook_update_cell.rs b/src/datadogV1/model/model_notebook_update_cell.rs index 5bc570d61..6c82e947f 100644 --- a/src/datadogV1/model/model_notebook_update_cell.rs +++ b/src/datadogV1/model/model_notebook_update_cell.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; /// Updating a notebook can either insert new cell(s) or update existing cell(s) by including the cell `id`. /// To delete existing cell(s), simply omit it from the list of cells. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum NotebookUpdateCell { diff --git a/src/datadogV1/model/model_notebook_update_data.rs b/src/datadogV1/model/model_notebook_update_data.rs index c0813de7d..2680188b1 100644 --- a/src/datadogV1/model/model_notebook_update_data.rs +++ b/src/datadogV1/model/model_notebook_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data for a notebook update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookUpdateData { diff --git a/src/datadogV1/model/model_notebook_update_data_attributes.rs b/src/datadogV1/model/model_notebook_update_data_attributes.rs index 5dd8e7096..a87ca0e6c 100644 --- a/src/datadogV1/model/model_notebook_update_data_attributes.rs +++ b/src/datadogV1/model/model_notebook_update_data_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data attributes of a notebook. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookUpdateDataAttributes { diff --git a/src/datadogV1/model/model_notebook_update_request.rs b/src/datadogV1/model/model_notebook_update_request.rs index a940ab1a2..940a66e2b 100644 --- a/src/datadogV1/model/model_notebook_update_request.rs +++ b/src/datadogV1/model/model_notebook_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The description of a notebook update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebookUpdateRequest { diff --git a/src/datadogV1/model/model_notebooks_response.rs b/src/datadogV1/model/model_notebooks_response.rs index 7860b5803..a94ccbbc7 100644 --- a/src/datadogV1/model/model_notebooks_response.rs +++ b/src/datadogV1/model/model_notebooks_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Notebooks get all response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebooksResponse { diff --git a/src/datadogV1/model/model_notebooks_response_data.rs b/src/datadogV1/model/model_notebooks_response_data.rs index f6db9a750..98e72a97b 100644 --- a/src/datadogV1/model/model_notebooks_response_data.rs +++ b/src/datadogV1/model/model_notebooks_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data for a notebook in get all response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebooksResponseData { diff --git a/src/datadogV1/model/model_notebooks_response_data_attributes.rs b/src/datadogV1/model/model_notebooks_response_data_attributes.rs index c8e0e0791..bb543b9d7 100644 --- a/src/datadogV1/model/model_notebooks_response_data_attributes.rs +++ b/src/datadogV1/model/model_notebooks_response_data_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a notebook in get all response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebooksResponseDataAttributes { diff --git a/src/datadogV1/model/model_notebooks_response_meta.rs b/src/datadogV1/model/model_notebooks_response_meta.rs index 5640ef0cd..bf5584c18 100644 --- a/src/datadogV1/model/model_notebooks_response_meta.rs +++ b/src/datadogV1/model/model_notebooks_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Searches metadata returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebooksResponseMeta { diff --git a/src/datadogV1/model/model_notebooks_response_page.rs b/src/datadogV1/model/model_notebooks_response_page.rs index cf420a32c..11045b065 100644 --- a/src/datadogV1/model/model_notebooks_response_page.rs +++ b/src/datadogV1/model/model_notebooks_response_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination metadata returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NotebooksResponsePage { diff --git a/src/datadogV1/model/model_notify_end_state.rs b/src/datadogV1/model/model_notify_end_state.rs index da939fbf6..141e3d567 100644 --- a/src/datadogV1/model/model_notify_end_state.rs +++ b/src/datadogV1/model/model_notify_end_state.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NotifyEndState { #[serde(rename = "alert")] diff --git a/src/datadogV1/model/model_notify_end_type.rs b/src/datadogV1/model/model_notify_end_type.rs index 4a3dbdb33..f995dfc3d 100644 --- a/src/datadogV1/model/model_notify_end_type.rs +++ b/src/datadogV1/model/model_notify_end_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum NotifyEndType { #[serde(rename = "canceled")] diff --git a/src/datadogV1/model/model_on_missing_data_option.rs b/src/datadogV1/model/model_on_missing_data_option.rs index 13613dc32..43a20532e 100644 --- a/src/datadogV1/model/model_on_missing_data_option.rs +++ b/src/datadogV1/model/model_on_missing_data_option.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum OnMissingDataOption { #[serde(rename = "default")] diff --git a/src/datadogV1/model/model_org_downgraded_response.rs b/src/datadogV1/model/model_org_downgraded_response.rs index 4bfdcf97b..08b8b8e7c 100644 --- a/src/datadogV1/model/model_org_downgraded_response.rs +++ b/src/datadogV1/model/model_org_downgraded_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Status of downgrade +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrgDowngradedResponse { diff --git a/src/datadogV1/model/model_organization.rs b/src/datadogV1/model/model_organization.rs index 184afd05b..32b7866f7 100644 --- a/src/datadogV1/model/model_organization.rs +++ b/src/datadogV1/model/model_organization.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create, edit, and manage organizations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Organization { diff --git a/src/datadogV1/model/model_organization_billing.rs b/src/datadogV1/model/model_organization_billing.rs index 797d97b8c..1c834c8fe 100644 --- a/src/datadogV1/model/model_organization_billing.rs +++ b/src/datadogV1/model/model_organization_billing.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A JSON array of billing type. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationBilling { diff --git a/src/datadogV1/model/model_organization_create_body.rs b/src/datadogV1/model/model_organization_create_body.rs index b1625cb25..863addb72 100644 --- a/src/datadogV1/model/model_organization_create_body.rs +++ b/src/datadogV1/model/model_organization_create_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing an organization to create. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationCreateBody { diff --git a/src/datadogV1/model/model_organization_create_response.rs b/src/datadogV1/model/model_organization_create_response.rs index 4165c62d0..6e46c0c08 100644 --- a/src/datadogV1/model/model_organization_create_response.rs +++ b/src/datadogV1/model/model_organization_create_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object for an organization creation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationCreateResponse { diff --git a/src/datadogV1/model/model_organization_list_response.rs b/src/datadogV1/model/model_organization_list_response.rs index d603b6b55..7b9e7c0cc 100644 --- a/src/datadogV1/model/model_organization_list_response.rs +++ b/src/datadogV1/model/model_organization_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with the list of organizations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationListResponse { diff --git a/src/datadogV1/model/model_organization_response.rs b/src/datadogV1/model/model_organization_response.rs index 045b2a50d..c21e35121 100644 --- a/src/datadogV1/model/model_organization_response.rs +++ b/src/datadogV1/model/model_organization_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with an organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationResponse { diff --git a/src/datadogV1/model/model_organization_settings.rs b/src/datadogV1/model/model_organization_settings.rs index 71a73b137..7b853eefe 100644 --- a/src/datadogV1/model/model_organization_settings.rs +++ b/src/datadogV1/model/model_organization_settings.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A JSON array of settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationSettings { diff --git a/src/datadogV1/model/model_organization_settings_saml.rs b/src/datadogV1/model/model_organization_settings_saml.rs index e2572031d..1e3824eec 100644 --- a/src/datadogV1/model/model_organization_settings_saml.rs +++ b/src/datadogV1/model/model_organization_settings_saml.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Set the boolean property enabled to enable or disable single sign on with SAML. /// See the SAML documentation for more information about all SAML settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationSettingsSaml { diff --git a/src/datadogV1/model/model_organization_settings_saml_autocreate_users_domains.rs b/src/datadogV1/model/model_organization_settings_saml_autocreate_users_domains.rs index 3a7400b03..79bad5ca1 100644 --- a/src/datadogV1/model/model_organization_settings_saml_autocreate_users_domains.rs +++ b/src/datadogV1/model/model_organization_settings_saml_autocreate_users_domains.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Has two properties, `enabled` (boolean) and `domains`, which is a list of domains without the @ symbol. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationSettingsSamlAutocreateUsersDomains { diff --git a/src/datadogV1/model/model_organization_settings_saml_idp_initiated_login.rs b/src/datadogV1/model/model_organization_settings_saml_idp_initiated_login.rs index 5b4df0289..d8b70db1f 100644 --- a/src/datadogV1/model/model_organization_settings_saml_idp_initiated_login.rs +++ b/src/datadogV1/model/model_organization_settings_saml_idp_initiated_login.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Has one property enabled (boolean). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationSettingsSamlIdpInitiatedLogin { diff --git a/src/datadogV1/model/model_organization_settings_saml_strict_mode.rs b/src/datadogV1/model/model_organization_settings_saml_strict_mode.rs index 95ce8e083..cd699996a 100644 --- a/src/datadogV1/model/model_organization_settings_saml_strict_mode.rs +++ b/src/datadogV1/model/model_organization_settings_saml_strict_mode.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Has one property enabled (boolean). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationSettingsSamlStrictMode { diff --git a/src/datadogV1/model/model_organization_subscription.rs b/src/datadogV1/model/model_organization_subscription.rs index dfb867ab6..831779e39 100644 --- a/src/datadogV1/model/model_organization_subscription.rs +++ b/src/datadogV1/model/model_organization_subscription.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Subscription definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationSubscription { diff --git a/src/datadogV1/model/model_pager_duty_service.rs b/src/datadogV1/model/model_pager_duty_service.rs index a4d97649e..d8f73ae2b 100644 --- a/src/datadogV1/model/model_pager_duty_service.rs +++ b/src/datadogV1/model/model_pager_duty_service.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The PagerDuty service that is available for integration with Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PagerDutyService { diff --git a/src/datadogV1/model/model_pager_duty_service_key.rs b/src/datadogV1/model/model_pager_duty_service_key.rs index 32895ad5c..6e756261f 100644 --- a/src/datadogV1/model/model_pager_duty_service_key.rs +++ b/src/datadogV1/model/model_pager_duty_service_key.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// PagerDuty service object key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PagerDutyServiceKey { diff --git a/src/datadogV1/model/model_pager_duty_service_name.rs b/src/datadogV1/model/model_pager_duty_service_name.rs index 1947529f0..39a133643 100644 --- a/src/datadogV1/model/model_pager_duty_service_name.rs +++ b/src/datadogV1/model/model_pager_duty_service_name.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// PagerDuty service object name. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PagerDutyServiceName { diff --git a/src/datadogV1/model/model_pagination.rs b/src/datadogV1/model/model_pagination.rs index e5e97e1e1..b87578072 100644 --- a/src/datadogV1/model/model_pagination.rs +++ b/src/datadogV1/model/model_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Pagination { diff --git a/src/datadogV1/model/model_powerpack_template_variable_contents.rs b/src/datadogV1/model/model_powerpack_template_variable_contents.rs index 75175a3ca..0ddb6105a 100644 --- a/src/datadogV1/model/model_powerpack_template_variable_contents.rs +++ b/src/datadogV1/model/model_powerpack_template_variable_contents.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack template variable contents. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackTemplateVariableContents { diff --git a/src/datadogV1/model/model_powerpack_template_variables.rs b/src/datadogV1/model/model_powerpack_template_variables.rs index 892861427..7c0a6004c 100644 --- a/src/datadogV1/model/model_powerpack_template_variables.rs +++ b/src/datadogV1/model/model_powerpack_template_variables.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack template variables. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackTemplateVariables { diff --git a/src/datadogV1/model/model_powerpack_widget_definition.rs b/src/datadogV1/model/model_powerpack_widget_definition.rs index f59e5eebe..71059def3 100644 --- a/src/datadogV1/model/model_powerpack_widget_definition.rs +++ b/src/datadogV1/model/model_powerpack_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The powerpack widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackWidgetDefinition { diff --git a/src/datadogV1/model/model_powerpack_widget_definition_type.rs b/src/datadogV1/model/model_powerpack_widget_definition_type.rs index f7aea712c..fbd78986f 100644 --- a/src/datadogV1/model/model_powerpack_widget_definition_type.rs +++ b/src/datadogV1/model/model_powerpack_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum PowerpackWidgetDefinitionType { #[serde(rename = "powerpack")] diff --git a/src/datadogV1/model/model_process_query_definition.rs b/src/datadogV1/model/model_process_query_definition.rs index bb8edfabf..f9ebf585e 100644 --- a/src/datadogV1/model/model_process_query_definition.rs +++ b/src/datadogV1/model/model_process_query_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The process query to use in the widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProcessQueryDefinition { diff --git a/src/datadogV1/model/model_query_sort_order.rs b/src/datadogV1/model/model_query_sort_order.rs index ca93f5703..7d458d6f7 100644 --- a/src/datadogV1/model/model_query_sort_order.rs +++ b/src/datadogV1/model/model_query_sort_order.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum QuerySortOrder { #[serde(rename = "asc")] diff --git a/src/datadogV1/model/model_query_value_widget_definition.rs b/src/datadogV1/model/model_query_value_widget_definition.rs index b114a2ac7..673d191d4 100644 --- a/src/datadogV1/model/model_query_value_widget_definition.rs +++ b/src/datadogV1/model/model_query_value_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Query values display the current value of a given metric, APM, or log query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct QueryValueWidgetDefinition { diff --git a/src/datadogV1/model/model_query_value_widget_definition_type.rs b/src/datadogV1/model/model_query_value_widget_definition_type.rs index 4e9e58b67..2c483192d 100644 --- a/src/datadogV1/model/model_query_value_widget_definition_type.rs +++ b/src/datadogV1/model/model_query_value_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum QueryValueWidgetDefinitionType { #[serde(rename = "query_value")] diff --git a/src/datadogV1/model/model_query_value_widget_request.rs b/src/datadogV1/model/model_query_value_widget_request.rs index 0cec9092b..834c71d7b 100644 --- a/src/datadogV1/model/model_query_value_widget_request.rs +++ b/src/datadogV1/model/model_query_value_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated query value widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct QueryValueWidgetRequest { diff --git a/src/datadogV1/model/model_reference_table_logs_lookup_processor.rs b/src/datadogV1/model/model_reference_table_logs_lookup_processor.rs index 64841686b..d24d7fb61 100644 --- a/src/datadogV1/model/model_reference_table_logs_lookup_processor.rs +++ b/src/datadogV1/model/model_reference_table_logs_lookup_processor.rs @@ -11,6 +11,7 @@ use serde_with::skip_serializing_none; /// into a human readable service name. Alternatively, you could also use it to check /// if the MAC address that just attempted to connect to the production /// environment belongs to your list of stolen machines. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ReferenceTableLogsLookupProcessor { diff --git a/src/datadogV1/model/model_response_meta_attributes.rs b/src/datadogV1/model/model_response_meta_attributes.rs index 25f3c261d..6284b2b6e 100644 --- a/src/datadogV1/model/model_response_meta_attributes.rs +++ b/src/datadogV1/model/model_response_meta_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing meta attributes of response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ResponseMetaAttributes { diff --git a/src/datadogV1/model/model_run_workflow_widget_definition.rs b/src/datadogV1/model/model_run_workflow_widget_definition.rs index 164ad19a7..8f424dc3f 100644 --- a/src/datadogV1/model/model_run_workflow_widget_definition.rs +++ b/src/datadogV1/model/model_run_workflow_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Run workflow is widget that allows you to run a workflow from a dashboard. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RunWorkflowWidgetDefinition { diff --git a/src/datadogV1/model/model_run_workflow_widget_definition_type.rs b/src/datadogV1/model/model_run_workflow_widget_definition_type.rs index 8d8e1fcbe..59104cb25 100644 --- a/src/datadogV1/model/model_run_workflow_widget_definition_type.rs +++ b/src/datadogV1/model/model_run_workflow_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RunWorkflowWidgetDefinitionType { #[serde(rename = "run_workflow")] diff --git a/src/datadogV1/model/model_run_workflow_widget_input.rs b/src/datadogV1/model/model_run_workflow_widget_input.rs index d90965217..fe8de0b09 100644 --- a/src/datadogV1/model/model_run_workflow_widget_input.rs +++ b/src/datadogV1/model/model_run_workflow_widget_input.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to map a dashboard template variable to a workflow input. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RunWorkflowWidgetInput { diff --git a/src/datadogV1/model/model_scatter_plot_request.rs b/src/datadogV1/model/model_scatter_plot_request.rs index f7a289293..367da192f 100644 --- a/src/datadogV1/model/model_scatter_plot_request.rs +++ b/src/datadogV1/model/model_scatter_plot_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated scatter plot. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScatterPlotRequest { diff --git a/src/datadogV1/model/model_scatter_plot_widget_definition.rs b/src/datadogV1/model/model_scatter_plot_widget_definition.rs index b77689e45..e782a77f0 100644 --- a/src/datadogV1/model/model_scatter_plot_widget_definition.rs +++ b/src/datadogV1/model/model_scatter_plot_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The scatter plot visualization allows you to graph a chosen scope over two different metrics with their respective aggregation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScatterPlotWidgetDefinition { diff --git a/src/datadogV1/model/model_scatter_plot_widget_definition_requests.rs b/src/datadogV1/model/model_scatter_plot_widget_definition_requests.rs index 7e37013d9..5582850fd 100644 --- a/src/datadogV1/model/model_scatter_plot_widget_definition_requests.rs +++ b/src/datadogV1/model/model_scatter_plot_widget_definition_requests.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Widget definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScatterPlotWidgetDefinitionRequests { diff --git a/src/datadogV1/model/model_scatter_plot_widget_definition_type.rs b/src/datadogV1/model/model_scatter_plot_widget_definition_type.rs index dc54c7dcd..f1a07f15a 100644 --- a/src/datadogV1/model/model_scatter_plot_widget_definition_type.rs +++ b/src/datadogV1/model/model_scatter_plot_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ScatterPlotWidgetDefinitionType { #[serde(rename = "scatterplot")] diff --git a/src/datadogV1/model/model_scatterplot_dimension.rs b/src/datadogV1/model/model_scatterplot_dimension.rs index 78d418877..d280cc58d 100644 --- a/src/datadogV1/model/model_scatterplot_dimension.rs +++ b/src/datadogV1/model/model_scatterplot_dimension.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ScatterplotDimension { #[serde(rename = "x")] diff --git a/src/datadogV1/model/model_scatterplot_table_request.rs b/src/datadogV1/model/model_scatterplot_table_request.rs index 40c9b7810..db78ac1fb 100644 --- a/src/datadogV1/model/model_scatterplot_table_request.rs +++ b/src/datadogV1/model/model_scatterplot_table_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scatterplot request containing formulas and functions. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScatterplotTableRequest { diff --git a/src/datadogV1/model/model_scatterplot_widget_aggregator.rs b/src/datadogV1/model/model_scatterplot_widget_aggregator.rs index 467877193..f0a15bc46 100644 --- a/src/datadogV1/model/model_scatterplot_widget_aggregator.rs +++ b/src/datadogV1/model/model_scatterplot_widget_aggregator.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ScatterplotWidgetAggregator { #[serde(rename = "avg")] diff --git a/src/datadogV1/model/model_scatterplot_widget_formula.rs b/src/datadogV1/model/model_scatterplot_widget_formula.rs index bc6ebc50e..a49d3acf1 100644 --- a/src/datadogV1/model/model_scatterplot_widget_formula.rs +++ b/src/datadogV1/model/model_scatterplot_widget_formula.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Formula to be used in a Scatterplot widget query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScatterplotWidgetFormula { diff --git a/src/datadogV1/model/model_search_service_level_objective.rs b/src/datadogV1/model/model_search_service_level_objective.rs index 6c30b6a49..9146e7779 100644 --- a/src/datadogV1/model/model_search_service_level_objective.rs +++ b/src/datadogV1/model/model_search_service_level_objective.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A service level objective data container. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchServiceLevelObjective { diff --git a/src/datadogV1/model/model_search_service_level_objective_attributes.rs b/src/datadogV1/model/model_search_service_level_objective_attributes.rs index afefa05e8..2f04172fe 100644 --- a/src/datadogV1/model/model_search_service_level_objective_attributes.rs +++ b/src/datadogV1/model/model_search_service_level_objective_attributes.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A service level objective object includes a service level indicator, thresholds /// for one or more timeframes, and metadata (`name`, `description`, and `tags`). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchServiceLevelObjectiveAttributes { diff --git a/src/datadogV1/model/model_search_service_level_objective_data.rs b/src/datadogV1/model/model_search_service_level_objective_data.rs index d4d0f08e5..67fbccea9 100644 --- a/src/datadogV1/model/model_search_service_level_objective_data.rs +++ b/src/datadogV1/model/model_search_service_level_objective_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A service level objective ID and attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchServiceLevelObjectiveData { diff --git a/src/datadogV1/model/model_search_slo_query.rs b/src/datadogV1/model/model_search_slo_query.rs index 0a4767771..94420f2f3 100644 --- a/src/datadogV1/model/model_search_slo_query.rs +++ b/src/datadogV1/model/model_search_slo_query.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// A metric-based SLO. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator /// to be used because this will sum up all request counts instead of averaging them, or taking the max or /// min of all of those requests. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOQuery { diff --git a/src/datadogV1/model/model_search_slo_response.rs b/src/datadogV1/model/model_search_slo_response.rs index 6b9ac65c4..e2f04549f 100644 --- a/src/datadogV1/model/model_search_slo_response.rs +++ b/src/datadogV1/model/model_search_slo_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A search SLO response containing results from the search query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponse { diff --git a/src/datadogV1/model/model_search_slo_response_data.rs b/src/datadogV1/model/model_search_slo_response_data.rs index a3747f59f..e74a1b1e9 100644 --- a/src/datadogV1/model/model_search_slo_response_data.rs +++ b/src/datadogV1/model/model_search_slo_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data from search SLO response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponseData { diff --git a/src/datadogV1/model/model_search_slo_response_data_attributes.rs b/src/datadogV1/model/model_search_slo_response_data_attributes.rs index 21aee476b..bd08e3859 100644 --- a/src/datadogV1/model/model_search_slo_response_data_attributes.rs +++ b/src/datadogV1/model/model_search_slo_response_data_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponseDataAttributes { diff --git a/src/datadogV1/model/model_search_slo_response_data_attributes_facets.rs b/src/datadogV1/model/model_search_slo_response_data_attributes_facets.rs index 1f849320f..02b7881cf 100644 --- a/src/datadogV1/model/model_search_slo_response_data_attributes_facets.rs +++ b/src/datadogV1/model/model_search_slo_response_data_attributes_facets.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Facets +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponseDataAttributesFacets { diff --git a/src/datadogV1/model/model_search_slo_response_data_attributes_facets_object_int.rs b/src/datadogV1/model/model_search_slo_response_data_attributes_facets_object_int.rs index 4d8f280de..afc173fdc 100644 --- a/src/datadogV1/model/model_search_slo_response_data_attributes_facets_object_int.rs +++ b/src/datadogV1/model/model_search_slo_response_data_attributes_facets_object_int.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Facet +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponseDataAttributesFacetsObjectInt { diff --git a/src/datadogV1/model/model_search_slo_response_data_attributes_facets_object_string.rs b/src/datadogV1/model/model_search_slo_response_data_attributes_facets_object_string.rs index 79d94306a..be6305bf0 100644 --- a/src/datadogV1/model/model_search_slo_response_data_attributes_facets_object_string.rs +++ b/src/datadogV1/model/model_search_slo_response_data_attributes_facets_object_string.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Facet +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponseDataAttributesFacetsObjectString { diff --git a/src/datadogV1/model/model_search_slo_response_links.rs b/src/datadogV1/model/model_search_slo_response_links.rs index 2dad89362..a59fb85f7 100644 --- a/src/datadogV1/model/model_search_slo_response_links.rs +++ b/src/datadogV1/model/model_search_slo_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination links. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponseLinks { diff --git a/src/datadogV1/model/model_search_slo_response_meta.rs b/src/datadogV1/model/model_search_slo_response_meta.rs index d3dfad7a9..df06740f6 100644 --- a/src/datadogV1/model/model_search_slo_response_meta.rs +++ b/src/datadogV1/model/model_search_slo_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Searches metadata returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponseMeta { diff --git a/src/datadogV1/model/model_search_slo_response_meta_page.rs b/src/datadogV1/model/model_search_slo_response_meta_page.rs index b817aebee..a73e812b7 100644 --- a/src/datadogV1/model/model_search_slo_response_meta_page.rs +++ b/src/datadogV1/model/model_search_slo_response_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination metadata returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOResponseMetaPage { diff --git a/src/datadogV1/model/model_search_slo_threshold.rs b/src/datadogV1/model/model_search_slo_threshold.rs index 9cf193b68..577a92df9 100644 --- a/src/datadogV1/model/model_search_slo_threshold.rs +++ b/src/datadogV1/model/model_search_slo_threshold.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// SLO thresholds (target and optionally warning) for a single time window. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSLOThreshold { diff --git a/src/datadogV1/model/model_search_slo_timeframe.rs b/src/datadogV1/model/model_search_slo_timeframe.rs index 5710464c3..8f6cadacb 100644 --- a/src/datadogV1/model/model_search_slo_timeframe.rs +++ b/src/datadogV1/model/model_search_slo_timeframe.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SearchSLOTimeframe { #[serde(rename = "7d")] diff --git a/src/datadogV1/model/model_selectable_template_variable_items.rs b/src/datadogV1/model/model_selectable_template_variable_items.rs index d19b55237..52705df8c 100644 --- a/src/datadogV1/model/model_selectable_template_variable_items.rs +++ b/src/datadogV1/model/model_selectable_template_variable_items.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the template variable's name, associated tag/attribute, default value and selectable values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SelectableTemplateVariableItems { diff --git a/src/datadogV1/model/model_series.rs b/src/datadogV1/model/model_series.rs index 7119fda5e..12f4f72c9 100644 --- a/src/datadogV1/model/model_series.rs +++ b/src/datadogV1/model/model_series.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A metric to submit to Datadog. /// See [Datadog metrics](). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Series { diff --git a/src/datadogV1/model/model_service_check.rs b/src/datadogV1/model/model_service_check.rs index b4027a3ec..62aeb4646 100644 --- a/src/datadogV1/model/model_service_check.rs +++ b/src/datadogV1/model/model_service_check.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object containing service check and status. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceCheck { diff --git a/src/datadogV1/model/model_service_check_status.rs b/src/datadogV1/model/model_service_check_status.rs index 3624a8bc7..b23931e6e 100644 --- a/src/datadogV1/model/model_service_check_status.rs +++ b/src/datadogV1/model/model_service_check_status.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV1/model/model_service_level_objective.rs b/src/datadogV1/model/model_service_level_objective.rs index 5be0353d5..fcb8cdf36 100644 --- a/src/datadogV1/model/model_service_level_objective.rs +++ b/src/datadogV1/model/model_service_level_objective.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A service level objective object includes a service level indicator, thresholds /// for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceLevelObjective { diff --git a/src/datadogV1/model/model_service_level_objective_query.rs b/src/datadogV1/model/model_service_level_objective_query.rs index 225f08e4a..a3e6aa81c 100644 --- a/src/datadogV1/model/model_service_level_objective_query.rs +++ b/src/datadogV1/model/model_service_level_objective_query.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// A metric-based SLO. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator /// to be used because this will sum up all request counts instead of averaging them, or taking the max or /// min of all of those requests. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceLevelObjectiveQuery { diff --git a/src/datadogV1/model/model_service_level_objective_request.rs b/src/datadogV1/model/model_service_level_objective_request.rs index c4982d13d..933cd24df 100644 --- a/src/datadogV1/model/model_service_level_objective_request.rs +++ b/src/datadogV1/model/model_service_level_objective_request.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A service level objective object includes a service level indicator, thresholds /// for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceLevelObjectiveRequest { diff --git a/src/datadogV1/model/model_service_map_widget_definition.rs b/src/datadogV1/model/model_service_map_widget_definition.rs index 18651ee06..97d7a6de9 100644 --- a/src/datadogV1/model/model_service_map_widget_definition.rs +++ b/src/datadogV1/model/model_service_map_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// This widget displays a map of a service to all of the services that call it, and all of the services that it calls. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceMapWidgetDefinition { diff --git a/src/datadogV1/model/model_service_map_widget_definition_type.rs b/src/datadogV1/model/model_service_map_widget_definition_type.rs index 40423c0e3..b503b7df5 100644 --- a/src/datadogV1/model/model_service_map_widget_definition_type.rs +++ b/src/datadogV1/model/model_service_map_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceMapWidgetDefinitionType { #[serde(rename = "servicemap")] diff --git a/src/datadogV1/model/model_service_summary_widget_definition.rs b/src/datadogV1/model/model_service_summary_widget_definition.rs index b3d226326..293951977 100644 --- a/src/datadogV1/model/model_service_summary_widget_definition.rs +++ b/src/datadogV1/model/model_service_summary_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceSummaryWidgetDefinition { diff --git a/src/datadogV1/model/model_service_summary_widget_definition_type.rs b/src/datadogV1/model/model_service_summary_widget_definition_type.rs index a82fda619..ed12a8489 100644 --- a/src/datadogV1/model/model_service_summary_widget_definition_type.rs +++ b/src/datadogV1/model/model_service_summary_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceSummaryWidgetDefinitionType { #[serde(rename = "trace_service")] diff --git a/src/datadogV1/model/model_shared_dashboard.rs b/src/datadogV1/model/model_shared_dashboard.rs index 0b6e52716..16bf4bf69 100644 --- a/src/datadogV1/model/model_shared_dashboard.rs +++ b/src/datadogV1/model/model_shared_dashboard.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata object associated with how a dashboard has been/will be shared. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboard { diff --git a/src/datadogV1/model/model_shared_dashboard_author.rs b/src/datadogV1/model/model_shared_dashboard_author.rs index 9f8ed9540..379094fd7 100644 --- a/src/datadogV1/model/model_shared_dashboard_author.rs +++ b/src/datadogV1/model/model_shared_dashboard_author.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// User who shared the dashboard. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboardAuthor { diff --git a/src/datadogV1/model/model_shared_dashboard_invites.rs b/src/datadogV1/model/model_shared_dashboard_invites.rs index 52cca47e5..1a50a6564 100644 --- a/src/datadogV1/model/model_shared_dashboard_invites.rs +++ b/src/datadogV1/model/model_shared_dashboard_invites.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Invitations data and metadata that exists for a shared dashboard returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboardInvites { diff --git a/src/datadogV1/model/model_shared_dashboard_invites_data.rs b/src/datadogV1/model/model_shared_dashboard_invites_data.rs index 3ee00d5e8..92dc7d46c 100644 --- a/src/datadogV1/model/model_shared_dashboard_invites_data.rs +++ b/src/datadogV1/model/model_shared_dashboard_invites_data.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object or list of objects containing the information for an invitation to a shared dashboard. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SharedDashboardInvitesData { diff --git a/src/datadogV1/model/model_shared_dashboard_invites_data_object.rs b/src/datadogV1/model/model_shared_dashboard_invites_data_object.rs index b93c09844..283288d8c 100644 --- a/src/datadogV1/model/model_shared_dashboard_invites_data_object.rs +++ b/src/datadogV1/model/model_shared_dashboard_invites_data_object.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the information for an invitation to a shared dashboard. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboardInvitesDataObject { diff --git a/src/datadogV1/model/model_shared_dashboard_invites_data_object_attributes.rs b/src/datadogV1/model/model_shared_dashboard_invites_data_object_attributes.rs index 7e45f5a7a..d6c58af08 100644 --- a/src/datadogV1/model/model_shared_dashboard_invites_data_object_attributes.rs +++ b/src/datadogV1/model/model_shared_dashboard_invites_data_object_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the shared dashboard invitation +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboardInvitesDataObjectAttributes { diff --git a/src/datadogV1/model/model_shared_dashboard_invites_meta.rs b/src/datadogV1/model/model_shared_dashboard_invites_meta.rs index f4e9fbe04..9012e5560 100644 --- a/src/datadogV1/model/model_shared_dashboard_invites_meta.rs +++ b/src/datadogV1/model/model_shared_dashboard_invites_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination metadata returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboardInvitesMeta { diff --git a/src/datadogV1/model/model_shared_dashboard_invites_meta_page.rs b/src/datadogV1/model/model_shared_dashboard_invites_meta_page.rs index cc2b35082..9091c61cc 100644 --- a/src/datadogV1/model/model_shared_dashboard_invites_meta_page.rs +++ b/src/datadogV1/model/model_shared_dashboard_invites_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the total count of invitations across all pages +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboardInvitesMetaPage { diff --git a/src/datadogV1/model/model_shared_dashboard_update_request.rs b/src/datadogV1/model/model_shared_dashboard_update_request.rs index dd48ab143..982741e15 100644 --- a/src/datadogV1/model/model_shared_dashboard_update_request.rs +++ b/src/datadogV1/model/model_shared_dashboard_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update a shared dashboard's settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboardUpdateRequest { diff --git a/src/datadogV1/model/model_shared_dashboard_update_request_global_time.rs b/src/datadogV1/model/model_shared_dashboard_update_request_global_time.rs index 19ec65f9e..5455005fa 100644 --- a/src/datadogV1/model/model_shared_dashboard_update_request_global_time.rs +++ b/src/datadogV1/model/model_shared_dashboard_update_request_global_time.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Timeframe setting for the shared dashboard. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SharedDashboardUpdateRequestGlobalTime { diff --git a/src/datadogV1/model/model_signal_archive_reason.rs b/src/datadogV1/model/model_signal_archive_reason.rs index 05ee3702a..7f629e6ad 100644 --- a/src/datadogV1/model/model_signal_archive_reason.rs +++ b/src/datadogV1/model/model_signal_archive_reason.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SignalArchiveReason { #[serde(rename = "none")] diff --git a/src/datadogV1/model/model_signal_assignee_update_request.rs b/src/datadogV1/model/model_signal_assignee_update_request.rs index db556d0c9..72afe6f26 100644 --- a/src/datadogV1/model/model_signal_assignee_update_request.rs +++ b/src/datadogV1/model/model_signal_assignee_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes describing an assignee update operation over a security signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SignalAssigneeUpdateRequest { diff --git a/src/datadogV1/model/model_signal_state_update_request.rs b/src/datadogV1/model/model_signal_state_update_request.rs index 29e15bb5c..b48a9a192 100644 --- a/src/datadogV1/model/model_signal_state_update_request.rs +++ b/src/datadogV1/model/model_signal_state_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes describing the change of state for a given state. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SignalStateUpdateRequest { diff --git a/src/datadogV1/model/model_signal_triage_state.rs b/src/datadogV1/model/model_signal_triage_state.rs index a0672106a..45fe2d9d8 100644 --- a/src/datadogV1/model/model_signal_triage_state.rs +++ b/src/datadogV1/model/model_signal_triage_state.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SignalTriageState { #[serde(rename = "open")] diff --git a/src/datadogV1/model/model_slack_integration_channel.rs b/src/datadogV1/model/model_slack_integration_channel.rs index 4397f7ef7..e45a2e122 100644 --- a/src/datadogV1/model/model_slack_integration_channel.rs +++ b/src/datadogV1/model/model_slack_integration_channel.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Slack channel configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SlackIntegrationChannel { diff --git a/src/datadogV1/model/model_slack_integration_channel_display.rs b/src/datadogV1/model/model_slack_integration_channel_display.rs index 34841198b..638935468 100644 --- a/src/datadogV1/model/model_slack_integration_channel_display.rs +++ b/src/datadogV1/model/model_slack_integration_channel_display.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration options for what is shown in an alert event message. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SlackIntegrationChannelDisplay { diff --git a/src/datadogV1/model/model_slo_bulk_delete_error.rs b/src/datadogV1/model/model_slo_bulk_delete_error.rs index 71320070f..8607a27f0 100644 --- a/src/datadogV1/model/model_slo_bulk_delete_error.rs +++ b/src/datadogV1/model/model_slo_bulk_delete_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the error. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOBulkDeleteError { diff --git a/src/datadogV1/model/model_slo_bulk_delete_response.rs b/src/datadogV1/model/model_slo_bulk_delete_response.rs index 4905b531f..a443259f0 100644 --- a/src/datadogV1/model/model_slo_bulk_delete_response.rs +++ b/src/datadogV1/model/model_slo_bulk_delete_response.rs @@ -10,6 +10,7 @@ use serde_with::skip_serializing_none; /// This endpoint operates on multiple service level objective objects, so /// it may be partially successful. In such cases, the "data" and "error" /// fields in this response indicate which deletions succeeded and failed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOBulkDeleteResponse { diff --git a/src/datadogV1/model/model_slo_bulk_delete_response_data.rs b/src/datadogV1/model/model_slo_bulk_delete_response_data.rs index 7fd6c20f6..1d3b9e335 100644 --- a/src/datadogV1/model/model_slo_bulk_delete_response_data.rs +++ b/src/datadogV1/model/model_slo_bulk_delete_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An array of service level objective objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOBulkDeleteResponseData { diff --git a/src/datadogV1/model/model_slo_correction.rs b/src/datadogV1/model/model_slo_correction.rs index d31e34b7e..fdfe4429f 100644 --- a/src/datadogV1/model/model_slo_correction.rs +++ b/src/datadogV1/model/model_slo_correction.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object of a list of SLO corrections. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrection { diff --git a/src/datadogV1/model/model_slo_correction_category.rs b/src/datadogV1/model/model_slo_correction_category.rs index c4a07bc07..41b6113d8 100644 --- a/src/datadogV1/model/model_slo_correction_category.rs +++ b/src/datadogV1/model/model_slo_correction_category.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOCorrectionCategory { #[serde(rename = "Scheduled Maintenance")] diff --git a/src/datadogV1/model/model_slo_correction_create_data.rs b/src/datadogV1/model/model_slo_correction_create_data.rs index 7f8e8cd63..945a46b54 100644 --- a/src/datadogV1/model/model_slo_correction_create_data.rs +++ b/src/datadogV1/model/model_slo_correction_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data object associated with the SLO correction to be created. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionCreateData { diff --git a/src/datadogV1/model/model_slo_correction_create_request.rs b/src/datadogV1/model/model_slo_correction_create_request.rs index 1c90dfe33..550ff38a7 100644 --- a/src/datadogV1/model/model_slo_correction_create_request.rs +++ b/src/datadogV1/model/model_slo_correction_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object that defines a correction to be applied to an SLO. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionCreateRequest { diff --git a/src/datadogV1/model/model_slo_correction_create_request_attributes.rs b/src/datadogV1/model/model_slo_correction_create_request_attributes.rs index 0b8dd4061..cfa10a510 100644 --- a/src/datadogV1/model/model_slo_correction_create_request_attributes.rs +++ b/src/datadogV1/model/model_slo_correction_create_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attribute object associated with the SLO correction to be created. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionCreateRequestAttributes { diff --git a/src/datadogV1/model/model_slo_correction_list_response.rs b/src/datadogV1/model/model_slo_correction_list_response.rs index 97a349b47..3ce2ce7a6 100644 --- a/src/datadogV1/model/model_slo_correction_list_response.rs +++ b/src/datadogV1/model/model_slo_correction_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A list of SLO correction objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionListResponse { diff --git a/src/datadogV1/model/model_slo_correction_response.rs b/src/datadogV1/model/model_slo_correction_response.rs index 4571a6abd..37fc7223a 100644 --- a/src/datadogV1/model/model_slo_correction_response.rs +++ b/src/datadogV1/model/model_slo_correction_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object of an SLO correction. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionResponse { diff --git a/src/datadogV1/model/model_slo_correction_response_attributes.rs b/src/datadogV1/model/model_slo_correction_response_attributes.rs index 9a6f5e58f..5cabeed1e 100644 --- a/src/datadogV1/model/model_slo_correction_response_attributes.rs +++ b/src/datadogV1/model/model_slo_correction_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attribute object associated with the SLO correction. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionResponseAttributes { diff --git a/src/datadogV1/model/model_slo_correction_response_attributes_modifier.rs b/src/datadogV1/model/model_slo_correction_response_attributes_modifier.rs index edc508b00..a527e8920 100644 --- a/src/datadogV1/model/model_slo_correction_response_attributes_modifier.rs +++ b/src/datadogV1/model/model_slo_correction_response_attributes_modifier.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Modifier of the object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionResponseAttributesModifier { diff --git a/src/datadogV1/model/model_slo_correction_type.rs b/src/datadogV1/model/model_slo_correction_type.rs index 92c40c920..6ab09e30c 100644 --- a/src/datadogV1/model/model_slo_correction_type.rs +++ b/src/datadogV1/model/model_slo_correction_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOCorrectionType { #[serde(rename = "correction")] diff --git a/src/datadogV1/model/model_slo_correction_update_data.rs b/src/datadogV1/model/model_slo_correction_update_data.rs index e47e4e5f6..2576abf56 100644 --- a/src/datadogV1/model/model_slo_correction_update_data.rs +++ b/src/datadogV1/model/model_slo_correction_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data object associated with the SLO correction to be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionUpdateData { diff --git a/src/datadogV1/model/model_slo_correction_update_request.rs b/src/datadogV1/model/model_slo_correction_update_request.rs index 019fde484..b69c11657 100644 --- a/src/datadogV1/model/model_slo_correction_update_request.rs +++ b/src/datadogV1/model/model_slo_correction_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object that defines a correction to be applied to an SLO. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionUpdateRequest { diff --git a/src/datadogV1/model/model_slo_correction_update_request_attributes.rs b/src/datadogV1/model/model_slo_correction_update_request_attributes.rs index 8a970d09c..8c1cd38ec 100644 --- a/src/datadogV1/model/model_slo_correction_update_request_attributes.rs +++ b/src/datadogV1/model/model_slo_correction_update_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attribute object associated with the SLO correction to be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCorrectionUpdateRequestAttributes { diff --git a/src/datadogV1/model/model_slo_creator.rs b/src/datadogV1/model/model_slo_creator.rs index fe5d63f6e..33ad67e54 100644 --- a/src/datadogV1/model/model_slo_creator.rs +++ b/src/datadogV1/model/model_slo_creator.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The creator of the SLO +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOCreator { diff --git a/src/datadogV1/model/model_slo_delete_response.rs b/src/datadogV1/model/model_slo_delete_response.rs index c70746228..6cd9862ab 100644 --- a/src/datadogV1/model/model_slo_delete_response.rs +++ b/src/datadogV1/model/model_slo_delete_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A response list of all service level objective deleted. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLODeleteResponse { diff --git a/src/datadogV1/model/model_slo_error_timeframe.rs b/src/datadogV1/model/model_slo_error_timeframe.rs index 19c1074e0..924bee968 100644 --- a/src/datadogV1/model/model_slo_error_timeframe.rs +++ b/src/datadogV1/model/model_slo_error_timeframe.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOErrorTimeframe { #[serde(rename = "7d")] diff --git a/src/datadogV1/model/model_slo_history_metrics.rs b/src/datadogV1/model/model_slo_history_metrics.rs index d6fab6d97..1249f93b3 100644 --- a/src/datadogV1/model/model_slo_history_metrics.rs +++ b/src/datadogV1/model/model_slo_history_metrics.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// A `metric` based SLO history response. /// /// This is not included in responses for `monitor` based SLOs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryMetrics { diff --git a/src/datadogV1/model/model_slo_history_metrics_series.rs b/src/datadogV1/model/model_slo_history_metrics_series.rs index d644f222e..42d889dd1 100644 --- a/src/datadogV1/model/model_slo_history_metrics_series.rs +++ b/src/datadogV1/model/model_slo_history_metrics_series.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A representation of `metric` based SLO time series for the provided queries. /// This is the same response type from `batch_query` endpoint. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryMetricsSeries { diff --git a/src/datadogV1/model/model_slo_history_metrics_series_metadata.rs b/src/datadogV1/model/model_slo_history_metrics_series_metadata.rs index 3fcd14b01..aceb5afc6 100644 --- a/src/datadogV1/model/model_slo_history_metrics_series_metadata.rs +++ b/src/datadogV1/model/model_slo_history_metrics_series_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Query metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryMetricsSeriesMetadata { diff --git a/src/datadogV1/model/model_slo_history_metrics_series_metadata_unit.rs b/src/datadogV1/model/model_slo_history_metrics_series_metadata_unit.rs index c2e031109..bfd0d22ac 100644 --- a/src/datadogV1/model/model_slo_history_metrics_series_metadata_unit.rs +++ b/src/datadogV1/model/model_slo_history_metrics_series_metadata_unit.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An Object of metric units. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryMetricsSeriesMetadataUnit { diff --git a/src/datadogV1/model/model_slo_history_monitor.rs b/src/datadogV1/model/model_slo_history_monitor.rs index 319758a0c..e5a9f8d32 100644 --- a/src/datadogV1/model/model_slo_history_monitor.rs +++ b/src/datadogV1/model/model_slo_history_monitor.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. /// This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryMonitor { diff --git a/src/datadogV1/model/model_slo_history_response.rs b/src/datadogV1/model/model_slo_history_response.rs index 34164671a..c6db76aca 100644 --- a/src/datadogV1/model/model_slo_history_response.rs +++ b/src/datadogV1/model/model_slo_history_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A service level objective history response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryResponse { diff --git a/src/datadogV1/model/model_slo_history_response_data.rs b/src/datadogV1/model/model_slo_history_response_data.rs index cfd8cf675..ef6aec1c1 100644 --- a/src/datadogV1/model/model_slo_history_response_data.rs +++ b/src/datadogV1/model/model_slo_history_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An array of service level objective objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryResponseData { diff --git a/src/datadogV1/model/model_slo_history_response_error.rs b/src/datadogV1/model/model_slo_history_response_error.rs index ab67236b3..bd59569db 100644 --- a/src/datadogV1/model/model_slo_history_response_error.rs +++ b/src/datadogV1/model/model_slo_history_response_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A list of errors while querying the history data for the service level objective. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryResponseError { diff --git a/src/datadogV1/model/model_slo_history_response_error_with_type.rs b/src/datadogV1/model/model_slo_history_response_error_with_type.rs index 3a3d93e8b..46ae9c9b5 100644 --- a/src/datadogV1/model/model_slo_history_response_error_with_type.rs +++ b/src/datadogV1/model/model_slo_history_response_error_with_type.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object describing the error with error type and error message. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistoryResponseErrorWithType { diff --git a/src/datadogV1/model/model_slo_history_sli_data.rs b/src/datadogV1/model/model_slo_history_sli_data.rs index c408b3adb..1d20a9e91 100644 --- a/src/datadogV1/model/model_slo_history_sli_data.rs +++ b/src/datadogV1/model/model_slo_history_sli_data.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. /// This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOHistorySLIData { diff --git a/src/datadogV1/model/model_slo_list_response.rs b/src/datadogV1/model/model_slo_list_response.rs index 25b81fa3a..4743ec709 100644 --- a/src/datadogV1/model/model_slo_list_response.rs +++ b/src/datadogV1/model/model_slo_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A response with one or more service level objective. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOListResponse { diff --git a/src/datadogV1/model/model_slo_list_response_metadata.rs b/src/datadogV1/model/model_slo_list_response_metadata.rs index 72462533e..f7e67fdf3 100644 --- a/src/datadogV1/model/model_slo_list_response_metadata.rs +++ b/src/datadogV1/model/model_slo_list_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata object containing additional information about the list of SLOs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOListResponseMetadata { diff --git a/src/datadogV1/model/model_slo_list_response_metadata_page.rs b/src/datadogV1/model/model_slo_list_response_metadata_page.rs index 9c7ed9d38..65212df6c 100644 --- a/src/datadogV1/model/model_slo_list_response_metadata_page.rs +++ b/src/datadogV1/model/model_slo_list_response_metadata_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing information about the pages of the list of SLOs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOListResponseMetadataPage { diff --git a/src/datadogV1/model/model_slo_list_widget_definition.rs b/src/datadogV1/model/model_slo_list_widget_definition.rs index b13eeded0..183053969 100644 --- a/src/datadogV1/model/model_slo_list_widget_definition.rs +++ b/src/datadogV1/model/model_slo_list_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Use the SLO List widget to track your SLOs (Service Level Objectives) on dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOListWidgetDefinition { diff --git a/src/datadogV1/model/model_slo_list_widget_definition_type.rs b/src/datadogV1/model/model_slo_list_widget_definition_type.rs index 9d550aa6c..6ae7fa77d 100644 --- a/src/datadogV1/model/model_slo_list_widget_definition_type.rs +++ b/src/datadogV1/model/model_slo_list_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOListWidgetDefinitionType { #[serde(rename = "slo_list")] diff --git a/src/datadogV1/model/model_slo_list_widget_query.rs b/src/datadogV1/model/model_slo_list_widget_query.rs index adc5f858b..ab5d83146 100644 --- a/src/datadogV1/model/model_slo_list_widget_query.rs +++ b/src/datadogV1/model/model_slo_list_widget_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated SLO List widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOListWidgetQuery { diff --git a/src/datadogV1/model/model_slo_list_widget_request.rs b/src/datadogV1/model/model_slo_list_widget_request.rs index 099658ee5..27aad196b 100644 --- a/src/datadogV1/model/model_slo_list_widget_request.rs +++ b/src/datadogV1/model/model_slo_list_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated SLO List widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOListWidgetRequest { diff --git a/src/datadogV1/model/model_slo_list_widget_request_type.rs b/src/datadogV1/model/model_slo_list_widget_request_type.rs index ea68f2687..703cf9730 100644 --- a/src/datadogV1/model/model_slo_list_widget_request_type.rs +++ b/src/datadogV1/model/model_slo_list_widget_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOListWidgetRequestType { #[serde(rename = "slo_list")] diff --git a/src/datadogV1/model/model_slo_overall_statuses.rs b/src/datadogV1/model/model_slo_overall_statuses.rs index 0dead8824..36ae19750 100644 --- a/src/datadogV1/model/model_slo_overall_statuses.rs +++ b/src/datadogV1/model/model_slo_overall_statuses.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Overall status of the SLO by timeframes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOOverallStatuses { diff --git a/src/datadogV1/model/model_slo_raw_error_budget_remaining.rs b/src/datadogV1/model/model_slo_raw_error_budget_remaining.rs index 6b3282d16..82a4f9082 100644 --- a/src/datadogV1/model/model_slo_raw_error_budget_remaining.rs +++ b/src/datadogV1/model/model_slo_raw_error_budget_remaining.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Error budget remaining for an SLO. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLORawErrorBudgetRemaining { diff --git a/src/datadogV1/model/model_slo_response.rs b/src/datadogV1/model/model_slo_response.rs index cb828856a..e7958f400 100644 --- a/src/datadogV1/model/model_slo_response.rs +++ b/src/datadogV1/model/model_slo_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A service level objective response containing a single service level objective. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOResponse { diff --git a/src/datadogV1/model/model_slo_response_data.rs b/src/datadogV1/model/model_slo_response_data.rs index 5b3bd168a..adab7056b 100644 --- a/src/datadogV1/model/model_slo_response_data.rs +++ b/src/datadogV1/model/model_slo_response_data.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A service level objective object includes a service level indicator, thresholds /// for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOResponseData { diff --git a/src/datadogV1/model/model_slo_state.rs b/src/datadogV1/model/model_slo_state.rs index ebfa2ec69..876ee95e9 100644 --- a/src/datadogV1/model/model_slo_state.rs +++ b/src/datadogV1/model/model_slo_state.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOState { #[serde(rename = "breached")] diff --git a/src/datadogV1/model/model_slo_status.rs b/src/datadogV1/model/model_slo_status.rs index 0180ef155..1ca45df84 100644 --- a/src/datadogV1/model/model_slo_status.rs +++ b/src/datadogV1/model/model_slo_status.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Status of the SLO's primary timeframe. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOStatus { diff --git a/src/datadogV1/model/model_slo_threshold.rs b/src/datadogV1/model/model_slo_threshold.rs index 72f00067b..3f1c7888b 100644 --- a/src/datadogV1/model/model_slo_threshold.rs +++ b/src/datadogV1/model/model_slo_threshold.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// SLO thresholds (target and optionally warning) for a single time window. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOThreshold { diff --git a/src/datadogV1/model/model_slo_timeframe.rs b/src/datadogV1/model/model_slo_timeframe.rs index c3e89eeaf..5c882332f 100644 --- a/src/datadogV1/model/model_slo_timeframe.rs +++ b/src/datadogV1/model/model_slo_timeframe.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOTimeframe { #[serde(rename = "7d")] diff --git a/src/datadogV1/model/model_slo_type.rs b/src/datadogV1/model/model_slo_type.rs index 50722d129..481ced4f1 100644 --- a/src/datadogV1/model/model_slo_type.rs +++ b/src/datadogV1/model/model_slo_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOType { #[serde(rename = "metric")] diff --git a/src/datadogV1/model/model_slo_type_numeric.rs b/src/datadogV1/model/model_slo_type_numeric.rs index 2303caacb..011eb19b2 100644 --- a/src/datadogV1/model/model_slo_type_numeric.rs +++ b/src/datadogV1/model/model_slo_type_numeric.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV1/model/model_slo_widget_definition.rs b/src/datadogV1/model/model_slo_widget_definition.rs index 2676b5014..534fc0fb1 100644 --- a/src/datadogV1/model/model_slo_widget_definition.rs +++ b/src/datadogV1/model/model_slo_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SLOWidgetDefinition { diff --git a/src/datadogV1/model/model_slo_widget_definition_type.rs b/src/datadogV1/model/model_slo_widget_definition_type.rs index 94f3ca421..6787b5b97 100644 --- a/src/datadogV1/model/model_slo_widget_definition_type.rs +++ b/src/datadogV1/model/model_slo_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SLOWidgetDefinitionType { #[serde(rename = "slo")] diff --git a/src/datadogV1/model/model_split_config.rs b/src/datadogV1/model/model_split_config.rs index e2bb0c0df..2157c697f 100644 --- a/src/datadogV1/model/model_split_config.rs +++ b/src/datadogV1/model/model_split_config.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Encapsulates all user choices about how to split a graph. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SplitConfig { diff --git a/src/datadogV1/model/model_split_config_sort_compute.rs b/src/datadogV1/model/model_split_config_sort_compute.rs index 76363d12b..a637d0809 100644 --- a/src/datadogV1/model/model_split_config_sort_compute.rs +++ b/src/datadogV1/model/model_split_config_sort_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Defines the metric and aggregation used as the sort value. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SplitConfigSortCompute { diff --git a/src/datadogV1/model/model_split_dimension.rs b/src/datadogV1/model/model_split_dimension.rs index 21b8001ab..dbfa653be 100644 --- a/src/datadogV1/model/model_split_dimension.rs +++ b/src/datadogV1/model/model_split_dimension.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The property by which the graph splits +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SplitDimension { diff --git a/src/datadogV1/model/model_split_graph_source_widget_definition.rs b/src/datadogV1/model/model_split_graph_source_widget_definition.rs index a80777657..6e8879bef 100644 --- a/src/datadogV1/model/model_split_graph_source_widget_definition.rs +++ b/src/datadogV1/model/model_split_graph_source_widget_definition.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// The original widget we are splitting on. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SplitGraphSourceWidgetDefinition { diff --git a/src/datadogV1/model/model_split_graph_viz_size.rs b/src/datadogV1/model/model_split_graph_viz_size.rs index edd481b54..23bcb84f6 100644 --- a/src/datadogV1/model/model_split_graph_viz_size.rs +++ b/src/datadogV1/model/model_split_graph_viz_size.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SplitGraphVizSize { #[serde(rename = "xs")] diff --git a/src/datadogV1/model/model_split_graph_widget_definition.rs b/src/datadogV1/model/model_split_graph_widget_definition.rs index 5486b48fe..26cffa51c 100644 --- a/src/datadogV1/model/model_split_graph_widget_definition.rs +++ b/src/datadogV1/model/model_split_graph_widget_definition.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The split graph widget allows you to create repeating units of a graph - one for each value in a group (for example: one per service) /// +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SplitGraphWidgetDefinition { diff --git a/src/datadogV1/model/model_split_graph_widget_definition_type.rs b/src/datadogV1/model/model_split_graph_widget_definition_type.rs index 763e55baf..31aae3d13 100644 --- a/src/datadogV1/model/model_split_graph_widget_definition_type.rs +++ b/src/datadogV1/model/model_split_graph_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SplitGraphWidgetDefinitionType { #[serde(rename = "split_group")] diff --git a/src/datadogV1/model/model_split_sort.rs b/src/datadogV1/model/model_split_sort.rs index 928c694d3..e203c834b 100644 --- a/src/datadogV1/model/model_split_sort.rs +++ b/src/datadogV1/model/model_split_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Controls the order in which graphs appear in the split. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SplitSort { diff --git a/src/datadogV1/model/model_split_vector_entry_item.rs b/src/datadogV1/model/model_split_vector_entry_item.rs index ef2bee066..a84e8728f 100644 --- a/src/datadogV1/model/model_split_vector_entry_item.rs +++ b/src/datadogV1/model/model_split_vector_entry_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The split graph list contains a graph for each value of the split dimension. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SplitVectorEntryItem { diff --git a/src/datadogV1/model/model_successful_signal_update_response.rs b/src/datadogV1/model/model_successful_signal_update_response.rs index 9844c53e2..06e380e21 100644 --- a/src/datadogV1/model/model_successful_signal_update_response.rs +++ b/src/datadogV1/model/model_successful_signal_update_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated signal data following a successfully performed update. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SuccessfulSignalUpdateResponse { diff --git a/src/datadogV1/model/model_sunburst_widget_definition.rs b/src/datadogV1/model/model_sunburst_widget_definition.rs index 914bf0974..49cd2cd4e 100644 --- a/src/datadogV1/model/model_sunburst_widget_definition.rs +++ b/src/datadogV1/model/model_sunburst_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Sunbursts are spot on to highlight how groups contribute to the total of a query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SunburstWidgetDefinition { diff --git a/src/datadogV1/model/model_sunburst_widget_definition_type.rs b/src/datadogV1/model/model_sunburst_widget_definition_type.rs index baa54a282..bf013f1ca 100644 --- a/src/datadogV1/model/model_sunburst_widget_definition_type.rs +++ b/src/datadogV1/model/model_sunburst_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SunburstWidgetDefinitionType { #[serde(rename = "sunburst")] diff --git a/src/datadogV1/model/model_sunburst_widget_legend.rs b/src/datadogV1/model/model_sunburst_widget_legend.rs index af4481c32..b75815f72 100644 --- a/src/datadogV1/model/model_sunburst_widget_legend.rs +++ b/src/datadogV1/model/model_sunburst_widget_legend.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Configuration of the legend. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SunburstWidgetLegend { diff --git a/src/datadogV1/model/model_sunburst_widget_legend_inline_automatic.rs b/src/datadogV1/model/model_sunburst_widget_legend_inline_automatic.rs index 45fc13f7a..bed8126d2 100644 --- a/src/datadogV1/model/model_sunburst_widget_legend_inline_automatic.rs +++ b/src/datadogV1/model/model_sunburst_widget_legend_inline_automatic.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration of inline or automatic legends. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SunburstWidgetLegendInlineAutomatic { diff --git a/src/datadogV1/model/model_sunburst_widget_legend_inline_automatic_type.rs b/src/datadogV1/model/model_sunburst_widget_legend_inline_automatic_type.rs index 9259eb175..c565afb71 100644 --- a/src/datadogV1/model/model_sunburst_widget_legend_inline_automatic_type.rs +++ b/src/datadogV1/model/model_sunburst_widget_legend_inline_automatic_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SunburstWidgetLegendInlineAutomaticType { #[serde(rename = "inline")] diff --git a/src/datadogV1/model/model_sunburst_widget_legend_table.rs b/src/datadogV1/model/model_sunburst_widget_legend_table.rs index c13c6833b..8ab4521ea 100644 --- a/src/datadogV1/model/model_sunburst_widget_legend_table.rs +++ b/src/datadogV1/model/model_sunburst_widget_legend_table.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration of table-based legend. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SunburstWidgetLegendTable { diff --git a/src/datadogV1/model/model_sunburst_widget_legend_table_type.rs b/src/datadogV1/model/model_sunburst_widget_legend_table_type.rs index a5f98b50f..b01430500 100644 --- a/src/datadogV1/model/model_sunburst_widget_legend_table_type.rs +++ b/src/datadogV1/model/model_sunburst_widget_legend_table_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SunburstWidgetLegendTableType { #[serde(rename = "table")] diff --git a/src/datadogV1/model/model_sunburst_widget_request.rs b/src/datadogV1/model/model_sunburst_widget_request.rs index c9f9dc3d3..dde29dc4f 100644 --- a/src/datadogV1/model/model_sunburst_widget_request.rs +++ b/src/datadogV1/model/model_sunburst_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request definition of sunburst widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SunburstWidgetRequest { diff --git a/src/datadogV1/model/model_synthetics_api_step.rs b/src/datadogV1/model/model_synthetics_api_step.rs index 26181f9fa..6e2eccb93 100644 --- a/src/datadogV1/model/model_synthetics_api_step.rs +++ b/src/datadogV1/model/model_synthetics_api_step.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The steps used in a Synthetic multistep API test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAPIStep { diff --git a/src/datadogV1/model/model_synthetics_api_step_subtype.rs b/src/datadogV1/model/model_synthetics_api_step_subtype.rs index 89f0edb95..cc600648a 100644 --- a/src/datadogV1/model/model_synthetics_api_step_subtype.rs +++ b/src/datadogV1/model/model_synthetics_api_step_subtype.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsAPIStepSubtype { #[serde(rename = "http")] diff --git a/src/datadogV1/model/model_synthetics_api_test.rs b/src/datadogV1/model/model_synthetics_api_test.rs index 454c8f3e1..3e8a1b1d8 100644 --- a/src/datadogV1/model/model_synthetics_api_test.rs +++ b/src/datadogV1/model/model_synthetics_api_test.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing details about a Synthetic API test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAPITest { diff --git a/src/datadogV1/model/model_synthetics_api_test_config.rs b/src/datadogV1/model/model_synthetics_api_test_config.rs index ba564f205..8572c5b73 100644 --- a/src/datadogV1/model/model_synthetics_api_test_config.rs +++ b/src/datadogV1/model/model_synthetics_api_test_config.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration object for a Synthetic API test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAPITestConfig { diff --git a/src/datadogV1/model/model_synthetics_api_test_failure_code.rs b/src/datadogV1/model/model_synthetics_api_test_failure_code.rs index 886959b5a..8a77672e7 100644 --- a/src/datadogV1/model/model_synthetics_api_test_failure_code.rs +++ b/src/datadogV1/model/model_synthetics_api_test_failure_code.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsApiTestFailureCode { #[serde(rename = "BODY_TOO_LARGE")] diff --git a/src/datadogV1/model/model_synthetics_api_test_result_data.rs b/src/datadogV1/model/model_synthetics_api_test_result_data.rs index 6bfbe6d29..dd45210dc 100644 --- a/src/datadogV1/model/model_synthetics_api_test_result_data.rs +++ b/src/datadogV1/model/model_synthetics_api_test_result_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing results for your Synthetic API test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAPITestResultData { diff --git a/src/datadogV1/model/model_synthetics_api_test_result_failure.rs b/src/datadogV1/model/model_synthetics_api_test_result_failure.rs index e99b70af2..1770545bb 100644 --- a/src/datadogV1/model/model_synthetics_api_test_result_failure.rs +++ b/src/datadogV1/model/model_synthetics_api_test_result_failure.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The API test failure details. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsApiTestResultFailure { diff --git a/src/datadogV1/model/model_synthetics_api_test_result_full.rs b/src/datadogV1/model/model_synthetics_api_test_result_full.rs index 4d95d6739..0fae76832 100644 --- a/src/datadogV1/model/model_synthetics_api_test_result_full.rs +++ b/src/datadogV1/model/model_synthetics_api_test_result_full.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object returned describing a API test result. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAPITestResultFull { diff --git a/src/datadogV1/model/model_synthetics_api_test_result_full_check.rs b/src/datadogV1/model/model_synthetics_api_test_result_full_check.rs index 35d931ca5..f2919213b 100644 --- a/src/datadogV1/model/model_synthetics_api_test_result_full_check.rs +++ b/src/datadogV1/model/model_synthetics_api_test_result_full_check.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the API test configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAPITestResultFullCheck { diff --git a/src/datadogV1/model/model_synthetics_api_test_result_short.rs b/src/datadogV1/model/model_synthetics_api_test_result_short.rs index 11b9933dc..751913a58 100644 --- a/src/datadogV1/model/model_synthetics_api_test_result_short.rs +++ b/src/datadogV1/model/model_synthetics_api_test_result_short.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object with the results of a single Synthetic API test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAPITestResultShort { diff --git a/src/datadogV1/model/model_synthetics_api_test_result_short_result.rs b/src/datadogV1/model/model_synthetics_api_test_result_short_result.rs index ddda00e51..2333070a2 100644 --- a/src/datadogV1/model/model_synthetics_api_test_result_short_result.rs +++ b/src/datadogV1/model/model_synthetics_api_test_result_short_result.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Result of the last API test run. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAPITestResultShortResult { diff --git a/src/datadogV1/model/model_synthetics_api_test_type.rs b/src/datadogV1/model/model_synthetics_api_test_type.rs index 674107f3a..79dbdf277 100644 --- a/src/datadogV1/model/model_synthetics_api_test_type.rs +++ b/src/datadogV1/model/model_synthetics_api_test_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsAPITestType { #[serde(rename = "api")] diff --git a/src/datadogV1/model/model_synthetics_assertion.rs b/src/datadogV1/model/model_synthetics_assertion.rs index e127a46c2..8f5079974 100644 --- a/src/datadogV1/model/model_synthetics_assertion.rs +++ b/src/datadogV1/model/model_synthetics_assertion.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; /// Object describing the assertions type, their associated operator, /// which property they apply, and upon which target. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SyntheticsAssertion { diff --git a/src/datadogV1/model/model_synthetics_assertion_json_path_operator.rs b/src/datadogV1/model/model_synthetics_assertion_json_path_operator.rs index 5f1415c23..f2154ba85 100644 --- a/src/datadogV1/model/model_synthetics_assertion_json_path_operator.rs +++ b/src/datadogV1/model/model_synthetics_assertion_json_path_operator.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsAssertionJSONPathOperator { #[serde(rename = "validatesJSONPath")] diff --git a/src/datadogV1/model/model_synthetics_assertion_json_path_target.rs b/src/datadogV1/model/model_synthetics_assertion_json_path_target.rs index 252bd9e96..160362a58 100644 --- a/src/datadogV1/model/model_synthetics_assertion_json_path_target.rs +++ b/src/datadogV1/model/model_synthetics_assertion_json_path_target.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An assertion for the `validatesJSONPath` operator. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAssertionJSONPathTarget { diff --git a/src/datadogV1/model/model_synthetics_assertion_json_path_target_target.rs b/src/datadogV1/model/model_synthetics_assertion_json_path_target_target.rs index 34dd82a53..019ca6a63 100644 --- a/src/datadogV1/model/model_synthetics_assertion_json_path_target_target.rs +++ b/src/datadogV1/model/model_synthetics_assertion_json_path_target_target.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Composed target for `validatesJSONPath` operator. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAssertionJSONPathTargetTarget { diff --git a/src/datadogV1/model/model_synthetics_assertion_operator.rs b/src/datadogV1/model/model_synthetics_assertion_operator.rs index 5941611a6..9a5508f54 100644 --- a/src/datadogV1/model/model_synthetics_assertion_operator.rs +++ b/src/datadogV1/model/model_synthetics_assertion_operator.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsAssertionOperator { #[serde(rename = "contains")] diff --git a/src/datadogV1/model/model_synthetics_assertion_target.rs b/src/datadogV1/model/model_synthetics_assertion_target.rs index 8ef7a5222..022046ec2 100644 --- a/src/datadogV1/model/model_synthetics_assertion_target.rs +++ b/src/datadogV1/model/model_synthetics_assertion_target.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An assertion which uses a simple target. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAssertionTarget { diff --git a/src/datadogV1/model/model_synthetics_assertion_timings_scope.rs b/src/datadogV1/model/model_synthetics_assertion_timings_scope.rs index 5b0939cda..7c8ce6fbd 100644 --- a/src/datadogV1/model/model_synthetics_assertion_timings_scope.rs +++ b/src/datadogV1/model/model_synthetics_assertion_timings_scope.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsAssertionTimingsScope { #[serde(rename = "all")] diff --git a/src/datadogV1/model/model_synthetics_assertion_type.rs b/src/datadogV1/model/model_synthetics_assertion_type.rs index dedec6178..cb5cf9cea 100644 --- a/src/datadogV1/model/model_synthetics_assertion_type.rs +++ b/src/datadogV1/model/model_synthetics_assertion_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsAssertionType { #[serde(rename = "body")] diff --git a/src/datadogV1/model/model_synthetics_assertion_x_path_operator.rs b/src/datadogV1/model/model_synthetics_assertion_x_path_operator.rs index b5845be93..e3b4d6e2b 100644 --- a/src/datadogV1/model/model_synthetics_assertion_x_path_operator.rs +++ b/src/datadogV1/model/model_synthetics_assertion_x_path_operator.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsAssertionXPathOperator { #[serde(rename = "validatesXPath")] diff --git a/src/datadogV1/model/model_synthetics_assertion_x_path_target.rs b/src/datadogV1/model/model_synthetics_assertion_x_path_target.rs index a3a07619b..c58efc54b 100644 --- a/src/datadogV1/model/model_synthetics_assertion_x_path_target.rs +++ b/src/datadogV1/model/model_synthetics_assertion_x_path_target.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An assertion for the `validatesXPath` operator. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAssertionXPathTarget { diff --git a/src/datadogV1/model/model_synthetics_assertion_x_path_target_target.rs b/src/datadogV1/model/model_synthetics_assertion_x_path_target_target.rs index 19f3c4c08..0579beba6 100644 --- a/src/datadogV1/model/model_synthetics_assertion_x_path_target_target.rs +++ b/src/datadogV1/model/model_synthetics_assertion_x_path_target_target.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Composed target for `validatesXPath` operator. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsAssertionXPathTargetTarget { diff --git a/src/datadogV1/model/model_synthetics_basic_auth.rs b/src/datadogV1/model/model_synthetics_basic_auth.rs index ee4738958..d7b05e3fb 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Object to handle basic authentication when performing the test. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SyntheticsBasicAuth { diff --git a/src/datadogV1/model/model_synthetics_basic_auth_digest.rs b/src/datadogV1/model/model_synthetics_basic_auth_digest.rs index 9fcaa87ba..546c7055f 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_digest.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_digest.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to handle digest authentication when performing the test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBasicAuthDigest { diff --git a/src/datadogV1/model/model_synthetics_basic_auth_digest_type.rs b/src/datadogV1/model/model_synthetics_basic_auth_digest_type.rs index a3c579c7d..bd008ebc1 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_digest_type.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_digest_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBasicAuthDigestType { #[serde(rename = "digest")] diff --git a/src/datadogV1/model/model_synthetics_basic_auth_ntlm.rs b/src/datadogV1/model/model_synthetics_basic_auth_ntlm.rs index 9cdd4985c..bedcaa2e5 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_ntlm.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_ntlm.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to handle `NTLM` authentication when performing the test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBasicAuthNTLM { diff --git a/src/datadogV1/model/model_synthetics_basic_auth_ntlm_type.rs b/src/datadogV1/model/model_synthetics_basic_auth_ntlm_type.rs index 313239c78..dd0d33b92 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_ntlm_type.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_ntlm_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBasicAuthNTLMType { #[serde(rename = "ntlm")] diff --git a/src/datadogV1/model/model_synthetics_basic_auth_oauth_client.rs b/src/datadogV1/model/model_synthetics_basic_auth_oauth_client.rs index 131a4d41c..dd2952142 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_oauth_client.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_oauth_client.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to handle `oauth client` authentication when performing the test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBasicAuthOauthClient { diff --git a/src/datadogV1/model/model_synthetics_basic_auth_oauth_client_type.rs b/src/datadogV1/model/model_synthetics_basic_auth_oauth_client_type.rs index 75ce73163..561a952a8 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_oauth_client_type.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_oauth_client_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBasicAuthOauthClientType { #[serde(rename = "oauth-client")] diff --git a/src/datadogV1/model/model_synthetics_basic_auth_oauth_rop.rs b/src/datadogV1/model/model_synthetics_basic_auth_oauth_rop.rs index ccc3e3049..9b2c71552 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_oauth_rop.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_oauth_rop.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to handle `oauth rop` authentication when performing the test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBasicAuthOauthROP { diff --git a/src/datadogV1/model/model_synthetics_basic_auth_oauth_rop_type.rs b/src/datadogV1/model/model_synthetics_basic_auth_oauth_rop_type.rs index d827b5763..f626ad42c 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_oauth_rop_type.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_oauth_rop_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBasicAuthOauthROPType { #[serde(rename = "oauth-rop")] diff --git a/src/datadogV1/model/model_synthetics_basic_auth_oauth_token_api_authentication.rs b/src/datadogV1/model/model_synthetics_basic_auth_oauth_token_api_authentication.rs index 36ce14728..a370123a1 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_oauth_token_api_authentication.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_oauth_token_api_authentication.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBasicAuthOauthTokenApiAuthentication { #[serde(rename = "header")] diff --git a/src/datadogV1/model/model_synthetics_basic_auth_sigv4.rs b/src/datadogV1/model/model_synthetics_basic_auth_sigv4.rs index daed3bee4..2c45b2532 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_sigv4.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_sigv4.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to handle `SIGV4` authentication when performing the test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBasicAuthSigv4 { diff --git a/src/datadogV1/model/model_synthetics_basic_auth_sigv4_type.rs b/src/datadogV1/model/model_synthetics_basic_auth_sigv4_type.rs index 07f8a7f6d..bafa36177 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_sigv4_type.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_sigv4_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBasicAuthSigv4Type { #[serde(rename = "sigv4")] diff --git a/src/datadogV1/model/model_synthetics_basic_auth_web.rs b/src/datadogV1/model/model_synthetics_basic_auth_web.rs index 259192f0a..f12152276 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_web.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_web.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to handle basic authentication when performing the test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBasicAuthWeb { diff --git a/src/datadogV1/model/model_synthetics_basic_auth_web_type.rs b/src/datadogV1/model/model_synthetics_basic_auth_web_type.rs index 49b49924e..e604eab29 100644 --- a/src/datadogV1/model/model_synthetics_basic_auth_web_type.rs +++ b/src/datadogV1/model/model_synthetics_basic_auth_web_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBasicAuthWebType { #[serde(rename = "web")] diff --git a/src/datadogV1/model/model_synthetics_batch_details.rs b/src/datadogV1/model/model_synthetics_batch_details.rs index 7354e72f4..e1597c532 100644 --- a/src/datadogV1/model/model_synthetics_batch_details.rs +++ b/src/datadogV1/model/model_synthetics_batch_details.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Details about a batch response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBatchDetails { diff --git a/src/datadogV1/model/model_synthetics_batch_details_data.rs b/src/datadogV1/model/model_synthetics_batch_details_data.rs index 6234a13f0..363b119a9 100644 --- a/src/datadogV1/model/model_synthetics_batch_details_data.rs +++ b/src/datadogV1/model/model_synthetics_batch_details_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Wrapper object that contains the details of a batch. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBatchDetailsData { diff --git a/src/datadogV1/model/model_synthetics_batch_result.rs b/src/datadogV1/model/model_synthetics_batch_result.rs index 96e76fa67..9da3e525c 100644 --- a/src/datadogV1/model/model_synthetics_batch_result.rs +++ b/src/datadogV1/model/model_synthetics_batch_result.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object with the results of a Synthetic batch. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBatchResult { diff --git a/src/datadogV1/model/model_synthetics_browser_error.rs b/src/datadogV1/model/model_synthetics_browser_error.rs index e96325ad8..45556e70d 100644 --- a/src/datadogV1/model/model_synthetics_browser_error.rs +++ b/src/datadogV1/model/model_synthetics_browser_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Error response object for a browser test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserError { diff --git a/src/datadogV1/model/model_synthetics_browser_error_type.rs b/src/datadogV1/model/model_synthetics_browser_error_type.rs index 0be29e251..2d5ad3ce6 100644 --- a/src/datadogV1/model/model_synthetics_browser_error_type.rs +++ b/src/datadogV1/model/model_synthetics_browser_error_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBrowserErrorType { #[serde(rename = "network")] diff --git a/src/datadogV1/model/model_synthetics_browser_test.rs b/src/datadogV1/model/model_synthetics_browser_test.rs index bbf8755f5..527b23996 100644 --- a/src/datadogV1/model/model_synthetics_browser_test.rs +++ b/src/datadogV1/model/model_synthetics_browser_test.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing details about a Synthetic browser test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTest { diff --git a/src/datadogV1/model/model_synthetics_browser_test_config.rs b/src/datadogV1/model/model_synthetics_browser_test_config.rs index 5653cef13..f89045540 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_config.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_config.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration object for a Synthetic browser test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTestConfig { diff --git a/src/datadogV1/model/model_synthetics_browser_test_failure_code.rs b/src/datadogV1/model/model_synthetics_browser_test_failure_code.rs index afee63e0e..bf5a8841f 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_failure_code.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_failure_code.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBrowserTestFailureCode { #[serde(rename = "API_REQUEST_FAILURE")] diff --git a/src/datadogV1/model/model_synthetics_browser_test_result_data.rs b/src/datadogV1/model/model_synthetics_browser_test_result_data.rs index dc0ec9955..7ab85d212 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_result_data.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_result_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing results for your Synthetic browser test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTestResultData { diff --git a/src/datadogV1/model/model_synthetics_browser_test_result_failure.rs b/src/datadogV1/model/model_synthetics_browser_test_result_failure.rs index b5c992741..245456ded 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_result_failure.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_result_failure.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The browser test failure details. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTestResultFailure { diff --git a/src/datadogV1/model/model_synthetics_browser_test_result_full.rs b/src/datadogV1/model/model_synthetics_browser_test_result_full.rs index f053526ae..4b1ddedd5 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_result_full.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_result_full.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object returned describing a browser test result. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTestResultFull { diff --git a/src/datadogV1/model/model_synthetics_browser_test_result_full_check.rs b/src/datadogV1/model/model_synthetics_browser_test_result_full_check.rs index 61e754ab0..00c6b67f3 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_result_full_check.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_result_full_check.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the browser test configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTestResultFullCheck { diff --git a/src/datadogV1/model/model_synthetics_browser_test_result_short.rs b/src/datadogV1/model/model_synthetics_browser_test_result_short.rs index 624ae68b9..41b633c46 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_result_short.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_result_short.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object with the results of a single Synthetic browser test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTestResultShort { diff --git a/src/datadogV1/model/model_synthetics_browser_test_result_short_result.rs b/src/datadogV1/model/model_synthetics_browser_test_result_short_result.rs index 5cb2d6bda..935fe1e90 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_result_short_result.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_result_short_result.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object with the result of the last browser test run. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTestResultShortResult { diff --git a/src/datadogV1/model/model_synthetics_browser_test_rum_settings.rs b/src/datadogV1/model/model_synthetics_browser_test_rum_settings.rs index c339e0004..04b5d00d1 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_rum_settings.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_rum_settings.rs @@ -15,6 +15,7 @@ use serde_with::skip_serializing_none; /// /// `{ isEnabled: true, applicationId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", clientTokenId: 12345 }` /// RUM data is collected using the specified application. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserTestRumSettings { diff --git a/src/datadogV1/model/model_synthetics_browser_test_type.rs b/src/datadogV1/model/model_synthetics_browser_test_type.rs index 71d3c6b96..7e2959153 100644 --- a/src/datadogV1/model/model_synthetics_browser_test_type.rs +++ b/src/datadogV1/model/model_synthetics_browser_test_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBrowserTestType { #[serde(rename = "browser")] diff --git a/src/datadogV1/model/model_synthetics_browser_variable.rs b/src/datadogV1/model/model_synthetics_browser_variable.rs index debce806f..af38dd762 100644 --- a/src/datadogV1/model/model_synthetics_browser_variable.rs +++ b/src/datadogV1/model/model_synthetics_browser_variable.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Object defining a variable that can be used in your browser test. /// See the [Recording Steps documentation](). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsBrowserVariable { diff --git a/src/datadogV1/model/model_synthetics_browser_variable_type.rs b/src/datadogV1/model/model_synthetics_browser_variable_type.rs index 2e52038b7..4f1b9dea8 100644 --- a/src/datadogV1/model/model_synthetics_browser_variable_type.rs +++ b/src/datadogV1/model/model_synthetics_browser_variable_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsBrowserVariableType { #[serde(rename = "element")] diff --git a/src/datadogV1/model/model_synthetics_check_type.rs b/src/datadogV1/model/model_synthetics_check_type.rs index e7632973f..dde52f535 100644 --- a/src/datadogV1/model/model_synthetics_check_type.rs +++ b/src/datadogV1/model/model_synthetics_check_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsCheckType { #[serde(rename = "equals")] diff --git a/src/datadogV1/model/model_synthetics_ci_batch_metadata.rs b/src/datadogV1/model/model_synthetics_ci_batch_metadata.rs index 8224f9e22..7bb88f567 100644 --- a/src/datadogV1/model/model_synthetics_ci_batch_metadata.rs +++ b/src/datadogV1/model/model_synthetics_ci_batch_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata for the Synthetic tests run. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsCIBatchMetadata { diff --git a/src/datadogV1/model/model_synthetics_ci_batch_metadata_ci.rs b/src/datadogV1/model/model_synthetics_ci_batch_metadata_ci.rs index 154ab83cf..db70ffe0b 100644 --- a/src/datadogV1/model/model_synthetics_ci_batch_metadata_ci.rs +++ b/src/datadogV1/model/model_synthetics_ci_batch_metadata_ci.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Description of the CI provider. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsCIBatchMetadataCI { diff --git a/src/datadogV1/model/model_synthetics_ci_batch_metadata_git.rs b/src/datadogV1/model/model_synthetics_ci_batch_metadata_git.rs index 360975ee2..814bd6961 100644 --- a/src/datadogV1/model/model_synthetics_ci_batch_metadata_git.rs +++ b/src/datadogV1/model/model_synthetics_ci_batch_metadata_git.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Git information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsCIBatchMetadataGit { diff --git a/src/datadogV1/model/model_synthetics_ci_batch_metadata_pipeline.rs b/src/datadogV1/model/model_synthetics_ci_batch_metadata_pipeline.rs index 2b281302b..d83b8ea83 100644 --- a/src/datadogV1/model/model_synthetics_ci_batch_metadata_pipeline.rs +++ b/src/datadogV1/model/model_synthetics_ci_batch_metadata_pipeline.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Description of the CI pipeline. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsCIBatchMetadataPipeline { diff --git a/src/datadogV1/model/model_synthetics_ci_batch_metadata_provider.rs b/src/datadogV1/model/model_synthetics_ci_batch_metadata_provider.rs index e844d6a36..2fb0c549b 100644 --- a/src/datadogV1/model/model_synthetics_ci_batch_metadata_provider.rs +++ b/src/datadogV1/model/model_synthetics_ci_batch_metadata_provider.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Description of the CI provider. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsCIBatchMetadataProvider { diff --git a/src/datadogV1/model/model_synthetics_ci_test.rs b/src/datadogV1/model/model_synthetics_ci_test.rs index 3c18fde5d..1999f71d7 100644 --- a/src/datadogV1/model/model_synthetics_ci_test.rs +++ b/src/datadogV1/model/model_synthetics_ci_test.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration for Continuous Testing. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsCITest { diff --git a/src/datadogV1/model/model_synthetics_ci_test_body.rs b/src/datadogV1/model/model_synthetics_ci_test_body.rs index fa4d4f16d..d435d6de7 100644 --- a/src/datadogV1/model/model_synthetics_ci_test_body.rs +++ b/src/datadogV1/model/model_synthetics_ci_test_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the synthetics tests to trigger. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsCITestBody { diff --git a/src/datadogV1/model/model_synthetics_config_variable.rs b/src/datadogV1/model/model_synthetics_config_variable.rs index dc1343d58..cb1278904 100644 --- a/src/datadogV1/model/model_synthetics_config_variable.rs +++ b/src/datadogV1/model/model_synthetics_config_variable.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object defining a variable that can be used in your test configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsConfigVariable { diff --git a/src/datadogV1/model/model_synthetics_config_variable_type.rs b/src/datadogV1/model/model_synthetics_config_variable_type.rs index 6751ef6ec..608a3c894 100644 --- a/src/datadogV1/model/model_synthetics_config_variable_type.rs +++ b/src/datadogV1/model/model_synthetics_config_variable_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsConfigVariableType { #[serde(rename = "global")] diff --git a/src/datadogV1/model/model_synthetics_core_web_vitals.rs b/src/datadogV1/model/model_synthetics_core_web_vitals.rs index 11460fc6a..0c5cea7b1 100644 --- a/src/datadogV1/model/model_synthetics_core_web_vitals.rs +++ b/src/datadogV1/model/model_synthetics_core_web_vitals.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Core Web Vitals attached to a browser test step. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsCoreWebVitals { diff --git a/src/datadogV1/model/model_synthetics_delete_tests_payload.rs b/src/datadogV1/model/model_synthetics_delete_tests_payload.rs index 0fd53683b..3e9a7be98 100644 --- a/src/datadogV1/model/model_synthetics_delete_tests_payload.rs +++ b/src/datadogV1/model/model_synthetics_delete_tests_payload.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A JSON list of the ID or IDs of the Synthetic tests that you want /// to delete. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsDeleteTestsPayload { diff --git a/src/datadogV1/model/model_synthetics_delete_tests_response.rs b/src/datadogV1/model/model_synthetics_delete_tests_response.rs index a0326d56b..54ad00534 100644 --- a/src/datadogV1/model/model_synthetics_delete_tests_response.rs +++ b/src/datadogV1/model/model_synthetics_delete_tests_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object for deleting Synthetic tests. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsDeleteTestsResponse { diff --git a/src/datadogV1/model/model_synthetics_deleted_test.rs b/src/datadogV1/model/model_synthetics_deleted_test.rs index 89d9a685c..a86aaf3ce 100644 --- a/src/datadogV1/model/model_synthetics_deleted_test.rs +++ b/src/datadogV1/model/model_synthetics_deleted_test.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Object containing a deleted Synthetic test ID with the associated /// deletion timestamp. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsDeletedTest { diff --git a/src/datadogV1/model/model_synthetics_device.rs b/src/datadogV1/model/model_synthetics_device.rs index 64de6f01f..1fab3285d 100644 --- a/src/datadogV1/model/model_synthetics_device.rs +++ b/src/datadogV1/model/model_synthetics_device.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the device used to perform the Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsDevice { diff --git a/src/datadogV1/model/model_synthetics_device_id.rs b/src/datadogV1/model/model_synthetics_device_id.rs index aaeca46ff..501b022c3 100644 --- a/src/datadogV1/model/model_synthetics_device_id.rs +++ b/src/datadogV1/model/model_synthetics_device_id.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsDeviceID { #[serde(rename = "laptop_large")] diff --git a/src/datadogV1/model/model_synthetics_get_api_test_latest_results_response.rs b/src/datadogV1/model/model_synthetics_get_api_test_latest_results_response.rs index 11a644ad0..bb03b2f31 100644 --- a/src/datadogV1/model/model_synthetics_get_api_test_latest_results_response.rs +++ b/src/datadogV1/model/model_synthetics_get_api_test_latest_results_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object with the latest Synthetic API test run. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsGetAPITestLatestResultsResponse { diff --git a/src/datadogV1/model/model_synthetics_get_browser_test_latest_results_response.rs b/src/datadogV1/model/model_synthetics_get_browser_test_latest_results_response.rs index 0d669cf96..8cf717cac 100644 --- a/src/datadogV1/model/model_synthetics_get_browser_test_latest_results_response.rs +++ b/src/datadogV1/model/model_synthetics_get_browser_test_latest_results_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object with the latest Synthetic browser test run. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsGetBrowserTestLatestResultsResponse { diff --git a/src/datadogV1/model/model_synthetics_global_variable.rs b/src/datadogV1/model/model_synthetics_global_variable.rs index 789621ec8..31a0dbeb0 100644 --- a/src/datadogV1/model/model_synthetics_global_variable.rs +++ b/src/datadogV1/model/model_synthetics_global_variable.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Synthetic global variable. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsGlobalVariable { diff --git a/src/datadogV1/model/model_synthetics_global_variable_attributes.rs b/src/datadogV1/model/model_synthetics_global_variable_attributes.rs index e92d28922..cdebcc5cd 100644 --- a/src/datadogV1/model/model_synthetics_global_variable_attributes.rs +++ b/src/datadogV1/model/model_synthetics_global_variable_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the global variable. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsGlobalVariableAttributes { diff --git a/src/datadogV1/model/model_synthetics_global_variable_options.rs b/src/datadogV1/model/model_synthetics_global_variable_options.rs index 2f0c70e68..965eb2421 100644 --- a/src/datadogV1/model/model_synthetics_global_variable_options.rs +++ b/src/datadogV1/model/model_synthetics_global_variable_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options for the Global Variable for MFA. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsGlobalVariableOptions { diff --git a/src/datadogV1/model/model_synthetics_global_variable_parse_test_options.rs b/src/datadogV1/model/model_synthetics_global_variable_parse_test_options.rs index 766069559..2e98ecf71 100644 --- a/src/datadogV1/model/model_synthetics_global_variable_parse_test_options.rs +++ b/src/datadogV1/model/model_synthetics_global_variable_parse_test_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Parser options to use for retrieving a Synthetic global variable from a Synthetic test. Used in conjunction with `parse_test_public_id`. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsGlobalVariableParseTestOptions { diff --git a/src/datadogV1/model/model_synthetics_global_variable_parse_test_options_type.rs b/src/datadogV1/model/model_synthetics_global_variable_parse_test_options_type.rs index a2ef3b614..5d436fd25 100644 --- a/src/datadogV1/model/model_synthetics_global_variable_parse_test_options_type.rs +++ b/src/datadogV1/model/model_synthetics_global_variable_parse_test_options_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsGlobalVariableParseTestOptionsType { #[serde(rename = "http_body")] diff --git a/src/datadogV1/model/model_synthetics_global_variable_parser_type.rs b/src/datadogV1/model/model_synthetics_global_variable_parser_type.rs index e2b388cb1..6c8d17041 100644 --- a/src/datadogV1/model/model_synthetics_global_variable_parser_type.rs +++ b/src/datadogV1/model/model_synthetics_global_variable_parser_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsGlobalVariableParserType { #[serde(rename = "raw")] diff --git a/src/datadogV1/model/model_synthetics_global_variable_totp_parameters.rs b/src/datadogV1/model/model_synthetics_global_variable_totp_parameters.rs index 7a87f87f9..da54516d5 100644 --- a/src/datadogV1/model/model_synthetics_global_variable_totp_parameters.rs +++ b/src/datadogV1/model/model_synthetics_global_variable_totp_parameters.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Parameters for the TOTP/MFA variable +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsGlobalVariableTOTPParameters { diff --git a/src/datadogV1/model/model_synthetics_global_variable_value.rs b/src/datadogV1/model/model_synthetics_global_variable_value.rs index 0751648cf..ad2e44da0 100644 --- a/src/datadogV1/model/model_synthetics_global_variable_value.rs +++ b/src/datadogV1/model/model_synthetics_global_variable_value.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Value of the global variable. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsGlobalVariableValue { diff --git a/src/datadogV1/model/model_synthetics_list_global_variables_response.rs b/src/datadogV1/model/model_synthetics_list_global_variables_response.rs index 94a0101e5..161335142 100644 --- a/src/datadogV1/model/model_synthetics_list_global_variables_response.rs +++ b/src/datadogV1/model/model_synthetics_list_global_variables_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing an array of Synthetic global variables. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsListGlobalVariablesResponse { diff --git a/src/datadogV1/model/model_synthetics_list_tests_response.rs b/src/datadogV1/model/model_synthetics_list_tests_response.rs index 1431089cc..d96f718fc 100644 --- a/src/datadogV1/model/model_synthetics_list_tests_response.rs +++ b/src/datadogV1/model/model_synthetics_list_tests_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing an array of Synthetic tests configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsListTestsResponse { diff --git a/src/datadogV1/model/model_synthetics_location.rs b/src/datadogV1/model/model_synthetics_location.rs index 89331ddbf..00d3dea81 100644 --- a/src/datadogV1/model/model_synthetics_location.rs +++ b/src/datadogV1/model/model_synthetics_location.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Synthetic location that can be used when creating or editing a /// test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsLocation { diff --git a/src/datadogV1/model/model_synthetics_locations.rs b/src/datadogV1/model/model_synthetics_locations.rs index b7ce7fdff..c29582a7e 100644 --- a/src/datadogV1/model/model_synthetics_locations.rs +++ b/src/datadogV1/model/model_synthetics_locations.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of Synthetic locations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsLocations { diff --git a/src/datadogV1/model/model_synthetics_parsing_options.rs b/src/datadogV1/model/model_synthetics_parsing_options.rs index 670d934c1..36a85b65e 100644 --- a/src/datadogV1/model/model_synthetics_parsing_options.rs +++ b/src/datadogV1/model/model_synthetics_parsing_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Parsing options for variables to extract. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsParsingOptions { diff --git a/src/datadogV1/model/model_synthetics_patch_test_body.rs b/src/datadogV1/model/model_synthetics_patch_test_body.rs index 8479b8323..c414d4c0f 100644 --- a/src/datadogV1/model/model_synthetics_patch_test_body.rs +++ b/src/datadogV1/model/model_synthetics_patch_test_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Wrapper around an array of [JSON Patch]() operations to perform on the test +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPatchTestBody { diff --git a/src/datadogV1/model/model_synthetics_patch_test_operation.rs b/src/datadogV1/model/model_synthetics_patch_test_operation.rs index 8dff46cfe..f397b24e7 100644 --- a/src/datadogV1/model/model_synthetics_patch_test_operation.rs +++ b/src/datadogV1/model/model_synthetics_patch_test_operation.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single [JSON Patch]() operation to perform on the test +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPatchTestOperation { diff --git a/src/datadogV1/model/model_synthetics_patch_test_operation_name.rs b/src/datadogV1/model/model_synthetics_patch_test_operation_name.rs index aec6b37fd..1848db76a 100644 --- a/src/datadogV1/model/model_synthetics_patch_test_operation_name.rs +++ b/src/datadogV1/model/model_synthetics_patch_test_operation_name.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsPatchTestOperationName { #[serde(rename = "add")] diff --git a/src/datadogV1/model/model_synthetics_playing_tab.rs b/src/datadogV1/model/model_synthetics_playing_tab.rs index e8e008275..8f277bd04 100644 --- a/src/datadogV1/model/model_synthetics_playing_tab.rs +++ b/src/datadogV1/model/model_synthetics_playing_tab.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV1/model/model_synthetics_private_location.rs b/src/datadogV1/model/model_synthetics_private_location.rs index d64539a10..cd2f60918 100644 --- a/src/datadogV1/model/model_synthetics_private_location.rs +++ b/src/datadogV1/model/model_synthetics_private_location.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing information about the private location to create. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPrivateLocation { diff --git a/src/datadogV1/model/model_synthetics_private_location_creation_response.rs b/src/datadogV1/model/model_synthetics_private_location_creation_response.rs index cd4c53273..b55ef3ed4 100644 --- a/src/datadogV1/model/model_synthetics_private_location_creation_response.rs +++ b/src/datadogV1/model/model_synthetics_private_location_creation_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object that contains the new private location, the public key for result encryption, and the configuration skeleton. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPrivateLocationCreationResponse { diff --git a/src/datadogV1/model/model_synthetics_private_location_creation_response_result_encryption.rs b/src/datadogV1/model/model_synthetics_private_location_creation_response_result_encryption.rs index 77c6ef1d2..ba393d4af 100644 --- a/src/datadogV1/model/model_synthetics_private_location_creation_response_result_encryption.rs +++ b/src/datadogV1/model/model_synthetics_private_location_creation_response_result_encryption.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Public key for the result encryption. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPrivateLocationCreationResponseResultEncryption { diff --git a/src/datadogV1/model/model_synthetics_private_location_metadata.rs b/src/datadogV1/model/model_synthetics_private_location_metadata.rs index 062829989..27ac8e568 100644 --- a/src/datadogV1/model/model_synthetics_private_location_metadata.rs +++ b/src/datadogV1/model/model_synthetics_private_location_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing metadata about the private location. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPrivateLocationMetadata { diff --git a/src/datadogV1/model/model_synthetics_private_location_secrets.rs b/src/datadogV1/model/model_synthetics_private_location_secrets.rs index 89fbaf96c..8ce230bd8 100644 --- a/src/datadogV1/model/model_synthetics_private_location_secrets.rs +++ b/src/datadogV1/model/model_synthetics_private_location_secrets.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Secrets for the private location. Only present in the response when creating the private location. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPrivateLocationSecrets { diff --git a/src/datadogV1/model/model_synthetics_private_location_secrets_authentication.rs b/src/datadogV1/model/model_synthetics_private_location_secrets_authentication.rs index c53dc00dc..482cc47ad 100644 --- a/src/datadogV1/model/model_synthetics_private_location_secrets_authentication.rs +++ b/src/datadogV1/model/model_synthetics_private_location_secrets_authentication.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Authentication part of the secrets. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPrivateLocationSecretsAuthentication { diff --git a/src/datadogV1/model/model_synthetics_private_location_secrets_config_decryption.rs b/src/datadogV1/model/model_synthetics_private_location_secrets_config_decryption.rs index 1f7f24e9d..05e229709 100644 --- a/src/datadogV1/model/model_synthetics_private_location_secrets_config_decryption.rs +++ b/src/datadogV1/model/model_synthetics_private_location_secrets_config_decryption.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Private key for the private location. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsPrivateLocationSecretsConfigDecryption { diff --git a/src/datadogV1/model/model_synthetics_ssl_certificate.rs b/src/datadogV1/model/model_synthetics_ssl_certificate.rs index f254eaca6..ac0883429 100644 --- a/src/datadogV1/model/model_synthetics_ssl_certificate.rs +++ b/src/datadogV1/model/model_synthetics_ssl_certificate.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the SSL certificate used for a Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsSSLCertificate { diff --git a/src/datadogV1/model/model_synthetics_ssl_certificate_issuer.rs b/src/datadogV1/model/model_synthetics_ssl_certificate_issuer.rs index 8dbfb7e32..aa83b48da 100644 --- a/src/datadogV1/model/model_synthetics_ssl_certificate_issuer.rs +++ b/src/datadogV1/model/model_synthetics_ssl_certificate_issuer.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the issuer of a SSL certificate. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsSSLCertificateIssuer { diff --git a/src/datadogV1/model/model_synthetics_ssl_certificate_subject.rs b/src/datadogV1/model/model_synthetics_ssl_certificate_subject.rs index d78b2b045..1c2ec18c1 100644 --- a/src/datadogV1/model/model_synthetics_ssl_certificate_subject.rs +++ b/src/datadogV1/model/model_synthetics_ssl_certificate_subject.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the SSL certificate used for the test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsSSLCertificateSubject { diff --git a/src/datadogV1/model/model_synthetics_status.rs b/src/datadogV1/model/model_synthetics_status.rs index 73c3c11b5..48cd4fbd2 100644 --- a/src/datadogV1/model/model_synthetics_status.rs +++ b/src/datadogV1/model/model_synthetics_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsStatus { #[serde(rename = "passed")] diff --git a/src/datadogV1/model/model_synthetics_step.rs b/src/datadogV1/model/model_synthetics_step.rs index e8d33f05b..c15859c41 100644 --- a/src/datadogV1/model/model_synthetics_step.rs +++ b/src/datadogV1/model/model_synthetics_step.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The steps used in a Synthetic browser test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsStep { diff --git a/src/datadogV1/model/model_synthetics_step_detail.rs b/src/datadogV1/model/model_synthetics_step_detail.rs index b057a0f1f..b7179be91 100644 --- a/src/datadogV1/model/model_synthetics_step_detail.rs +++ b/src/datadogV1/model/model_synthetics_step_detail.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing a step for a Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsStepDetail { diff --git a/src/datadogV1/model/model_synthetics_step_detail_warning.rs b/src/datadogV1/model/model_synthetics_step_detail_warning.rs index fb4cae158..d9903af72 100644 --- a/src/datadogV1/model/model_synthetics_step_detail_warning.rs +++ b/src/datadogV1/model/model_synthetics_step_detail_warning.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object collecting warnings for a given step. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsStepDetailWarning { diff --git a/src/datadogV1/model/model_synthetics_step_type.rs b/src/datadogV1/model/model_synthetics_step_type.rs index 1a7a76120..8a48199d3 100644 --- a/src/datadogV1/model/model_synthetics_step_type.rs +++ b/src/datadogV1/model/model_synthetics_step_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsStepType { #[serde(rename = "assertCurrentUrl")] diff --git a/src/datadogV1/model/model_synthetics_test_call_type.rs b/src/datadogV1/model/model_synthetics_test_call_type.rs index 958d01c9b..9e9d86fef 100644 --- a/src/datadogV1/model/model_synthetics_test_call_type.rs +++ b/src/datadogV1/model/model_synthetics_test_call_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsTestCallType { #[serde(rename = "healthcheck")] diff --git a/src/datadogV1/model/model_synthetics_test_ci_options.rs b/src/datadogV1/model/model_synthetics_test_ci_options.rs index 8fe11df11..58fe19ef4 100644 --- a/src/datadogV1/model/model_synthetics_test_ci_options.rs +++ b/src/datadogV1/model/model_synthetics_test_ci_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// CI/CD options for a Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestCiOptions { diff --git a/src/datadogV1/model/model_synthetics_test_config.rs b/src/datadogV1/model/model_synthetics_test_config.rs index 5df333a96..0487cdf6d 100644 --- a/src/datadogV1/model/model_synthetics_test_config.rs +++ b/src/datadogV1/model/model_synthetics_test_config.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration object for a Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestConfig { diff --git a/src/datadogV1/model/model_synthetics_test_details.rs b/src/datadogV1/model/model_synthetics_test_details.rs index 24b2562a2..9d5c124dd 100644 --- a/src/datadogV1/model/model_synthetics_test_details.rs +++ b/src/datadogV1/model/model_synthetics_test_details.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing details about your Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestDetails { diff --git a/src/datadogV1/model/model_synthetics_test_details_sub_type.rs b/src/datadogV1/model/model_synthetics_test_details_sub_type.rs index 83f80c7c2..4176395c6 100644 --- a/src/datadogV1/model/model_synthetics_test_details_sub_type.rs +++ b/src/datadogV1/model/model_synthetics_test_details_sub_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsTestDetailsSubType { #[serde(rename = "http")] diff --git a/src/datadogV1/model/model_synthetics_test_details_type.rs b/src/datadogV1/model/model_synthetics_test_details_type.rs index 2d86aaf25..d98f269ce 100644 --- a/src/datadogV1/model/model_synthetics_test_details_type.rs +++ b/src/datadogV1/model/model_synthetics_test_details_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsTestDetailsType { #[serde(rename = "api")] diff --git a/src/datadogV1/model/model_synthetics_test_execution_rule.rs b/src/datadogV1/model/model_synthetics_test_execution_rule.rs index 6e56d661b..0e8e2213c 100644 --- a/src/datadogV1/model/model_synthetics_test_execution_rule.rs +++ b/src/datadogV1/model/model_synthetics_test_execution_rule.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsTestExecutionRule { #[serde(rename = "blocking")] diff --git a/src/datadogV1/model/model_synthetics_test_monitor_status.rs b/src/datadogV1/model/model_synthetics_test_monitor_status.rs index e426a8bf4..14af4029e 100644 --- a/src/datadogV1/model/model_synthetics_test_monitor_status.rs +++ b/src/datadogV1/model/model_synthetics_test_monitor_status.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV1/model/model_synthetics_test_options.rs b/src/datadogV1/model/model_synthetics_test_options.rs index c6ad169f6..d12edcd62 100644 --- a/src/datadogV1/model/model_synthetics_test_options.rs +++ b/src/datadogV1/model/model_synthetics_test_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the extra options for a Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestOptions { diff --git a/src/datadogV1/model/model_synthetics_test_options_http_version.rs b/src/datadogV1/model/model_synthetics_test_options_http_version.rs index ca325cba7..4af7e46f6 100644 --- a/src/datadogV1/model/model_synthetics_test_options_http_version.rs +++ b/src/datadogV1/model/model_synthetics_test_options_http_version.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsTestOptionsHTTPVersion { #[serde(rename = "http1")] diff --git a/src/datadogV1/model/model_synthetics_test_options_monitor_options.rs b/src/datadogV1/model/model_synthetics_test_options_monitor_options.rs index 287e2cd3b..90c063b18 100644 --- a/src/datadogV1/model/model_synthetics_test_options_monitor_options.rs +++ b/src/datadogV1/model/model_synthetics_test_options_monitor_options.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Object containing the options for a Synthetic test as a monitor /// (for example, renotification). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestOptionsMonitorOptions { diff --git a/src/datadogV1/model/model_synthetics_test_options_retry.rs b/src/datadogV1/model/model_synthetics_test_options_retry.rs index af229cbaf..bb7f1c13b 100644 --- a/src/datadogV1/model/model_synthetics_test_options_retry.rs +++ b/src/datadogV1/model/model_synthetics_test_options_retry.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the retry strategy to apply to a Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestOptionsRetry { diff --git a/src/datadogV1/model/model_synthetics_test_options_scheduling.rs b/src/datadogV1/model/model_synthetics_test_options_scheduling.rs index e43a95763..5f28897eb 100644 --- a/src/datadogV1/model/model_synthetics_test_options_scheduling.rs +++ b/src/datadogV1/model/model_synthetics_test_options_scheduling.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing timeframes and timezone used for advanced scheduling. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestOptionsScheduling { diff --git a/src/datadogV1/model/model_synthetics_test_options_scheduling_timeframe.rs b/src/datadogV1/model/model_synthetics_test_options_scheduling_timeframe.rs index 24b3eba48..5f8424e4e 100644 --- a/src/datadogV1/model/model_synthetics_test_options_scheduling_timeframe.rs +++ b/src/datadogV1/model/model_synthetics_test_options_scheduling_timeframe.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing a timeframe. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestOptionsSchedulingTimeframe { diff --git a/src/datadogV1/model/model_synthetics_test_pause_status.rs b/src/datadogV1/model/model_synthetics_test_pause_status.rs index 238d6b41c..3f3f6503e 100644 --- a/src/datadogV1/model/model_synthetics_test_pause_status.rs +++ b/src/datadogV1/model/model_synthetics_test_pause_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsTestPauseStatus { #[serde(rename = "live")] diff --git a/src/datadogV1/model/model_synthetics_test_process_status.rs b/src/datadogV1/model/model_synthetics_test_process_status.rs index 41c25fe3e..5666d4cc7 100644 --- a/src/datadogV1/model/model_synthetics_test_process_status.rs +++ b/src/datadogV1/model/model_synthetics_test_process_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsTestProcessStatus { #[serde(rename = "not_scheduled")] diff --git a/src/datadogV1/model/model_synthetics_test_request.rs b/src/datadogV1/model/model_synthetics_test_request.rs index 7c19fc136..0b188e264 100644 --- a/src/datadogV1/model/model_synthetics_test_request.rs +++ b/src/datadogV1/model/model_synthetics_test_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the Synthetic test request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestRequest { diff --git a/src/datadogV1/model/model_synthetics_test_request_body_type.rs b/src/datadogV1/model/model_synthetics_test_request_body_type.rs index ce5008fab..42b1e00ad 100644 --- a/src/datadogV1/model/model_synthetics_test_request_body_type.rs +++ b/src/datadogV1/model/model_synthetics_test_request_body_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsTestRequestBodyType { #[serde(rename = "text/plain")] diff --git a/src/datadogV1/model/model_synthetics_test_request_certificate.rs b/src/datadogV1/model/model_synthetics_test_request_certificate.rs index b468e614a..c128ed42f 100644 --- a/src/datadogV1/model/model_synthetics_test_request_certificate.rs +++ b/src/datadogV1/model/model_synthetics_test_request_certificate.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Client certificate to use when performing the test request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestRequestCertificate { diff --git a/src/datadogV1/model/model_synthetics_test_request_certificate_item.rs b/src/datadogV1/model/model_synthetics_test_request_certificate_item.rs index eeb28713e..815a2ed5e 100644 --- a/src/datadogV1/model/model_synthetics_test_request_certificate_item.rs +++ b/src/datadogV1/model/model_synthetics_test_request_certificate_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Define a request certificate. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestRequestCertificateItem { diff --git a/src/datadogV1/model/model_synthetics_test_request_proxy.rs b/src/datadogV1/model/model_synthetics_test_request_proxy.rs index 20b6c650c..3f38ef5d1 100644 --- a/src/datadogV1/model/model_synthetics_test_request_proxy.rs +++ b/src/datadogV1/model/model_synthetics_test_request_proxy.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The proxy to perform the test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTestRequestProxy { diff --git a/src/datadogV1/model/model_synthetics_timing.rs b/src/datadogV1/model/model_synthetics_timing.rs index bab44b05d..c59d1c63a 100644 --- a/src/datadogV1/model/model_synthetics_timing.rs +++ b/src/datadogV1/model/model_synthetics_timing.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Object containing all metrics and their values collected for a Synthetic API test. /// See the [Synthetic Monitoring Metrics documentation](). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTiming { diff --git a/src/datadogV1/model/model_synthetics_trigger_body.rs b/src/datadogV1/model/model_synthetics_trigger_body.rs index ec1f97443..42b8652f1 100644 --- a/src/datadogV1/model/model_synthetics_trigger_body.rs +++ b/src/datadogV1/model/model_synthetics_trigger_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing the Synthetic tests to trigger. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTriggerBody { diff --git a/src/datadogV1/model/model_synthetics_trigger_ci_test_location.rs b/src/datadogV1/model/model_synthetics_trigger_ci_test_location.rs index 0120eea4d..d0c91bd17 100644 --- a/src/datadogV1/model/model_synthetics_trigger_ci_test_location.rs +++ b/src/datadogV1/model/model_synthetics_trigger_ci_test_location.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Synthetic location. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTriggerCITestLocation { diff --git a/src/datadogV1/model/model_synthetics_trigger_ci_test_run_result.rs b/src/datadogV1/model/model_synthetics_trigger_ci_test_run_result.rs index 5cc967546..88b56ce51 100644 --- a/src/datadogV1/model/model_synthetics_trigger_ci_test_run_result.rs +++ b/src/datadogV1/model/model_synthetics_trigger_ci_test_run_result.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Information about a single test run. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTriggerCITestRunResult { diff --git a/src/datadogV1/model/model_synthetics_trigger_ci_tests_response.rs b/src/datadogV1/model/model_synthetics_trigger_ci_tests_response.rs index b6c0e6437..c050b3781 100644 --- a/src/datadogV1/model/model_synthetics_trigger_ci_tests_response.rs +++ b/src/datadogV1/model/model_synthetics_trigger_ci_tests_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing information about the tests triggered. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTriggerCITestsResponse { diff --git a/src/datadogV1/model/model_synthetics_trigger_test.rs b/src/datadogV1/model/model_synthetics_trigger_test.rs index a120998c9..4765e3b9f 100644 --- a/src/datadogV1/model/model_synthetics_trigger_test.rs +++ b/src/datadogV1/model/model_synthetics_trigger_test.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Test configuration for Synthetics +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsTriggerTest { diff --git a/src/datadogV1/model/model_synthetics_update_test_pause_status_payload.rs b/src/datadogV1/model/model_synthetics_update_test_pause_status_payload.rs index d68c84d28..824fb7070 100644 --- a/src/datadogV1/model/model_synthetics_update_test_pause_status_payload.rs +++ b/src/datadogV1/model/model_synthetics_update_test_pause_status_payload.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to start or pause an existing Synthetic test. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsUpdateTestPauseStatusPayload { diff --git a/src/datadogV1/model/model_synthetics_variable_parser.rs b/src/datadogV1/model/model_synthetics_variable_parser.rs index 43bb96435..8235c5a58 100644 --- a/src/datadogV1/model/model_synthetics_variable_parser.rs +++ b/src/datadogV1/model/model_synthetics_variable_parser.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Details of the parser to use for the global variable. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SyntheticsVariableParser { diff --git a/src/datadogV1/model/model_synthetics_warning_type.rs b/src/datadogV1/model/model_synthetics_warning_type.rs index b7a70249d..26a6d2d71 100644 --- a/src/datadogV1/model/model_synthetics_warning_type.rs +++ b/src/datadogV1/model/model_synthetics_warning_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SyntheticsWarningType { #[serde(rename = "user_locator")] diff --git a/src/datadogV1/model/model_table_widget_cell_display_mode.rs b/src/datadogV1/model/model_table_widget_cell_display_mode.rs index d58c23753..d59a68a1c 100644 --- a/src/datadogV1/model/model_table_widget_cell_display_mode.rs +++ b/src/datadogV1/model/model_table_widget_cell_display_mode.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TableWidgetCellDisplayMode { #[serde(rename = "number")] diff --git a/src/datadogV1/model/model_table_widget_definition.rs b/src/datadogV1/model/model_table_widget_definition.rs index b2a1302a5..8a3b9b32f 100644 --- a/src/datadogV1/model/model_table_widget_definition.rs +++ b/src/datadogV1/model/model_table_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TableWidgetDefinition { diff --git a/src/datadogV1/model/model_table_widget_definition_type.rs b/src/datadogV1/model/model_table_widget_definition_type.rs index 70a0da135..85fc0391b 100644 --- a/src/datadogV1/model/model_table_widget_definition_type.rs +++ b/src/datadogV1/model/model_table_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TableWidgetDefinitionType { #[serde(rename = "query_table")] diff --git a/src/datadogV1/model/model_table_widget_has_search_bar.rs b/src/datadogV1/model/model_table_widget_has_search_bar.rs index 6312f8e61..f08a968f2 100644 --- a/src/datadogV1/model/model_table_widget_has_search_bar.rs +++ b/src/datadogV1/model/model_table_widget_has_search_bar.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TableWidgetHasSearchBar { #[serde(rename = "always")] diff --git a/src/datadogV1/model/model_table_widget_request.rs b/src/datadogV1/model/model_table_widget_request.rs index ae592aecf..2a6601c47 100644 --- a/src/datadogV1/model/model_table_widget_request.rs +++ b/src/datadogV1/model/model_table_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated table widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TableWidgetRequest { diff --git a/src/datadogV1/model/model_tag_to_hosts.rs b/src/datadogV1/model/model_tag_to_hosts.rs index 276785992..8eb5f6f55 100644 --- a/src/datadogV1/model/model_tag_to_hosts.rs +++ b/src/datadogV1/model/model_tag_to_hosts.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// In this object, the key is the tag, the value is a list of host names that are reporting that tag. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TagToHosts { diff --git a/src/datadogV1/model/model_target_format_type.rs b/src/datadogV1/model/model_target_format_type.rs index f8ec3f1a4..5ed2c1607 100644 --- a/src/datadogV1/model/model_target_format_type.rs +++ b/src/datadogV1/model/model_target_format_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TargetFormatType { #[serde(rename = "auto")] diff --git a/src/datadogV1/model/model_timeseries_background.rs b/src/datadogV1/model/model_timeseries_background.rs index a5b180550..35e524289 100644 --- a/src/datadogV1/model/model_timeseries_background.rs +++ b/src/datadogV1/model/model_timeseries_background.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Set a timeseries on the widget background. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesBackground { diff --git a/src/datadogV1/model/model_timeseries_background_type.rs b/src/datadogV1/model/model_timeseries_background_type.rs index d60e30ffe..927a2dae0 100644 --- a/src/datadogV1/model/model_timeseries_background_type.rs +++ b/src/datadogV1/model/model_timeseries_background_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TimeseriesBackgroundType { #[serde(rename = "bars")] diff --git a/src/datadogV1/model/model_timeseries_widget_definition.rs b/src/datadogV1/model/model_timeseries_widget_definition.rs index 2d44302bc..565407128 100644 --- a/src/datadogV1/model/model_timeseries_widget_definition.rs +++ b/src/datadogV1/model/model_timeseries_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesWidgetDefinition { diff --git a/src/datadogV1/model/model_timeseries_widget_definition_type.rs b/src/datadogV1/model/model_timeseries_widget_definition_type.rs index 795d5483a..6c8366553 100644 --- a/src/datadogV1/model/model_timeseries_widget_definition_type.rs +++ b/src/datadogV1/model/model_timeseries_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TimeseriesWidgetDefinitionType { #[serde(rename = "timeseries")] diff --git a/src/datadogV1/model/model_timeseries_widget_expression_alias.rs b/src/datadogV1/model/model_timeseries_widget_expression_alias.rs index 6b9884469..d3c6a01bf 100644 --- a/src/datadogV1/model/model_timeseries_widget_expression_alias.rs +++ b/src/datadogV1/model/model_timeseries_widget_expression_alias.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Define an expression alias. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesWidgetExpressionAlias { diff --git a/src/datadogV1/model/model_timeseries_widget_legend_column.rs b/src/datadogV1/model/model_timeseries_widget_legend_column.rs index 11a13b33a..eabb206a1 100644 --- a/src/datadogV1/model/model_timeseries_widget_legend_column.rs +++ b/src/datadogV1/model/model_timeseries_widget_legend_column.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TimeseriesWidgetLegendColumn { #[serde(rename = "value")] diff --git a/src/datadogV1/model/model_timeseries_widget_legend_layout.rs b/src/datadogV1/model/model_timeseries_widget_legend_layout.rs index 7c9c774ee..a810604db 100644 --- a/src/datadogV1/model/model_timeseries_widget_legend_layout.rs +++ b/src/datadogV1/model/model_timeseries_widget_legend_layout.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TimeseriesWidgetLegendLayout { #[serde(rename = "auto")] diff --git a/src/datadogV1/model/model_timeseries_widget_request.rs b/src/datadogV1/model/model_timeseries_widget_request.rs index df873c533..469d1d5fb 100644 --- a/src/datadogV1/model/model_timeseries_widget_request.rs +++ b/src/datadogV1/model/model_timeseries_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated timeseries widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesWidgetRequest { diff --git a/src/datadogV1/model/model_toplist_widget_definition.rs b/src/datadogV1/model/model_toplist_widget_definition.rs index 007daee5b..e9552dd82 100644 --- a/src/datadogV1/model/model_toplist_widget_definition.rs +++ b/src/datadogV1/model/model_toplist_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ToplistWidgetDefinition { diff --git a/src/datadogV1/model/model_toplist_widget_definition_type.rs b/src/datadogV1/model/model_toplist_widget_definition_type.rs index 7006c1620..743d425e2 100644 --- a/src/datadogV1/model/model_toplist_widget_definition_type.rs +++ b/src/datadogV1/model/model_toplist_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ToplistWidgetDefinitionType { #[serde(rename = "toplist")] diff --git a/src/datadogV1/model/model_toplist_widget_display.rs b/src/datadogV1/model/model_toplist_widget_display.rs index 508b23690..9d76cc639 100644 --- a/src/datadogV1/model/model_toplist_widget_display.rs +++ b/src/datadogV1/model/model_toplist_widget_display.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Top list widget display options. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ToplistWidgetDisplay { diff --git a/src/datadogV1/model/model_toplist_widget_flat.rs b/src/datadogV1/model/model_toplist_widget_flat.rs index 252943553..bab210d70 100644 --- a/src/datadogV1/model/model_toplist_widget_flat.rs +++ b/src/datadogV1/model/model_toplist_widget_flat.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Top list widget flat display. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ToplistWidgetFlat { diff --git a/src/datadogV1/model/model_toplist_widget_flat_type.rs b/src/datadogV1/model/model_toplist_widget_flat_type.rs index 8a6d79046..077d91270 100644 --- a/src/datadogV1/model/model_toplist_widget_flat_type.rs +++ b/src/datadogV1/model/model_toplist_widget_flat_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ToplistWidgetFlatType { #[serde(rename = "flat")] diff --git a/src/datadogV1/model/model_toplist_widget_legend.rs b/src/datadogV1/model/model_toplist_widget_legend.rs index bbd2cc61e..fdb35acae 100644 --- a/src/datadogV1/model/model_toplist_widget_legend.rs +++ b/src/datadogV1/model/model_toplist_widget_legend.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ToplistWidgetLegend { #[serde(rename = "automatic")] diff --git a/src/datadogV1/model/model_toplist_widget_request.rs b/src/datadogV1/model/model_toplist_widget_request.rs index 9e946e69c..54d56e3f7 100644 --- a/src/datadogV1/model/model_toplist_widget_request.rs +++ b/src/datadogV1/model/model_toplist_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Updated top list widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ToplistWidgetRequest { diff --git a/src/datadogV1/model/model_toplist_widget_scaling.rs b/src/datadogV1/model/model_toplist_widget_scaling.rs index cdf464a5a..2ae0ecfa3 100644 --- a/src/datadogV1/model/model_toplist_widget_scaling.rs +++ b/src/datadogV1/model/model_toplist_widget_scaling.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ToplistWidgetScaling { #[serde(rename = "absolute")] diff --git a/src/datadogV1/model/model_toplist_widget_stacked.rs b/src/datadogV1/model/model_toplist_widget_stacked.rs index 4f54b31a7..c0dc27f6d 100644 --- a/src/datadogV1/model/model_toplist_widget_stacked.rs +++ b/src/datadogV1/model/model_toplist_widget_stacked.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Top list widget stacked display options. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ToplistWidgetStacked { diff --git a/src/datadogV1/model/model_toplist_widget_stacked_type.rs b/src/datadogV1/model/model_toplist_widget_stacked_type.rs index 6efaf51c8..e55edd397 100644 --- a/src/datadogV1/model/model_toplist_widget_stacked_type.rs +++ b/src/datadogV1/model/model_toplist_widget_stacked_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ToplistWidgetStackedType { #[serde(rename = "stacked")] diff --git a/src/datadogV1/model/model_toplist_widget_style.rs b/src/datadogV1/model/model_toplist_widget_style.rs index 701258fb3..4e2f13d32 100644 --- a/src/datadogV1/model/model_toplist_widget_style.rs +++ b/src/datadogV1/model/model_toplist_widget_style.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Style customization for a top list widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ToplistWidgetStyle { diff --git a/src/datadogV1/model/model_topology_map_widget_definition.rs b/src/datadogV1/model/model_topology_map_widget_definition.rs index c2ad808d9..0daa57cbb 100644 --- a/src/datadogV1/model/model_topology_map_widget_definition.rs +++ b/src/datadogV1/model/model_topology_map_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// This widget displays a topology of nodes and edges for different data sources. It replaces the service map widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TopologyMapWidgetDefinition { diff --git a/src/datadogV1/model/model_topology_map_widget_definition_type.rs b/src/datadogV1/model/model_topology_map_widget_definition_type.rs index 37f6a8cd9..f67782673 100644 --- a/src/datadogV1/model/model_topology_map_widget_definition_type.rs +++ b/src/datadogV1/model/model_topology_map_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TopologyMapWidgetDefinitionType { #[serde(rename = "topology_map")] diff --git a/src/datadogV1/model/model_topology_query.rs b/src/datadogV1/model/model_topology_query.rs index 5f8c8d735..ae061f340 100644 --- a/src/datadogV1/model/model_topology_query.rs +++ b/src/datadogV1/model/model_topology_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Query to service-based topology data sources like the service map or data streams. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TopologyQuery { diff --git a/src/datadogV1/model/model_topology_query_data_source.rs b/src/datadogV1/model/model_topology_query_data_source.rs index 98c9ef23c..86f03c488 100644 --- a/src/datadogV1/model/model_topology_query_data_source.rs +++ b/src/datadogV1/model/model_topology_query_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TopologyQueryDataSource { #[serde(rename = "data_streams")] diff --git a/src/datadogV1/model/model_topology_request.rs b/src/datadogV1/model/model_topology_request.rs index 2ab5a0c36..8e7bebce2 100644 --- a/src/datadogV1/model/model_topology_request.rs +++ b/src/datadogV1/model/model_topology_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request that will return nodes and edges to be used by topology map. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TopologyRequest { diff --git a/src/datadogV1/model/model_topology_request_type.rs b/src/datadogV1/model/model_topology_request_type.rs index 8c832ba45..3930c3a6c 100644 --- a/src/datadogV1/model/model_topology_request_type.rs +++ b/src/datadogV1/model/model_topology_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TopologyRequestType { #[serde(rename = "topology")] diff --git a/src/datadogV1/model/model_tree_map_color_by.rs b/src/datadogV1/model/model_tree_map_color_by.rs index b549c33be..46f0c9d8d 100644 --- a/src/datadogV1/model/model_tree_map_color_by.rs +++ b/src/datadogV1/model/model_tree_map_color_by.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TreeMapColorBy { #[serde(rename = "user")] diff --git a/src/datadogV1/model/model_tree_map_group_by.rs b/src/datadogV1/model/model_tree_map_group_by.rs index b9da6272b..ea5bc807b 100644 --- a/src/datadogV1/model/model_tree_map_group_by.rs +++ b/src/datadogV1/model/model_tree_map_group_by.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TreeMapGroupBy { #[serde(rename = "user")] diff --git a/src/datadogV1/model/model_tree_map_size_by.rs b/src/datadogV1/model/model_tree_map_size_by.rs index cb93e879e..18953a6c1 100644 --- a/src/datadogV1/model/model_tree_map_size_by.rs +++ b/src/datadogV1/model/model_tree_map_size_by.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TreeMapSizeBy { #[serde(rename = "pct_cpu")] diff --git a/src/datadogV1/model/model_tree_map_widget_definition.rs b/src/datadogV1/model/model_tree_map_widget_definition.rs index 6f42c13dc..82058f2cc 100644 --- a/src/datadogV1/model/model_tree_map_widget_definition.rs +++ b/src/datadogV1/model/model_tree_map_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The treemap visualization enables you to display hierarchical and nested data. It is well suited for queries that describe part-whole relationships, such as resource usage by availability zone, data center, or team. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TreeMapWidgetDefinition { diff --git a/src/datadogV1/model/model_tree_map_widget_definition_type.rs b/src/datadogV1/model/model_tree_map_widget_definition_type.rs index 025fe5d95..f779ce0fd 100644 --- a/src/datadogV1/model/model_tree_map_widget_definition_type.rs +++ b/src/datadogV1/model/model_tree_map_widget_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TreeMapWidgetDefinitionType { #[serde(rename = "treemap")] diff --git a/src/datadogV1/model/model_tree_map_widget_request.rs b/src/datadogV1/model/model_tree_map_widget_request.rs index a239cbfff..9b3419cc7 100644 --- a/src/datadogV1/model/model_tree_map_widget_request.rs +++ b/src/datadogV1/model/model_tree_map_widget_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An updated treemap widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TreeMapWidgetRequest { diff --git a/src/datadogV1/model/model_usage_analyzed_logs_hour.rs b/src/datadogV1/model/model_usage_analyzed_logs_hour.rs index 03a6dae38..b2db8fbde 100644 --- a/src/datadogV1/model/model_usage_analyzed_logs_hour.rs +++ b/src/datadogV1/model/model_usage_analyzed_logs_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The number of analyzed logs for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAnalyzedLogsHour { diff --git a/src/datadogV1/model/model_usage_analyzed_logs_response.rs b/src/datadogV1/model/model_usage_analyzed_logs_response.rs index bc5da7f3c..70e510e2a 100644 --- a/src/datadogV1/model/model_usage_analyzed_logs_response.rs +++ b/src/datadogV1/model/model_usage_analyzed_logs_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A response containing the number of analyzed logs for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAnalyzedLogsResponse { diff --git a/src/datadogV1/model/model_usage_attribution_aggregates_body.rs b/src/datadogV1/model/model_usage_attribution_aggregates_body.rs index e2fdb821f..97893bec1 100644 --- a/src/datadogV1/model/model_usage_attribution_aggregates_body.rs +++ b/src/datadogV1/model/model_usage_attribution_aggregates_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing the aggregates. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAttributionAggregatesBody { diff --git a/src/datadogV1/model/model_usage_attribution_body.rs b/src/datadogV1/model/model_usage_attribution_body.rs index 095ecc61a..a51abaafc 100644 --- a/src/datadogV1/model/model_usage_attribution_body.rs +++ b/src/datadogV1/model/model_usage_attribution_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Usage Summary by tag for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAttributionBody { diff --git a/src/datadogV1/model/model_usage_attribution_metadata.rs b/src/datadogV1/model/model_usage_attribution_metadata.rs index 16b2a7cc2..7afa18f02 100644 --- a/src/datadogV1/model/model_usage_attribution_metadata.rs +++ b/src/datadogV1/model/model_usage_attribution_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing document metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAttributionMetadata { diff --git a/src/datadogV1/model/model_usage_attribution_pagination.rs b/src/datadogV1/model/model_usage_attribution_pagination.rs index bfe2a50b9..331dd23bb 100644 --- a/src/datadogV1/model/model_usage_attribution_pagination.rs +++ b/src/datadogV1/model/model_usage_attribution_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata for the current pagination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAttributionPagination { diff --git a/src/datadogV1/model/model_usage_attribution_response.rs b/src/datadogV1/model/model_usage_attribution_response.rs index b198a1e9c..976bb04ee 100644 --- a/src/datadogV1/model/model_usage_attribution_response.rs +++ b/src/datadogV1/model/model_usage_attribution_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the Usage Summary by tag(s). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAttributionResponse { diff --git a/src/datadogV1/model/model_usage_attribution_sort.rs b/src/datadogV1/model/model_usage_attribution_sort.rs index 8b8d96554..943ec8abf 100644 --- a/src/datadogV1/model/model_usage_attribution_sort.rs +++ b/src/datadogV1/model/model_usage_attribution_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UsageAttributionSort { #[serde(rename = "api_percentage")] diff --git a/src/datadogV1/model/model_usage_attribution_supported_metrics.rs b/src/datadogV1/model/model_usage_attribution_supported_metrics.rs index b88dbfb3e..bc8ff1e63 100644 --- a/src/datadogV1/model/model_usage_attribution_supported_metrics.rs +++ b/src/datadogV1/model/model_usage_attribution_supported_metrics.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UsageAttributionSupportedMetrics { #[serde(rename = "custom_timeseries_usage")] diff --git a/src/datadogV1/model/model_usage_attribution_values.rs b/src/datadogV1/model/model_usage_attribution_values.rs index 91ce5df02..62dece32b 100644 --- a/src/datadogV1/model/model_usage_attribution_values.rs +++ b/src/datadogV1/model/model_usage_attribution_values.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Fields in Usage Summary by tag(s). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAttributionValues { diff --git a/src/datadogV1/model/model_usage_audit_logs_hour.rs b/src/datadogV1/model/model_usage_audit_logs_hour.rs index 05b1f5178..641b6ea63 100644 --- a/src/datadogV1/model/model_usage_audit_logs_hour.rs +++ b/src/datadogV1/model/model_usage_audit_logs_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Audit logs usage for a given organization for a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAuditLogsHour { diff --git a/src/datadogV1/model/model_usage_audit_logs_response.rs b/src/datadogV1/model/model_usage_audit_logs_response.rs index 015ef3756..951e22aa6 100644 --- a/src/datadogV1/model/model_usage_audit_logs_response.rs +++ b/src/datadogV1/model/model_usage_audit_logs_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the audit logs usage for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAuditLogsResponse { diff --git a/src/datadogV1/model/model_usage_billable_summary_body.rs b/src/datadogV1/model/model_usage_billable_summary_body.rs index 359761324..03f04f121 100644 --- a/src/datadogV1/model/model_usage_billable_summary_body.rs +++ b/src/datadogV1/model/model_usage_billable_summary_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with properties for each aggregated usage type. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageBillableSummaryBody { diff --git a/src/datadogV1/model/model_usage_billable_summary_hour.rs b/src/datadogV1/model/model_usage_billable_summary_hour.rs index ff9860000..82cccc7f6 100644 --- a/src/datadogV1/model/model_usage_billable_summary_hour.rs +++ b/src/datadogV1/model/model_usage_billable_summary_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with monthly summary of data billed by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageBillableSummaryHour { diff --git a/src/datadogV1/model/model_usage_billable_summary_keys.rs b/src/datadogV1/model/model_usage_billable_summary_keys.rs index 4d96d8d04..8fa914a80 100644 --- a/src/datadogV1/model/model_usage_billable_summary_keys.rs +++ b/src/datadogV1/model/model_usage_billable_summary_keys.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with aggregated usage types. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageBillableSummaryKeys { diff --git a/src/datadogV1/model/model_usage_billable_summary_response.rs b/src/datadogV1/model/model_usage_billable_summary_response.rs index 5763796eb..00008a506 100644 --- a/src/datadogV1/model/model_usage_billable_summary_response.rs +++ b/src/datadogV1/model/model_usage_billable_summary_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with monthly summary of data billed by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageBillableSummaryResponse { diff --git a/src/datadogV1/model/model_usage_ci_visibility_hour.rs b/src/datadogV1/model/model_usage_ci_visibility_hour.rs index 5c2267816..7e3eb7891 100644 --- a/src/datadogV1/model/model_usage_ci_visibility_hour.rs +++ b/src/datadogV1/model/model_usage_ci_visibility_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// CI visibility usage in a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCIVisibilityHour { diff --git a/src/datadogV1/model/model_usage_ci_visibility_response.rs b/src/datadogV1/model/model_usage_ci_visibility_response.rs index bfbf9f847..550c2927d 100644 --- a/src/datadogV1/model/model_usage_ci_visibility_response.rs +++ b/src/datadogV1/model/model_usage_ci_visibility_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// CI visibility usage response +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCIVisibilityResponse { diff --git a/src/datadogV1/model/model_usage_cloud_security_posture_management_hour.rs b/src/datadogV1/model/model_usage_cloud_security_posture_management_hour.rs index 72918f464..a239ec29e 100644 --- a/src/datadogV1/model/model_usage_cloud_security_posture_management_hour.rs +++ b/src/datadogV1/model/model_usage_cloud_security_posture_management_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Cloud Security Management Pro usage for a given organization for a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCloudSecurityPostureManagementHour { diff --git a/src/datadogV1/model/model_usage_cloud_security_posture_management_response.rs b/src/datadogV1/model/model_usage_cloud_security_posture_management_response.rs index d77eca3fc..5bd0b4804 100644 --- a/src/datadogV1/model/model_usage_cloud_security_posture_management_response.rs +++ b/src/datadogV1/model/model_usage_cloud_security_posture_management_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response containing the Cloud Security Management Pro usage for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCloudSecurityPostureManagementResponse { diff --git a/src/datadogV1/model/model_usage_custom_reports_attributes.rs b/src/datadogV1/model/model_usage_custom_reports_attributes.rs index b1d9e7960..cbda064bb 100644 --- a/src/datadogV1/model/model_usage_custom_reports_attributes.rs +++ b/src/datadogV1/model/model_usage_custom_reports_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response containing attributes for custom reports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCustomReportsAttributes { diff --git a/src/datadogV1/model/model_usage_custom_reports_data.rs b/src/datadogV1/model/model_usage_custom_reports_data.rs index dfb9c2959..a21a827a5 100644 --- a/src/datadogV1/model/model_usage_custom_reports_data.rs +++ b/src/datadogV1/model/model_usage_custom_reports_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response containing the date and type for custom reports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCustomReportsData { diff --git a/src/datadogV1/model/model_usage_custom_reports_meta.rs b/src/datadogV1/model/model_usage_custom_reports_meta.rs index 4293f9c14..8bda2cb56 100644 --- a/src/datadogV1/model/model_usage_custom_reports_meta.rs +++ b/src/datadogV1/model/model_usage_custom_reports_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing document metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCustomReportsMeta { diff --git a/src/datadogV1/model/model_usage_custom_reports_page.rs b/src/datadogV1/model/model_usage_custom_reports_page.rs index 95948977f..9366fe664 100644 --- a/src/datadogV1/model/model_usage_custom_reports_page.rs +++ b/src/datadogV1/model/model_usage_custom_reports_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing page total count. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCustomReportsPage { diff --git a/src/datadogV1/model/model_usage_custom_reports_response.rs b/src/datadogV1/model/model_usage_custom_reports_response.rs index 568a64d3d..3eaa64d0f 100644 --- a/src/datadogV1/model/model_usage_custom_reports_response.rs +++ b/src/datadogV1/model/model_usage_custom_reports_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing available custom reports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCustomReportsResponse { diff --git a/src/datadogV1/model/model_usage_cws_hour.rs b/src/datadogV1/model/model_usage_cws_hour.rs index 45a183536..83e8ae6bd 100644 --- a/src/datadogV1/model/model_usage_cws_hour.rs +++ b/src/datadogV1/model/model_usage_cws_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Cloud Workload Security usage for a given organization for a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCWSHour { diff --git a/src/datadogV1/model/model_usage_cws_response.rs b/src/datadogV1/model/model_usage_cws_response.rs index a019fdebc..1a9d10ae6 100644 --- a/src/datadogV1/model/model_usage_cws_response.rs +++ b/src/datadogV1/model/model_usage_cws_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the Cloud Workload Security usage for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageCWSResponse { diff --git a/src/datadogV1/model/model_usage_dbm_hour.rs b/src/datadogV1/model/model_usage_dbm_hour.rs index 81a731a76..1d7b6296c 100644 --- a/src/datadogV1/model/model_usage_dbm_hour.rs +++ b/src/datadogV1/model/model_usage_dbm_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Database Monitoring usage for a given organization for a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageDBMHour { diff --git a/src/datadogV1/model/model_usage_dbm_response.rs b/src/datadogV1/model/model_usage_dbm_response.rs index 3829262dd..90ae80c99 100644 --- a/src/datadogV1/model/model_usage_dbm_response.rs +++ b/src/datadogV1/model/model_usage_dbm_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the Database Monitoring usage for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageDBMResponse { diff --git a/src/datadogV1/model/model_usage_fargate_hour.rs b/src/datadogV1/model/model_usage_fargate_hour.rs index 04ffcb4e5..ae7d2734d 100644 --- a/src/datadogV1/model/model_usage_fargate_hour.rs +++ b/src/datadogV1/model/model_usage_fargate_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of Fargate tasks run and hourly usage. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageFargateHour { diff --git a/src/datadogV1/model/model_usage_fargate_response.rs b/src/datadogV1/model/model_usage_fargate_response.rs index a1313ac4c..b0cf57d98 100644 --- a/src/datadogV1/model/model_usage_fargate_response.rs +++ b/src/datadogV1/model/model_usage_fargate_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of Fargate tasks run and hourly usage. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageFargateResponse { diff --git a/src/datadogV1/model/model_usage_host_hour.rs b/src/datadogV1/model/model_usage_host_hour.rs index d0bb980d6..5258f2ac8 100644 --- a/src/datadogV1/model/model_usage_host_hour.rs +++ b/src/datadogV1/model/model_usage_host_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of hosts/containers recorded for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageHostHour { diff --git a/src/datadogV1/model/model_usage_hosts_response.rs b/src/datadogV1/model/model_usage_hosts_response.rs index d0e0bf6c7..9f5e1ec05 100644 --- a/src/datadogV1/model/model_usage_hosts_response.rs +++ b/src/datadogV1/model/model_usage_hosts_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Host usage response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageHostsResponse { diff --git a/src/datadogV1/model/model_usage_incident_management_hour.rs b/src/datadogV1/model/model_usage_incident_management_hour.rs index 40b5dc803..a6fd59e72 100644 --- a/src/datadogV1/model/model_usage_incident_management_hour.rs +++ b/src/datadogV1/model/model_usage_incident_management_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident management usage for a given organization for a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageIncidentManagementHour { diff --git a/src/datadogV1/model/model_usage_incident_management_response.rs b/src/datadogV1/model/model_usage_incident_management_response.rs index d29d49874..597789004 100644 --- a/src/datadogV1/model/model_usage_incident_management_response.rs +++ b/src/datadogV1/model/model_usage_incident_management_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the incident management usage for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageIncidentManagementResponse { diff --git a/src/datadogV1/model/model_usage_indexed_spans_hour.rs b/src/datadogV1/model/model_usage_indexed_spans_hour.rs index ae57f5753..d709eb525 100644 --- a/src/datadogV1/model/model_usage_indexed_spans_hour.rs +++ b/src/datadogV1/model/model_usage_indexed_spans_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The hours of indexed spans usage. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageIndexedSpansHour { diff --git a/src/datadogV1/model/model_usage_indexed_spans_response.rs b/src/datadogV1/model/model_usage_indexed_spans_response.rs index 5d7c979c7..99bd739ce 100644 --- a/src/datadogV1/model/model_usage_indexed_spans_response.rs +++ b/src/datadogV1/model/model_usage_indexed_spans_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A response containing indexed spans usage. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageIndexedSpansResponse { diff --git a/src/datadogV1/model/model_usage_ingested_spans_hour.rs b/src/datadogV1/model/model_usage_ingested_spans_hour.rs index 3652d9119..511b6bc5d 100644 --- a/src/datadogV1/model/model_usage_ingested_spans_hour.rs +++ b/src/datadogV1/model/model_usage_ingested_spans_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Ingested spans usage for a given organization for a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageIngestedSpansHour { diff --git a/src/datadogV1/model/model_usage_ingested_spans_response.rs b/src/datadogV1/model/model_usage_ingested_spans_response.rs index 9b86ac4d9..7dc4b2076 100644 --- a/src/datadogV1/model/model_usage_ingested_spans_response.rs +++ b/src/datadogV1/model/model_usage_ingested_spans_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the ingested spans usage for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageIngestedSpansResponse { diff --git a/src/datadogV1/model/model_usage_io_t_hour.rs b/src/datadogV1/model/model_usage_io_t_hour.rs index 674261045..b708d5f85 100644 --- a/src/datadogV1/model/model_usage_io_t_hour.rs +++ b/src/datadogV1/model/model_usage_io_t_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// IoT usage for a given organization for a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageIoTHour { diff --git a/src/datadogV1/model/model_usage_io_t_response.rs b/src/datadogV1/model/model_usage_io_t_response.rs index 446fec2e5..5a106fa81 100644 --- a/src/datadogV1/model/model_usage_io_t_response.rs +++ b/src/datadogV1/model/model_usage_io_t_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the IoT usage for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageIoTResponse { diff --git a/src/datadogV1/model/model_usage_lambda_hour.rs b/src/datadogV1/model/model_usage_lambda_hour.rs index adf212027..0fa38c0b4 100644 --- a/src/datadogV1/model/model_usage_lambda_hour.rs +++ b/src/datadogV1/model/model_usage_lambda_hour.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Number of lambda functions and sum of the invocations of all lambda functions /// for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLambdaHour { diff --git a/src/datadogV1/model/model_usage_lambda_response.rs b/src/datadogV1/model/model_usage_lambda_response.rs index a82d59e0e..12dd9ca32 100644 --- a/src/datadogV1/model/model_usage_lambda_response.rs +++ b/src/datadogV1/model/model_usage_lambda_response.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Response containing the number of lambda functions and sum of the invocations of all lambda functions /// for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLambdaResponse { diff --git a/src/datadogV1/model/model_usage_logs_by_index_hour.rs b/src/datadogV1/model/model_usage_logs_by_index_hour.rs index d95dc6271..0934fbefc 100644 --- a/src/datadogV1/model/model_usage_logs_by_index_hour.rs +++ b/src/datadogV1/model/model_usage_logs_by_index_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of indexed logs for each hour and index for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLogsByIndexHour { diff --git a/src/datadogV1/model/model_usage_logs_by_index_response.rs b/src/datadogV1/model/model_usage_logs_by_index_response.rs index 7385997ea..2f1f0efd4 100644 --- a/src/datadogV1/model/model_usage_logs_by_index_response.rs +++ b/src/datadogV1/model/model_usage_logs_by_index_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of indexed logs for each hour and index for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLogsByIndexResponse { diff --git a/src/datadogV1/model/model_usage_logs_by_retention_hour.rs b/src/datadogV1/model/model_usage_logs_by_retention_hour.rs index 560e505b0..d2744b3b9 100644 --- a/src/datadogV1/model/model_usage_logs_by_retention_hour.rs +++ b/src/datadogV1/model/model_usage_logs_by_retention_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The number of indexed logs for each hour for a given organization broken down by retention period. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLogsByRetentionHour { diff --git a/src/datadogV1/model/model_usage_logs_by_retention_response.rs b/src/datadogV1/model/model_usage_logs_by_retention_response.rs index e1afdc96f..027251ffa 100644 --- a/src/datadogV1/model/model_usage_logs_by_retention_response.rs +++ b/src/datadogV1/model/model_usage_logs_by_retention_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the indexed logs usage broken down by retention period for an organization during a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLogsByRetentionResponse { diff --git a/src/datadogV1/model/model_usage_logs_hour.rs b/src/datadogV1/model/model_usage_logs_hour.rs index 28b78f871..d443b5cf8 100644 --- a/src/datadogV1/model/model_usage_logs_hour.rs +++ b/src/datadogV1/model/model_usage_logs_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Hour usage for logs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLogsHour { diff --git a/src/datadogV1/model/model_usage_logs_response.rs b/src/datadogV1/model/model_usage_logs_response.rs index 02663e441..0e13dbb49 100644 --- a/src/datadogV1/model/model_usage_logs_response.rs +++ b/src/datadogV1/model/model_usage_logs_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of logs for each hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLogsResponse { diff --git a/src/datadogV1/model/model_usage_metric_category.rs b/src/datadogV1/model/model_usage_metric_category.rs index 4945b1b20..64b4b92ee 100644 --- a/src/datadogV1/model/model_usage_metric_category.rs +++ b/src/datadogV1/model/model_usage_metric_category.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UsageMetricCategory { #[serde(rename = "standard")] diff --git a/src/datadogV1/model/model_usage_network_flows_hour.rs b/src/datadogV1/model/model_usage_network_flows_hour.rs index 702935dee..832a4e901 100644 --- a/src/datadogV1/model/model_usage_network_flows_hour.rs +++ b/src/datadogV1/model/model_usage_network_flows_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of netflow events indexed for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageNetworkFlowsHour { diff --git a/src/datadogV1/model/model_usage_network_flows_response.rs b/src/datadogV1/model/model_usage_network_flows_response.rs index c66198e58..17ac0d422 100644 --- a/src/datadogV1/model/model_usage_network_flows_response.rs +++ b/src/datadogV1/model/model_usage_network_flows_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of netflow events indexed for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageNetworkFlowsResponse { diff --git a/src/datadogV1/model/model_usage_network_hosts_hour.rs b/src/datadogV1/model/model_usage_network_hosts_hour.rs index 1e6dd708e..338a181ad 100644 --- a/src/datadogV1/model/model_usage_network_hosts_hour.rs +++ b/src/datadogV1/model/model_usage_network_hosts_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of active NPM hosts for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageNetworkHostsHour { diff --git a/src/datadogV1/model/model_usage_network_hosts_response.rs b/src/datadogV1/model/model_usage_network_hosts_response.rs index 809775424..0eb69234a 100644 --- a/src/datadogV1/model/model_usage_network_hosts_response.rs +++ b/src/datadogV1/model/model_usage_network_hosts_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of active NPM hosts for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageNetworkHostsResponse { diff --git a/src/datadogV1/model/model_usage_online_archive_hour.rs b/src/datadogV1/model/model_usage_online_archive_hour.rs index 3165830b7..404ffd5f1 100644 --- a/src/datadogV1/model/model_usage_online_archive_hour.rs +++ b/src/datadogV1/model/model_usage_online_archive_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Online Archive usage in a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageOnlineArchiveHour { diff --git a/src/datadogV1/model/model_usage_online_archive_response.rs b/src/datadogV1/model/model_usage_online_archive_response.rs index 3a7388c25..481aec7e8 100644 --- a/src/datadogV1/model/model_usage_online_archive_response.rs +++ b/src/datadogV1/model/model_usage_online_archive_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Online Archive usage response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageOnlineArchiveResponse { diff --git a/src/datadogV1/model/model_usage_profiling_hour.rs b/src/datadogV1/model/model_usage_profiling_hour.rs index 5d856ce0e..50636fde4 100644 --- a/src/datadogV1/model/model_usage_profiling_hour.rs +++ b/src/datadogV1/model/model_usage_profiling_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The number of profiled hosts for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageProfilingHour { diff --git a/src/datadogV1/model/model_usage_profiling_response.rs b/src/datadogV1/model/model_usage_profiling_response.rs index 91982ea5c..b0b64011a 100644 --- a/src/datadogV1/model/model_usage_profiling_response.rs +++ b/src/datadogV1/model/model_usage_profiling_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of profiled hosts for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageProfilingResponse { diff --git a/src/datadogV1/model/model_usage_reports_type.rs b/src/datadogV1/model/model_usage_reports_type.rs index f7c58fe4d..f760bef15 100644 --- a/src/datadogV1/model/model_usage_reports_type.rs +++ b/src/datadogV1/model/model_usage_reports_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UsageReportsType { #[serde(rename = "reports")] diff --git a/src/datadogV1/model/model_usage_rum_sessions_hour.rs b/src/datadogV1/model/model_usage_rum_sessions_hour.rs index 12bc38693..d80900b64 100644 --- a/src/datadogV1/model/model_usage_rum_sessions_hour.rs +++ b/src/datadogV1/model/model_usage_rum_sessions_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of RUM Sessions recorded for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageRumSessionsHour { diff --git a/src/datadogV1/model/model_usage_rum_sessions_response.rs b/src/datadogV1/model/model_usage_rum_sessions_response.rs index 9e54e8831..cedc6f560 100644 --- a/src/datadogV1/model/model_usage_rum_sessions_response.rs +++ b/src/datadogV1/model/model_usage_rum_sessions_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of RUM Sessions for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageRumSessionsResponse { diff --git a/src/datadogV1/model/model_usage_rum_units_hour.rs b/src/datadogV1/model/model_usage_rum_units_hour.rs index 8a91cd891..200042edc 100644 --- a/src/datadogV1/model/model_usage_rum_units_hour.rs +++ b/src/datadogV1/model/model_usage_rum_units_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of RUM Units used for each hour for a given organization (data available as of November 1, 2021). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageRumUnitsHour { diff --git a/src/datadogV1/model/model_usage_rum_units_response.rs b/src/datadogV1/model/model_usage_rum_units_response.rs index 7b9a38e8f..3684908ba 100644 --- a/src/datadogV1/model/model_usage_rum_units_response.rs +++ b/src/datadogV1/model/model_usage_rum_units_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of RUM Units for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageRumUnitsResponse { diff --git a/src/datadogV1/model/model_usage_sds_hour.rs b/src/datadogV1/model/model_usage_sds_hour.rs index a9554208d..ce4ecdfb1 100644 --- a/src/datadogV1/model/model_usage_sds_hour.rs +++ b/src/datadogV1/model/model_usage_sds_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Sensitive Data Scanner usage for a given organization for a given hour. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSDSHour { diff --git a/src/datadogV1/model/model_usage_sds_response.rs b/src/datadogV1/model/model_usage_sds_response.rs index 11cd5bd43..135a0a185 100644 --- a/src/datadogV1/model/model_usage_sds_response.rs +++ b/src/datadogV1/model/model_usage_sds_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the Sensitive Data Scanner usage for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSDSResponse { diff --git a/src/datadogV1/model/model_usage_snmp_hour.rs b/src/datadogV1/model/model_usage_snmp_hour.rs index 8c78fbb35..c6d739e7f 100644 --- a/src/datadogV1/model/model_usage_snmp_hour.rs +++ b/src/datadogV1/model/model_usage_snmp_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The number of SNMP devices for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSNMPHour { diff --git a/src/datadogV1/model/model_usage_snmp_response.rs b/src/datadogV1/model/model_usage_snmp_response.rs index 19e49e5bc..c28801ee8 100644 --- a/src/datadogV1/model/model_usage_snmp_response.rs +++ b/src/datadogV1/model/model_usage_snmp_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of SNMP devices for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSNMPResponse { diff --git a/src/datadogV1/model/model_usage_sort.rs b/src/datadogV1/model/model_usage_sort.rs index aadcce593..de42ad1a3 100644 --- a/src/datadogV1/model/model_usage_sort.rs +++ b/src/datadogV1/model/model_usage_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UsageSort { #[serde(rename = "computed_on")] diff --git a/src/datadogV1/model/model_usage_sort_direction.rs b/src/datadogV1/model/model_usage_sort_direction.rs index 975096a7a..4818d7ac1 100644 --- a/src/datadogV1/model/model_usage_sort_direction.rs +++ b/src/datadogV1/model/model_usage_sort_direction.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UsageSortDirection { #[serde(rename = "desc")] diff --git a/src/datadogV1/model/model_usage_specified_custom_reports_attributes.rs b/src/datadogV1/model/model_usage_specified_custom_reports_attributes.rs index 854c75466..84dd9be5a 100644 --- a/src/datadogV1/model/model_usage_specified_custom_reports_attributes.rs +++ b/src/datadogV1/model/model_usage_specified_custom_reports_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response containing attributes for specified custom reports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSpecifiedCustomReportsAttributes { diff --git a/src/datadogV1/model/model_usage_specified_custom_reports_data.rs b/src/datadogV1/model/model_usage_specified_custom_reports_data.rs index db998aec1..e4f5d3d2d 100644 --- a/src/datadogV1/model/model_usage_specified_custom_reports_data.rs +++ b/src/datadogV1/model/model_usage_specified_custom_reports_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing date and type for specified custom reports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSpecifiedCustomReportsData { diff --git a/src/datadogV1/model/model_usage_specified_custom_reports_meta.rs b/src/datadogV1/model/model_usage_specified_custom_reports_meta.rs index f9d92c8f4..98c063da8 100644 --- a/src/datadogV1/model/model_usage_specified_custom_reports_meta.rs +++ b/src/datadogV1/model/model_usage_specified_custom_reports_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing document metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSpecifiedCustomReportsMeta { diff --git a/src/datadogV1/model/model_usage_specified_custom_reports_page.rs b/src/datadogV1/model/model_usage_specified_custom_reports_page.rs index 8513ab095..6b1d617f3 100644 --- a/src/datadogV1/model/model_usage_specified_custom_reports_page.rs +++ b/src/datadogV1/model/model_usage_specified_custom_reports_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing page total count for specified ID. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSpecifiedCustomReportsPage { diff --git a/src/datadogV1/model/model_usage_specified_custom_reports_response.rs b/src/datadogV1/model/model_usage_specified_custom_reports_response.rs index b46749939..50cf00103 100644 --- a/src/datadogV1/model/model_usage_specified_custom_reports_response.rs +++ b/src/datadogV1/model/model_usage_specified_custom_reports_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Returns available specified custom reports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSpecifiedCustomReportsResponse { diff --git a/src/datadogV1/model/model_usage_summary_date.rs b/src/datadogV1/model/model_usage_summary_date.rs index dccaa07d2..f0e2c30a0 100644 --- a/src/datadogV1/model/model_usage_summary_date.rs +++ b/src/datadogV1/model/model_usage_summary_date.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with hourly report of all data billed by Datadog all organizations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSummaryDate { diff --git a/src/datadogV1/model/model_usage_summary_date_org.rs b/src/datadogV1/model/model_usage_summary_date_org.rs index 3780e7c71..930017254 100644 --- a/src/datadogV1/model/model_usage_summary_date_org.rs +++ b/src/datadogV1/model/model_usage_summary_date_org.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Global hourly report of all data billed by Datadog for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSummaryDateOrg { diff --git a/src/datadogV1/model/model_usage_summary_response.rs b/src/datadogV1/model/model_usage_summary_response.rs index 331c2e45e..9821938a6 100644 --- a/src/datadogV1/model/model_usage_summary_response.rs +++ b/src/datadogV1/model/model_usage_summary_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response summarizing all usage aggregated across the months in the request for all organizations, and broken down by month and by organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSummaryResponse { diff --git a/src/datadogV1/model/model_usage_synthetics_api_hour.rs b/src/datadogV1/model/model_usage_synthetics_api_hour.rs index c61758b25..c43c79c09 100644 --- a/src/datadogV1/model/model_usage_synthetics_api_hour.rs +++ b/src/datadogV1/model/model_usage_synthetics_api_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of Synthetics API tests run for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSyntheticsAPIHour { diff --git a/src/datadogV1/model/model_usage_synthetics_api_response.rs b/src/datadogV1/model/model_usage_synthetics_api_response.rs index e79761399..7c93c1114 100644 --- a/src/datadogV1/model/model_usage_synthetics_api_response.rs +++ b/src/datadogV1/model/model_usage_synthetics_api_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of Synthetics API tests run for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSyntheticsAPIResponse { diff --git a/src/datadogV1/model/model_usage_synthetics_browser_hour.rs b/src/datadogV1/model/model_usage_synthetics_browser_hour.rs index 49e99ea76..06417d484 100644 --- a/src/datadogV1/model/model_usage_synthetics_browser_hour.rs +++ b/src/datadogV1/model/model_usage_synthetics_browser_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of Synthetics Browser tests run for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSyntheticsBrowserHour { diff --git a/src/datadogV1/model/model_usage_synthetics_browser_response.rs b/src/datadogV1/model/model_usage_synthetics_browser_response.rs index 5f720aae0..a5c67113f 100644 --- a/src/datadogV1/model/model_usage_synthetics_browser_response.rs +++ b/src/datadogV1/model/model_usage_synthetics_browser_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of Synthetics Browser tests run for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSyntheticsBrowserResponse { diff --git a/src/datadogV1/model/model_usage_synthetics_hour.rs b/src/datadogV1/model/model_usage_synthetics_hour.rs index ec6dd99e2..a6b476ff0 100644 --- a/src/datadogV1/model/model_usage_synthetics_hour.rs +++ b/src/datadogV1/model/model_usage_synthetics_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The number of synthetics tests run for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSyntheticsHour { diff --git a/src/datadogV1/model/model_usage_synthetics_response.rs b/src/datadogV1/model/model_usage_synthetics_response.rs index 30e65a570..dc5b334d8 100644 --- a/src/datadogV1/model/model_usage_synthetics_response.rs +++ b/src/datadogV1/model/model_usage_synthetics_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of Synthetics API tests run for each hour for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageSyntheticsResponse { diff --git a/src/datadogV1/model/model_usage_timeseries_hour.rs b/src/datadogV1/model/model_usage_timeseries_hour.rs index e72f7f3a1..40789eb83 100644 --- a/src/datadogV1/model/model_usage_timeseries_hour.rs +++ b/src/datadogV1/model/model_usage_timeseries_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The hourly usage of timeseries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageTimeseriesHour { diff --git a/src/datadogV1/model/model_usage_timeseries_response.rs b/src/datadogV1/model/model_usage_timeseries_response.rs index 641c4833a..f85befb1c 100644 --- a/src/datadogV1/model/model_usage_timeseries_response.rs +++ b/src/datadogV1/model/model_usage_timeseries_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing hourly usage of timeseries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageTimeseriesResponse { diff --git a/src/datadogV1/model/model_usage_top_avg_metrics_hour.rs b/src/datadogV1/model/model_usage_top_avg_metrics_hour.rs index c46cb2a40..5884454d2 100644 --- a/src/datadogV1/model/model_usage_top_avg_metrics_hour.rs +++ b/src/datadogV1/model/model_usage_top_avg_metrics_hour.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Number of hourly recorded custom metrics for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageTopAvgMetricsHour { diff --git a/src/datadogV1/model/model_usage_top_avg_metrics_metadata.rs b/src/datadogV1/model/model_usage_top_avg_metrics_metadata.rs index 1edccf4f7..f9eaaa223 100644 --- a/src/datadogV1/model/model_usage_top_avg_metrics_metadata.rs +++ b/src/datadogV1/model/model_usage_top_avg_metrics_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing document metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageTopAvgMetricsMetadata { diff --git a/src/datadogV1/model/model_usage_top_avg_metrics_pagination.rs b/src/datadogV1/model/model_usage_top_avg_metrics_pagination.rs index 53fb8bf06..316147836 100644 --- a/src/datadogV1/model/model_usage_top_avg_metrics_pagination.rs +++ b/src/datadogV1/model/model_usage_top_avg_metrics_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata for the current pagination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageTopAvgMetricsPagination { diff --git a/src/datadogV1/model/model_usage_top_avg_metrics_response.rs b/src/datadogV1/model/model_usage_top_avg_metrics_response.rs index b63b25ac9..4ea4ad062 100644 --- a/src/datadogV1/model/model_usage_top_avg_metrics_response.rs +++ b/src/datadogV1/model/model_usage_top_avg_metrics_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the number of hourly recorded custom metrics for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageTopAvgMetricsResponse { diff --git a/src/datadogV1/model/model_user.rs b/src/datadogV1/model/model_user.rs index 24fc6e8da..4058b3940 100644 --- a/src/datadogV1/model/model_user.rs +++ b/src/datadogV1/model/model_user.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create, edit, and disable users. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct User { diff --git a/src/datadogV1/model/model_user_disable_response.rs b/src/datadogV1/model/model_user_disable_response.rs index 337465b64..b8263dd84 100644 --- a/src/datadogV1/model/model_user_disable_response.rs +++ b/src/datadogV1/model/model_user_disable_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Array of user disabled for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserDisableResponse { diff --git a/src/datadogV1/model/model_user_list_response.rs b/src/datadogV1/model/model_user_list_response.rs index 64a2479f3..6f9d0a02a 100644 --- a/src/datadogV1/model/model_user_list_response.rs +++ b/src/datadogV1/model/model_user_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Array of Datadog users for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserListResponse { diff --git a/src/datadogV1/model/model_user_response.rs b/src/datadogV1/model/model_user_response.rs index e2e4f0738..fe78a9c1c 100644 --- a/src/datadogV1/model/model_user_response.rs +++ b/src/datadogV1/model/model_user_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A Datadog User. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserResponse { diff --git a/src/datadogV1/model/model_webhooks_integration.rs b/src/datadogV1/model/model_webhooks_integration.rs index 435734de3..dbabc2ed3 100644 --- a/src/datadogV1/model/model_webhooks_integration.rs +++ b/src/datadogV1/model/model_webhooks_integration.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Datadog-Webhooks integration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WebhooksIntegration { diff --git a/src/datadogV1/model/model_webhooks_integration_custom_variable.rs b/src/datadogV1/model/model_webhooks_integration_custom_variable.rs index d405debf8..0168a955f 100644 --- a/src/datadogV1/model/model_webhooks_integration_custom_variable.rs +++ b/src/datadogV1/model/model_webhooks_integration_custom_variable.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Custom variable for Webhook integration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WebhooksIntegrationCustomVariable { diff --git a/src/datadogV1/model/model_webhooks_integration_custom_variable_response.rs b/src/datadogV1/model/model_webhooks_integration_custom_variable_response.rs index e38de78fd..9826aea8d 100644 --- a/src/datadogV1/model/model_webhooks_integration_custom_variable_response.rs +++ b/src/datadogV1/model/model_webhooks_integration_custom_variable_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Custom variable for Webhook integration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WebhooksIntegrationCustomVariableResponse { diff --git a/src/datadogV1/model/model_webhooks_integration_custom_variable_update_request.rs b/src/datadogV1/model/model_webhooks_integration_custom_variable_update_request.rs index 159096eb3..faab67bb5 100644 --- a/src/datadogV1/model/model_webhooks_integration_custom_variable_update_request.rs +++ b/src/datadogV1/model/model_webhooks_integration_custom_variable_update_request.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// Update request of a custom variable object. /// /// *All properties are optional.* +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WebhooksIntegrationCustomVariableUpdateRequest { diff --git a/src/datadogV1/model/model_webhooks_integration_encoding.rs b/src/datadogV1/model/model_webhooks_integration_encoding.rs index 2a4fecc12..3d9a6e14c 100644 --- a/src/datadogV1/model/model_webhooks_integration_encoding.rs +++ b/src/datadogV1/model/model_webhooks_integration_encoding.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WebhooksIntegrationEncoding { #[serde(rename = "json")] diff --git a/src/datadogV1/model/model_webhooks_integration_update_request.rs b/src/datadogV1/model/model_webhooks_integration_update_request.rs index d6a51a6e4..daa7ff073 100644 --- a/src/datadogV1/model/model_webhooks_integration_update_request.rs +++ b/src/datadogV1/model/model_webhooks_integration_update_request.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// Update request of a Webhooks integration object. /// /// *All properties are optional.* +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WebhooksIntegrationUpdateRequest { diff --git a/src/datadogV1/model/model_widget.rs b/src/datadogV1/model/model_widget.rs index c53a109ae..b471c6a8b 100644 --- a/src/datadogV1/model/model_widget.rs +++ b/src/datadogV1/model/model_widget.rs @@ -10,6 +10,7 @@ use serde_with::skip_serializing_none; /// For the **new dashboard layout**, the `layout` property depends on the `reflow_type` of the dashboard. /// - If `reflow_type` is `fixed`, `layout` is required. /// - If `reflow_type` is `auto`, `layout` should not be set. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Widget { diff --git a/src/datadogV1/model/model_widget_aggregator.rs b/src/datadogV1/model/model_widget_aggregator.rs index 2cd46901a..ac7b2189b 100644 --- a/src/datadogV1/model/model_widget_aggregator.rs +++ b/src/datadogV1/model/model_widget_aggregator.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetAggregator { #[serde(rename = "avg")] diff --git a/src/datadogV1/model/model_widget_axis.rs b/src/datadogV1/model/model_widget_axis.rs index 112a3231b..da47dad80 100644 --- a/src/datadogV1/model/model_widget_axis.rs +++ b/src/datadogV1/model/model_widget_axis.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Axis controls for the widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetAxis { diff --git a/src/datadogV1/model/model_widget_change_type.rs b/src/datadogV1/model/model_widget_change_type.rs index 7f5c1f5e6..d974fe8b9 100644 --- a/src/datadogV1/model/model_widget_change_type.rs +++ b/src/datadogV1/model/model_widget_change_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetChangeType { #[serde(rename = "absolute")] diff --git a/src/datadogV1/model/model_widget_color_preference.rs b/src/datadogV1/model/model_widget_color_preference.rs index b13e467f7..023281765 100644 --- a/src/datadogV1/model/model_widget_color_preference.rs +++ b/src/datadogV1/model/model_widget_color_preference.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetColorPreference { #[serde(rename = "background")] diff --git a/src/datadogV1/model/model_widget_comparator.rs b/src/datadogV1/model/model_widget_comparator.rs index 1c550832a..3f064b39b 100644 --- a/src/datadogV1/model/model_widget_comparator.rs +++ b/src/datadogV1/model/model_widget_comparator.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetComparator { #[serde(rename = "=")] diff --git a/src/datadogV1/model/model_widget_compare_to.rs b/src/datadogV1/model/model_widget_compare_to.rs index 947ab3947..1c7a84e11 100644 --- a/src/datadogV1/model/model_widget_compare_to.rs +++ b/src/datadogV1/model/model_widget_compare_to.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetCompareTo { #[serde(rename = "hour_before")] diff --git a/src/datadogV1/model/model_widget_conditional_format.rs b/src/datadogV1/model/model_widget_conditional_format.rs index a40d2d817..95f3698d3 100644 --- a/src/datadogV1/model/model_widget_conditional_format.rs +++ b/src/datadogV1/model/model_widget_conditional_format.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Define a conditional format for the widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetConditionalFormat { diff --git a/src/datadogV1/model/model_widget_custom_link.rs b/src/datadogV1/model/model_widget_custom_link.rs index 3f9126a47..dac2cf577 100644 --- a/src/datadogV1/model/model_widget_custom_link.rs +++ b/src/datadogV1/model/model_widget_custom_link.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Custom links help you connect a data value to a URL, like a Datadog page or your AWS console. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetCustomLink { diff --git a/src/datadogV1/model/model_widget_definition.rs b/src/datadogV1/model/model_widget_definition.rs index 4b0a7e77f..00b19b07d 100644 --- a/src/datadogV1/model/model_widget_definition.rs +++ b/src/datadogV1/model/model_widget_definition.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// [Definition of the widget](). +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum WidgetDefinition { diff --git a/src/datadogV1/model/model_widget_display_type.rs b/src/datadogV1/model/model_widget_display_type.rs index f24cc6ea2..31e35538e 100644 --- a/src/datadogV1/model/model_widget_display_type.rs +++ b/src/datadogV1/model/model_widget_display_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetDisplayType { #[serde(rename = "area")] diff --git a/src/datadogV1/model/model_widget_event.rs b/src/datadogV1/model/model_widget_event.rs index 729e1ecc0..903530ff3 100644 --- a/src/datadogV1/model/model_widget_event.rs +++ b/src/datadogV1/model/model_widget_event.rs @@ -8,6 +8,7 @@ use serde_with::skip_serializing_none; /// /// See the dedicated [Events JSON schema documentation]() /// to learn how to build the ``. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetEvent { diff --git a/src/datadogV1/model/model_widget_event_size.rs b/src/datadogV1/model/model_widget_event_size.rs index 20eaa9a45..f92cd910d 100644 --- a/src/datadogV1/model/model_widget_event_size.rs +++ b/src/datadogV1/model/model_widget_event_size.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetEventSize { #[serde(rename = "s")] diff --git a/src/datadogV1/model/model_widget_field_sort.rs b/src/datadogV1/model/model_widget_field_sort.rs index db7076d69..015e44508 100644 --- a/src/datadogV1/model/model_widget_field_sort.rs +++ b/src/datadogV1/model/model_widget_field_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Which column and order to sort by +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetFieldSort { diff --git a/src/datadogV1/model/model_widget_formula.rs b/src/datadogV1/model/model_widget_formula.rs index c4ba59d03..77b7eed1a 100644 --- a/src/datadogV1/model/model_widget_formula.rs +++ b/src/datadogV1/model/model_widget_formula.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Formula to be used in a widget query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetFormula { diff --git a/src/datadogV1/model/model_widget_formula_limit.rs b/src/datadogV1/model/model_widget_formula_limit.rs index 5ce562e4a..2a48f6ac2 100644 --- a/src/datadogV1/model/model_widget_formula_limit.rs +++ b/src/datadogV1/model/model_widget_formula_limit.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options for limiting results returned. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetFormulaLimit { diff --git a/src/datadogV1/model/model_widget_formula_style.rs b/src/datadogV1/model/model_widget_formula_style.rs index 5c62ec973..c7b902e3d 100644 --- a/src/datadogV1/model/model_widget_formula_style.rs +++ b/src/datadogV1/model/model_widget_formula_style.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Styling options for widget formulas. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetFormulaStyle { diff --git a/src/datadogV1/model/model_widget_grouping.rs b/src/datadogV1/model/model_widget_grouping.rs index 84f2040b7..02d408a26 100644 --- a/src/datadogV1/model/model_widget_grouping.rs +++ b/src/datadogV1/model/model_widget_grouping.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetGrouping { #[serde(rename = "check")] diff --git a/src/datadogV1/model/model_widget_horizontal_align.rs b/src/datadogV1/model/model_widget_horizontal_align.rs index 84e2215a0..e9b3f7f2f 100644 --- a/src/datadogV1/model/model_widget_horizontal_align.rs +++ b/src/datadogV1/model/model_widget_horizontal_align.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetHorizontalAlign { #[serde(rename = "center")] diff --git a/src/datadogV1/model/model_widget_image_sizing.rs b/src/datadogV1/model/model_widget_image_sizing.rs index b2b07ae6d..0f42581a7 100644 --- a/src/datadogV1/model/model_widget_image_sizing.rs +++ b/src/datadogV1/model/model_widget_image_sizing.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetImageSizing { #[serde(rename = "fill")] diff --git a/src/datadogV1/model/model_widget_layout.rs b/src/datadogV1/model/model_widget_layout.rs index 97b86c3b1..26748621f 100644 --- a/src/datadogV1/model/model_widget_layout.rs +++ b/src/datadogV1/model/model_widget_layout.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The layout for a widget on a `free` or **new dashboard layout** dashboard. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetLayout { diff --git a/src/datadogV1/model/model_widget_layout_type.rs b/src/datadogV1/model/model_widget_layout_type.rs index 8cce2e72a..9c468e0eb 100644 --- a/src/datadogV1/model/model_widget_layout_type.rs +++ b/src/datadogV1/model/model_widget_layout_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetLayoutType { #[serde(rename = "ordered")] diff --git a/src/datadogV1/model/model_widget_line_type.rs b/src/datadogV1/model/model_widget_line_type.rs index b13c2d7b5..12bf201df 100644 --- a/src/datadogV1/model/model_widget_line_type.rs +++ b/src/datadogV1/model/model_widget_line_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetLineType { #[serde(rename = "dashed")] diff --git a/src/datadogV1/model/model_widget_line_width.rs b/src/datadogV1/model/model_widget_line_width.rs index ffe09c5e3..dd75977ca 100644 --- a/src/datadogV1/model/model_widget_line_width.rs +++ b/src/datadogV1/model/model_widget_line_width.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetLineWidth { #[serde(rename = "normal")] diff --git a/src/datadogV1/model/model_widget_live_span.rs b/src/datadogV1/model/model_widget_live_span.rs index fd5239c3c..5998859e8 100644 --- a/src/datadogV1/model/model_widget_live_span.rs +++ b/src/datadogV1/model/model_widget_live_span.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetLiveSpan { #[serde(rename = "1m")] diff --git a/src/datadogV1/model/model_widget_margin.rs b/src/datadogV1/model/model_widget_margin.rs index c312237d1..646c3bc5f 100644 --- a/src/datadogV1/model/model_widget_margin.rs +++ b/src/datadogV1/model/model_widget_margin.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetMargin { #[serde(rename = "sm")] diff --git a/src/datadogV1/model/model_widget_marker.rs b/src/datadogV1/model/model_widget_marker.rs index 4b18fc18a..6d2bdb506 100644 --- a/src/datadogV1/model/model_widget_marker.rs +++ b/src/datadogV1/model/model_widget_marker.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Markers allow you to add visual conditional formatting for your graphs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetMarker { diff --git a/src/datadogV1/model/model_widget_message_display.rs b/src/datadogV1/model/model_widget_message_display.rs index fa3e74658..b2c6e6d60 100644 --- a/src/datadogV1/model/model_widget_message_display.rs +++ b/src/datadogV1/model/model_widget_message_display.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetMessageDisplay { #[serde(rename = "inline")] diff --git a/src/datadogV1/model/model_widget_monitor_summary_display_format.rs b/src/datadogV1/model/model_widget_monitor_summary_display_format.rs index a31141f20..4aa857d22 100644 --- a/src/datadogV1/model/model_widget_monitor_summary_display_format.rs +++ b/src/datadogV1/model/model_widget_monitor_summary_display_format.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetMonitorSummaryDisplayFormat { #[serde(rename = "counts")] diff --git a/src/datadogV1/model/model_widget_monitor_summary_sort.rs b/src/datadogV1/model/model_widget_monitor_summary_sort.rs index 992437652..6b0c335d1 100644 --- a/src/datadogV1/model/model_widget_monitor_summary_sort.rs +++ b/src/datadogV1/model/model_widget_monitor_summary_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetMonitorSummarySort { #[serde(rename = "name")] diff --git a/src/datadogV1/model/model_widget_node_type.rs b/src/datadogV1/model/model_widget_node_type.rs index f7d84e70e..f2145af4a 100644 --- a/src/datadogV1/model/model_widget_node_type.rs +++ b/src/datadogV1/model/model_widget_node_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetNodeType { #[serde(rename = "host")] diff --git a/src/datadogV1/model/model_widget_order_by.rs b/src/datadogV1/model/model_widget_order_by.rs index 4b28732cd..b9b9892a9 100644 --- a/src/datadogV1/model/model_widget_order_by.rs +++ b/src/datadogV1/model/model_widget_order_by.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetOrderBy { #[serde(rename = "change")] diff --git a/src/datadogV1/model/model_widget_palette.rs b/src/datadogV1/model/model_widget_palette.rs index e1b7f1a4c..cc8ec89b7 100644 --- a/src/datadogV1/model/model_widget_palette.rs +++ b/src/datadogV1/model/model_widget_palette.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetPalette { #[serde(rename = "blue")] diff --git a/src/datadogV1/model/model_widget_request_style.rs b/src/datadogV1/model/model_widget_request_style.rs index 493d2af6c..55631c234 100644 --- a/src/datadogV1/model/model_widget_request_style.rs +++ b/src/datadogV1/model/model_widget_request_style.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Define request widget style. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetRequestStyle { diff --git a/src/datadogV1/model/model_widget_service_summary_display_format.rs b/src/datadogV1/model/model_widget_service_summary_display_format.rs index 5e8e907dd..77ec5c86f 100644 --- a/src/datadogV1/model/model_widget_service_summary_display_format.rs +++ b/src/datadogV1/model/model_widget_service_summary_display_format.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetServiceSummaryDisplayFormat { #[serde(rename = "one_column")] diff --git a/src/datadogV1/model/model_widget_size_format.rs b/src/datadogV1/model/model_widget_size_format.rs index cd1875e3e..3edea5434 100644 --- a/src/datadogV1/model/model_widget_size_format.rs +++ b/src/datadogV1/model/model_widget_size_format.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetSizeFormat { #[serde(rename = "small")] diff --git a/src/datadogV1/model/model_widget_sort.rs b/src/datadogV1/model/model_widget_sort.rs index b026cd319..74e412279 100644 --- a/src/datadogV1/model/model_widget_sort.rs +++ b/src/datadogV1/model/model_widget_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetSort { #[serde(rename = "asc")] diff --git a/src/datadogV1/model/model_widget_style.rs b/src/datadogV1/model/model_widget_style.rs index 0a2d53d1b..77a02dedc 100644 --- a/src/datadogV1/model/model_widget_style.rs +++ b/src/datadogV1/model/model_widget_style.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Widget style definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetStyle { diff --git a/src/datadogV1/model/model_widget_summary_type.rs b/src/datadogV1/model/model_widget_summary_type.rs index e17064fb2..7f17bc2ed 100644 --- a/src/datadogV1/model/model_widget_summary_type.rs +++ b/src/datadogV1/model/model_widget_summary_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetSummaryType { #[serde(rename = "monitors")] diff --git a/src/datadogV1/model/model_widget_text_align.rs b/src/datadogV1/model/model_widget_text_align.rs index 4e02ceecd..97aef9c5b 100644 --- a/src/datadogV1/model/model_widget_text_align.rs +++ b/src/datadogV1/model/model_widget_text_align.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetTextAlign { #[serde(rename = "center")] diff --git a/src/datadogV1/model/model_widget_tick_edge.rs b/src/datadogV1/model/model_widget_tick_edge.rs index 9b71a2d0a..25a52958d 100644 --- a/src/datadogV1/model/model_widget_tick_edge.rs +++ b/src/datadogV1/model/model_widget_tick_edge.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetTickEdge { #[serde(rename = "bottom")] diff --git a/src/datadogV1/model/model_widget_time.rs b/src/datadogV1/model/model_widget_time.rs index 6c1ceff1f..71e4e30a7 100644 --- a/src/datadogV1/model/model_widget_time.rs +++ b/src/datadogV1/model/model_widget_time.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Time setting for the widget. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct WidgetTime { diff --git a/src/datadogV1/model/model_widget_time_windows.rs b/src/datadogV1/model/model_widget_time_windows.rs index 6b2b6a2ff..065e6c38d 100644 --- a/src/datadogV1/model/model_widget_time_windows.rs +++ b/src/datadogV1/model/model_widget_time_windows.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetTimeWindows { #[serde(rename = "7d")] diff --git a/src/datadogV1/model/model_widget_vertical_align.rs b/src/datadogV1/model/model_widget_vertical_align.rs index ec07420f9..4a82597ae 100644 --- a/src/datadogV1/model/model_widget_vertical_align.rs +++ b/src/datadogV1/model/model_widget_vertical_align.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetVerticalAlign { #[serde(rename = "center")] diff --git a/src/datadogV1/model/model_widget_view_mode.rs b/src/datadogV1/model/model_widget_view_mode.rs index 2053bac08..c6fc08520 100644 --- a/src/datadogV1/model/model_widget_view_mode.rs +++ b/src/datadogV1/model/model_widget_view_mode.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetViewMode { #[serde(rename = "overall")] diff --git a/src/datadogV1/model/model_widget_viz_type.rs b/src/datadogV1/model/model_widget_viz_type.rs index 20e7558e3..050392806 100644 --- a/src/datadogV1/model/model_widget_viz_type.rs +++ b/src/datadogV1/model/model_widget_viz_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetVizType { #[serde(rename = "timeseries")] diff --git a/src/datadogV2/api/api_audit.rs b/src/datadogV2/api/api_audit.rs index dcdf5e818..853def6ad 100644 --- a/src/datadogV2/api/api_audit.rs +++ b/src/datadogV2/api/api_audit.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListAuditLogsOptionalParams is a struct for passing parameters to the method [`AuditAPI::list_audit_logs`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListAuditLogsOptionalParams { /// Search query following Audit Logs syntax. @@ -56,6 +57,7 @@ impl ListAuditLogsOptionalParams { } /// SearchAuditLogsOptionalParams is a struct for passing parameters to the method [`AuditAPI::search_audit_logs`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchAuditLogsOptionalParams { pub body: Option, diff --git a/src/datadogV2/api/api_auth_n_mappings.rs b/src/datadogV2/api/api_auth_n_mappings.rs index 69bc3d29e..7004a033b 100644 --- a/src/datadogV2/api/api_auth_n_mappings.rs +++ b/src/datadogV2/api/api_auth_n_mappings.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListAuthNMappingsOptionalParams is a struct for passing parameters to the method [`AuthNMappingsAPI::list_auth_n_mappings`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListAuthNMappingsOptionalParams { /// Size for a given page. The maximum allowed value is 100. diff --git a/src/datadogV2/api/api_ci_visibility_pipelines.rs b/src/datadogV2/api/api_ci_visibility_pipelines.rs index 223da8e52..eac29cc6b 100644 --- a/src/datadogV2/api/api_ci_visibility_pipelines.rs +++ b/src/datadogV2/api/api_ci_visibility_pipelines.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListCIAppPipelineEventsOptionalParams is a struct for passing parameters to the method [`CIVisibilityPipelinesAPI::list_ci_app_pipeline_events`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListCIAppPipelineEventsOptionalParams { /// Search query following log syntax. @@ -56,6 +57,7 @@ impl ListCIAppPipelineEventsOptionalParams { } /// SearchCIAppPipelineEventsOptionalParams is a struct for passing parameters to the method [`CIVisibilityPipelinesAPI::search_ci_app_pipeline_events`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchCIAppPipelineEventsOptionalParams { pub body: Option, diff --git a/src/datadogV2/api/api_ci_visibility_tests.rs b/src/datadogV2/api/api_ci_visibility_tests.rs index 71dc0b27c..b3fea3689 100644 --- a/src/datadogV2/api/api_ci_visibility_tests.rs +++ b/src/datadogV2/api/api_ci_visibility_tests.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListCIAppTestEventsOptionalParams is a struct for passing parameters to the method [`CIVisibilityTestsAPI::list_ci_app_test_events`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListCIAppTestEventsOptionalParams { /// Search query following log syntax. @@ -56,6 +57,7 @@ impl ListCIAppTestEventsOptionalParams { } /// SearchCIAppTestEventsOptionalParams is a struct for passing parameters to the method [`CIVisibilityTestsAPI::search_ci_app_test_events`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchCIAppTestEventsOptionalParams { pub body: Option, diff --git a/src/datadogV2/api/api_container_images.rs b/src/datadogV2/api/api_container_images.rs index 7fbe6c939..8dee6dea9 100644 --- a/src/datadogV2/api/api_container_images.rs +++ b/src/datadogV2/api/api_container_images.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListContainerImagesOptionalParams is a struct for passing parameters to the method [`ContainerImagesAPI::list_container_images`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListContainerImagesOptionalParams { /// Comma-separated list of tags to filter Container Images by. diff --git a/src/datadogV2/api/api_containers.rs b/src/datadogV2/api/api_containers.rs index 4f6c735b6..9473a58be 100644 --- a/src/datadogV2/api/api_containers.rs +++ b/src/datadogV2/api/api_containers.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListContainersOptionalParams is a struct for passing parameters to the method [`ContainersAPI::list_containers`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListContainersOptionalParams { /// Comma-separated list of tags to filter containers by. diff --git a/src/datadogV2/api/api_downtimes.rs b/src/datadogV2/api/api_downtimes.rs index 6d6166ca7..7cd290e0a 100644 --- a/src/datadogV2/api/api_downtimes.rs +++ b/src/datadogV2/api/api_downtimes.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetDowntimeOptionalParams is a struct for passing parameters to the method [`DowntimesAPI::get_downtime`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetDowntimeOptionalParams { /// Comma-separated list of resource paths for related resources to include in the response. Supported resource @@ -23,6 +24,7 @@ impl GetDowntimeOptionalParams { } /// ListDowntimesOptionalParams is a struct for passing parameters to the method [`DowntimesAPI::list_downtimes`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListDowntimesOptionalParams { /// Only return downtimes that are active when the request is made. @@ -61,6 +63,7 @@ impl ListDowntimesOptionalParams { } /// ListMonitorDowntimesOptionalParams is a struct for passing parameters to the method [`DowntimesAPI::list_monitor_downtimes`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListMonitorDowntimesOptionalParams { /// Specific offset to use as the beginning of the returned page. diff --git a/src/datadogV2/api/api_events.rs b/src/datadogV2/api/api_events.rs index 7da890bbd..c816b18b0 100644 --- a/src/datadogV2/api/api_events.rs +++ b/src/datadogV2/api/api_events.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListEventsOptionalParams is a struct for passing parameters to the method [`EventsAPI::list_events`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListEventsOptionalParams { /// Search query following events syntax. @@ -56,6 +57,7 @@ impl ListEventsOptionalParams { } /// SearchEventsOptionalParams is a struct for passing parameters to the method [`EventsAPI::search_events`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchEventsOptionalParams { pub body: Option, diff --git a/src/datadogV2/api/api_gcp_integration.rs b/src/datadogV2/api/api_gcp_integration.rs index b7709bc21..2affaf730 100644 --- a/src/datadogV2/api/api_gcp_integration.rs +++ b/src/datadogV2/api/api_gcp_integration.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// MakeGCPSTSDelegateOptionalParams is a struct for passing parameters to the method [`GCPIntegrationAPI::make_gcpsts_delegate`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct MakeGCPSTSDelegateOptionalParams { /// Create a delegate service account within Datadog. diff --git a/src/datadogV2/api/api_incident_services.rs b/src/datadogV2/api/api_incident_services.rs index 8d4e463ee..3698735ec 100644 --- a/src/datadogV2/api/api_incident_services.rs +++ b/src/datadogV2/api/api_incident_services.rs @@ -7,6 +7,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetIncidentServiceOptionalParams is a struct for passing parameters to the method [`IncidentServicesAPI::get_incident_service`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetIncidentServiceOptionalParams { /// Specifies which types of related objects should be included in the response. @@ -22,6 +23,7 @@ impl GetIncidentServiceOptionalParams { } /// ListIncidentServicesOptionalParams is a struct for passing parameters to the method [`IncidentServicesAPI::list_incident_services`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListIncidentServicesOptionalParams { /// Specifies which types of related objects should be included in the response. diff --git a/src/datadogV2/api/api_incident_teams.rs b/src/datadogV2/api/api_incident_teams.rs index 529690c79..6e2de016a 100644 --- a/src/datadogV2/api/api_incident_teams.rs +++ b/src/datadogV2/api/api_incident_teams.rs @@ -7,6 +7,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetIncidentTeamOptionalParams is a struct for passing parameters to the method [`IncidentTeamsAPI::get_incident_team`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetIncidentTeamOptionalParams { /// Specifies which types of related objects should be included in the response. @@ -22,6 +23,7 @@ impl GetIncidentTeamOptionalParams { } /// ListIncidentTeamsOptionalParams is a struct for passing parameters to the method [`IncidentTeamsAPI::list_incident_teams`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListIncidentTeamsOptionalParams { /// Specifies which types of related objects should be included in the response. diff --git a/src/datadogV2/api/api_incidents.rs b/src/datadogV2/api/api_incidents.rs index 744c3805b..a8ec61469 100644 --- a/src/datadogV2/api/api_incidents.rs +++ b/src/datadogV2/api/api_incidents.rs @@ -7,6 +7,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetIncidentOptionalParams is a struct for passing parameters to the method [`IncidentsAPI::get_incident`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetIncidentOptionalParams { /// Specifies which types of related objects should be included in the response. @@ -25,6 +26,7 @@ impl GetIncidentOptionalParams { } /// ListIncidentAttachmentsOptionalParams is a struct for passing parameters to the method [`IncidentsAPI::list_incident_attachments`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListIncidentAttachmentsOptionalParams { /// Specifies which types of related objects are included in the response. @@ -54,6 +56,7 @@ impl ListIncidentAttachmentsOptionalParams { } /// ListIncidentsOptionalParams is a struct for passing parameters to the method [`IncidentsAPI::list_incidents`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListIncidentsOptionalParams { /// Specifies which types of related objects should be included in the response. @@ -86,6 +89,7 @@ impl ListIncidentsOptionalParams { } /// SearchIncidentsOptionalParams is a struct for passing parameters to the method [`IncidentsAPI::search_incidents`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchIncidentsOptionalParams { /// Specifies which types of related objects should be included in the response. @@ -122,6 +126,7 @@ impl SearchIncidentsOptionalParams { } /// UpdateIncidentOptionalParams is a struct for passing parameters to the method [`IncidentsAPI::update_incident`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct UpdateIncidentOptionalParams { /// Specifies which types of related objects should be included in the response. @@ -140,6 +145,7 @@ impl UpdateIncidentOptionalParams { } /// UpdateIncidentAttachmentsOptionalParams is a struct for passing parameters to the method [`IncidentsAPI::update_incident_attachments`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct UpdateIncidentAttachmentsOptionalParams { /// Specifies which types of related objects are included in the response. diff --git a/src/datadogV2/api/api_key_management.rs b/src/datadogV2/api/api_key_management.rs index 115837e08..cda4f0809 100644 --- a/src/datadogV2/api/api_key_management.rs +++ b/src/datadogV2/api/api_key_management.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetAPIKeyOptionalParams is a struct for passing parameters to the method [`KeyManagementAPI::get_api_key`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetAPIKeyOptionalParams { /// Comma separated list of resource paths for related resources to include in the response. Supported resource paths are `created_by` and `modified_by`. @@ -21,6 +22,7 @@ impl GetAPIKeyOptionalParams { } /// GetApplicationKeyOptionalParams is a struct for passing parameters to the method [`KeyManagementAPI::get_application_key`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetApplicationKeyOptionalParams { /// Resource path for related resources to include in the response. Only `owned_by` is supported. @@ -36,6 +38,7 @@ impl GetApplicationKeyOptionalParams { } /// ListAPIKeysOptionalParams is a struct for passing parameters to the method [`KeyManagementAPI::list_api_keys`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListAPIKeysOptionalParams { /// Size for a given page. The maximum allowed value is 100. @@ -125,6 +128,7 @@ impl ListAPIKeysOptionalParams { } /// ListApplicationKeysOptionalParams is a struct for passing parameters to the method [`KeyManagementAPI::list_application_keys`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListApplicationKeysOptionalParams { /// Size for a given page. The maximum allowed value is 100. @@ -186,6 +190,7 @@ impl ListApplicationKeysOptionalParams { } /// ListCurrentUserApplicationKeysOptionalParams is a struct for passing parameters to the method [`KeyManagementAPI::list_current_user_application_keys`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListCurrentUserApplicationKeysOptionalParams { /// Size for a given page. The maximum allowed value is 100. diff --git a/src/datadogV2/api/api_logs.rs b/src/datadogV2/api/api_logs.rs index d4a663e46..d8a00398e 100644 --- a/src/datadogV2/api/api_logs.rs +++ b/src/datadogV2/api/api_logs.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListLogsOptionalParams is a struct for passing parameters to the method [`LogsAPI::list_logs`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListLogsOptionalParams { pub body: Option, @@ -19,6 +20,7 @@ impl ListLogsOptionalParams { } /// ListLogsGetOptionalParams is a struct for passing parameters to the method [`LogsAPI::list_logs_get`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListLogsGetOptionalParams { /// Search query following logs syntax. @@ -88,6 +90,7 @@ impl ListLogsGetOptionalParams { } /// SubmitLogOptionalParams is a struct for passing parameters to the method [`LogsAPI::submit_log`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SubmitLogOptionalParams { /// HTTP header used to compress the media-type. diff --git a/src/datadogV2/api/api_metrics.rs b/src/datadogV2/api/api_metrics.rs index 121befe9f..84d983478 100644 --- a/src/datadogV2/api/api_metrics.rs +++ b/src/datadogV2/api/api_metrics.rs @@ -7,6 +7,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// EstimateMetricsOutputSeriesOptionalParams is a struct for passing parameters to the method [`MetricsAPI::estimate_metrics_output_series`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct EstimateMetricsOutputSeriesOptionalParams { /// Filtered tag keys that the metric is configured to query with. @@ -50,6 +51,7 @@ impl EstimateMetricsOutputSeriesOptionalParams { } /// ListActiveMetricConfigurationsOptionalParams is a struct for passing parameters to the method [`MetricsAPI::list_active_metric_configurations`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListActiveMetricConfigurationsOptionalParams { /// The number of seconds of look back (from now). @@ -67,6 +69,7 @@ impl ListActiveMetricConfigurationsOptionalParams { } /// ListTagConfigurationsOptionalParams is a struct for passing parameters to the method [`MetricsAPI::list_tag_configurations`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListTagConfigurationsOptionalParams { /// Filter custom metrics that have configured tags. @@ -135,6 +138,7 @@ impl ListTagConfigurationsOptionalParams { } /// SubmitMetricsOptionalParams is a struct for passing parameters to the method [`MetricsAPI::submit_metrics`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SubmitMetricsOptionalParams { /// HTTP header used to compress the media-type. diff --git a/src/datadogV2/api/api_organizations.rs b/src/datadogV2/api/api_organizations.rs index eac89dd3a..a372d5141 100644 --- a/src/datadogV2/api/api_organizations.rs +++ b/src/datadogV2/api/api_organizations.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// UploadIdPMetadataOptionalParams is a struct for passing parameters to the method [`OrganizationsAPI::upload_id_p_metadata`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct UploadIdPMetadataOptionalParams { /// The IdP metadata XML file diff --git a/src/datadogV2/api/api_powerpack.rs b/src/datadogV2/api/api_powerpack.rs index 52a7e5922..3906c647f 100644 --- a/src/datadogV2/api/api_powerpack.rs +++ b/src/datadogV2/api/api_powerpack.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListPowerpacksOptionalParams is a struct for passing parameters to the method [`PowerpackAPI::list_powerpacks`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListPowerpacksOptionalParams { /// Maximum number of powerpacks in the response. diff --git a/src/datadogV2/api/api_processes.rs b/src/datadogV2/api/api_processes.rs index 0bbc07267..41cb9bf28 100644 --- a/src/datadogV2/api/api_processes.rs +++ b/src/datadogV2/api/api_processes.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListProcessesOptionalParams is a struct for passing parameters to the method [`ProcessesAPI::list_processes`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListProcessesOptionalParams { /// String to search processes by. diff --git a/src/datadogV2/api/api_roles.rs b/src/datadogV2/api/api_roles.rs index 498c2e798..2212c3d41 100644 --- a/src/datadogV2/api/api_roles.rs +++ b/src/datadogV2/api/api_roles.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListRoleUsersOptionalParams is a struct for passing parameters to the method [`RolesAPI::list_role_users`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListRoleUsersOptionalParams { /// Size for a given page. The maximum allowed value is 100. @@ -46,6 +47,7 @@ impl ListRoleUsersOptionalParams { } /// ListRolesOptionalParams is a struct for passing parameters to the method [`RolesAPI::list_roles`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListRolesOptionalParams { /// Size for a given page. The maximum allowed value is 100. diff --git a/src/datadogV2/api/api_rum.rs b/src/datadogV2/api/api_rum.rs index b7d19d9c7..73d7b4685 100644 --- a/src/datadogV2/api/api_rum.rs +++ b/src/datadogV2/api/api_rum.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListRUMEventsOptionalParams is a struct for passing parameters to the method [`RUMAPI::list_rum_events`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListRUMEventsOptionalParams { /// Search query following RUM syntax. diff --git a/src/datadogV2/api/api_security_monitoring.rs b/src/datadogV2/api/api_security_monitoring.rs index 849a8c998..3ac491b34 100644 --- a/src/datadogV2/api/api_security_monitoring.rs +++ b/src/datadogV2/api/api_security_monitoring.rs @@ -7,6 +7,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetFindingOptionalParams is a struct for passing parameters to the method [`SecurityMonitoringAPI::get_finding`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetFindingOptionalParams { /// Return the finding for a given snapshot of time (Unix ms). @@ -22,6 +23,7 @@ impl GetFindingOptionalParams { } /// ListFindingsOptionalParams is a struct for passing parameters to the method [`SecurityMonitoringAPI::list_findings`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListFindingsOptionalParams { /// Limit the number of findings returned. Must be <= 1000. @@ -117,6 +119,7 @@ impl ListFindingsOptionalParams { } /// ListSecurityMonitoringRulesOptionalParams is a struct for passing parameters to the method [`SecurityMonitoringAPI::list_security_monitoring_rules`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListSecurityMonitoringRulesOptionalParams { /// Size for a given page. The maximum allowed value is 100. @@ -139,6 +142,7 @@ impl ListSecurityMonitoringRulesOptionalParams { } /// ListSecurityMonitoringSignalsOptionalParams is a struct for passing parameters to the method [`SecurityMonitoringAPI::list_security_monitoring_signals`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListSecurityMonitoringSignalsOptionalParams { /// The search query for security signals. @@ -192,6 +196,7 @@ impl ListSecurityMonitoringSignalsOptionalParams { } /// SearchSecurityMonitoringSignalsOptionalParams is a struct for passing parameters to the method [`SecurityMonitoringAPI::search_security_monitoring_signals`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct SearchSecurityMonitoringSignalsOptionalParams { pub body: Option, diff --git a/src/datadogV2/api/api_service_accounts.rs b/src/datadogV2/api/api_service_accounts.rs index 756459dfb..05693cdc8 100644 --- a/src/datadogV2/api/api_service_accounts.rs +++ b/src/datadogV2/api/api_service_accounts.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListServiceAccountApplicationKeysOptionalParams is a struct for passing parameters to the method [`ServiceAccountsAPI::list_service_account_application_keys`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListServiceAccountApplicationKeysOptionalParams { /// Size for a given page. The maximum allowed value is 100. diff --git a/src/datadogV2/api/api_service_definition.rs b/src/datadogV2/api/api_service_definition.rs index 1a00f2e0f..4b2d88ca7 100644 --- a/src/datadogV2/api/api_service_definition.rs +++ b/src/datadogV2/api/api_service_definition.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetServiceDefinitionOptionalParams is a struct for passing parameters to the method [`ServiceDefinitionAPI::get_service_definition`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetServiceDefinitionOptionalParams { /// The schema version desired in the response. @@ -24,6 +25,7 @@ impl GetServiceDefinitionOptionalParams { } /// ListServiceDefinitionsOptionalParams is a struct for passing parameters to the method [`ServiceDefinitionAPI::list_service_definitions`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListServiceDefinitionsOptionalParams { /// Size for a given page. The maximum allowed value is 100. diff --git a/src/datadogV2/api/api_service_scorecards.rs b/src/datadogV2/api/api_service_scorecards.rs index 8478b54a3..6c08367f2 100644 --- a/src/datadogV2/api/api_service_scorecards.rs +++ b/src/datadogV2/api/api_service_scorecards.rs @@ -7,6 +7,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListScorecardOutcomesOptionalParams is a struct for passing parameters to the method [`ServiceScorecardsAPI::list_scorecard_outcomes`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListScorecardOutcomesOptionalParams { /// Size for a given page. The maximum allowed value is 100. @@ -85,6 +86,7 @@ impl ListScorecardOutcomesOptionalParams { } /// ListScorecardRulesOptionalParams is a struct for passing parameters to the method [`ServiceScorecardsAPI::list_scorecard_rules`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListScorecardRulesOptionalParams { /// Size for a given page. The maximum allowed value is 100. diff --git a/src/datadogV2/api/api_spans.rs b/src/datadogV2/api/api_spans.rs index 34e40f95f..824f3fea9 100644 --- a/src/datadogV2/api/api_spans.rs +++ b/src/datadogV2/api/api_spans.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListSpansGetOptionalParams is a struct for passing parameters to the method [`SpansAPI::list_spans_get`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListSpansGetOptionalParams { /// Search query following spans syntax. diff --git a/src/datadogV2/api/api_teams.rs b/src/datadogV2/api/api_teams.rs index b3f5d65ed..5f4a72644 100644 --- a/src/datadogV2/api/api_teams.rs +++ b/src/datadogV2/api/api_teams.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetTeamMembershipsOptionalParams is a struct for passing parameters to the method [`TeamsAPI::get_team_memberships`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetTeamMembershipsOptionalParams { /// Size for a given page. The maximum allowed value is 100. @@ -42,6 +43,7 @@ impl GetTeamMembershipsOptionalParams { } /// ListTeamsOptionalParams is a struct for passing parameters to the method [`TeamsAPI::list_teams`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListTeamsOptionalParams { /// Specific page number to return. diff --git a/src/datadogV2/api/api_usage_metering.rs b/src/datadogV2/api/api_usage_metering.rs index cd1f54956..c50a93623 100644 --- a/src/datadogV2/api/api_usage_metering.rs +++ b/src/datadogV2/api/api_usage_metering.rs @@ -7,6 +7,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// GetCostByOrgOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_cost_by_org`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetCostByOrgOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month. @@ -22,6 +23,7 @@ impl GetCostByOrgOptionalParams { } /// GetEstimatedCostByOrgOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_estimated_cost_by_org`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetEstimatedCostByOrgOptionalParams { /// String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are `summary` and `sub-org`. Defaults to `summary`. @@ -65,6 +67,7 @@ impl GetEstimatedCostByOrgOptionalParams { } /// GetHistoricalCostByOrgOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_historical_cost_by_org`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetHistoricalCostByOrgOptionalParams { /// String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are `summary` and `sub-org`. Defaults to `summary`. @@ -87,6 +90,7 @@ impl GetHistoricalCostByOrgOptionalParams { } /// GetHourlyUsageOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_hourly_usage`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetHourlyUsageOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. @@ -141,6 +145,7 @@ impl GetHourlyUsageOptionalParams { } /// GetMonthlyCostAttributionOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_monthly_cost_attribution`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetMonthlyCostAttributionOptionalParams { /// The direction to sort by: `[desc, asc]`. @@ -186,6 +191,7 @@ impl GetMonthlyCostAttributionOptionalParams { } /// GetProjectedCostOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_projected_cost`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetProjectedCostOptionalParams { /// String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are `summary` and `sub-org`. Defaults to `summary`. @@ -201,6 +207,7 @@ impl GetProjectedCostOptionalParams { } /// GetUsageApplicationSecurityMonitoringOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_application_security_monitoring`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageApplicationSecurityMonitoringOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -218,6 +225,7 @@ impl GetUsageApplicationSecurityMonitoringOptionalParams { } /// GetUsageLambdaTracedInvocationsOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_lambda_traced_invocations`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageLambdaTracedInvocationsOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending @@ -235,6 +243,7 @@ impl GetUsageLambdaTracedInvocationsOptionalParams { } /// GetUsageObservabilityPipelinesOptionalParams is a struct for passing parameters to the method [`UsageMeteringAPI::get_usage_observability_pipelines`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct GetUsageObservabilityPipelinesOptionalParams { /// Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending diff --git a/src/datadogV2/api/api_users.rs b/src/datadogV2/api/api_users.rs index 5252084d6..4b2391e7a 100644 --- a/src/datadogV2/api/api_users.rs +++ b/src/datadogV2/api/api_users.rs @@ -6,6 +6,7 @@ use reqwest; use serde::{Deserialize, Serialize}; /// ListUsersOptionalParams is a struct for passing parameters to the method [`UsersAPI::list_users`] +#[non_exhaustive] #[derive(Clone, Default, Debug)] pub struct ListUsersOptionalParams { /// Size for a given page. The maximum allowed value is 100. diff --git a/src/datadogV2/model/model_active_billing_dimensions_attributes.rs b/src/datadogV2/model/model_active_billing_dimensions_attributes.rs index 443c465b3..4654a77ba 100644 --- a/src/datadogV2/model/model_active_billing_dimensions_attributes.rs +++ b/src/datadogV2/model/model_active_billing_dimensions_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of active billing dimensions. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ActiveBillingDimensionsAttributes { diff --git a/src/datadogV2/model/model_active_billing_dimensions_body.rs b/src/datadogV2/model/model_active_billing_dimensions_body.rs index 7c8a9caee..127b4e8e4 100644 --- a/src/datadogV2/model/model_active_billing_dimensions_body.rs +++ b/src/datadogV2/model/model_active_billing_dimensions_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Active billing dimensions data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ActiveBillingDimensionsBody { diff --git a/src/datadogV2/model/model_active_billing_dimensions_response.rs b/src/datadogV2/model/model_active_billing_dimensions_response.rs index 9906caba3..9c6fcbf37 100644 --- a/src/datadogV2/model/model_active_billing_dimensions_response.rs +++ b/src/datadogV2/model/model_active_billing_dimensions_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Active billing dimensions response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ActiveBillingDimensionsResponse { diff --git a/src/datadogV2/model/model_active_billing_dimensions_type.rs b/src/datadogV2/model/model_active_billing_dimensions_type.rs index b5c5cde92..3f8e22b3c 100644 --- a/src/datadogV2/model/model_active_billing_dimensions_type.rs +++ b/src/datadogV2/model/model_active_billing_dimensions_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ActiveBillingDimensionsType { #[serde(rename = "billing_dimensions")] diff --git a/src/datadogV2/model/model_api_error_response.rs b/src/datadogV2/model/model_api_error_response.rs index adf7e0bee..437784e43 100644 --- a/src/datadogV2/model/model_api_error_response.rs +++ b/src/datadogV2/model/model_api_error_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// API error response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIErrorResponse { diff --git a/src/datadogV2/model/model_api_key_create_attributes.rs b/src/datadogV2/model/model_api_key_create_attributes.rs index b6997ae25..a505af306 100644 --- a/src/datadogV2/model/model_api_key_create_attributes.rs +++ b/src/datadogV2/model/model_api_key_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes used to create an API Key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeyCreateAttributes { diff --git a/src/datadogV2/model/model_api_key_create_data.rs b/src/datadogV2/model/model_api_key_create_data.rs index 2962b0901..26ad866cf 100644 --- a/src/datadogV2/model/model_api_key_create_data.rs +++ b/src/datadogV2/model/model_api_key_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object used to create an API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeyCreateData { diff --git a/src/datadogV2/model/model_api_key_create_request.rs b/src/datadogV2/model/model_api_key_create_request.rs index 7773c388d..3da128179 100644 --- a/src/datadogV2/model/model_api_key_create_request.rs +++ b/src/datadogV2/model/model_api_key_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request used to create an API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeyCreateRequest { diff --git a/src/datadogV2/model/model_api_key_relationships.rs b/src/datadogV2/model/model_api_key_relationships.rs index 0fbee7a77..79487967b 100644 --- a/src/datadogV2/model/model_api_key_relationships.rs +++ b/src/datadogV2/model/model_api_key_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Resources related to the API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeyRelationships { diff --git a/src/datadogV2/model/model_api_key_response.rs b/src/datadogV2/model/model_api_key_response.rs index fccc96500..7ba9c1c53 100644 --- a/src/datadogV2/model/model_api_key_response.rs +++ b/src/datadogV2/model/model_api_key_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for retrieving an API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeyResponse { diff --git a/src/datadogV2/model/model_api_key_response_included_item.rs b/src/datadogV2/model/model_api_key_response_included_item.rs index b283968d2..eb073e119 100644 --- a/src/datadogV2/model/model_api_key_response_included_item.rs +++ b/src/datadogV2/model/model_api_key_response_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to an API key. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum APIKeyResponseIncludedItem { diff --git a/src/datadogV2/model/model_api_key_update_attributes.rs b/src/datadogV2/model/model_api_key_update_attributes.rs index 5373244f5..3b3b329f4 100644 --- a/src/datadogV2/model/model_api_key_update_attributes.rs +++ b/src/datadogV2/model/model_api_key_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes used to update an API Key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeyUpdateAttributes { diff --git a/src/datadogV2/model/model_api_key_update_data.rs b/src/datadogV2/model/model_api_key_update_data.rs index ddc4d0014..f7ffa539f 100644 --- a/src/datadogV2/model/model_api_key_update_data.rs +++ b/src/datadogV2/model/model_api_key_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object used to update an API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeyUpdateData { diff --git a/src/datadogV2/model/model_api_key_update_request.rs b/src/datadogV2/model/model_api_key_update_request.rs index 6b0047ef3..f3e77418f 100644 --- a/src/datadogV2/model/model_api_key_update_request.rs +++ b/src/datadogV2/model/model_api_key_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request used to update an API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeyUpdateRequest { diff --git a/src/datadogV2/model/model_api_keys_response.rs b/src/datadogV2/model/model_api_keys_response.rs index 6302648d0..8b183e0e6 100644 --- a/src/datadogV2/model/model_api_keys_response.rs +++ b/src/datadogV2/model/model_api_keys_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for a list of API keys. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeysResponse { diff --git a/src/datadogV2/model/model_api_keys_response_meta.rs b/src/datadogV2/model/model_api_keys_response_meta.rs index f5f56a450..53a5f8cad 100644 --- a/src/datadogV2/model/model_api_keys_response_meta.rs +++ b/src/datadogV2/model/model_api_keys_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Additional information related to api keys response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeysResponseMeta { diff --git a/src/datadogV2/model/model_api_keys_response_meta_page.rs b/src/datadogV2/model/model_api_keys_response_meta_page.rs index 22badee92..9d0fec4cd 100644 --- a/src/datadogV2/model/model_api_keys_response_meta_page.rs +++ b/src/datadogV2/model/model_api_keys_response_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Additional information related to the API keys response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct APIKeysResponseMetaPage { diff --git a/src/datadogV2/model/model_api_keys_sort.rs b/src/datadogV2/model/model_api_keys_sort.rs index 1c930d9e7..a693c8766 100644 --- a/src/datadogV2/model/model_api_keys_sort.rs +++ b/src/datadogV2/model/model_api_keys_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum APIKeysSort { #[serde(rename = "created_at")] diff --git a/src/datadogV2/model/model_api_keys_type.rs b/src/datadogV2/model/model_api_keys_type.rs index a38e365ec..ae15a8726 100644 --- a/src/datadogV2/model/model_api_keys_type.rs +++ b/src/datadogV2/model/model_api_keys_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum APIKeysType { #[serde(rename = "api_keys")] diff --git a/src/datadogV2/model/model_apm_retention_filter_type.rs b/src/datadogV2/model/model_apm_retention_filter_type.rs index 6d3643f15..2cf598406 100644 --- a/src/datadogV2/model/model_apm_retention_filter_type.rs +++ b/src/datadogV2/model/model_apm_retention_filter_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ApmRetentionFilterType { #[serde(rename = "apm_retention_filter")] diff --git a/src/datadogV2/model/model_application_key_create_attributes.rs b/src/datadogV2/model/model_application_key_create_attributes.rs index b04bd8ac4..45c604107 100644 --- a/src/datadogV2/model/model_application_key_create_attributes.rs +++ b/src/datadogV2/model/model_application_key_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes used to create an application Key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyCreateAttributes { diff --git a/src/datadogV2/model/model_application_key_create_data.rs b/src/datadogV2/model/model_application_key_create_data.rs index 78f7d0dd5..681aff8ed 100644 --- a/src/datadogV2/model/model_application_key_create_data.rs +++ b/src/datadogV2/model/model_application_key_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object used to create an application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyCreateData { diff --git a/src/datadogV2/model/model_application_key_create_request.rs b/src/datadogV2/model/model_application_key_create_request.rs index 71f796afc..8a99966fd 100644 --- a/src/datadogV2/model/model_application_key_create_request.rs +++ b/src/datadogV2/model/model_application_key_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request used to create an application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyCreateRequest { diff --git a/src/datadogV2/model/model_application_key_relationships.rs b/src/datadogV2/model/model_application_key_relationships.rs index 84812089e..ab535290d 100644 --- a/src/datadogV2/model/model_application_key_relationships.rs +++ b/src/datadogV2/model/model_application_key_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Resources related to the application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyRelationships { diff --git a/src/datadogV2/model/model_application_key_response.rs b/src/datadogV2/model/model_application_key_response.rs index 96ddaf4c4..1713614dc 100644 --- a/src/datadogV2/model/model_application_key_response.rs +++ b/src/datadogV2/model/model_application_key_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for retrieving an application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyResponse { diff --git a/src/datadogV2/model/model_application_key_response_included_item.rs b/src/datadogV2/model/model_application_key_response_included_item.rs index 32020e49d..3ce9d84d3 100644 --- a/src/datadogV2/model/model_application_key_response_included_item.rs +++ b/src/datadogV2/model/model_application_key_response_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to an application key. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ApplicationKeyResponseIncludedItem { diff --git a/src/datadogV2/model/model_application_key_response_meta.rs b/src/datadogV2/model/model_application_key_response_meta.rs index d2f9bcd29..219f474d5 100644 --- a/src/datadogV2/model/model_application_key_response_meta.rs +++ b/src/datadogV2/model/model_application_key_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Additional information related to the application key response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyResponseMeta { diff --git a/src/datadogV2/model/model_application_key_response_meta_page.rs b/src/datadogV2/model/model_application_key_response_meta_page.rs index c38cfe7cb..2aaef97a9 100644 --- a/src/datadogV2/model/model_application_key_response_meta_page.rs +++ b/src/datadogV2/model/model_application_key_response_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Additional information related to the application key response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyResponseMetaPage { diff --git a/src/datadogV2/model/model_application_key_update_attributes.rs b/src/datadogV2/model/model_application_key_update_attributes.rs index fe9c12217..2eb5f6403 100644 --- a/src/datadogV2/model/model_application_key_update_attributes.rs +++ b/src/datadogV2/model/model_application_key_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes used to update an application Key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyUpdateAttributes { diff --git a/src/datadogV2/model/model_application_key_update_data.rs b/src/datadogV2/model/model_application_key_update_data.rs index 3a6598876..3ac86ff11 100644 --- a/src/datadogV2/model/model_application_key_update_data.rs +++ b/src/datadogV2/model/model_application_key_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object used to update an application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyUpdateData { diff --git a/src/datadogV2/model/model_application_key_update_request.rs b/src/datadogV2/model/model_application_key_update_request.rs index 6cf68be13..c030a4924 100644 --- a/src/datadogV2/model/model_application_key_update_request.rs +++ b/src/datadogV2/model/model_application_key_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request used to update an application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ApplicationKeyUpdateRequest { diff --git a/src/datadogV2/model/model_application_keys_sort.rs b/src/datadogV2/model/model_application_keys_sort.rs index d2c1a4c8d..ee3c8c2f6 100644 --- a/src/datadogV2/model/model_application_keys_sort.rs +++ b/src/datadogV2/model/model_application_keys_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ApplicationKeysSort { #[serde(rename = "created_at")] diff --git a/src/datadogV2/model/model_application_keys_type.rs b/src/datadogV2/model/model_application_keys_type.rs index ebbbc736c..93ebb6c50 100644 --- a/src/datadogV2/model/model_application_keys_type.rs +++ b/src/datadogV2/model/model_application_keys_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ApplicationKeysType { #[serde(rename = "application_keys")] diff --git a/src/datadogV2/model/model_audit_logs_event.rs b/src/datadogV2/model/model_audit_logs_event.rs index e48fad30f..e2f938e2e 100644 --- a/src/datadogV2/model/model_audit_logs_event.rs +++ b/src/datadogV2/model/model_audit_logs_event.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object description of an Audit Logs event after it is processed and stored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsEvent { diff --git a/src/datadogV2/model/model_audit_logs_event_attributes.rs b/src/datadogV2/model/model_audit_logs_event_attributes.rs index 0f98c8a67..98a59ec81 100644 --- a/src/datadogV2/model/model_audit_logs_event_attributes.rs +++ b/src/datadogV2/model/model_audit_logs_event_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// JSON object containing all event attributes and their associated values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsEventAttributes { diff --git a/src/datadogV2/model/model_audit_logs_event_type.rs b/src/datadogV2/model/model_audit_logs_event_type.rs index 78e24574b..43d3e57a8 100644 --- a/src/datadogV2/model/model_audit_logs_event_type.rs +++ b/src/datadogV2/model/model_audit_logs_event_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AuditLogsEventType { #[serde(rename = "audit")] diff --git a/src/datadogV2/model/model_audit_logs_events_response.rs b/src/datadogV2/model/model_audit_logs_events_response.rs index 29446550b..69be6c09e 100644 --- a/src/datadogV2/model/model_audit_logs_events_response.rs +++ b/src/datadogV2/model/model_audit_logs_events_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object with all events matching the request and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsEventsResponse { diff --git a/src/datadogV2/model/model_audit_logs_query_filter.rs b/src/datadogV2/model/model_audit_logs_query_filter.rs index 1f98fb34f..9dc4541e5 100644 --- a/src/datadogV2/model/model_audit_logs_query_filter.rs +++ b/src/datadogV2/model/model_audit_logs_query_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Search and filter query settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsQueryFilter { diff --git a/src/datadogV2/model/model_audit_logs_query_options.rs b/src/datadogV2/model/model_audit_logs_query_options.rs index 6bc4cc045..1e15e6a9e 100644 --- a/src/datadogV2/model/model_audit_logs_query_options.rs +++ b/src/datadogV2/model/model_audit_logs_query_options.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Global query options that are used during the query. /// Note: Specify either timezone or time offset, not both. Otherwise, the query fails. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsQueryOptions { diff --git a/src/datadogV2/model/model_audit_logs_query_page_options.rs b/src/datadogV2/model/model_audit_logs_query_page_options.rs index 923a0235d..3e04418cf 100644 --- a/src/datadogV2/model/model_audit_logs_query_page_options.rs +++ b/src/datadogV2/model/model_audit_logs_query_page_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes for listing events. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsQueryPageOptions { diff --git a/src/datadogV2/model/model_audit_logs_response_links.rs b/src/datadogV2/model/model_audit_logs_response_links.rs index 89851f999..cc9ded51a 100644 --- a/src/datadogV2/model/model_audit_logs_response_links.rs +++ b/src/datadogV2/model/model_audit_logs_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsResponseLinks { diff --git a/src/datadogV2/model/model_audit_logs_response_metadata.rs b/src/datadogV2/model/model_audit_logs_response_metadata.rs index 50746a782..2cb99587e 100644 --- a/src/datadogV2/model/model_audit_logs_response_metadata.rs +++ b/src/datadogV2/model/model_audit_logs_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsResponseMetadata { diff --git a/src/datadogV2/model/model_audit_logs_response_page.rs b/src/datadogV2/model/model_audit_logs_response_page.rs index 7b96847b5..37ad3542a 100644 --- a/src/datadogV2/model/model_audit_logs_response_page.rs +++ b/src/datadogV2/model/model_audit_logs_response_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsResponsePage { diff --git a/src/datadogV2/model/model_audit_logs_response_status.rs b/src/datadogV2/model/model_audit_logs_response_status.rs index f4e75662f..f7158fa90 100644 --- a/src/datadogV2/model/model_audit_logs_response_status.rs +++ b/src/datadogV2/model/model_audit_logs_response_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AuditLogsResponseStatus { #[serde(rename = "done")] diff --git a/src/datadogV2/model/model_audit_logs_search_events_request.rs b/src/datadogV2/model/model_audit_logs_search_events_request.rs index 7fe5fd000..d31494bfa 100644 --- a/src/datadogV2/model/model_audit_logs_search_events_request.rs +++ b/src/datadogV2/model/model_audit_logs_search_events_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The request for a Audit Logs events list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsSearchEventsRequest { diff --git a/src/datadogV2/model/model_audit_logs_sort.rs b/src/datadogV2/model/model_audit_logs_sort.rs index 29cb34fe2..97f2de61b 100644 --- a/src/datadogV2/model/model_audit_logs_sort.rs +++ b/src/datadogV2/model/model_audit_logs_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AuditLogsSort { #[serde(rename = "timestamp")] diff --git a/src/datadogV2/model/model_audit_logs_warning.rs b/src/datadogV2/model/model_audit_logs_warning.rs index 78e609300..a66ba9e69 100644 --- a/src/datadogV2/model/model_audit_logs_warning.rs +++ b/src/datadogV2/model/model_audit_logs_warning.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Warning message indicating something that went wrong with the query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuditLogsWarning { diff --git a/src/datadogV2/model/model_auth_n_mapping.rs b/src/datadogV2/model/model_auth_n_mapping.rs index 86704108c..2181a230e 100644 --- a/src/datadogV2/model/model_auth_n_mapping.rs +++ b/src/datadogV2/model/model_auth_n_mapping.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The AuthN Mapping object returned by API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMapping { diff --git a/src/datadogV2/model/model_auth_n_mapping_attributes.rs b/src/datadogV2/model/model_auth_n_mapping_attributes.rs index 582fa6051..72270b8a1 100644 --- a/src/datadogV2/model/model_auth_n_mapping_attributes.rs +++ b/src/datadogV2/model/model_auth_n_mapping_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of AuthN Mapping. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingAttributes { diff --git a/src/datadogV2/model/model_auth_n_mapping_create_attributes.rs b/src/datadogV2/model/model_auth_n_mapping_create_attributes.rs index ccc6116ef..9be77d02e 100644 --- a/src/datadogV2/model/model_auth_n_mapping_create_attributes.rs +++ b/src/datadogV2/model/model_auth_n_mapping_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Key/Value pair of attributes used for create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingCreateAttributes { diff --git a/src/datadogV2/model/model_auth_n_mapping_create_data.rs b/src/datadogV2/model/model_auth_n_mapping_create_data.rs index 6fdbac364..cb5245fac 100644 --- a/src/datadogV2/model/model_auth_n_mapping_create_data.rs +++ b/src/datadogV2/model/model_auth_n_mapping_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data for creating an AuthN Mapping. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingCreateData { diff --git a/src/datadogV2/model/model_auth_n_mapping_create_relationships.rs b/src/datadogV2/model/model_auth_n_mapping_create_relationships.rs index e03902cef..c0ff69bce 100644 --- a/src/datadogV2/model/model_auth_n_mapping_create_relationships.rs +++ b/src/datadogV2/model/model_auth_n_mapping_create_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship of AuthN Mapping create object to Role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingCreateRelationships { diff --git a/src/datadogV2/model/model_auth_n_mapping_create_request.rs b/src/datadogV2/model/model_auth_n_mapping_create_request.rs index b9276b4f2..107ecbbae 100644 --- a/src/datadogV2/model/model_auth_n_mapping_create_request.rs +++ b/src/datadogV2/model/model_auth_n_mapping_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request for creating an AuthN Mapping. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingCreateRequest { diff --git a/src/datadogV2/model/model_auth_n_mapping_included.rs b/src/datadogV2/model/model_auth_n_mapping_included.rs index 2b42f34b1..df737e7dc 100644 --- a/src/datadogV2/model/model_auth_n_mapping_included.rs +++ b/src/datadogV2/model/model_auth_n_mapping_included.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Included data in the AuthN Mapping response. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum AuthNMappingIncluded { diff --git a/src/datadogV2/model/model_auth_n_mapping_relationships.rs b/src/datadogV2/model/model_auth_n_mapping_relationships.rs index 057877d6a..c575fb239 100644 --- a/src/datadogV2/model/model_auth_n_mapping_relationships.rs +++ b/src/datadogV2/model/model_auth_n_mapping_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// All relationships associated with AuthN Mapping. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingRelationships { diff --git a/src/datadogV2/model/model_auth_n_mapping_response.rs b/src/datadogV2/model/model_auth_n_mapping_response.rs index b36548019..8b02ffc36 100644 --- a/src/datadogV2/model/model_auth_n_mapping_response.rs +++ b/src/datadogV2/model/model_auth_n_mapping_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AuthN Mapping response from the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingResponse { diff --git a/src/datadogV2/model/model_auth_n_mapping_update_attributes.rs b/src/datadogV2/model/model_auth_n_mapping_update_attributes.rs index 7a920bb48..a8faf80f5 100644 --- a/src/datadogV2/model/model_auth_n_mapping_update_attributes.rs +++ b/src/datadogV2/model/model_auth_n_mapping_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Key/Value pair of attributes used for update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingUpdateAttributes { diff --git a/src/datadogV2/model/model_auth_n_mapping_update_data.rs b/src/datadogV2/model/model_auth_n_mapping_update_data.rs index 8d1b9f93b..5d9f3b705 100644 --- a/src/datadogV2/model/model_auth_n_mapping_update_data.rs +++ b/src/datadogV2/model/model_auth_n_mapping_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data for updating an AuthN Mapping. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingUpdateData { diff --git a/src/datadogV2/model/model_auth_n_mapping_update_relationships.rs b/src/datadogV2/model/model_auth_n_mapping_update_relationships.rs index c8eafa44a..bf811950e 100644 --- a/src/datadogV2/model/model_auth_n_mapping_update_relationships.rs +++ b/src/datadogV2/model/model_auth_n_mapping_update_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship of AuthN Mapping update object to Role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingUpdateRelationships { diff --git a/src/datadogV2/model/model_auth_n_mapping_update_request.rs b/src/datadogV2/model/model_auth_n_mapping_update_request.rs index abb03c93a..a57664c30 100644 --- a/src/datadogV2/model/model_auth_n_mapping_update_request.rs +++ b/src/datadogV2/model/model_auth_n_mapping_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request to update an AuthN Mapping. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingUpdateRequest { diff --git a/src/datadogV2/model/model_auth_n_mappings_response.rs b/src/datadogV2/model/model_auth_n_mappings_response.rs index 408007966..0d9735b3f 100644 --- a/src/datadogV2/model/model_auth_n_mappings_response.rs +++ b/src/datadogV2/model/model_auth_n_mappings_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Array of AuthN Mappings response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AuthNMappingsResponse { diff --git a/src/datadogV2/model/model_auth_n_mappings_sort.rs b/src/datadogV2/model/model_auth_n_mappings_sort.rs index 2166c8269..229fabb27 100644 --- a/src/datadogV2/model/model_auth_n_mappings_sort.rs +++ b/src/datadogV2/model/model_auth_n_mappings_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AuthNMappingsSort { #[serde(rename = "created_at")] diff --git a/src/datadogV2/model/model_auth_n_mappings_type.rs b/src/datadogV2/model/model_auth_n_mappings_type.rs index 62f62e51f..b3f29d924 100644 --- a/src/datadogV2/model/model_auth_n_mappings_type.rs +++ b/src/datadogV2/model/model_auth_n_mappings_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AuthNMappingsType { #[serde(rename = "authn_mappings")] diff --git a/src/datadogV2/model/model_aws_cur_config.rs b/src/datadogV2/model/model_aws_cur_config.rs index dd5b7f669..d9197262b 100644 --- a/src/datadogV2/model/model_aws_cur_config.rs +++ b/src/datadogV2/model/model_aws_cur_config.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AWS CUR config. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfig { diff --git a/src/datadogV2/model/model_aws_cur_config_attributes.rs b/src/datadogV2/model/model_aws_cur_config_attributes.rs index be65ef076..a45128a07 100644 --- a/src/datadogV2/model/model_aws_cur_config_attributes.rs +++ b/src/datadogV2/model/model_aws_cur_config_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for An AWS CUR config. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigAttributes { diff --git a/src/datadogV2/model/model_aws_cur_config_patch_data.rs b/src/datadogV2/model/model_aws_cur_config_patch_data.rs index 5327dd3cc..52723224b 100644 --- a/src/datadogV2/model/model_aws_cur_config_patch_data.rs +++ b/src/datadogV2/model/model_aws_cur_config_patch_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AWS CUR config Patch data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigPatchData { diff --git a/src/datadogV2/model/model_aws_cur_config_patch_request.rs b/src/datadogV2/model/model_aws_cur_config_patch_request.rs index 34afec3f7..8b94b4a4c 100644 --- a/src/datadogV2/model/model_aws_cur_config_patch_request.rs +++ b/src/datadogV2/model/model_aws_cur_config_patch_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AWS CUR config Patch Request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigPatchRequest { diff --git a/src/datadogV2/model/model_aws_cur_config_patch_request_attributes.rs b/src/datadogV2/model/model_aws_cur_config_patch_request_attributes.rs index ef246f477..0279e8b40 100644 --- a/src/datadogV2/model/model_aws_cur_config_patch_request_attributes.rs +++ b/src/datadogV2/model/model_aws_cur_config_patch_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for AWS CUR config Patch Request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigPatchRequestAttributes { diff --git a/src/datadogV2/model/model_aws_cur_config_patch_request_type.rs b/src/datadogV2/model/model_aws_cur_config_patch_request_type.rs index d3fac59e0..158d4e311 100644 --- a/src/datadogV2/model/model_aws_cur_config_patch_request_type.rs +++ b/src/datadogV2/model/model_aws_cur_config_patch_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AwsCURConfigPatchRequestType { #[serde(rename = "aws_cur_config_patch_request")] diff --git a/src/datadogV2/model/model_aws_cur_config_post_data.rs b/src/datadogV2/model/model_aws_cur_config_post_data.rs index 6991e9195..ec278de50 100644 --- a/src/datadogV2/model/model_aws_cur_config_post_data.rs +++ b/src/datadogV2/model/model_aws_cur_config_post_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AWS CUR config Post data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigPostData { diff --git a/src/datadogV2/model/model_aws_cur_config_post_request.rs b/src/datadogV2/model/model_aws_cur_config_post_request.rs index d8cd1ee5b..428633127 100644 --- a/src/datadogV2/model/model_aws_cur_config_post_request.rs +++ b/src/datadogV2/model/model_aws_cur_config_post_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AWS CUR config Post Request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigPostRequest { diff --git a/src/datadogV2/model/model_aws_cur_config_post_request_attributes.rs b/src/datadogV2/model/model_aws_cur_config_post_request_attributes.rs index 0d4640ca1..04ece395e 100644 --- a/src/datadogV2/model/model_aws_cur_config_post_request_attributes.rs +++ b/src/datadogV2/model/model_aws_cur_config_post_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for AWS CUR config Post Request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigPostRequestAttributes { diff --git a/src/datadogV2/model/model_aws_cur_config_post_request_type.rs b/src/datadogV2/model/model_aws_cur_config_post_request_type.rs index 4a29fcc0a..df59555f3 100644 --- a/src/datadogV2/model/model_aws_cur_config_post_request_type.rs +++ b/src/datadogV2/model/model_aws_cur_config_post_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AwsCURConfigPostRequestType { #[serde(rename = "aws_cur_config_post_request")] diff --git a/src/datadogV2/model/model_aws_cur_config_response.rs b/src/datadogV2/model/model_aws_cur_config_response.rs index 13623fa48..82a618d26 100644 --- a/src/datadogV2/model/model_aws_cur_config_response.rs +++ b/src/datadogV2/model/model_aws_cur_config_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response of AWS CUR config. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigResponse { diff --git a/src/datadogV2/model/model_aws_cur_config_type.rs b/src/datadogV2/model/model_aws_cur_config_type.rs index 88246c48d..e19a8bef6 100644 --- a/src/datadogV2/model/model_aws_cur_config_type.rs +++ b/src/datadogV2/model/model_aws_cur_config_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AwsCURConfigType { #[serde(rename = "aws_cur_config")] diff --git a/src/datadogV2/model/model_aws_cur_configs_response.rs b/src/datadogV2/model/model_aws_cur_configs_response.rs index 168095e5c..bef63ada5 100644 --- a/src/datadogV2/model/model_aws_cur_configs_response.rs +++ b/src/datadogV2/model/model_aws_cur_configs_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of AWS CUR configs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AwsCURConfigsResponse { diff --git a/src/datadogV2/model/model_aws_related_account.rs b/src/datadogV2/model/model_aws_related_account.rs index 19da2c97d..e828dc032 100644 --- a/src/datadogV2/model/model_aws_related_account.rs +++ b/src/datadogV2/model/model_aws_related_account.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AWS related account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSRelatedAccount { diff --git a/src/datadogV2/model/model_aws_related_account_attributes.rs b/src/datadogV2/model/model_aws_related_account_attributes.rs index 711bcfbb5..52b97bdeb 100644 --- a/src/datadogV2/model/model_aws_related_account_attributes.rs +++ b/src/datadogV2/model/model_aws_related_account_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for an AWS related account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSRelatedAccountAttributes { diff --git a/src/datadogV2/model/model_aws_related_account_type.rs b/src/datadogV2/model/model_aws_related_account_type.rs index b94690c12..fb3546ca7 100644 --- a/src/datadogV2/model/model_aws_related_account_type.rs +++ b/src/datadogV2/model/model_aws_related_account_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AWSRelatedAccountType { #[serde(rename = "aws_account")] diff --git a/src/datadogV2/model/model_aws_related_accounts_response.rs b/src/datadogV2/model/model_aws_related_accounts_response.rs index 6b80a16b0..5fae69cdc 100644 --- a/src/datadogV2/model/model_aws_related_accounts_response.rs +++ b/src/datadogV2/model/model_aws_related_accounts_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of AWS related accounts. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AWSRelatedAccountsResponse { diff --git a/src/datadogV2/model/model_azure_uc_config.rs b/src/datadogV2/model/model_azure_uc_config.rs index eb43e5144..3f7643514 100644 --- a/src/datadogV2/model/model_azure_uc_config.rs +++ b/src/datadogV2/model/model_azure_uc_config.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Azure config. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfig { diff --git a/src/datadogV2/model/model_azure_uc_config_pair.rs b/src/datadogV2/model/model_azure_uc_config_pair.rs index 2f2b2eef9..23513ee48 100644 --- a/src/datadogV2/model/model_azure_uc_config_pair.rs +++ b/src/datadogV2/model/model_azure_uc_config_pair.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Azure config pair. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPair { diff --git a/src/datadogV2/model/model_azure_uc_config_pair_attributes.rs b/src/datadogV2/model/model_azure_uc_config_pair_attributes.rs index de35df5e3..c645ed3e7 100644 --- a/src/datadogV2/model/model_azure_uc_config_pair_attributes.rs +++ b/src/datadogV2/model/model_azure_uc_config_pair_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for Azure config pair. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPairAttributes { diff --git a/src/datadogV2/model/model_azure_uc_config_pair_type.rs b/src/datadogV2/model/model_azure_uc_config_pair_type.rs index acb998f89..288ff9323 100644 --- a/src/datadogV2/model/model_azure_uc_config_pair_type.rs +++ b/src/datadogV2/model/model_azure_uc_config_pair_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AzureUCConfigPairType { #[serde(rename = "azure_uc_configs")] diff --git a/src/datadogV2/model/model_azure_uc_config_pairs_response.rs b/src/datadogV2/model/model_azure_uc_config_pairs_response.rs index f65f5cb76..a15fd56c7 100644 --- a/src/datadogV2/model/model_azure_uc_config_pairs_response.rs +++ b/src/datadogV2/model/model_azure_uc_config_pairs_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response of Azure config pair. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPairsResponse { diff --git a/src/datadogV2/model/model_azure_uc_config_patch_data.rs b/src/datadogV2/model/model_azure_uc_config_patch_data.rs index dc0d3fe58..20f458abd 100644 --- a/src/datadogV2/model/model_azure_uc_config_patch_data.rs +++ b/src/datadogV2/model/model_azure_uc_config_patch_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Azure config Patch data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPatchData { diff --git a/src/datadogV2/model/model_azure_uc_config_patch_request.rs b/src/datadogV2/model/model_azure_uc_config_patch_request.rs index 22f8af78c..42697f6e4 100644 --- a/src/datadogV2/model/model_azure_uc_config_patch_request.rs +++ b/src/datadogV2/model/model_azure_uc_config_patch_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Azure config Patch Request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPatchRequest { diff --git a/src/datadogV2/model/model_azure_uc_config_patch_request_attributes.rs b/src/datadogV2/model/model_azure_uc_config_patch_request_attributes.rs index a879ce824..881bf9f67 100644 --- a/src/datadogV2/model/model_azure_uc_config_patch_request_attributes.rs +++ b/src/datadogV2/model/model_azure_uc_config_patch_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for Azure config Patch Request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPatchRequestAttributes { diff --git a/src/datadogV2/model/model_azure_uc_config_patch_request_type.rs b/src/datadogV2/model/model_azure_uc_config_patch_request_type.rs index fc76730ed..0715efca2 100644 --- a/src/datadogV2/model/model_azure_uc_config_patch_request_type.rs +++ b/src/datadogV2/model/model_azure_uc_config_patch_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AzureUCConfigPatchRequestType { #[serde(rename = "azure_uc_config_patch_request")] diff --git a/src/datadogV2/model/model_azure_uc_config_post_data.rs b/src/datadogV2/model/model_azure_uc_config_post_data.rs index 433941067..c5e43cb8e 100644 --- a/src/datadogV2/model/model_azure_uc_config_post_data.rs +++ b/src/datadogV2/model/model_azure_uc_config_post_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Azure config Post data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPostData { diff --git a/src/datadogV2/model/model_azure_uc_config_post_request.rs b/src/datadogV2/model/model_azure_uc_config_post_request.rs index efd187737..b1ade85b9 100644 --- a/src/datadogV2/model/model_azure_uc_config_post_request.rs +++ b/src/datadogV2/model/model_azure_uc_config_post_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Azure config Post Request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPostRequest { diff --git a/src/datadogV2/model/model_azure_uc_config_post_request_attributes.rs b/src/datadogV2/model/model_azure_uc_config_post_request_attributes.rs index 262b625d1..60b1fbbcb 100644 --- a/src/datadogV2/model/model_azure_uc_config_post_request_attributes.rs +++ b/src/datadogV2/model/model_azure_uc_config_post_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for Azure config Post Request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigPostRequestAttributes { diff --git a/src/datadogV2/model/model_azure_uc_config_post_request_type.rs b/src/datadogV2/model/model_azure_uc_config_post_request_type.rs index 5d0f6d873..4a3fce27d 100644 --- a/src/datadogV2/model/model_azure_uc_config_post_request_type.rs +++ b/src/datadogV2/model/model_azure_uc_config_post_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum AzureUCConfigPostRequestType { #[serde(rename = "azure_uc_config_post_request")] diff --git a/src/datadogV2/model/model_azure_uc_configs_response.rs b/src/datadogV2/model/model_azure_uc_configs_response.rs index 9ca4bcd71..234adfd39 100644 --- a/src/datadogV2/model/model_azure_uc_configs_response.rs +++ b/src/datadogV2/model/model_azure_uc_configs_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of Azure accounts with configs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct AzureUCConfigsResponse { diff --git a/src/datadogV2/model/model_bill_config.rs b/src/datadogV2/model/model_bill_config.rs index 4494efd14..455c3f627 100644 --- a/src/datadogV2/model/model_bill_config.rs +++ b/src/datadogV2/model/model_bill_config.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Bill config. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BillConfig { diff --git a/src/datadogV2/model/model_bulk_mute_findings_request.rs b/src/datadogV2/model/model_bulk_mute_findings_request.rs index 08071742f..140fd7920 100644 --- a/src/datadogV2/model/model_bulk_mute_findings_request.rs +++ b/src/datadogV2/model/model_bulk_mute_findings_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new bulk mute finding request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BulkMuteFindingsRequest { diff --git a/src/datadogV2/model/model_bulk_mute_findings_request_attributes.rs b/src/datadogV2/model/model_bulk_mute_findings_request_attributes.rs index 223a41749..596ffb03b 100644 --- a/src/datadogV2/model/model_bulk_mute_findings_request_attributes.rs +++ b/src/datadogV2/model/model_bulk_mute_findings_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The mute properties to be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BulkMuteFindingsRequestAttributes { diff --git a/src/datadogV2/model/model_bulk_mute_findings_request_data.rs b/src/datadogV2/model/model_bulk_mute_findings_request_data.rs index 6e172d287..635d8afb6 100644 --- a/src/datadogV2/model/model_bulk_mute_findings_request_data.rs +++ b/src/datadogV2/model/model_bulk_mute_findings_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object containing the new bulk mute properties of the finding. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BulkMuteFindingsRequestData { diff --git a/src/datadogV2/model/model_bulk_mute_findings_request_meta.rs b/src/datadogV2/model/model_bulk_mute_findings_request_meta.rs index 8c249aa9c..e1f4deb68 100644 --- a/src/datadogV2/model/model_bulk_mute_findings_request_meta.rs +++ b/src/datadogV2/model/model_bulk_mute_findings_request_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Meta object containing the findings to be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BulkMuteFindingsRequestMeta { diff --git a/src/datadogV2/model/model_bulk_mute_findings_request_meta_findings.rs b/src/datadogV2/model/model_bulk_mute_findings_request_meta_findings.rs index e17d0583c..227d503c7 100644 --- a/src/datadogV2/model/model_bulk_mute_findings_request_meta_findings.rs +++ b/src/datadogV2/model/model_bulk_mute_findings_request_meta_findings.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Finding object containing the finding information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BulkMuteFindingsRequestMetaFindings { diff --git a/src/datadogV2/model/model_bulk_mute_findings_request_properties.rs b/src/datadogV2/model/model_bulk_mute_findings_request_properties.rs index 8b1a8cc84..5338c598b 100644 --- a/src/datadogV2/model/model_bulk_mute_findings_request_properties.rs +++ b/src/datadogV2/model/model_bulk_mute_findings_request_properties.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the new mute properties of the findings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BulkMuteFindingsRequestProperties { diff --git a/src/datadogV2/model/model_bulk_mute_findings_response.rs b/src/datadogV2/model/model_bulk_mute_findings_response.rs index 5ff9921ee..ca5e96b46 100644 --- a/src/datadogV2/model/model_bulk_mute_findings_response.rs +++ b/src/datadogV2/model/model_bulk_mute_findings_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BulkMuteFindingsResponse { diff --git a/src/datadogV2/model/model_bulk_mute_findings_response_data.rs b/src/datadogV2/model/model_bulk_mute_findings_response_data.rs index 30dc409a0..79257224e 100644 --- a/src/datadogV2/model/model_bulk_mute_findings_response_data.rs +++ b/src/datadogV2/model/model_bulk_mute_findings_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object containing the ID of the request that was updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct BulkMuteFindingsResponseData { diff --git a/src/datadogV2/model/model_chargeback_breakdown.rs b/src/datadogV2/model/model_chargeback_breakdown.rs index d29cbb6ac..968cca371 100644 --- a/src/datadogV2/model/model_chargeback_breakdown.rs +++ b/src/datadogV2/model/model_chargeback_breakdown.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Charges breakdown. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ChargebackBreakdown { diff --git a/src/datadogV2/model/model_ci_app_aggregate_bucket_value.rs b/src/datadogV2/model/model_ci_app_aggregate_bucket_value.rs index 081e31a98..7cf3d757f 100644 --- a/src/datadogV2/model/model_ci_app_aggregate_bucket_value.rs +++ b/src/datadogV2/model/model_ci_app_aggregate_bucket_value.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A bucket value, can either be a timeseries or a single value. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum CIAppAggregateBucketValue { diff --git a/src/datadogV2/model/model_ci_app_aggregate_bucket_value_timeseries.rs b/src/datadogV2/model/model_ci_app_aggregate_bucket_value_timeseries.rs index 6452e835a..421da40ef 100644 --- a/src/datadogV2/model/model_ci_app_aggregate_bucket_value_timeseries.rs +++ b/src/datadogV2/model/model_ci_app_aggregate_bucket_value_timeseries.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A timeseries array. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppAggregateBucketValueTimeseries {} diff --git a/src/datadogV2/model/model_ci_app_aggregate_bucket_value_timeseries_point.rs b/src/datadogV2/model/model_ci_app_aggregate_bucket_value_timeseries_point.rs index bf58002c3..393e93ce6 100644 --- a/src/datadogV2/model/model_ci_app_aggregate_bucket_value_timeseries_point.rs +++ b/src/datadogV2/model/model_ci_app_aggregate_bucket_value_timeseries_point.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A timeseries point. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppAggregateBucketValueTimeseriesPoint { diff --git a/src/datadogV2/model/model_ci_app_aggregate_sort.rs b/src/datadogV2/model/model_ci_app_aggregate_sort.rs index e0507e723..dab2f938b 100644 --- a/src/datadogV2/model/model_ci_app_aggregate_sort.rs +++ b/src/datadogV2/model/model_ci_app_aggregate_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A sort rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppAggregateSort { diff --git a/src/datadogV2/model/model_ci_app_aggregate_sort_type.rs b/src/datadogV2/model/model_ci_app_aggregate_sort_type.rs index b14a0a0b1..0d88b9dcd 100644 --- a/src/datadogV2/model/model_ci_app_aggregate_sort_type.rs +++ b/src/datadogV2/model/model_ci_app_aggregate_sort_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppAggregateSortType { #[serde(rename = "alphabetical")] diff --git a/src/datadogV2/model/model_ci_app_aggregation_function.rs b/src/datadogV2/model/model_ci_app_aggregation_function.rs index e9a5d80cb..a918ab1b3 100644 --- a/src/datadogV2/model/model_ci_app_aggregation_function.rs +++ b/src/datadogV2/model/model_ci_app_aggregation_function.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppAggregationFunction { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_ci_app_ci_error.rs b/src/datadogV2/model/model_ci_app_ci_error.rs index eead5f0e3..0bfe46d9f 100644 --- a/src/datadogV2/model/model_ci_app_ci_error.rs +++ b/src/datadogV2/model/model_ci_app_ci_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Contains information of the CI error. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppCIError { diff --git a/src/datadogV2/model/model_ci_app_ci_error_domain.rs b/src/datadogV2/model/model_ci_app_ci_error_domain.rs index b04ef8404..2eb572508 100644 --- a/src/datadogV2/model/model_ci_app_ci_error_domain.rs +++ b/src/datadogV2/model/model_ci_app_ci_error_domain.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppCIErrorDomain { #[serde(rename = "provider")] diff --git a/src/datadogV2/model/model_ci_app_compute.rs b/src/datadogV2/model/model_ci_app_compute.rs index d0caec5de..01db760cf 100644 --- a/src/datadogV2/model/model_ci_app_compute.rs +++ b/src/datadogV2/model/model_ci_app_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A compute rule to compute metrics or timeseries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppCompute { diff --git a/src/datadogV2/model/model_ci_app_compute_type.rs b/src/datadogV2/model/model_ci_app_compute_type.rs index a1695fe6a..129439c36 100644 --- a/src/datadogV2/model/model_ci_app_compute_type.rs +++ b/src/datadogV2/model/model_ci_app_compute_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppComputeType { #[serde(rename = "timeseries")] diff --git a/src/datadogV2/model/model_ci_app_create_pipeline_event_request.rs b/src/datadogV2/model/model_ci_app_create_pipeline_event_request.rs index d16da3f02..5ba7b323b 100644 --- a/src/datadogV2/model/model_ci_app_create_pipeline_event_request.rs +++ b/src/datadogV2/model/model_ci_app_create_pipeline_event_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppCreatePipelineEventRequest { diff --git a/src/datadogV2/model/model_ci_app_create_pipeline_event_request_attributes.rs b/src/datadogV2/model/model_ci_app_create_pipeline_event_request_attributes.rs index 8fc437479..4b7bf60cd 100644 --- a/src/datadogV2/model/model_ci_app_create_pipeline_event_request_attributes.rs +++ b/src/datadogV2/model/model_ci_app_create_pipeline_event_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the pipeline event to create. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppCreatePipelineEventRequestAttributes { diff --git a/src/datadogV2/model/model_ci_app_create_pipeline_event_request_attributes_resource.rs b/src/datadogV2/model/model_ci_app_create_pipeline_event_request_attributes_resource.rs index a9761cd1d..ace8aff56 100644 --- a/src/datadogV2/model/model_ci_app_create_pipeline_event_request_attributes_resource.rs +++ b/src/datadogV2/model/model_ci_app_create_pipeline_event_request_attributes_resource.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Details of the CI pipeline event. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum CIAppCreatePipelineEventRequestAttributesResource { diff --git a/src/datadogV2/model/model_ci_app_create_pipeline_event_request_data.rs b/src/datadogV2/model/model_ci_app_create_pipeline_event_request_data.rs index 80ad5d2f9..89d4a6d4d 100644 --- a/src/datadogV2/model/model_ci_app_create_pipeline_event_request_data.rs +++ b/src/datadogV2/model/model_ci_app_create_pipeline_event_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data of the pipeline event to create. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppCreatePipelineEventRequestData { diff --git a/src/datadogV2/model/model_ci_app_create_pipeline_event_request_data_type.rs b/src/datadogV2/model/model_ci_app_create_pipeline_event_request_data_type.rs index 552c5815e..fba1bb932 100644 --- a/src/datadogV2/model/model_ci_app_create_pipeline_event_request_data_type.rs +++ b/src/datadogV2/model/model_ci_app_create_pipeline_event_request_data_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppCreatePipelineEventRequestDataType { #[serde(rename = "cipipeline_resource_request")] diff --git a/src/datadogV2/model/model_ci_app_event_attributes.rs b/src/datadogV2/model/model_ci_app_event_attributes.rs index eab7b0fb3..5ebabf4aa 100644 --- a/src/datadogV2/model/model_ci_app_event_attributes.rs +++ b/src/datadogV2/model/model_ci_app_event_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// JSON object containing all event attributes and their associated values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppEventAttributes { diff --git a/src/datadogV2/model/model_ci_app_git_info.rs b/src/datadogV2/model/model_ci_app_git_info.rs index acb685ba0..5bebd8bfa 100644 --- a/src/datadogV2/model/model_ci_app_git_info.rs +++ b/src/datadogV2/model/model_ci_app_git_info.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// If pipelines are triggered due to actions to a Git repository, then all payloads must contain this. /// Note that either `tag` or `branch` has to be provided, but not both. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppGitInfo { diff --git a/src/datadogV2/model/model_ci_app_group_by_histogram.rs b/src/datadogV2/model/model_ci_app_group_by_histogram.rs index 5718118e1..1c0461e21 100644 --- a/src/datadogV2/model/model_ci_app_group_by_histogram.rs +++ b/src/datadogV2/model/model_ci_app_group_by_histogram.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Used to perform a histogram computation (only for measure facets). /// At most, 100 buckets are allowed, the number of buckets is `(max - min)/interval`. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppGroupByHistogram { diff --git a/src/datadogV2/model/model_ci_app_group_by_missing.rs b/src/datadogV2/model/model_ci_app_group_by_missing.rs index 15ffd54b1..7e784afa1 100644 --- a/src/datadogV2/model/model_ci_app_group_by_missing.rs +++ b/src/datadogV2/model/model_ci_app_group_by_missing.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// The value to use for logs that don't have the facet used to group-by. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum CIAppGroupByMissing { diff --git a/src/datadogV2/model/model_ci_app_group_by_total.rs b/src/datadogV2/model/model_ci_app_group_by_total.rs index ca101fb9d..579723511 100644 --- a/src/datadogV2/model/model_ci_app_group_by_total.rs +++ b/src/datadogV2/model/model_ci_app_group_by_total.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A resulting object to put the given computes in over all the matching records. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum CIAppGroupByTotal { diff --git a/src/datadogV2/model/model_ci_app_host_info.rs b/src/datadogV2/model/model_ci_app_host_info.rs index c8873da83..8ba7e6875 100644 --- a/src/datadogV2/model/model_ci_app_host_info.rs +++ b/src/datadogV2/model/model_ci_app_host_info.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Contains information of the host running the pipeline, stage, job, or step. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppHostInfo { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event.rs b/src/datadogV2/model/model_ci_app_pipeline_event.rs index b905f700c..ec926f48e 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object description of a pipeline event after being processed and stored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEvent { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_attributes.rs b/src/datadogV2/model/model_ci_app_pipeline_event_attributes.rs index 3191cd2ee..ed9d8dbb7 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_attributes.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// JSON object containing all event attributes and their associated values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventAttributes { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_job.rs b/src/datadogV2/model/model_ci_app_pipeline_event_job.rs index 41d273d82..0265a94b8 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_job.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_job.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Details of a CI job. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventJob { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_job_level.rs b/src/datadogV2/model/model_ci_app_pipeline_event_job_level.rs index 6f47059f8..3793a1b84 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_job_level.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_job_level.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventJobLevel { #[serde(rename = "job")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_job_status.rs b/src/datadogV2/model/model_ci_app_pipeline_event_job_status.rs index cb788688f..a61183721 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_job_status.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_job_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventJobStatus { #[serde(rename = "success")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_parent_pipeline.rs b/src/datadogV2/model/model_ci_app_pipeline_event_parent_pipeline.rs index dd1b108c6..3f8b22cb0 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_parent_pipeline.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_parent_pipeline.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventParentPipeline { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_pipeline.rs b/src/datadogV2/model/model_ci_app_pipeline_event_pipeline.rs index e196235a8..5bfa24dbc 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_pipeline.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_pipeline.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Details of the top level pipeline, build, or workflow of your CI. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventPipeline { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_pipeline_level.rs b/src/datadogV2/model/model_ci_app_pipeline_event_pipeline_level.rs index 863a467c5..533e89947 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_pipeline_level.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_pipeline_level.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventPipelineLevel { #[serde(rename = "pipeline")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_pipeline_status.rs b/src/datadogV2/model/model_ci_app_pipeline_event_pipeline_status.rs index d6d790bcf..88025f81d 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_pipeline_status.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_pipeline_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventPipelineStatus { #[serde(rename = "success")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_previous_pipeline.rs b/src/datadogV2/model/model_ci_app_pipeline_event_previous_pipeline.rs index 1db7fc9c0..a8240854a 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_previous_pipeline.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_previous_pipeline.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// If the pipeline is a retry, this should contain the details of the previous attempt. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventPreviousPipeline { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_stage.rs b/src/datadogV2/model/model_ci_app_pipeline_event_stage.rs index 4264a43a3..6c6671e68 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_stage.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_stage.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Details of a CI stage. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventStage { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_stage_level.rs b/src/datadogV2/model/model_ci_app_pipeline_event_stage_level.rs index f3eb920c5..c03eacc48 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_stage_level.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_stage_level.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventStageLevel { #[serde(rename = "stage")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_stage_status.rs b/src/datadogV2/model/model_ci_app_pipeline_event_stage_status.rs index 946e06738..af1723254 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_stage_status.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_stage_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventStageStatus { #[serde(rename = "success")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_step.rs b/src/datadogV2/model/model_ci_app_pipeline_event_step.rs index 7fdada414..6c976f116 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_step.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_step.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Details of a CI step. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventStep { diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_step_level.rs b/src/datadogV2/model/model_ci_app_pipeline_event_step_level.rs index 5a7f90793..efe8d94ae 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_step_level.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_step_level.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventStepLevel { #[serde(rename = "step")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_step_status.rs b/src/datadogV2/model/model_ci_app_pipeline_event_step_status.rs index 86f1f682a..a19b484fc 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_step_status.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_step_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventStepStatus { #[serde(rename = "success")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_event_type_name.rs b/src/datadogV2/model/model_ci_app_pipeline_event_type_name.rs index ac346ead1..6d3ad0cc8 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_event_type_name.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_event_type_name.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineEventTypeName { #[serde(rename = "cipipeline")] diff --git a/src/datadogV2/model/model_ci_app_pipeline_events_request.rs b/src/datadogV2/model/model_ci_app_pipeline_events_request.rs index d9a891331..da265cffa 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_events_request.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_events_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The request for a pipelines search. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventsRequest { diff --git a/src/datadogV2/model/model_ci_app_pipeline_events_response.rs b/src/datadogV2/model/model_ci_app_pipeline_events_response.rs index 0a005699c..b0fa7ccd5 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_events_response.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_events_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object with all pipeline events matching the request and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelineEventsResponse { diff --git a/src/datadogV2/model/model_ci_app_pipeline_level.rs b/src/datadogV2/model/model_ci_app_pipeline_level.rs index 752f20337..199dd8368 100644 --- a/src/datadogV2/model/model_ci_app_pipeline_level.rs +++ b/src/datadogV2/model/model_ci_app_pipeline_level.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppPipelineLevel { #[serde(rename = "pipeline")] diff --git a/src/datadogV2/model/model_ci_app_pipelines_aggregate_request.rs b/src/datadogV2/model/model_ci_app_pipelines_aggregate_request.rs index 13547158b..7df9248b8 100644 --- a/src/datadogV2/model/model_ci_app_pipelines_aggregate_request.rs +++ b/src/datadogV2/model/model_ci_app_pipelines_aggregate_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object sent with the request to retrieve aggregation buckets of pipeline events from your organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelinesAggregateRequest { diff --git a/src/datadogV2/model/model_ci_app_pipelines_aggregation_buckets_response.rs b/src/datadogV2/model/model_ci_app_pipelines_aggregation_buckets_response.rs index 96a141c8a..bb6941f03 100644 --- a/src/datadogV2/model/model_ci_app_pipelines_aggregation_buckets_response.rs +++ b/src/datadogV2/model/model_ci_app_pipelines_aggregation_buckets_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The query results. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelinesAggregationBucketsResponse { diff --git a/src/datadogV2/model/model_ci_app_pipelines_analytics_aggregate_response.rs b/src/datadogV2/model/model_ci_app_pipelines_analytics_aggregate_response.rs index 0c3bdc0dc..e2ce1b901 100644 --- a/src/datadogV2/model/model_ci_app_pipelines_analytics_aggregate_response.rs +++ b/src/datadogV2/model/model_ci_app_pipelines_analytics_aggregate_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object for the pipeline events aggregate API endpoint. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelinesAnalyticsAggregateResponse { diff --git a/src/datadogV2/model/model_ci_app_pipelines_bucket_response.rs b/src/datadogV2/model/model_ci_app_pipelines_bucket_response.rs index 4d0ba4502..afd000be4 100644 --- a/src/datadogV2/model/model_ci_app_pipelines_bucket_response.rs +++ b/src/datadogV2/model/model_ci_app_pipelines_bucket_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Bucket values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelinesBucketResponse { diff --git a/src/datadogV2/model/model_ci_app_pipelines_group_by.rs b/src/datadogV2/model/model_ci_app_pipelines_group_by.rs index 8b04c24c4..e8d0dadf4 100644 --- a/src/datadogV2/model/model_ci_app_pipelines_group_by.rs +++ b/src/datadogV2/model/model_ci_app_pipelines_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group-by rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelinesGroupBy { diff --git a/src/datadogV2/model/model_ci_app_pipelines_query_filter.rs b/src/datadogV2/model/model_ci_app_pipelines_query_filter.rs index 782ae96e5..d195ab1fd 100644 --- a/src/datadogV2/model/model_ci_app_pipelines_query_filter.rs +++ b/src/datadogV2/model/model_ci_app_pipelines_query_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The search and filter query settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppPipelinesQueryFilter { diff --git a/src/datadogV2/model/model_ci_app_query_options.rs b/src/datadogV2/model/model_ci_app_query_options.rs index b64255fe3..498be0a08 100644 --- a/src/datadogV2/model/model_ci_app_query_options.rs +++ b/src/datadogV2/model/model_ci_app_query_options.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Global query options that are used during the query. /// Only supply timezone or time offset, not both. Otherwise, the query fails. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppQueryOptions { diff --git a/src/datadogV2/model/model_ci_app_query_page_options.rs b/src/datadogV2/model/model_ci_app_query_page_options.rs index e157741df..27b006a00 100644 --- a/src/datadogV2/model/model_ci_app_query_page_options.rs +++ b/src/datadogV2/model/model_ci_app_query_page_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes for listing events. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppQueryPageOptions { diff --git a/src/datadogV2/model/model_ci_app_response_links.rs b/src/datadogV2/model/model_ci_app_response_links.rs index dda4a4f78..ebf12ecd7 100644 --- a/src/datadogV2/model/model_ci_app_response_links.rs +++ b/src/datadogV2/model/model_ci_app_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppResponseLinks { diff --git a/src/datadogV2/model/model_ci_app_response_metadata.rs b/src/datadogV2/model/model_ci_app_response_metadata.rs index c1e4520c2..68bb1f80c 100644 --- a/src/datadogV2/model/model_ci_app_response_metadata.rs +++ b/src/datadogV2/model/model_ci_app_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppResponseMetadata { diff --git a/src/datadogV2/model/model_ci_app_response_metadata_with_pagination.rs b/src/datadogV2/model/model_ci_app_response_metadata_with_pagination.rs index 51123de81..eb6d26428 100644 --- a/src/datadogV2/model/model_ci_app_response_metadata_with_pagination.rs +++ b/src/datadogV2/model/model_ci_app_response_metadata_with_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppResponseMetadataWithPagination { diff --git a/src/datadogV2/model/model_ci_app_response_page.rs b/src/datadogV2/model/model_ci_app_response_page.rs index d97b9cf18..69daa6fd0 100644 --- a/src/datadogV2/model/model_ci_app_response_page.rs +++ b/src/datadogV2/model/model_ci_app_response_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppResponsePage { diff --git a/src/datadogV2/model/model_ci_app_response_status.rs b/src/datadogV2/model/model_ci_app_response_status.rs index 1d817a0d2..338b2df5d 100644 --- a/src/datadogV2/model/model_ci_app_response_status.rs +++ b/src/datadogV2/model/model_ci_app_response_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppResponseStatus { #[serde(rename = "done")] diff --git a/src/datadogV2/model/model_ci_app_sort.rs b/src/datadogV2/model/model_ci_app_sort.rs index 2fca7e218..eb6536306 100644 --- a/src/datadogV2/model/model_ci_app_sort.rs +++ b/src/datadogV2/model/model_ci_app_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppSort { #[serde(rename = "timestamp")] diff --git a/src/datadogV2/model/model_ci_app_sort_order.rs b/src/datadogV2/model/model_ci_app_sort_order.rs index 9a43189b6..a46e0affa 100644 --- a/src/datadogV2/model/model_ci_app_sort_order.rs +++ b/src/datadogV2/model/model_ci_app_sort_order.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppSortOrder { #[serde(rename = "asc")] diff --git a/src/datadogV2/model/model_ci_app_test_event.rs b/src/datadogV2/model/model_ci_app_test_event.rs index c2cac6523..c0301cd91 100644 --- a/src/datadogV2/model/model_ci_app_test_event.rs +++ b/src/datadogV2/model/model_ci_app_test_event.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object description of test event after being processed and stored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestEvent { diff --git a/src/datadogV2/model/model_ci_app_test_event_type_name.rs b/src/datadogV2/model/model_ci_app_test_event_type_name.rs index f4bb46458..433cffcf2 100644 --- a/src/datadogV2/model/model_ci_app_test_event_type_name.rs +++ b/src/datadogV2/model/model_ci_app_test_event_type_name.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppTestEventTypeName { #[serde(rename = "citest")] diff --git a/src/datadogV2/model/model_ci_app_test_events_request.rs b/src/datadogV2/model/model_ci_app_test_events_request.rs index 4c18256b3..21846933e 100644 --- a/src/datadogV2/model/model_ci_app_test_events_request.rs +++ b/src/datadogV2/model/model_ci_app_test_events_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The request for a tests search. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestEventsRequest { diff --git a/src/datadogV2/model/model_ci_app_test_events_response.rs b/src/datadogV2/model/model_ci_app_test_events_response.rs index a0b28f4ad..56731fac0 100644 --- a/src/datadogV2/model/model_ci_app_test_events_response.rs +++ b/src/datadogV2/model/model_ci_app_test_events_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object with all test events matching the request and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestEventsResponse { diff --git a/src/datadogV2/model/model_ci_app_test_level.rs b/src/datadogV2/model/model_ci_app_test_level.rs index deea3dfc5..be40a7af2 100644 --- a/src/datadogV2/model/model_ci_app_test_level.rs +++ b/src/datadogV2/model/model_ci_app_test_level.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CIAppTestLevel { #[serde(rename = "session")] diff --git a/src/datadogV2/model/model_ci_app_tests_aggregate_request.rs b/src/datadogV2/model/model_ci_app_tests_aggregate_request.rs index d4c62287f..427569d28 100644 --- a/src/datadogV2/model/model_ci_app_tests_aggregate_request.rs +++ b/src/datadogV2/model/model_ci_app_tests_aggregate_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object sent with the request to retrieve aggregation buckets of test events from your organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestsAggregateRequest { diff --git a/src/datadogV2/model/model_ci_app_tests_aggregation_buckets_response.rs b/src/datadogV2/model/model_ci_app_tests_aggregation_buckets_response.rs index ba9ad6e46..af7ceb8fe 100644 --- a/src/datadogV2/model/model_ci_app_tests_aggregation_buckets_response.rs +++ b/src/datadogV2/model/model_ci_app_tests_aggregation_buckets_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The query results. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestsAggregationBucketsResponse { diff --git a/src/datadogV2/model/model_ci_app_tests_analytics_aggregate_response.rs b/src/datadogV2/model/model_ci_app_tests_analytics_aggregate_response.rs index c34a80116..51a11ce4c 100644 --- a/src/datadogV2/model/model_ci_app_tests_analytics_aggregate_response.rs +++ b/src/datadogV2/model/model_ci_app_tests_analytics_aggregate_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object for the test events aggregate API endpoint. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestsAnalyticsAggregateResponse { diff --git a/src/datadogV2/model/model_ci_app_tests_bucket_response.rs b/src/datadogV2/model/model_ci_app_tests_bucket_response.rs index 9c01007e5..300c39c8f 100644 --- a/src/datadogV2/model/model_ci_app_tests_bucket_response.rs +++ b/src/datadogV2/model/model_ci_app_tests_bucket_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Bucket values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestsBucketResponse { diff --git a/src/datadogV2/model/model_ci_app_tests_group_by.rs b/src/datadogV2/model/model_ci_app_tests_group_by.rs index 643189adc..bd73fffdd 100644 --- a/src/datadogV2/model/model_ci_app_tests_group_by.rs +++ b/src/datadogV2/model/model_ci_app_tests_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group-by rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestsGroupBy { diff --git a/src/datadogV2/model/model_ci_app_tests_query_filter.rs b/src/datadogV2/model/model_ci_app_tests_query_filter.rs index 19f24ea2a..7d33954fa 100644 --- a/src/datadogV2/model/model_ci_app_tests_query_filter.rs +++ b/src/datadogV2/model/model_ci_app_tests_query_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The search and filter query settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppTestsQueryFilter { diff --git a/src/datadogV2/model/model_ci_app_warning.rs b/src/datadogV2/model/model_ci_app_warning.rs index 423a1761f..f31b0daa0 100644 --- a/src/datadogV2/model/model_ci_app_warning.rs +++ b/src/datadogV2/model/model_ci_app_warning.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A warning message indicating something that went wrong with the query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CIAppWarning { diff --git a/src/datadogV2/model/model_cloud_configuration_compliance_rule_options.rs b/src/datadogV2/model/model_cloud_configuration_compliance_rule_options.rs index 8845dabb7..fd4268afa 100644 --- a/src/datadogV2/model/model_cloud_configuration_compliance_rule_options.rs +++ b/src/datadogV2/model/model_cloud_configuration_compliance_rule_options.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// Options for cloud_configuration rules. /// Fields `resourceType` and `regoRule` are mandatory when managing custom `cloud_configuration` rules. /// +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudConfigurationComplianceRuleOptions { diff --git a/src/datadogV2/model/model_cloud_configuration_rego_rule.rs b/src/datadogV2/model/model_cloud_configuration_rego_rule.rs index 0c4c8b9af..f06446504 100644 --- a/src/datadogV2/model/model_cloud_configuration_rego_rule.rs +++ b/src/datadogV2/model/model_cloud_configuration_rego_rule.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Rule details. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudConfigurationRegoRule { diff --git a/src/datadogV2/model/model_cloud_configuration_rule_case_create.rs b/src/datadogV2/model/model_cloud_configuration_rule_case_create.rs index b65aae8ab..b77da8c73 100644 --- a/src/datadogV2/model/model_cloud_configuration_rule_case_create.rs +++ b/src/datadogV2/model/model_cloud_configuration_rule_case_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Description of signals. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudConfigurationRuleCaseCreate { diff --git a/src/datadogV2/model/model_cloud_configuration_rule_compliance_signal_options.rs b/src/datadogV2/model/model_cloud_configuration_rule_compliance_signal_options.rs index c5be094a3..01424ad05 100644 --- a/src/datadogV2/model/model_cloud_configuration_rule_compliance_signal_options.rs +++ b/src/datadogV2/model/model_cloud_configuration_rule_compliance_signal_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// How to generate compliance signals. Useful for cloud_configuration rules only. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudConfigurationRuleComplianceSignalOptions { diff --git a/src/datadogV2/model/model_cloud_configuration_rule_create_payload.rs b/src/datadogV2/model/model_cloud_configuration_rule_create_payload.rs index bb131f9be..85a8a37df 100644 --- a/src/datadogV2/model/model_cloud_configuration_rule_create_payload.rs +++ b/src/datadogV2/model/model_cloud_configuration_rule_create_payload.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create a new cloud configuration rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudConfigurationRuleCreatePayload { diff --git a/src/datadogV2/model/model_cloud_configuration_rule_options.rs b/src/datadogV2/model/model_cloud_configuration_rule_options.rs index 1bdb6f503..a1248021f 100644 --- a/src/datadogV2/model/model_cloud_configuration_rule_options.rs +++ b/src/datadogV2/model/model_cloud_configuration_rule_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options on cloud configuration rules. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudConfigurationRuleOptions { diff --git a/src/datadogV2/model/model_cloud_configuration_rule_type.rs b/src/datadogV2/model/model_cloud_configuration_rule_type.rs index 9fc435808..9d88e3b50 100644 --- a/src/datadogV2/model/model_cloud_configuration_rule_type.rs +++ b/src/datadogV2/model/model_cloud_configuration_rule_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CloudConfigurationRuleType { #[serde(rename = "cloud_configuration")] diff --git a/src/datadogV2/model/model_cloud_cost_activity.rs b/src/datadogV2/model/model_cloud_cost_activity.rs index 3a7e3381f..88d8c69d6 100644 --- a/src/datadogV2/model/model_cloud_cost_activity.rs +++ b/src/datadogV2/model/model_cloud_cost_activity.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Cloud Cost Activity. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudCostActivity { diff --git a/src/datadogV2/model/model_cloud_cost_activity_attributes.rs b/src/datadogV2/model/model_cloud_cost_activity_attributes.rs index 3603c73b8..ffc1c255f 100644 --- a/src/datadogV2/model/model_cloud_cost_activity_attributes.rs +++ b/src/datadogV2/model/model_cloud_cost_activity_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for Cloud Cost activity. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudCostActivityAttributes { diff --git a/src/datadogV2/model/model_cloud_cost_activity_response.rs b/src/datadogV2/model/model_cloud_cost_activity_response.rs index 24327f13c..1b1dceaeb 100644 --- a/src/datadogV2/model/model_cloud_cost_activity_response.rs +++ b/src/datadogV2/model/model_cloud_cost_activity_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for Cloud Cost activity. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudCostActivityResponse { diff --git a/src/datadogV2/model/model_cloud_cost_activity_type.rs b/src/datadogV2/model/model_cloud_cost_activity_type.rs index 6b1070604..1801aa8bc 100644 --- a/src/datadogV2/model/model_cloud_cost_activity_type.rs +++ b/src/datadogV2/model/model_cloud_cost_activity_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CloudCostActivityType { #[serde(rename = "cloud_cost_activity")] diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_attributes.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_attributes.rs index d6c4a0f0e..6e99a33a3 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_attributes.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A Cloud Workload Security Agent rule returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleAttributes { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_attributes.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_attributes.rs index 2884d8a8c..5f847d974 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_attributes.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create a new Cloud Workload Security Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleCreateAttributes { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_data.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_data.rs index 887ecbd04..5cd37bf20 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_data.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleCreateData { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_request.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_request.rs index 567717ea4..c2b80642c 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_request.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object that includes the Agent rule to create. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleCreateRequest { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_creator_attributes.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_creator_attributes.rs index c742d5ed0..ab0429197 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_creator_attributes.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_creator_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of the user who created the Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleCreatorAttributes { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_data.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_data.rs index 43483b15d..9d17a1353 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_data.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleData { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_response.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_response.rs index 1e1dac0b1..2143e2bc9 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_response.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object that includes an Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleResponse { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_type.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_type.rs index b5a2bb2a8..70b5cd3e3 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_type.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CloudWorkloadSecurityAgentRuleType { #[serde(rename = "agent_rule")] diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_attributes.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_attributes.rs index 9781b7d05..962b75283 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_attributes.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update an existing Cloud Workload Security Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleUpdateAttributes { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_data.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_data.rs index 274366173..88aab4344 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_data.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleUpdateData { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_request.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_request.rs index 8f1669d5c..e12478536 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_request.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object that includes the Agent rule with the attributes to update. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleUpdateRequest { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rule_updater_attributes.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rule_updater_attributes.rs index 949074c0e..32a20013e 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rule_updater_attributes.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rule_updater_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of the user who last updated the Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRuleUpdaterAttributes { diff --git a/src/datadogV2/model/model_cloud_workload_security_agent_rules_list_response.rs b/src/datadogV2/model/model_cloud_workload_security_agent_rules_list_response.rs index 740901adb..8de9256af 100644 --- a/src/datadogV2/model/model_cloud_workload_security_agent_rules_list_response.rs +++ b/src/datadogV2/model/model_cloud_workload_security_agent_rules_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object that includes a list of Agent rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudWorkloadSecurityAgentRulesListResponse { diff --git a/src/datadogV2/model/model_cloudflare_account_create_request.rs b/src/datadogV2/model/model_cloudflare_account_create_request.rs index b99b4789b..ed469f4c8 100644 --- a/src/datadogV2/model/model_cloudflare_account_create_request.rs +++ b/src/datadogV2/model/model_cloudflare_account_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Payload schema when adding a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountCreateRequest { diff --git a/src/datadogV2/model/model_cloudflare_account_create_request_attributes.rs b/src/datadogV2/model/model_cloudflare_account_create_request_attributes.rs index a944e0ed2..88b2f9e2b 100644 --- a/src/datadogV2/model/model_cloudflare_account_create_request_attributes.rs +++ b/src/datadogV2/model/model_cloudflare_account_create_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for creating a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountCreateRequestAttributes { diff --git a/src/datadogV2/model/model_cloudflare_account_create_request_data.rs b/src/datadogV2/model/model_cloudflare_account_create_request_data.rs index b85603da6..da5152f75 100644 --- a/src/datadogV2/model/model_cloudflare_account_create_request_data.rs +++ b/src/datadogV2/model/model_cloudflare_account_create_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object for creating a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountCreateRequestData { diff --git a/src/datadogV2/model/model_cloudflare_account_response.rs b/src/datadogV2/model/model_cloudflare_account_response.rs index 56be4a79a..5e036a5f7 100644 --- a/src/datadogV2/model/model_cloudflare_account_response.rs +++ b/src/datadogV2/model/model_cloudflare_account_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountResponse { diff --git a/src/datadogV2/model/model_cloudflare_account_response_attributes.rs b/src/datadogV2/model/model_cloudflare_account_response_attributes.rs index ee7aa26de..4a1168a33 100644 --- a/src/datadogV2/model/model_cloudflare_account_response_attributes.rs +++ b/src/datadogV2/model/model_cloudflare_account_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object of a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountResponseAttributes { diff --git a/src/datadogV2/model/model_cloudflare_account_response_data.rs b/src/datadogV2/model/model_cloudflare_account_response_data.rs index 848254943..517ac94c0 100644 --- a/src/datadogV2/model/model_cloudflare_account_response_data.rs +++ b/src/datadogV2/model/model_cloudflare_account_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object of a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountResponseData { diff --git a/src/datadogV2/model/model_cloudflare_account_type.rs b/src/datadogV2/model/model_cloudflare_account_type.rs index 2e3058852..bd87199b3 100644 --- a/src/datadogV2/model/model_cloudflare_account_type.rs +++ b/src/datadogV2/model/model_cloudflare_account_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CloudflareAccountType { #[serde(rename = "cloudflare-accounts")] diff --git a/src/datadogV2/model/model_cloudflare_account_update_request.rs b/src/datadogV2/model/model_cloudflare_account_update_request.rs index e2000a637..3ea6e027c 100644 --- a/src/datadogV2/model/model_cloudflare_account_update_request.rs +++ b/src/datadogV2/model/model_cloudflare_account_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Payload schema when updating a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountUpdateRequest { diff --git a/src/datadogV2/model/model_cloudflare_account_update_request_attributes.rs b/src/datadogV2/model/model_cloudflare_account_update_request_attributes.rs index 12a2002c4..464d57b3d 100644 --- a/src/datadogV2/model/model_cloudflare_account_update_request_attributes.rs +++ b/src/datadogV2/model/model_cloudflare_account_update_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for updating a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountUpdateRequestAttributes { diff --git a/src/datadogV2/model/model_cloudflare_account_update_request_data.rs b/src/datadogV2/model/model_cloudflare_account_update_request_data.rs index e7bdc237a..1b4b091ec 100644 --- a/src/datadogV2/model/model_cloudflare_account_update_request_data.rs +++ b/src/datadogV2/model/model_cloudflare_account_update_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object for updating a Cloudflare account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountUpdateRequestData { diff --git a/src/datadogV2/model/model_cloudflare_accounts_response.rs b/src/datadogV2/model/model_cloudflare_accounts_response.rs index be7e2964f..7f77e12c4 100644 --- a/src/datadogV2/model/model_cloudflare_accounts_response.rs +++ b/src/datadogV2/model/model_cloudflare_accounts_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting Cloudflare accounts. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CloudflareAccountsResponse { diff --git a/src/datadogV2/model/model_confluent_account_create_request.rs b/src/datadogV2/model/model_confluent_account_create_request.rs index 1c3583d2f..eca20533d 100644 --- a/src/datadogV2/model/model_confluent_account_create_request.rs +++ b/src/datadogV2/model/model_confluent_account_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Payload schema when adding a Confluent account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountCreateRequest { diff --git a/src/datadogV2/model/model_confluent_account_create_request_attributes.rs b/src/datadogV2/model/model_confluent_account_create_request_attributes.rs index 254352dbf..4ad342543 100644 --- a/src/datadogV2/model/model_confluent_account_create_request_attributes.rs +++ b/src/datadogV2/model/model_confluent_account_create_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes associated with the account creation request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountCreateRequestAttributes { diff --git a/src/datadogV2/model/model_confluent_account_create_request_data.rs b/src/datadogV2/model/model_confluent_account_create_request_data.rs index 38258f32c..7b09ec870 100644 --- a/src/datadogV2/model/model_confluent_account_create_request_data.rs +++ b/src/datadogV2/model/model_confluent_account_create_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The data body for adding a Confluent account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountCreateRequestData { diff --git a/src/datadogV2/model/model_confluent_account_resource_attributes.rs b/src/datadogV2/model/model_confluent_account_resource_attributes.rs index 57dd3250b..9f3384049 100644 --- a/src/datadogV2/model/model_confluent_account_resource_attributes.rs +++ b/src/datadogV2/model/model_confluent_account_resource_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for updating a Confluent resource. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountResourceAttributes { diff --git a/src/datadogV2/model/model_confluent_account_response.rs b/src/datadogV2/model/model_confluent_account_response.rs index 025c08c0a..59ef7c4d3 100644 --- a/src/datadogV2/model/model_confluent_account_response.rs +++ b/src/datadogV2/model/model_confluent_account_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting a Confluent account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountResponse { diff --git a/src/datadogV2/model/model_confluent_account_response_attributes.rs b/src/datadogV2/model/model_confluent_account_response_attributes.rs index 6f5a0ded2..8d9707107 100644 --- a/src/datadogV2/model/model_confluent_account_response_attributes.rs +++ b/src/datadogV2/model/model_confluent_account_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of a Confluent account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountResponseAttributes { diff --git a/src/datadogV2/model/model_confluent_account_response_data.rs b/src/datadogV2/model/model_confluent_account_response_data.rs index da397f767..a339b113b 100644 --- a/src/datadogV2/model/model_confluent_account_response_data.rs +++ b/src/datadogV2/model/model_confluent_account_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An API key and API secret pair that represents a Confluent account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountResponseData { diff --git a/src/datadogV2/model/model_confluent_account_type.rs b/src/datadogV2/model/model_confluent_account_type.rs index 1d861559d..7fbd0d6e5 100644 --- a/src/datadogV2/model/model_confluent_account_type.rs +++ b/src/datadogV2/model/model_confluent_account_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ConfluentAccountType { #[serde(rename = "confluent-cloud-accounts")] diff --git a/src/datadogV2/model/model_confluent_account_update_request.rs b/src/datadogV2/model/model_confluent_account_update_request.rs index de7a5094f..65252c864 100644 --- a/src/datadogV2/model/model_confluent_account_update_request.rs +++ b/src/datadogV2/model/model_confluent_account_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API request for updating a Confluent account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountUpdateRequest { diff --git a/src/datadogV2/model/model_confluent_account_update_request_attributes.rs b/src/datadogV2/model/model_confluent_account_update_request_attributes.rs index dbccd4473..c37a4b3d9 100644 --- a/src/datadogV2/model/model_confluent_account_update_request_attributes.rs +++ b/src/datadogV2/model/model_confluent_account_update_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for updating a Confluent account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountUpdateRequestAttributes { diff --git a/src/datadogV2/model/model_confluent_account_update_request_data.rs b/src/datadogV2/model/model_confluent_account_update_request_data.rs index 2ec678829..2682dd932 100644 --- a/src/datadogV2/model/model_confluent_account_update_request_data.rs +++ b/src/datadogV2/model/model_confluent_account_update_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object for updating a Confluent account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountUpdateRequestData { diff --git a/src/datadogV2/model/model_confluent_accounts_response.rs b/src/datadogV2/model/model_confluent_accounts_response.rs index f74f24585..e61ee48f9 100644 --- a/src/datadogV2/model/model_confluent_accounts_response.rs +++ b/src/datadogV2/model/model_confluent_accounts_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Confluent account returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentAccountsResponse { diff --git a/src/datadogV2/model/model_confluent_resource_request.rs b/src/datadogV2/model/model_confluent_resource_request.rs index 4a1315077..07e092ca8 100644 --- a/src/datadogV2/model/model_confluent_resource_request.rs +++ b/src/datadogV2/model/model_confluent_resource_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API request for updating a Confluent resource. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentResourceRequest { diff --git a/src/datadogV2/model/model_confluent_resource_request_attributes.rs b/src/datadogV2/model/model_confluent_resource_request_attributes.rs index b0c6969ed..8d96d397a 100644 --- a/src/datadogV2/model/model_confluent_resource_request_attributes.rs +++ b/src/datadogV2/model/model_confluent_resource_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for updating a Confluent resource. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentResourceRequestAttributes { diff --git a/src/datadogV2/model/model_confluent_resource_request_data.rs b/src/datadogV2/model/model_confluent_resource_request_data.rs index a1cd16b45..56faa0751 100644 --- a/src/datadogV2/model/model_confluent_resource_request_data.rs +++ b/src/datadogV2/model/model_confluent_resource_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// JSON:API request for updating a Confluent resource. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentResourceRequestData { diff --git a/src/datadogV2/model/model_confluent_resource_response.rs b/src/datadogV2/model/model_confluent_resource_response.rs index f1b4f0b47..c45df5d2d 100644 --- a/src/datadogV2/model/model_confluent_resource_response.rs +++ b/src/datadogV2/model/model_confluent_resource_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response schema when interacting with a Confluent resource. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentResourceResponse { diff --git a/src/datadogV2/model/model_confluent_resource_response_attributes.rs b/src/datadogV2/model/model_confluent_resource_response_attributes.rs index ada75bebe..a3830533e 100644 --- a/src/datadogV2/model/model_confluent_resource_response_attributes.rs +++ b/src/datadogV2/model/model_confluent_resource_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Model representation of a Confluent Cloud resource. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentResourceResponseAttributes { diff --git a/src/datadogV2/model/model_confluent_resource_response_data.rs b/src/datadogV2/model/model_confluent_resource_response_data.rs index 79ac9fe0b..411f15e61 100644 --- a/src/datadogV2/model/model_confluent_resource_response_data.rs +++ b/src/datadogV2/model/model_confluent_resource_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Confluent Cloud resource data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentResourceResponseData { diff --git a/src/datadogV2/model/model_confluent_resource_type.rs b/src/datadogV2/model/model_confluent_resource_type.rs index c0e9a397b..70465a521 100644 --- a/src/datadogV2/model/model_confluent_resource_type.rs +++ b/src/datadogV2/model/model_confluent_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ConfluentResourceType { #[serde(rename = "confluent-cloud-resources")] diff --git a/src/datadogV2/model/model_confluent_resources_response.rs b/src/datadogV2/model/model_confluent_resources_response.rs index 816a5cbb0..b536d4a91 100644 --- a/src/datadogV2/model/model_confluent_resources_response.rs +++ b/src/datadogV2/model/model_confluent_resources_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response schema when interacting with a list of Confluent resources. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ConfluentResourcesResponse { diff --git a/src/datadogV2/model/model_container.rs b/src/datadogV2/model/model_container.rs index 503fd4233..c88af9443 100644 --- a/src/datadogV2/model/model_container.rs +++ b/src/datadogV2/model/model_container.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Container object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Container { diff --git a/src/datadogV2/model/model_container_attributes.rs b/src/datadogV2/model/model_container_attributes.rs index 8162bf9a8..214d0d399 100644 --- a/src/datadogV2/model/model_container_attributes.rs +++ b/src/datadogV2/model/model_container_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for a container. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerAttributes { diff --git a/src/datadogV2/model/model_container_group.rs b/src/datadogV2/model/model_container_group.rs index 48cf1a44e..0cce092c4 100644 --- a/src/datadogV2/model/model_container_group.rs +++ b/src/datadogV2/model/model_container_group.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Container group object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerGroup { diff --git a/src/datadogV2/model/model_container_group_attributes.rs b/src/datadogV2/model/model_container_group_attributes.rs index 61fa3d8a4..5d3c2381d 100644 --- a/src/datadogV2/model/model_container_group_attributes.rs +++ b/src/datadogV2/model/model_container_group_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for a container group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerGroupAttributes { diff --git a/src/datadogV2/model/model_container_group_relationships.rs b/src/datadogV2/model/model_container_group_relationships.rs index 89d4cd410..49a032ac6 100644 --- a/src/datadogV2/model/model_container_group_relationships.rs +++ b/src/datadogV2/model/model_container_group_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships to containers inside a container group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerGroupRelationships { diff --git a/src/datadogV2/model/model_container_group_relationships_link.rs b/src/datadogV2/model/model_container_group_relationships_link.rs index c24fa5136..df99260c8 100644 --- a/src/datadogV2/model/model_container_group_relationships_link.rs +++ b/src/datadogV2/model/model_container_group_relationships_link.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships to Containers inside a Container Group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerGroupRelationshipsLink { diff --git a/src/datadogV2/model/model_container_group_relationships_links.rs b/src/datadogV2/model/model_container_group_relationships_links.rs index b32494482..1179de2bf 100644 --- a/src/datadogV2/model/model_container_group_relationships_links.rs +++ b/src/datadogV2/model/model_container_group_relationships_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerGroupRelationshipsLinks { diff --git a/src/datadogV2/model/model_container_group_type.rs b/src/datadogV2/model/model_container_group_type.rs index ec08a32b7..8d8a66c9a 100644 --- a/src/datadogV2/model/model_container_group_type.rs +++ b/src/datadogV2/model/model_container_group_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ContainerGroupType { #[serde(rename = "container_group")] diff --git a/src/datadogV2/model/model_container_image.rs b/src/datadogV2/model/model_container_image.rs index 638680e02..279d79fc4 100644 --- a/src/datadogV2/model/model_container_image.rs +++ b/src/datadogV2/model/model_container_image.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Container Image object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImage { diff --git a/src/datadogV2/model/model_container_image_attributes.rs b/src/datadogV2/model/model_container_image_attributes.rs index be5d548a7..d0e974bd1 100644 --- a/src/datadogV2/model/model_container_image_attributes.rs +++ b/src/datadogV2/model/model_container_image_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for a Container Image. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageAttributes { diff --git a/src/datadogV2/model/model_container_image_flavor.rs b/src/datadogV2/model/model_container_image_flavor.rs index afba76958..0cbd224d1 100644 --- a/src/datadogV2/model/model_container_image_flavor.rs +++ b/src/datadogV2/model/model_container_image_flavor.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Container Image breakdown by supported platform. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageFlavor { diff --git a/src/datadogV2/model/model_container_image_group.rs b/src/datadogV2/model/model_container_image_group.rs index 77abe07cb..ba78cfeff 100644 --- a/src/datadogV2/model/model_container_image_group.rs +++ b/src/datadogV2/model/model_container_image_group.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Container Image Group object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageGroup { diff --git a/src/datadogV2/model/model_container_image_group_attributes.rs b/src/datadogV2/model/model_container_image_group_attributes.rs index 544c0919a..e7522c504 100644 --- a/src/datadogV2/model/model_container_image_group_attributes.rs +++ b/src/datadogV2/model/model_container_image_group_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for a Container Image Group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageGroupAttributes { diff --git a/src/datadogV2/model/model_container_image_group_images_relationships_link.rs b/src/datadogV2/model/model_container_image_group_images_relationships_link.rs index 6b3597dbb..0328b3420 100644 --- a/src/datadogV2/model/model_container_image_group_images_relationships_link.rs +++ b/src/datadogV2/model/model_container_image_group_images_relationships_link.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships to Container Images inside a Container Image Group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageGroupImagesRelationshipsLink { diff --git a/src/datadogV2/model/model_container_image_group_relationships.rs b/src/datadogV2/model/model_container_image_group_relationships.rs index 55e288700..35287cac1 100644 --- a/src/datadogV2/model/model_container_image_group_relationships.rs +++ b/src/datadogV2/model/model_container_image_group_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships inside a Container Image Group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageGroupRelationships { diff --git a/src/datadogV2/model/model_container_image_group_relationships_links.rs b/src/datadogV2/model/model_container_image_group_relationships_links.rs index 19c011109..b911154c3 100644 --- a/src/datadogV2/model/model_container_image_group_relationships_links.rs +++ b/src/datadogV2/model/model_container_image_group_relationships_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageGroupRelationshipsLinks { diff --git a/src/datadogV2/model/model_container_image_group_type.rs b/src/datadogV2/model/model_container_image_group_type.rs index 65f58ccec..f4898446a 100644 --- a/src/datadogV2/model/model_container_image_group_type.rs +++ b/src/datadogV2/model/model_container_image_group_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ContainerImageGroupType { #[serde(rename = "container_image_group")] diff --git a/src/datadogV2/model/model_container_image_item.rs b/src/datadogV2/model/model_container_image_item.rs index 1b1f75171..b111ad03c 100644 --- a/src/datadogV2/model/model_container_image_item.rs +++ b/src/datadogV2/model/model_container_image_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Possible Container Image models. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ContainerImageItem { diff --git a/src/datadogV2/model/model_container_image_meta.rs b/src/datadogV2/model/model_container_image_meta.rs index 0479e5df0..f6ba0a72d 100644 --- a/src/datadogV2/model/model_container_image_meta.rs +++ b/src/datadogV2/model/model_container_image_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response metadata object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageMeta { diff --git a/src/datadogV2/model/model_container_image_meta_page.rs b/src/datadogV2/model/model_container_image_meta_page.rs index d797725de..f9ae6e7e1 100644 --- a/src/datadogV2/model/model_container_image_meta_page.rs +++ b/src/datadogV2/model/model_container_image_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageMetaPage { diff --git a/src/datadogV2/model/model_container_image_meta_page_type.rs b/src/datadogV2/model/model_container_image_meta_page_type.rs index ee60ceee8..ab45c771d 100644 --- a/src/datadogV2/model/model_container_image_meta_page_type.rs +++ b/src/datadogV2/model/model_container_image_meta_page_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ContainerImageMetaPageType { #[serde(rename = "cursor_limit")] diff --git a/src/datadogV2/model/model_container_image_type.rs b/src/datadogV2/model/model_container_image_type.rs index b2e050e73..9c7a1719e 100644 --- a/src/datadogV2/model/model_container_image_type.rs +++ b/src/datadogV2/model/model_container_image_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ContainerImageType { #[serde(rename = "container_image")] diff --git a/src/datadogV2/model/model_container_image_vulnerabilities.rs b/src/datadogV2/model/model_container_image_vulnerabilities.rs index 7b175bbff..b5f3cfd81 100644 --- a/src/datadogV2/model/model_container_image_vulnerabilities.rs +++ b/src/datadogV2/model/model_container_image_vulnerabilities.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Vulnerability counts associated with the Container Image. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImageVulnerabilities { diff --git a/src/datadogV2/model/model_container_images_response.rs b/src/datadogV2/model/model_container_images_response.rs index 43c4b138b..e0d65d9cd 100644 --- a/src/datadogV2/model/model_container_images_response.rs +++ b/src/datadogV2/model/model_container_images_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of Container Images. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImagesResponse { diff --git a/src/datadogV2/model/model_container_images_response_links.rs b/src/datadogV2/model/model_container_images_response_links.rs index b87b6ddc1..e0d03f92d 100644 --- a/src/datadogV2/model/model_container_images_response_links.rs +++ b/src/datadogV2/model/model_container_images_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination links. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerImagesResponseLinks { diff --git a/src/datadogV2/model/model_container_item.rs b/src/datadogV2/model/model_container_item.rs index 11146742c..842556982 100644 --- a/src/datadogV2/model/model_container_item.rs +++ b/src/datadogV2/model/model_container_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Possible Container models. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ContainerItem { diff --git a/src/datadogV2/model/model_container_meta.rs b/src/datadogV2/model/model_container_meta.rs index d029389d1..eda8b39d1 100644 --- a/src/datadogV2/model/model_container_meta.rs +++ b/src/datadogV2/model/model_container_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response metadata object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerMeta { diff --git a/src/datadogV2/model/model_container_meta_page.rs b/src/datadogV2/model/model_container_meta_page.rs index 6216d1740..d0be6c80c 100644 --- a/src/datadogV2/model/model_container_meta_page.rs +++ b/src/datadogV2/model/model_container_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainerMetaPage { diff --git a/src/datadogV2/model/model_container_meta_page_type.rs b/src/datadogV2/model/model_container_meta_page_type.rs index 293dbfb66..c92d1433a 100644 --- a/src/datadogV2/model/model_container_meta_page_type.rs +++ b/src/datadogV2/model/model_container_meta_page_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ContainerMetaPageType { #[serde(rename = "cursor_limit")] diff --git a/src/datadogV2/model/model_container_type.rs b/src/datadogV2/model/model_container_type.rs index 280d3afb0..84564b7e3 100644 --- a/src/datadogV2/model/model_container_type.rs +++ b/src/datadogV2/model/model_container_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ContainerType { #[serde(rename = "container")] diff --git a/src/datadogV2/model/model_containers_response.rs b/src/datadogV2/model/model_containers_response.rs index bb97768ba..a4e59e2ab 100644 --- a/src/datadogV2/model/model_containers_response.rs +++ b/src/datadogV2/model/model_containers_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of containers. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainersResponse { diff --git a/src/datadogV2/model/model_containers_response_links.rs b/src/datadogV2/model/model_containers_response_links.rs index bab4554e6..0d4a4a856 100644 --- a/src/datadogV2/model/model_containers_response_links.rs +++ b/src/datadogV2/model/model_containers_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination links. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ContainersResponseLinks { diff --git a/src/datadogV2/model/model_content_encoding.rs b/src/datadogV2/model/model_content_encoding.rs index e8f69720e..a296c8c1f 100644 --- a/src/datadogV2/model/model_content_encoding.rs +++ b/src/datadogV2/model/model_content_encoding.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ContentEncoding { #[serde(rename = "identity")] diff --git a/src/datadogV2/model/model_cost_attribution_aggregates_body.rs b/src/datadogV2/model/model_cost_attribution_aggregates_body.rs index 7c0a8aeba..d7bd733b8 100644 --- a/src/datadogV2/model/model_cost_attribution_aggregates_body.rs +++ b/src/datadogV2/model/model_cost_attribution_aggregates_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing the aggregates. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CostAttributionAggregatesBody { diff --git a/src/datadogV2/model/model_cost_attribution_type.rs b/src/datadogV2/model/model_cost_attribution_type.rs index 7e2fa4c97..b9a182e97 100644 --- a/src/datadogV2/model/model_cost_attribution_type.rs +++ b/src/datadogV2/model/model_cost_attribution_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CostAttributionType { #[serde(rename = "cost_by_tag")] diff --git a/src/datadogV2/model/model_cost_by_org.rs b/src/datadogV2/model/model_cost_by_org.rs index 29581ec37..6c341eaec 100644 --- a/src/datadogV2/model/model_cost_by_org.rs +++ b/src/datadogV2/model/model_cost_by_org.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Cost data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CostByOrg { diff --git a/src/datadogV2/model/model_cost_by_org_attributes.rs b/src/datadogV2/model/model_cost_by_org_attributes.rs index c40bb1504..ee8a45653 100644 --- a/src/datadogV2/model/model_cost_by_org_attributes.rs +++ b/src/datadogV2/model/model_cost_by_org_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Cost attributes data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CostByOrgAttributes { diff --git a/src/datadogV2/model/model_cost_by_org_response.rs b/src/datadogV2/model/model_cost_by_org_response.rs index 45775b697..f2f7b4661 100644 --- a/src/datadogV2/model/model_cost_by_org_response.rs +++ b/src/datadogV2/model/model_cost_by_org_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Chargeback Summary response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CostByOrgResponse { diff --git a/src/datadogV2/model/model_cost_by_org_type.rs b/src/datadogV2/model/model_cost_by_org_type.rs index 448d6eaf9..16de593bb 100644 --- a/src/datadogV2/model/model_cost_by_org_type.rs +++ b/src/datadogV2/model/model_cost_by_org_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum CostByOrgType { #[serde(rename = "cost_by_org")] diff --git a/src/datadogV2/model/model_create_rule_request.rs b/src/datadogV2/model/model_create_rule_request.rs index ab02c51d7..3b081ef4a 100644 --- a/src/datadogV2/model/model_create_rule_request.rs +++ b/src/datadogV2/model/model_create_rule_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard create rule request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CreateRuleRequest { diff --git a/src/datadogV2/model/model_create_rule_request_data.rs b/src/datadogV2/model/model_create_rule_request_data.rs index 74e507cd9..0554a1659 100644 --- a/src/datadogV2/model/model_create_rule_request_data.rs +++ b/src/datadogV2/model/model_create_rule_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard create rule request data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CreateRuleRequestData { diff --git a/src/datadogV2/model/model_create_rule_response.rs b/src/datadogV2/model/model_create_rule_response.rs index 678ff80bd..a6eb98e5d 100644 --- a/src/datadogV2/model/model_create_rule_response.rs +++ b/src/datadogV2/model/model_create_rule_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Created rule in response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CreateRuleResponse { diff --git a/src/datadogV2/model/model_create_rule_response_data.rs b/src/datadogV2/model/model_create_rule_response_data.rs index 7e7e22435..6f73bfdc3 100644 --- a/src/datadogV2/model/model_create_rule_response_data.rs +++ b/src/datadogV2/model/model_create_rule_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create rule response data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct CreateRuleResponseData { diff --git a/src/datadogV2/model/model_creator.rs b/src/datadogV2/model/model_creator.rs index 40c4e07c3..5699b395e 100644 --- a/src/datadogV2/model/model_creator.rs +++ b/src/datadogV2/model/model_creator.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Creator of the object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Creator { diff --git a/src/datadogV2/model/model_dashboard_list_add_items_request.rs b/src/datadogV2/model/model_dashboard_list_add_items_request.rs index 2ece2366b..f20b8348b 100644 --- a/src/datadogV2/model/model_dashboard_list_add_items_request.rs +++ b/src/datadogV2/model/model_dashboard_list_add_items_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request containing a list of dashboards to add. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListAddItemsRequest { diff --git a/src/datadogV2/model/model_dashboard_list_add_items_response.rs b/src/datadogV2/model/model_dashboard_list_add_items_response.rs index d4aab1e87..847ec8a37 100644 --- a/src/datadogV2/model/model_dashboard_list_add_items_response.rs +++ b/src/datadogV2/model/model_dashboard_list_add_items_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing a list of added dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListAddItemsResponse { diff --git a/src/datadogV2/model/model_dashboard_list_delete_items_request.rs b/src/datadogV2/model/model_dashboard_list_delete_items_request.rs index accd38326..bae06182c 100644 --- a/src/datadogV2/model/model_dashboard_list_delete_items_request.rs +++ b/src/datadogV2/model/model_dashboard_list_delete_items_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request containing a list of dashboards to delete. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListDeleteItemsRequest { diff --git a/src/datadogV2/model/model_dashboard_list_delete_items_response.rs b/src/datadogV2/model/model_dashboard_list_delete_items_response.rs index bc19d299c..e6e97807c 100644 --- a/src/datadogV2/model/model_dashboard_list_delete_items_response.rs +++ b/src/datadogV2/model/model_dashboard_list_delete_items_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing a list of deleted dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListDeleteItemsResponse { diff --git a/src/datadogV2/model/model_dashboard_list_item.rs b/src/datadogV2/model/model_dashboard_list_item.rs index 6c731981e..f9c738c31 100644 --- a/src/datadogV2/model/model_dashboard_list_item.rs +++ b/src/datadogV2/model/model_dashboard_list_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A dashboard within a list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListItem { diff --git a/src/datadogV2/model/model_dashboard_list_item_request.rs b/src/datadogV2/model/model_dashboard_list_item_request.rs index 84831e5ab..c7fbdab6e 100644 --- a/src/datadogV2/model/model_dashboard_list_item_request.rs +++ b/src/datadogV2/model/model_dashboard_list_item_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A dashboard within a list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListItemRequest { diff --git a/src/datadogV2/model/model_dashboard_list_item_response.rs b/src/datadogV2/model/model_dashboard_list_item_response.rs index 5f41106df..669ffd2ea 100644 --- a/src/datadogV2/model/model_dashboard_list_item_response.rs +++ b/src/datadogV2/model/model_dashboard_list_item_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A dashboard within a list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListItemResponse { diff --git a/src/datadogV2/model/model_dashboard_list_items.rs b/src/datadogV2/model/model_dashboard_list_items.rs index 6c36bc394..8cf343ba1 100644 --- a/src/datadogV2/model/model_dashboard_list_items.rs +++ b/src/datadogV2/model/model_dashboard_list_items.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Dashboards within a list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListItems { diff --git a/src/datadogV2/model/model_dashboard_list_update_items_request.rs b/src/datadogV2/model/model_dashboard_list_update_items_request.rs index 874de6821..41d73885b 100644 --- a/src/datadogV2/model/model_dashboard_list_update_items_request.rs +++ b/src/datadogV2/model/model_dashboard_list_update_items_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request containing the list of dashboards to update to. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListUpdateItemsRequest { diff --git a/src/datadogV2/model/model_dashboard_list_update_items_response.rs b/src/datadogV2/model/model_dashboard_list_update_items_response.rs index 652b104ef..811087b8e 100644 --- a/src/datadogV2/model/model_dashboard_list_update_items_response.rs +++ b/src/datadogV2/model/model_dashboard_list_update_items_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing a list of updated dashboards. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DashboardListUpdateItemsResponse { diff --git a/src/datadogV2/model/model_dashboard_type.rs b/src/datadogV2/model/model_dashboard_type.rs index 38ea1999c..942d64ba2 100644 --- a/src/datadogV2/model/model_dashboard_type.rs +++ b/src/datadogV2/model/model_dashboard_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DashboardType { #[serde(rename = "custom_timeboard")] diff --git a/src/datadogV2/model/model_data_scalar_column.rs b/src/datadogV2/model/model_data_scalar_column.rs index c92458a37..eb785b949 100644 --- a/src/datadogV2/model/model_data_scalar_column.rs +++ b/src/datadogV2/model/model_data_scalar_column.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A column containing the numerical results for a formula or query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DataScalarColumn { diff --git a/src/datadogV2/model/model_detailed_finding.rs b/src/datadogV2/model/model_detailed_finding.rs index 4cdc0669d..54f6e5aff 100644 --- a/src/datadogV2/model/model_detailed_finding.rs +++ b/src/datadogV2/model/model_detailed_finding.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single finding with with message and resource configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DetailedFinding { diff --git a/src/datadogV2/model/model_detailed_finding_attributes.rs b/src/datadogV2/model/model_detailed_finding_attributes.rs index c17ff9927..bc8f7421e 100644 --- a/src/datadogV2/model/model_detailed_finding_attributes.rs +++ b/src/datadogV2/model/model_detailed_finding_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API attributes of the detailed finding. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DetailedFindingAttributes { diff --git a/src/datadogV2/model/model_detailed_finding_type.rs b/src/datadogV2/model/model_detailed_finding_type.rs index 866c98bbe..bd6f9a798 100644 --- a/src/datadogV2/model/model_detailed_finding_type.rs +++ b/src/datadogV2/model/model_detailed_finding_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DetailedFindingType { #[serde(rename = "detailed_finding")] diff --git a/src/datadogV2/model/model_dora_deployment_request.rs b/src/datadogV2/model/model_dora_deployment_request.rs index 8c69ededc..6280761d7 100644 --- a/src/datadogV2/model/model_dora_deployment_request.rs +++ b/src/datadogV2/model/model_dora_deployment_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request to create a DORA deployment event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORADeploymentRequest { diff --git a/src/datadogV2/model/model_dora_deployment_request_attributes.rs b/src/datadogV2/model/model_dora_deployment_request_attributes.rs index cb9138dfd..8bfbd56fb 100644 --- a/src/datadogV2/model/model_dora_deployment_request_attributes.rs +++ b/src/datadogV2/model/model_dora_deployment_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes to create a DORA deployment event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORADeploymentRequestAttributes { diff --git a/src/datadogV2/model/model_dora_deployment_request_data.rs b/src/datadogV2/model/model_dora_deployment_request_data.rs index 481fabdde..4bdae91d4 100644 --- a/src/datadogV2/model/model_dora_deployment_request_data.rs +++ b/src/datadogV2/model/model_dora_deployment_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORADeploymentRequestData { diff --git a/src/datadogV2/model/model_dora_deployment_response.rs b/src/datadogV2/model/model_dora_deployment_response.rs index 0a00d8c48..de75c660d 100644 --- a/src/datadogV2/model/model_dora_deployment_response.rs +++ b/src/datadogV2/model/model_dora_deployment_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response after receiving a DORA deployment event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORADeploymentResponse { diff --git a/src/datadogV2/model/model_dora_deployment_response_data.rs b/src/datadogV2/model/model_dora_deployment_response_data.rs index e24585e6a..bf1bd1d0f 100644 --- a/src/datadogV2/model/model_dora_deployment_response_data.rs +++ b/src/datadogV2/model/model_dora_deployment_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORADeploymentResponseData { diff --git a/src/datadogV2/model/model_dora_deployment_type.rs b/src/datadogV2/model/model_dora_deployment_type.rs index ebb2148ed..3694a60fc 100644 --- a/src/datadogV2/model/model_dora_deployment_type.rs +++ b/src/datadogV2/model/model_dora_deployment_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DORADeploymentType { #[serde(rename = "dora_deployment")] diff --git a/src/datadogV2/model/model_dora_git_info.rs b/src/datadogV2/model/model_dora_git_info.rs index 2cd06e104..ee0e9241d 100644 --- a/src/datadogV2/model/model_dora_git_info.rs +++ b/src/datadogV2/model/model_dora_git_info.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Git info for DORA Metrics events. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORAGitInfo { diff --git a/src/datadogV2/model/model_dora_incident_request.rs b/src/datadogV2/model/model_dora_incident_request.rs index df74e6f93..c87182994 100644 --- a/src/datadogV2/model/model_dora_incident_request.rs +++ b/src/datadogV2/model/model_dora_incident_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request to create a DORA incident event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORAIncidentRequest { diff --git a/src/datadogV2/model/model_dora_incident_request_attributes.rs b/src/datadogV2/model/model_dora_incident_request_attributes.rs index 542e86be7..3e519d20b 100644 --- a/src/datadogV2/model/model_dora_incident_request_attributes.rs +++ b/src/datadogV2/model/model_dora_incident_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes to create a DORA incident event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORAIncidentRequestAttributes { diff --git a/src/datadogV2/model/model_dora_incident_request_data.rs b/src/datadogV2/model/model_dora_incident_request_data.rs index b8419ecb9..0fcbfa84b 100644 --- a/src/datadogV2/model/model_dora_incident_request_data.rs +++ b/src/datadogV2/model/model_dora_incident_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORAIncidentRequestData { diff --git a/src/datadogV2/model/model_dora_incident_response.rs b/src/datadogV2/model/model_dora_incident_response.rs index 1c91280ba..0fa274528 100644 --- a/src/datadogV2/model/model_dora_incident_response.rs +++ b/src/datadogV2/model/model_dora_incident_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response after receiving a DORA incident event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORAIncidentResponse { diff --git a/src/datadogV2/model/model_dora_incident_response_data.rs b/src/datadogV2/model/model_dora_incident_response_data.rs index efdf40a56..0aff0cd40 100644 --- a/src/datadogV2/model/model_dora_incident_response_data.rs +++ b/src/datadogV2/model/model_dora_incident_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response after receiving a DORA incident event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DORAIncidentResponseData { diff --git a/src/datadogV2/model/model_dora_incident_type.rs b/src/datadogV2/model/model_dora_incident_type.rs index 4a5705a81..347a9a27c 100644 --- a/src/datadogV2/model/model_dora_incident_type.rs +++ b/src/datadogV2/model/model_dora_incident_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DORAIncidentType { #[serde(rename = "dora_incident")] diff --git a/src/datadogV2/model/model_downtime_create_request.rs b/src/datadogV2/model/model_downtime_create_request.rs index 6beb88aa0..e5ff661f8 100644 --- a/src/datadogV2/model/model_downtime_create_request.rs +++ b/src/datadogV2/model/model_downtime_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request for creating a downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeCreateRequest { diff --git a/src/datadogV2/model/model_downtime_create_request_attributes.rs b/src/datadogV2/model/model_downtime_create_request_attributes.rs index 0087bb4b5..a033a5775 100644 --- a/src/datadogV2/model/model_downtime_create_request_attributes.rs +++ b/src/datadogV2/model/model_downtime_create_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Downtime details. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeCreateRequestAttributes { diff --git a/src/datadogV2/model/model_downtime_create_request_data.rs b/src/datadogV2/model/model_downtime_create_request_data.rs index 7f57e0bca..5e038fec4 100644 --- a/src/datadogV2/model/model_downtime_create_request_data.rs +++ b/src/datadogV2/model/model_downtime_create_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to create a downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeCreateRequestData { diff --git a/src/datadogV2/model/model_downtime_included_monitor_type.rs b/src/datadogV2/model/model_downtime_included_monitor_type.rs index c99eff311..21c0bc6ae 100644 --- a/src/datadogV2/model/model_downtime_included_monitor_type.rs +++ b/src/datadogV2/model/model_downtime_included_monitor_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DowntimeIncludedMonitorType { #[serde(rename = "monitors")] diff --git a/src/datadogV2/model/model_downtime_meta.rs b/src/datadogV2/model/model_downtime_meta.rs index d2f6b6af2..e9ddb9462 100644 --- a/src/datadogV2/model/model_downtime_meta.rs +++ b/src/datadogV2/model/model_downtime_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination metadata returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeMeta { diff --git a/src/datadogV2/model/model_downtime_meta_page.rs b/src/datadogV2/model/model_downtime_meta_page.rs index ef966df8e..8bcb6e673 100644 --- a/src/datadogV2/model/model_downtime_meta_page.rs +++ b/src/datadogV2/model/model_downtime_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the total filtered count. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeMetaPage { diff --git a/src/datadogV2/model/model_downtime_monitor_identifier.rs b/src/datadogV2/model/model_downtime_monitor_identifier.rs index 590be8eb6..02eb41fcf 100644 --- a/src/datadogV2/model/model_downtime_monitor_identifier.rs +++ b/src/datadogV2/model/model_downtime_monitor_identifier.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Monitor identifier for the downtime. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum DowntimeMonitorIdentifier { diff --git a/src/datadogV2/model/model_downtime_monitor_identifier_id.rs b/src/datadogV2/model/model_downtime_monitor_identifier_id.rs index 6da85c618..4edaeb131 100644 --- a/src/datadogV2/model/model_downtime_monitor_identifier_id.rs +++ b/src/datadogV2/model/model_downtime_monitor_identifier_id.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object of the monitor identifier. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeMonitorIdentifierId { diff --git a/src/datadogV2/model/model_downtime_monitor_identifier_tags.rs b/src/datadogV2/model/model_downtime_monitor_identifier_tags.rs index 7416fa044..b6cf8dd1c 100644 --- a/src/datadogV2/model/model_downtime_monitor_identifier_tags.rs +++ b/src/datadogV2/model/model_downtime_monitor_identifier_tags.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object of the monitor tags. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeMonitorIdentifierTags { diff --git a/src/datadogV2/model/model_downtime_monitor_included_attributes.rs b/src/datadogV2/model/model_downtime_monitor_included_attributes.rs index ab87b362a..40fe6a6b7 100644 --- a/src/datadogV2/model/model_downtime_monitor_included_attributes.rs +++ b/src/datadogV2/model/model_downtime_monitor_included_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the monitor identified by the downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeMonitorIncludedAttributes { diff --git a/src/datadogV2/model/model_downtime_monitor_included_item.rs b/src/datadogV2/model/model_downtime_monitor_included_item.rs index 4e1da30f3..e71a56a35 100644 --- a/src/datadogV2/model/model_downtime_monitor_included_item.rs +++ b/src/datadogV2/model/model_downtime_monitor_included_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Information about the monitor identified by the downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeMonitorIncludedItem { diff --git a/src/datadogV2/model/model_downtime_notify_end_state_actions.rs b/src/datadogV2/model/model_downtime_notify_end_state_actions.rs index 55cd07e4f..5c72c4898 100644 --- a/src/datadogV2/model/model_downtime_notify_end_state_actions.rs +++ b/src/datadogV2/model/model_downtime_notify_end_state_actions.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DowntimeNotifyEndStateActions { #[serde(rename = "canceled")] diff --git a/src/datadogV2/model/model_downtime_notify_end_state_types.rs b/src/datadogV2/model/model_downtime_notify_end_state_types.rs index 3b5359efd..0d1e2d2f3 100644 --- a/src/datadogV2/model/model_downtime_notify_end_state_types.rs +++ b/src/datadogV2/model/model_downtime_notify_end_state_types.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DowntimeNotifyEndStateTypes { #[serde(rename = "alert")] diff --git a/src/datadogV2/model/model_downtime_relationships.rs b/src/datadogV2/model/model_downtime_relationships.rs index 8f3bbb179..baf29c5d2 100644 --- a/src/datadogV2/model/model_downtime_relationships.rs +++ b/src/datadogV2/model/model_downtime_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// All relationships associated with downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeRelationships { diff --git a/src/datadogV2/model/model_downtime_relationships_created_by.rs b/src/datadogV2/model/model_downtime_relationships_created_by.rs index d1b41d809..dc56f371f 100644 --- a/src/datadogV2/model/model_downtime_relationships_created_by.rs +++ b/src/datadogV2/model/model_downtime_relationships_created_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The user who created the downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeRelationshipsCreatedBy { diff --git a/src/datadogV2/model/model_downtime_relationships_created_by_data.rs b/src/datadogV2/model/model_downtime_relationships_created_by_data.rs index cb72d3764..9df409b05 100644 --- a/src/datadogV2/model/model_downtime_relationships_created_by_data.rs +++ b/src/datadogV2/model/model_downtime_relationships_created_by_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data for the user who created the downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeRelationshipsCreatedByData { diff --git a/src/datadogV2/model/model_downtime_relationships_monitor.rs b/src/datadogV2/model/model_downtime_relationships_monitor.rs index 67e5d4b8c..513ba5773 100644 --- a/src/datadogV2/model/model_downtime_relationships_monitor.rs +++ b/src/datadogV2/model/model_downtime_relationships_monitor.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The monitor identified by the downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeRelationshipsMonitor { diff --git a/src/datadogV2/model/model_downtime_relationships_monitor_data.rs b/src/datadogV2/model/model_downtime_relationships_monitor_data.rs index 47d051884..d979d3778 100644 --- a/src/datadogV2/model/model_downtime_relationships_monitor_data.rs +++ b/src/datadogV2/model/model_downtime_relationships_monitor_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data for the monitor. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeRelationshipsMonitorData { diff --git a/src/datadogV2/model/model_downtime_resource_type.rs b/src/datadogV2/model/model_downtime_resource_type.rs index d1878fdd6..70d8c9bf6 100644 --- a/src/datadogV2/model/model_downtime_resource_type.rs +++ b/src/datadogV2/model/model_downtime_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DowntimeResourceType { #[serde(rename = "downtime")] diff --git a/src/datadogV2/model/model_downtime_response.rs b/src/datadogV2/model/model_downtime_response.rs index 908ff8940..d35006e6c 100644 --- a/src/datadogV2/model/model_downtime_response.rs +++ b/src/datadogV2/model/model_downtime_response.rs @@ -8,6 +8,7 @@ use serde_with::skip_serializing_none; /// allowing you to globally exclude scopes from alerting. /// Downtime settings, which can be scheduled with start and end times, /// prevent all alerting related to specified Datadog tags. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeResponse { diff --git a/src/datadogV2/model/model_downtime_response_attributes.rs b/src/datadogV2/model/model_downtime_response_attributes.rs index 3d2db48e3..f4983e781 100644 --- a/src/datadogV2/model/model_downtime_response_attributes.rs +++ b/src/datadogV2/model/model_downtime_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Downtime details. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeResponseAttributes { diff --git a/src/datadogV2/model/model_downtime_response_data.rs b/src/datadogV2/model/model_downtime_response_data.rs index 381ef75ea..4b6bdf9f3 100644 --- a/src/datadogV2/model/model_downtime_response_data.rs +++ b/src/datadogV2/model/model_downtime_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Downtime data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeResponseData { diff --git a/src/datadogV2/model/model_downtime_response_included_item.rs b/src/datadogV2/model/model_downtime_response_included_item.rs index 65f88bdfc..ada9cd27b 100644 --- a/src/datadogV2/model/model_downtime_response_included_item.rs +++ b/src/datadogV2/model/model_downtime_response_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to a downtime. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum DowntimeResponseIncludedItem { diff --git a/src/datadogV2/model/model_downtime_schedule_create_request.rs b/src/datadogV2/model/model_downtime_schedule_create_request.rs index bbb44600d..fbf77a4c7 100644 --- a/src/datadogV2/model/model_downtime_schedule_create_request.rs +++ b/src/datadogV2/model/model_downtime_schedule_create_request.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Schedule for the downtime. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum DowntimeScheduleCreateRequest { diff --git a/src/datadogV2/model/model_downtime_schedule_current_downtime_response.rs b/src/datadogV2/model/model_downtime_schedule_current_downtime_response.rs index ae040d4e0..25f9f146d 100644 --- a/src/datadogV2/model/model_downtime_schedule_current_downtime_response.rs +++ b/src/datadogV2/model/model_downtime_schedule_current_downtime_response.rs @@ -7,6 +7,7 @@ use serde_with::skip_serializing_none; /// The most recent actual start and end dates for a recurring downtime. For a canceled downtime, /// this is the previously occurring downtime. For active downtimes, this is the ongoing downtime, and for scheduled /// downtimes it is the upcoming downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeScheduleCurrentDowntimeResponse { diff --git a/src/datadogV2/model/model_downtime_schedule_one_time_create_update_request.rs b/src/datadogV2/model/model_downtime_schedule_one_time_create_update_request.rs index 719cf1bbf..7cf02c73c 100644 --- a/src/datadogV2/model/model_downtime_schedule_one_time_create_update_request.rs +++ b/src/datadogV2/model/model_downtime_schedule_one_time_create_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A one-time downtime definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeScheduleOneTimeCreateUpdateRequest { diff --git a/src/datadogV2/model/model_downtime_schedule_one_time_response.rs b/src/datadogV2/model/model_downtime_schedule_one_time_response.rs index 1df84d724..ad9fc4b46 100644 --- a/src/datadogV2/model/model_downtime_schedule_one_time_response.rs +++ b/src/datadogV2/model/model_downtime_schedule_one_time_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A one-time downtime definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeScheduleOneTimeResponse { diff --git a/src/datadogV2/model/model_downtime_schedule_recurrence_create_update_request.rs b/src/datadogV2/model/model_downtime_schedule_recurrence_create_update_request.rs index 18ab6f533..1072955f1 100644 --- a/src/datadogV2/model/model_downtime_schedule_recurrence_create_update_request.rs +++ b/src/datadogV2/model/model_downtime_schedule_recurrence_create_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An object defining the recurrence of the downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeScheduleRecurrenceCreateUpdateRequest { diff --git a/src/datadogV2/model/model_downtime_schedule_recurrence_response.rs b/src/datadogV2/model/model_downtime_schedule_recurrence_response.rs index 620680bc5..ce138f900 100644 --- a/src/datadogV2/model/model_downtime_schedule_recurrence_response.rs +++ b/src/datadogV2/model/model_downtime_schedule_recurrence_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An RRULE-based recurring downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeScheduleRecurrenceResponse { diff --git a/src/datadogV2/model/model_downtime_schedule_recurrences_create_request.rs b/src/datadogV2/model/model_downtime_schedule_recurrences_create_request.rs index f0dd0bdab..e6f2574b6 100644 --- a/src/datadogV2/model/model_downtime_schedule_recurrences_create_request.rs +++ b/src/datadogV2/model/model_downtime_schedule_recurrences_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A recurring downtime schedule definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeScheduleRecurrencesCreateRequest { diff --git a/src/datadogV2/model/model_downtime_schedule_recurrences_response.rs b/src/datadogV2/model/model_downtime_schedule_recurrences_response.rs index f62abbf9a..7c194a13a 100644 --- a/src/datadogV2/model/model_downtime_schedule_recurrences_response.rs +++ b/src/datadogV2/model/model_downtime_schedule_recurrences_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A recurring downtime schedule definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeScheduleRecurrencesResponse { diff --git a/src/datadogV2/model/model_downtime_schedule_recurrences_update_request.rs b/src/datadogV2/model/model_downtime_schedule_recurrences_update_request.rs index 657fb9d1e..a54443553 100644 --- a/src/datadogV2/model/model_downtime_schedule_recurrences_update_request.rs +++ b/src/datadogV2/model/model_downtime_schedule_recurrences_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A recurring downtime schedule definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeScheduleRecurrencesUpdateRequest { diff --git a/src/datadogV2/model/model_downtime_schedule_response.rs b/src/datadogV2/model/model_downtime_schedule_response.rs index 3044aa8e2..f9e002fbc 100644 --- a/src/datadogV2/model/model_downtime_schedule_response.rs +++ b/src/datadogV2/model/model_downtime_schedule_response.rs @@ -6,6 +6,7 @@ use serde::{Deserialize, Serialize}; /// The schedule that defines when the monitor starts, stops, and recurs. There are two types of schedules: /// one-time and recurring. Recurring schedules may have up to five RRULE-based recurrences. If no schedules are /// provided, the downtime will begin immediately and never end. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum DowntimeScheduleResponse { diff --git a/src/datadogV2/model/model_downtime_schedule_update_request.rs b/src/datadogV2/model/model_downtime_schedule_update_request.rs index 327ee133e..d64a3ab92 100644 --- a/src/datadogV2/model/model_downtime_schedule_update_request.rs +++ b/src/datadogV2/model/model_downtime_schedule_update_request.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Schedule for the downtime. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum DowntimeScheduleUpdateRequest { diff --git a/src/datadogV2/model/model_downtime_status.rs b/src/datadogV2/model/model_downtime_status.rs index ac6b59d30..4cdfb1bf7 100644 --- a/src/datadogV2/model/model_downtime_status.rs +++ b/src/datadogV2/model/model_downtime_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum DowntimeStatus { #[serde(rename = "active")] diff --git a/src/datadogV2/model/model_downtime_update_request.rs b/src/datadogV2/model/model_downtime_update_request.rs index 1dcd5fcca..7effbe72b 100644 --- a/src/datadogV2/model/model_downtime_update_request.rs +++ b/src/datadogV2/model/model_downtime_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request for editing a downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeUpdateRequest { diff --git a/src/datadogV2/model/model_downtime_update_request_attributes.rs b/src/datadogV2/model/model_downtime_update_request_attributes.rs index 9d4e0d6fe..c5f46b3a0 100644 --- a/src/datadogV2/model/model_downtime_update_request_attributes.rs +++ b/src/datadogV2/model/model_downtime_update_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the downtime to update. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeUpdateRequestAttributes { diff --git a/src/datadogV2/model/model_downtime_update_request_data.rs b/src/datadogV2/model/model_downtime_update_request_data.rs index 1fcd87750..ed6febeb4 100644 --- a/src/datadogV2/model/model_downtime_update_request_data.rs +++ b/src/datadogV2/model/model_downtime_update_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to update a downtime. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct DowntimeUpdateRequestData { diff --git a/src/datadogV2/model/model_event.rs b/src/datadogV2/model/model_event.rs index 27517b2c0..386554c60 100644 --- a/src/datadogV2/model/model_event.rs +++ b/src/datadogV2/model/model_event.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Event { diff --git a/src/datadogV2/model/model_event_attributes.rs b/src/datadogV2/model/model_event_attributes.rs index ba3399a3b..0114ec674 100644 --- a/src/datadogV2/model/model_event_attributes.rs +++ b/src/datadogV2/model/model_event_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object description of attributes from your event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventAttributes { diff --git a/src/datadogV2/model/model_event_priority.rs b/src/datadogV2/model/model_event_priority.rs index 38fef7152..30943219f 100644 --- a/src/datadogV2/model/model_event_priority.rs +++ b/src/datadogV2/model/model_event_priority.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventPriority { #[serde(rename = "normal")] diff --git a/src/datadogV2/model/model_event_response.rs b/src/datadogV2/model/model_event_response.rs index ee0dc3199..b1af6697a 100644 --- a/src/datadogV2/model/model_event_response.rs +++ b/src/datadogV2/model/model_event_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object description of an event after being processed and stored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventResponse { diff --git a/src/datadogV2/model/model_event_response_attributes.rs b/src/datadogV2/model/model_event_response_attributes.rs index c38e4c20b..4ff822ca5 100644 --- a/src/datadogV2/model/model_event_response_attributes.rs +++ b/src/datadogV2/model/model_event_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object description of an event response attribute. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventResponseAttributes { diff --git a/src/datadogV2/model/model_event_status_type.rs b/src/datadogV2/model/model_event_status_type.rs index d757bc4e5..41f426a54 100644 --- a/src/datadogV2/model/model_event_status_type.rs +++ b/src/datadogV2/model/model_event_status_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventStatusType { #[serde(rename = "failure")] diff --git a/src/datadogV2/model/model_event_type.rs b/src/datadogV2/model/model_event_type.rs index a1a870273..6fb45a16c 100644 --- a/src/datadogV2/model/model_event_type.rs +++ b/src/datadogV2/model/model_event_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventType { #[serde(rename = "event")] diff --git a/src/datadogV2/model/model_events_aggregation.rs b/src/datadogV2/model/model_events_aggregation.rs index d65876a77..a0ae72484 100644 --- a/src/datadogV2/model/model_events_aggregation.rs +++ b/src/datadogV2/model/model_events_aggregation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventsAggregation { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_events_compute.rs b/src/datadogV2/model/model_events_compute.rs index 496e6cb27..3cdb944ff 100644 --- a/src/datadogV2/model/model_events_compute.rs +++ b/src/datadogV2/model/model_events_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The instructions for what to compute for this query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsCompute { diff --git a/src/datadogV2/model/model_events_data_source.rs b/src/datadogV2/model/model_events_data_source.rs index b4869295f..6c02212a7 100644 --- a/src/datadogV2/model/model_events_data_source.rs +++ b/src/datadogV2/model/model_events_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventsDataSource { #[serde(rename = "logs")] diff --git a/src/datadogV2/model/model_events_group_by.rs b/src/datadogV2/model/model_events_group_by.rs index 6c80c58ef..5944c66f1 100644 --- a/src/datadogV2/model/model_events_group_by.rs +++ b/src/datadogV2/model/model_events_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A dimension on which to split a query's results. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsGroupBy { diff --git a/src/datadogV2/model/model_events_group_by_sort.rs b/src/datadogV2/model/model_events_group_by_sort.rs index bd81949ab..3ccd8cb6a 100644 --- a/src/datadogV2/model/model_events_group_by_sort.rs +++ b/src/datadogV2/model/model_events_group_by_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The dimension by which to sort a query's results. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsGroupBySort { diff --git a/src/datadogV2/model/model_events_list_request.rs b/src/datadogV2/model/model_events_list_request.rs index 0f5299b34..2f5c95626 100644 --- a/src/datadogV2/model/model_events_list_request.rs +++ b/src/datadogV2/model/model_events_list_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object sent with the request to retrieve a list of events from your organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsListRequest { diff --git a/src/datadogV2/model/model_events_list_response.rs b/src/datadogV2/model/model_events_list_response.rs index afb229c96..4cf995e25 100644 --- a/src/datadogV2/model/model_events_list_response.rs +++ b/src/datadogV2/model/model_events_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object with all events matching the request and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsListResponse { diff --git a/src/datadogV2/model/model_events_list_response_links.rs b/src/datadogV2/model/model_events_list_response_links.rs index a9f36977d..ef6177957 100644 --- a/src/datadogV2/model/model_events_list_response_links.rs +++ b/src/datadogV2/model/model_events_list_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsListResponseLinks { diff --git a/src/datadogV2/model/model_events_query_filter.rs b/src/datadogV2/model/model_events_query_filter.rs index 54e840845..a067ad56d 100644 --- a/src/datadogV2/model/model_events_query_filter.rs +++ b/src/datadogV2/model/model_events_query_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The search and filter query settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsQueryFilter { diff --git a/src/datadogV2/model/model_events_query_options.rs b/src/datadogV2/model/model_events_query_options.rs index a4f527e44..ab0e88aec 100644 --- a/src/datadogV2/model/model_events_query_options.rs +++ b/src/datadogV2/model/model_events_query_options.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The global query options that are used. Either provide a timezone or a time offset but not both, /// otherwise the query fails. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsQueryOptions { diff --git a/src/datadogV2/model/model_events_request_page.rs b/src/datadogV2/model/model_events_request_page.rs index ffe361e45..ae2f87d7c 100644 --- a/src/datadogV2/model/model_events_request_page.rs +++ b/src/datadogV2/model/model_events_request_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsRequestPage { diff --git a/src/datadogV2/model/model_events_response_metadata.rs b/src/datadogV2/model/model_events_response_metadata.rs index dfcebce1e..1d326667d 100644 --- a/src/datadogV2/model/model_events_response_metadata.rs +++ b/src/datadogV2/model/model_events_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsResponseMetadata { diff --git a/src/datadogV2/model/model_events_response_metadata_page.rs b/src/datadogV2/model/model_events_response_metadata_page.rs index d038cae27..5680772aa 100644 --- a/src/datadogV2/model/model_events_response_metadata_page.rs +++ b/src/datadogV2/model/model_events_response_metadata_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsResponseMetadataPage { diff --git a/src/datadogV2/model/model_events_scalar_query.rs b/src/datadogV2/model/model_events_scalar_query.rs index ece2860dd..d5cfc9e38 100644 --- a/src/datadogV2/model/model_events_scalar_query.rs +++ b/src/datadogV2/model/model_events_scalar_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An individual scalar events query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsScalarQuery { diff --git a/src/datadogV2/model/model_events_search.rs b/src/datadogV2/model/model_events_search.rs index 20dfe683c..6e417d947 100644 --- a/src/datadogV2/model/model_events_search.rs +++ b/src/datadogV2/model/model_events_search.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Configuration of the search/filter for an events query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsSearch { diff --git a/src/datadogV2/model/model_events_sort.rs b/src/datadogV2/model/model_events_sort.rs index cd53ca904..a936a4f58 100644 --- a/src/datadogV2/model/model_events_sort.rs +++ b/src/datadogV2/model/model_events_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventsSort { #[serde(rename = "timestamp")] diff --git a/src/datadogV2/model/model_events_sort_type.rs b/src/datadogV2/model/model_events_sort_type.rs index 571c5a1e3..6e4792827 100644 --- a/src/datadogV2/model/model_events_sort_type.rs +++ b/src/datadogV2/model/model_events_sort_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum EventsSortType { #[serde(rename = "alphabetical")] diff --git a/src/datadogV2/model/model_events_timeseries_query.rs b/src/datadogV2/model/model_events_timeseries_query.rs index 0d94c06d7..ac16657c8 100644 --- a/src/datadogV2/model/model_events_timeseries_query.rs +++ b/src/datadogV2/model/model_events_timeseries_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An individual timeseries events query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsTimeseriesQuery { diff --git a/src/datadogV2/model/model_events_warning.rs b/src/datadogV2/model/model_events_warning.rs index fbe09f938..b82bd7ce0 100644 --- a/src/datadogV2/model/model_events_warning.rs +++ b/src/datadogV2/model/model_events_warning.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A warning message indicating something is wrong with the query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct EventsWarning { diff --git a/src/datadogV2/model/model_fastly_accoun_response_attributes.rs b/src/datadogV2/model/model_fastly_accoun_response_attributes.rs index 39ce27088..172cd1f98 100644 --- a/src/datadogV2/model/model_fastly_accoun_response_attributes.rs +++ b/src/datadogV2/model/model_fastly_accoun_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object of a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccounResponseAttributes { diff --git a/src/datadogV2/model/model_fastly_account_create_request.rs b/src/datadogV2/model/model_fastly_account_create_request.rs index c88b1b8ee..46a0fc994 100644 --- a/src/datadogV2/model/model_fastly_account_create_request.rs +++ b/src/datadogV2/model/model_fastly_account_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Payload schema when adding a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountCreateRequest { diff --git a/src/datadogV2/model/model_fastly_account_create_request_attributes.rs b/src/datadogV2/model/model_fastly_account_create_request_attributes.rs index 9dffa434e..ff0aec95e 100644 --- a/src/datadogV2/model/model_fastly_account_create_request_attributes.rs +++ b/src/datadogV2/model/model_fastly_account_create_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for creating a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountCreateRequestAttributes { diff --git a/src/datadogV2/model/model_fastly_account_create_request_data.rs b/src/datadogV2/model/model_fastly_account_create_request_data.rs index 3bb578ba8..73f2837d6 100644 --- a/src/datadogV2/model/model_fastly_account_create_request_data.rs +++ b/src/datadogV2/model/model_fastly_account_create_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object for creating a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountCreateRequestData { diff --git a/src/datadogV2/model/model_fastly_account_response.rs b/src/datadogV2/model/model_fastly_account_response.rs index e547f958f..f037df858 100644 --- a/src/datadogV2/model/model_fastly_account_response.rs +++ b/src/datadogV2/model/model_fastly_account_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountResponse { diff --git a/src/datadogV2/model/model_fastly_account_response_data.rs b/src/datadogV2/model/model_fastly_account_response_data.rs index eb1bfcb77..5ded3aaf0 100644 --- a/src/datadogV2/model/model_fastly_account_response_data.rs +++ b/src/datadogV2/model/model_fastly_account_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object of a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountResponseData { diff --git a/src/datadogV2/model/model_fastly_account_type.rs b/src/datadogV2/model/model_fastly_account_type.rs index 9461ee8e3..c708bd1f8 100644 --- a/src/datadogV2/model/model_fastly_account_type.rs +++ b/src/datadogV2/model/model_fastly_account_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FastlyAccountType { #[serde(rename = "fastly-accounts")] diff --git a/src/datadogV2/model/model_fastly_account_update_request.rs b/src/datadogV2/model/model_fastly_account_update_request.rs index 650d5b423..69d63a67b 100644 --- a/src/datadogV2/model/model_fastly_account_update_request.rs +++ b/src/datadogV2/model/model_fastly_account_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Payload schema when updating a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountUpdateRequest { diff --git a/src/datadogV2/model/model_fastly_account_update_request_attributes.rs b/src/datadogV2/model/model_fastly_account_update_request_attributes.rs index 4a67a71f7..9833dccb4 100644 --- a/src/datadogV2/model/model_fastly_account_update_request_attributes.rs +++ b/src/datadogV2/model/model_fastly_account_update_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for updating a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountUpdateRequestAttributes { diff --git a/src/datadogV2/model/model_fastly_account_update_request_data.rs b/src/datadogV2/model/model_fastly_account_update_request_data.rs index 4a9edda97..932d8909b 100644 --- a/src/datadogV2/model/model_fastly_account_update_request_data.rs +++ b/src/datadogV2/model/model_fastly_account_update_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object for updating a Fastly account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountUpdateRequestData { diff --git a/src/datadogV2/model/model_fastly_accounts_response.rs b/src/datadogV2/model/model_fastly_accounts_response.rs index bbc9ec70c..1a574ab7b 100644 --- a/src/datadogV2/model/model_fastly_accounts_response.rs +++ b/src/datadogV2/model/model_fastly_accounts_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting Fastly accounts. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyAccountsResponse { diff --git a/src/datadogV2/model/model_fastly_service.rs b/src/datadogV2/model/model_fastly_service.rs index 5146cd3c7..bc9489a15 100644 --- a/src/datadogV2/model/model_fastly_service.rs +++ b/src/datadogV2/model/model_fastly_service.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The schema representation of a Fastly service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyService { diff --git a/src/datadogV2/model/model_fastly_service_attributes.rs b/src/datadogV2/model/model_fastly_service_attributes.rs index 832348614..e6a1bcfc8 100644 --- a/src/datadogV2/model/model_fastly_service_attributes.rs +++ b/src/datadogV2/model/model_fastly_service_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for Fastly service requests. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyServiceAttributes { diff --git a/src/datadogV2/model/model_fastly_service_data.rs b/src/datadogV2/model/model_fastly_service_data.rs index 57fc01dd3..ce87899ba 100644 --- a/src/datadogV2/model/model_fastly_service_data.rs +++ b/src/datadogV2/model/model_fastly_service_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object for Fastly service requests. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyServiceData { diff --git a/src/datadogV2/model/model_fastly_service_request.rs b/src/datadogV2/model/model_fastly_service_request.rs index 9a14ea47e..493a85fd4 100644 --- a/src/datadogV2/model/model_fastly_service_request.rs +++ b/src/datadogV2/model/model_fastly_service_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Payload schema for Fastly service requests. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyServiceRequest { diff --git a/src/datadogV2/model/model_fastly_service_response.rs b/src/datadogV2/model/model_fastly_service_response.rs index 8cdfa2210..a6a31eca5 100644 --- a/src/datadogV2/model/model_fastly_service_response.rs +++ b/src/datadogV2/model/model_fastly_service_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting a Fastly service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyServiceResponse { diff --git a/src/datadogV2/model/model_fastly_service_type.rs b/src/datadogV2/model/model_fastly_service_type.rs index 8da08fc5b..f0567bcbe 100644 --- a/src/datadogV2/model/model_fastly_service_type.rs +++ b/src/datadogV2/model/model_fastly_service_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FastlyServiceType { #[serde(rename = "fastly-services")] diff --git a/src/datadogV2/model/model_fastly_services_response.rs b/src/datadogV2/model/model_fastly_services_response.rs index 0de4a57cf..9da23dea9 100644 --- a/src/datadogV2/model/model_fastly_services_response.rs +++ b/src/datadogV2/model/model_fastly_services_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting Fastly services. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FastlyServicesResponse { diff --git a/src/datadogV2/model/model_finding.rs b/src/datadogV2/model/model_finding.rs index 4a8e2f62e..ba79fced4 100644 --- a/src/datadogV2/model/model_finding.rs +++ b/src/datadogV2/model/model_finding.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single finding without the message and resource configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Finding { diff --git a/src/datadogV2/model/model_finding_attributes.rs b/src/datadogV2/model/model_finding_attributes.rs index a3359f2ab..3000844d3 100644 --- a/src/datadogV2/model/model_finding_attributes.rs +++ b/src/datadogV2/model/model_finding_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API attributes of the finding. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FindingAttributes { diff --git a/src/datadogV2/model/model_finding_evaluation.rs b/src/datadogV2/model/model_finding_evaluation.rs index 7b0824c38..b6f5a8e5c 100644 --- a/src/datadogV2/model/model_finding_evaluation.rs +++ b/src/datadogV2/model/model_finding_evaluation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FindingEvaluation { #[serde(rename = "pass")] diff --git a/src/datadogV2/model/model_finding_mute.rs b/src/datadogV2/model/model_finding_mute.rs index 211821600..fcfc7b82c 100644 --- a/src/datadogV2/model/model_finding_mute.rs +++ b/src/datadogV2/model/model_finding_mute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Information about the mute status of this finding. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FindingMute { diff --git a/src/datadogV2/model/model_finding_mute_reason.rs b/src/datadogV2/model/model_finding_mute_reason.rs index 02cbf1de3..515b41282 100644 --- a/src/datadogV2/model/model_finding_mute_reason.rs +++ b/src/datadogV2/model/model_finding_mute_reason.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FindingMuteReason { #[serde(rename = "PENDING_FIX")] diff --git a/src/datadogV2/model/model_finding_rule.rs b/src/datadogV2/model/model_finding_rule.rs index 7b4288a32..11a175516 100644 --- a/src/datadogV2/model/model_finding_rule.rs +++ b/src/datadogV2/model/model_finding_rule.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The rule that triggered this finding. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FindingRule { diff --git a/src/datadogV2/model/model_finding_status.rs b/src/datadogV2/model/model_finding_status.rs index 330f060d5..9bbf56594 100644 --- a/src/datadogV2/model/model_finding_status.rs +++ b/src/datadogV2/model/model_finding_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FindingStatus { #[serde(rename = "critical")] diff --git a/src/datadogV2/model/model_finding_type.rs b/src/datadogV2/model/model_finding_type.rs index f81acc658..732d8facb 100644 --- a/src/datadogV2/model/model_finding_type.rs +++ b/src/datadogV2/model/model_finding_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum FindingType { #[serde(rename = "finding")] diff --git a/src/datadogV2/model/model_formula_limit.rs b/src/datadogV2/model/model_formula_limit.rs index b30b4360e..55b9a6168 100644 --- a/src/datadogV2/model/model_formula_limit.rs +++ b/src/datadogV2/model/model_formula_limit.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Message for specifying limits to the number of values returned by a query. /// This limit is only for scalar queries and has no effect on timeseries queries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FormulaLimit { diff --git a/src/datadogV2/model/model_full_api_key.rs b/src/datadogV2/model/model_full_api_key.rs index 9523d23b6..4b9aa5655 100644 --- a/src/datadogV2/model/model_full_api_key.rs +++ b/src/datadogV2/model/model_full_api_key.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Datadog API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FullAPIKey { diff --git a/src/datadogV2/model/model_full_api_key_attributes.rs b/src/datadogV2/model/model_full_api_key_attributes.rs index 821892b9d..48974265c 100644 --- a/src/datadogV2/model/model_full_api_key_attributes.rs +++ b/src/datadogV2/model/model_full_api_key_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of a full API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FullAPIKeyAttributes { diff --git a/src/datadogV2/model/model_full_application_key.rs b/src/datadogV2/model/model_full_application_key.rs index 500579191..d9132b98f 100644 --- a/src/datadogV2/model/model_full_application_key.rs +++ b/src/datadogV2/model/model_full_application_key.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Datadog application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FullApplicationKey { diff --git a/src/datadogV2/model/model_full_application_key_attributes.rs b/src/datadogV2/model/model_full_application_key_attributes.rs index 4eb7f008b..cdcc15652 100644 --- a/src/datadogV2/model/model_full_application_key_attributes.rs +++ b/src/datadogV2/model/model_full_application_key_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of a full application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct FullApplicationKeyAttributes { diff --git a/src/datadogV2/model/model_gcp_service_account_meta.rs b/src/datadogV2/model/model_gcp_service_account_meta.rs index af7a42887..d663d7a70 100644 --- a/src/datadogV2/model/model_gcp_service_account_meta.rs +++ b/src/datadogV2/model/model_gcp_service_account_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Additional information related to your service account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPServiceAccountMeta { diff --git a/src/datadogV2/model/model_gcp_service_account_type.rs b/src/datadogV2/model/model_gcp_service_account_type.rs index 769651a01..45c4c390e 100644 --- a/src/datadogV2/model/model_gcp_service_account_type.rs +++ b/src/datadogV2/model/model_gcp_service_account_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum GCPServiceAccountType { #[serde(rename = "gcp_service_account")] diff --git a/src/datadogV2/model/model_gcpsts_delegate_account.rs b/src/datadogV2/model/model_gcpsts_delegate_account.rs index 0847d25c0..c63305d8a 100644 --- a/src/datadogV2/model/model_gcpsts_delegate_account.rs +++ b/src/datadogV2/model/model_gcpsts_delegate_account.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Datadog principal service account info. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSDelegateAccount { diff --git a/src/datadogV2/model/model_gcpsts_delegate_account_attributes.rs b/src/datadogV2/model/model_gcpsts_delegate_account_attributes.rs index bca10834f..9b2b87eba 100644 --- a/src/datadogV2/model/model_gcpsts_delegate_account_attributes.rs +++ b/src/datadogV2/model/model_gcpsts_delegate_account_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Your delegate account attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSDelegateAccountAttributes { diff --git a/src/datadogV2/model/model_gcpsts_delegate_account_response.rs b/src/datadogV2/model/model_gcpsts_delegate_account_response.rs index 0b1070b8c..6d5d80350 100644 --- a/src/datadogV2/model/model_gcpsts_delegate_account_response.rs +++ b/src/datadogV2/model/model_gcpsts_delegate_account_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Your delegate service account response data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSDelegateAccountResponse { diff --git a/src/datadogV2/model/model_gcpsts_delegate_account_type.rs b/src/datadogV2/model/model_gcpsts_delegate_account_type.rs index 324adce11..a57918f5b 100644 --- a/src/datadogV2/model/model_gcpsts_delegate_account_type.rs +++ b/src/datadogV2/model/model_gcpsts_delegate_account_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum GCPSTSDelegateAccountType { #[serde(rename = "gcp_sts_delegate")] diff --git a/src/datadogV2/model/model_gcpsts_service_account.rs b/src/datadogV2/model/model_gcpsts_service_account.rs index 1ebeafa0c..557481280 100644 --- a/src/datadogV2/model/model_gcpsts_service_account.rs +++ b/src/datadogV2/model/model_gcpsts_service_account.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Info on your service account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSServiceAccount { diff --git a/src/datadogV2/model/model_gcpsts_service_account_attributes.rs b/src/datadogV2/model/model_gcpsts_service_account_attributes.rs index 134a8af1c..857ff5524 100644 --- a/src/datadogV2/model/model_gcpsts_service_account_attributes.rs +++ b/src/datadogV2/model/model_gcpsts_service_account_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes associated with your service account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSServiceAccountAttributes { diff --git a/src/datadogV2/model/model_gcpsts_service_account_create_request.rs b/src/datadogV2/model/model_gcpsts_service_account_create_request.rs index 016d1fe65..5f8574b3d 100644 --- a/src/datadogV2/model/model_gcpsts_service_account_create_request.rs +++ b/src/datadogV2/model/model_gcpsts_service_account_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data on your newly generated service account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSServiceAccountCreateRequest { diff --git a/src/datadogV2/model/model_gcpsts_service_account_data.rs b/src/datadogV2/model/model_gcpsts_service_account_data.rs index 3f5b8edc6..4768d57b7 100644 --- a/src/datadogV2/model/model_gcpsts_service_account_data.rs +++ b/src/datadogV2/model/model_gcpsts_service_account_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Additional metadata on your generated service account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSServiceAccountData { diff --git a/src/datadogV2/model/model_gcpsts_service_account_response.rs b/src/datadogV2/model/model_gcpsts_service_account_response.rs index bc6f046a7..cae0f76f3 100644 --- a/src/datadogV2/model/model_gcpsts_service_account_response.rs +++ b/src/datadogV2/model/model_gcpsts_service_account_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The account creation response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSServiceAccountResponse { diff --git a/src/datadogV2/model/model_gcpsts_service_account_update_request.rs b/src/datadogV2/model/model_gcpsts_service_account_update_request.rs index c02b9cc98..2ec268bd7 100644 --- a/src/datadogV2/model/model_gcpsts_service_account_update_request.rs +++ b/src/datadogV2/model/model_gcpsts_service_account_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service account info. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSServiceAccountUpdateRequest { diff --git a/src/datadogV2/model/model_gcpsts_service_account_update_request_data.rs b/src/datadogV2/model/model_gcpsts_service_account_update_request_data.rs index 1f4ec918a..6399c1539 100644 --- a/src/datadogV2/model/model_gcpsts_service_account_update_request_data.rs +++ b/src/datadogV2/model/model_gcpsts_service_account_update_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data on your service account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSServiceAccountUpdateRequestData { diff --git a/src/datadogV2/model/model_gcpsts_service_accounts_response.rs b/src/datadogV2/model/model_gcpsts_service_accounts_response.rs index eb02d4ae6..891a671cf 100644 --- a/src/datadogV2/model/model_gcpsts_service_accounts_response.rs +++ b/src/datadogV2/model/model_gcpsts_service_accounts_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing all your STS enabled accounts. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GCPSTSServiceAccountsResponse { diff --git a/src/datadogV2/model/model_get_finding_response.rs b/src/datadogV2/model/model_get_finding_response.rs index bdef5f6ec..499bc2194 100644 --- a/src/datadogV2/model/model_get_finding_response.rs +++ b/src/datadogV2/model/model_get_finding_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting a finding. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GetFindingResponse { diff --git a/src/datadogV2/model/model_get_team_memberships_sort.rs b/src/datadogV2/model/model_get_team_memberships_sort.rs index f19fb614d..7fa61d26f 100644 --- a/src/datadogV2/model/model_get_team_memberships_sort.rs +++ b/src/datadogV2/model/model_get_team_memberships_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum GetTeamMembershipsSort { #[serde(rename = "manager_name")] diff --git a/src/datadogV2/model/model_group_scalar_column.rs b/src/datadogV2/model/model_group_scalar_column.rs index 2dfecd138..c65afbad6 100644 --- a/src/datadogV2/model/model_group_scalar_column.rs +++ b/src/datadogV2/model/model_group_scalar_column.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A column containing the tag keys and values in a group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct GroupScalarColumn { diff --git a/src/datadogV2/model/model_hourly_usage.rs b/src/datadogV2/model/model_hourly_usage.rs index 7b12fff38..d60e83d33 100644 --- a/src/datadogV2/model/model_hourly_usage.rs +++ b/src/datadogV2/model/model_hourly_usage.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Hourly usage for a product family for an org. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsage { diff --git a/src/datadogV2/model/model_hourly_usage_attributes.rs b/src/datadogV2/model/model_hourly_usage_attributes.rs index 1739b80b9..b7d83b5ef 100644 --- a/src/datadogV2/model/model_hourly_usage_attributes.rs +++ b/src/datadogV2/model/model_hourly_usage_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of hourly usage for a product family for an org for a time period. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsageAttributes { diff --git a/src/datadogV2/model/model_hourly_usage_measurement.rs b/src/datadogV2/model/model_hourly_usage_measurement.rs index 4d232f35b..a2e0add47 100644 --- a/src/datadogV2/model/model_hourly_usage_measurement.rs +++ b/src/datadogV2/model/model_hourly_usage_measurement.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Usage amount for a given usage type. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsageMeasurement { diff --git a/src/datadogV2/model/model_hourly_usage_metadata.rs b/src/datadogV2/model/model_hourly_usage_metadata.rs index 8995ae422..4047a039a 100644 --- a/src/datadogV2/model/model_hourly_usage_metadata.rs +++ b/src/datadogV2/model/model_hourly_usage_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing document metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsageMetadata { diff --git a/src/datadogV2/model/model_hourly_usage_pagination.rs b/src/datadogV2/model/model_hourly_usage_pagination.rs index a4a001cc9..9d0d9e31c 100644 --- a/src/datadogV2/model/model_hourly_usage_pagination.rs +++ b/src/datadogV2/model/model_hourly_usage_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata for the current pagination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsagePagination { diff --git a/src/datadogV2/model/model_hourly_usage_response.rs b/src/datadogV2/model/model_hourly_usage_response.rs index cd6ec837d..5cc74e0f1 100644 --- a/src/datadogV2/model/model_hourly_usage_response.rs +++ b/src/datadogV2/model/model_hourly_usage_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Hourly usage response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HourlyUsageResponse { diff --git a/src/datadogV2/model/model_hourly_usage_type.rs b/src/datadogV2/model/model_hourly_usage_type.rs index 6d2c926c7..44d6acd1e 100644 --- a/src/datadogV2/model/model_hourly_usage_type.rs +++ b/src/datadogV2/model/model_hourly_usage_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum HourlyUsageType { #[serde(rename = "app_sec_host_count")] diff --git a/src/datadogV2/model/model_http_log_error.rs b/src/datadogV2/model/model_http_log_error.rs index 42fa8ae1c..8146ab1d9 100644 --- a/src/datadogV2/model/model_http_log_error.rs +++ b/src/datadogV2/model/model_http_log_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of errors. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HTTPLogError { diff --git a/src/datadogV2/model/model_http_log_errors.rs b/src/datadogV2/model/model_http_log_errors.rs index 2e311e3b8..d44ab12bb 100644 --- a/src/datadogV2/model/model_http_log_errors.rs +++ b/src/datadogV2/model/model_http_log_errors.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Invalid query performed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HTTPLogErrors { diff --git a/src/datadogV2/model/model_http_log_item.rs b/src/datadogV2/model/model_http_log_item.rs index f6d16ec42..9b7087858 100644 --- a/src/datadogV2/model/model_http_log_item.rs +++ b/src/datadogV2/model/model_http_log_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Logs that are sent over HTTP. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HTTPLogItem { diff --git a/src/datadogV2/model/model_httpci_app_error.rs b/src/datadogV2/model/model_httpci_app_error.rs index a2118f8cc..45d333ebb 100644 --- a/src/datadogV2/model/model_httpci_app_error.rs +++ b/src/datadogV2/model/model_httpci_app_error.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of errors. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HTTPCIAppError { diff --git a/src/datadogV2/model/model_httpci_app_errors.rs b/src/datadogV2/model/model_httpci_app_errors.rs index 5852e8542..7d6f32a6c 100644 --- a/src/datadogV2/model/model_httpci_app_errors.rs +++ b/src/datadogV2/model/model_httpci_app_errors.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Errors occurred. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct HTTPCIAppErrors { diff --git a/src/datadogV2/model/model_id_p_metadata_form_data.rs b/src/datadogV2/model/model_id_p_metadata_form_data.rs index ab205fe01..64249e90c 100644 --- a/src/datadogV2/model/model_id_p_metadata_form_data.rs +++ b/src/datadogV2/model/model_id_p_metadata_form_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The form data submitted to upload IdP metadata +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IdPMetadataFormData { diff --git a/src/datadogV2/model/model_incident_attachment_attachment_type.rs b/src/datadogV2/model/model_incident_attachment_attachment_type.rs index 21b6889be..b9fb1edad 100644 --- a/src/datadogV2/model/model_incident_attachment_attachment_type.rs +++ b/src/datadogV2/model/model_incident_attachment_attachment_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentAttachmentAttachmentType { #[serde(rename = "link")] diff --git a/src/datadogV2/model/model_incident_attachment_attributes.rs b/src/datadogV2/model/model_incident_attachment_attributes.rs index 6d42055e9..8331333d4 100644 --- a/src/datadogV2/model/model_incident_attachment_attributes.rs +++ b/src/datadogV2/model/model_incident_attachment_attributes.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// The attributes object for an attachment. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentAttachmentAttributes { diff --git a/src/datadogV2/model/model_incident_attachment_data.rs b/src/datadogV2/model/model_incident_attachment_data.rs index 8a182cc70..1ba0883c0 100644 --- a/src/datadogV2/model/model_incident_attachment_data.rs +++ b/src/datadogV2/model/model_incident_attachment_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single incident attachment. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentData { diff --git a/src/datadogV2/model/model_incident_attachment_link_attachment_type.rs b/src/datadogV2/model/model_incident_attachment_link_attachment_type.rs index 2f0e48b29..08b7f0641 100644 --- a/src/datadogV2/model/model_incident_attachment_link_attachment_type.rs +++ b/src/datadogV2/model/model_incident_attachment_link_attachment_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentAttachmentLinkAttachmentType { #[serde(rename = "link")] diff --git a/src/datadogV2/model/model_incident_attachment_link_attributes.rs b/src/datadogV2/model/model_incident_attachment_link_attributes.rs index c0dc6f864..e15f7108a 100644 --- a/src/datadogV2/model/model_incident_attachment_link_attributes.rs +++ b/src/datadogV2/model/model_incident_attachment_link_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes object for a link attachment. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentLinkAttributes { diff --git a/src/datadogV2/model/model_incident_attachment_link_attributes_attachment_object.rs b/src/datadogV2/model/model_incident_attachment_link_attributes_attachment_object.rs index 8da939441..577509eae 100644 --- a/src/datadogV2/model/model_incident_attachment_link_attributes_attachment_object.rs +++ b/src/datadogV2/model/model_incident_attachment_link_attributes_attachment_object.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The link attachment. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentLinkAttributesAttachmentObject { diff --git a/src/datadogV2/model/model_incident_attachment_postmortem_attachment_type.rs b/src/datadogV2/model/model_incident_attachment_postmortem_attachment_type.rs index e2f314474..701ae52a7 100644 --- a/src/datadogV2/model/model_incident_attachment_postmortem_attachment_type.rs +++ b/src/datadogV2/model/model_incident_attachment_postmortem_attachment_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentAttachmentPostmortemAttachmentType { #[serde(rename = "postmortem")] diff --git a/src/datadogV2/model/model_incident_attachment_postmortem_attributes.rs b/src/datadogV2/model/model_incident_attachment_postmortem_attributes.rs index b8fde4ca4..23e026548 100644 --- a/src/datadogV2/model/model_incident_attachment_postmortem_attributes.rs +++ b/src/datadogV2/model/model_incident_attachment_postmortem_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes object for a postmortem attachment. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentPostmortemAttributes { diff --git a/src/datadogV2/model/model_incident_attachment_related_object.rs b/src/datadogV2/model/model_incident_attachment_related_object.rs index a00f234d9..19af6936e 100644 --- a/src/datadogV2/model/model_incident_attachment_related_object.rs +++ b/src/datadogV2/model/model_incident_attachment_related_object.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentAttachmentRelatedObject { #[serde(rename = "users")] diff --git a/src/datadogV2/model/model_incident_attachment_relationships.rs b/src/datadogV2/model/model_incident_attachment_relationships.rs index 149af271e..0dd10056a 100644 --- a/src/datadogV2/model/model_incident_attachment_relationships.rs +++ b/src/datadogV2/model/model_incident_attachment_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident attachment's relationships. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentRelationships { diff --git a/src/datadogV2/model/model_incident_attachment_type.rs b/src/datadogV2/model/model_incident_attachment_type.rs index ac6a05518..1d8cdd94a 100644 --- a/src/datadogV2/model/model_incident_attachment_type.rs +++ b/src/datadogV2/model/model_incident_attachment_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentAttachmentType { #[serde(rename = "incident_attachments")] diff --git a/src/datadogV2/model/model_incident_attachment_update_attributes.rs b/src/datadogV2/model/model_incident_attachment_update_attributes.rs index 45e8eb4ba..0202da551 100644 --- a/src/datadogV2/model/model_incident_attachment_update_attributes.rs +++ b/src/datadogV2/model/model_incident_attachment_update_attributes.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Incident attachment attributes. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentAttachmentUpdateAttributes { diff --git a/src/datadogV2/model/model_incident_attachment_update_data.rs b/src/datadogV2/model/model_incident_attachment_update_data.rs index a892b6b6e..a8e4d6b5e 100644 --- a/src/datadogV2/model/model_incident_attachment_update_data.rs +++ b/src/datadogV2/model/model_incident_attachment_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single incident attachment. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentUpdateData { diff --git a/src/datadogV2/model/model_incident_attachment_update_request.rs b/src/datadogV2/model/model_incident_attachment_update_request.rs index 9c01c31f6..57272f525 100644 --- a/src/datadogV2/model/model_incident_attachment_update_request.rs +++ b/src/datadogV2/model/model_incident_attachment_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The update request for an incident's attachments. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentUpdateRequest { diff --git a/src/datadogV2/model/model_incident_attachment_update_response.rs b/src/datadogV2/model/model_incident_attachment_update_response.rs index f072c7327..17ea208e1 100644 --- a/src/datadogV2/model/model_incident_attachment_update_response.rs +++ b/src/datadogV2/model/model_incident_attachment_update_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object containing the created or updated incident attachments. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentUpdateResponse { diff --git a/src/datadogV2/model/model_incident_attachments_postmortem_attributes_attachment_object.rs b/src/datadogV2/model/model_incident_attachments_postmortem_attributes_attachment_object.rs index 4591fcbe2..82482ad6d 100644 --- a/src/datadogV2/model/model_incident_attachments_postmortem_attributes_attachment_object.rs +++ b/src/datadogV2/model/model_incident_attachments_postmortem_attributes_attachment_object.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The postmortem attachment. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentsPostmortemAttributesAttachmentObject { diff --git a/src/datadogV2/model/model_incident_attachments_response.rs b/src/datadogV2/model/model_incident_attachments_response.rs index ea4070cb2..d68bbe53a 100644 --- a/src/datadogV2/model/model_incident_attachments_response.rs +++ b/src/datadogV2/model/model_incident_attachments_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object containing an incident's attachments. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentAttachmentsResponse { diff --git a/src/datadogV2/model/model_incident_attachments_response_included_item.rs b/src/datadogV2/model/model_incident_attachments_response_included_item.rs index 2b6f5d5fb..22a3c935b 100644 --- a/src/datadogV2/model/model_incident_attachments_response_included_item.rs +++ b/src/datadogV2/model/model_incident_attachments_response_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to an attachment that is included in the response. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentAttachmentsResponseIncludedItem { diff --git a/src/datadogV2/model/model_incident_create_attributes.rs b/src/datadogV2/model/model_incident_create_attributes.rs index 8425b045e..f58a36b68 100644 --- a/src/datadogV2/model/model_incident_create_attributes.rs +++ b/src/datadogV2/model/model_incident_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident's attributes for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentCreateAttributes { diff --git a/src/datadogV2/model/model_incident_create_data.rs b/src/datadogV2/model/model_incident_create_data.rs index 18405b179..ded40a480 100644 --- a/src/datadogV2/model/model_incident_create_data.rs +++ b/src/datadogV2/model/model_incident_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident data for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentCreateData { diff --git a/src/datadogV2/model/model_incident_create_relationships.rs b/src/datadogV2/model/model_incident_create_relationships.rs index 646f53b31..749ea0ae1 100644 --- a/src/datadogV2/model/model_incident_create_relationships.rs +++ b/src/datadogV2/model/model_incident_create_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The relationships the incident will have with other resources once created. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentCreateRelationships { diff --git a/src/datadogV2/model/model_incident_create_request.rs b/src/datadogV2/model/model_incident_create_request.rs index 3dd11838a..afb3166ac 100644 --- a/src/datadogV2/model/model_incident_create_request.rs +++ b/src/datadogV2/model/model_incident_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create request for an incident. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentCreateRequest { diff --git a/src/datadogV2/model/model_incident_field_attributes.rs b/src/datadogV2/model/model_incident_field_attributes.rs index 5371dde1b..3fbbe79b8 100644 --- a/src/datadogV2/model/model_incident_field_attributes.rs +++ b/src/datadogV2/model/model_incident_field_attributes.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Dynamic fields for which selections can be made, with field names as keys. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentFieldAttributes { diff --git a/src/datadogV2/model/model_incident_field_attributes_multiple_value.rs b/src/datadogV2/model/model_incident_field_attributes_multiple_value.rs index c20cf7f0b..fa19540cd 100644 --- a/src/datadogV2/model/model_incident_field_attributes_multiple_value.rs +++ b/src/datadogV2/model/model_incident_field_attributes_multiple_value.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A field with potentially multiple values selected. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentFieldAttributesMultipleValue { diff --git a/src/datadogV2/model/model_incident_field_attributes_single_value.rs b/src/datadogV2/model/model_incident_field_attributes_single_value.rs index 3b26022a9..8248287db 100644 --- a/src/datadogV2/model/model_incident_field_attributes_single_value.rs +++ b/src/datadogV2/model/model_incident_field_attributes_single_value.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A field with a single value selected. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentFieldAttributesSingleValue { diff --git a/src/datadogV2/model/model_incident_field_attributes_single_value_type.rs b/src/datadogV2/model/model_incident_field_attributes_single_value_type.rs index 1231ce626..b41116613 100644 --- a/src/datadogV2/model/model_incident_field_attributes_single_value_type.rs +++ b/src/datadogV2/model/model_incident_field_attributes_single_value_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentFieldAttributesSingleValueType { #[serde(rename = "dropdown")] diff --git a/src/datadogV2/model/model_incident_field_attributes_value_type.rs b/src/datadogV2/model/model_incident_field_attributes_value_type.rs index 06780b203..39786f5c4 100644 --- a/src/datadogV2/model/model_incident_field_attributes_value_type.rs +++ b/src/datadogV2/model/model_incident_field_attributes_value_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentFieldAttributesValueType { #[serde(rename = "multiselect")] diff --git a/src/datadogV2/model/model_incident_impacts_type.rs b/src/datadogV2/model/model_incident_impacts_type.rs index 37927b090..a04cb0731 100644 --- a/src/datadogV2/model/model_incident_impacts_type.rs +++ b/src/datadogV2/model/model_incident_impacts_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentImpactsType { #[serde(rename = "incident_impacts")] diff --git a/src/datadogV2/model/model_incident_integration_metadata_attributes.rs b/src/datadogV2/model/model_incident_integration_metadata_attributes.rs index e49daf0af..086c85aee 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_attributes.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident integration metadata's attributes for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationMetadataAttributes { diff --git a/src/datadogV2/model/model_incident_integration_metadata_create_data.rs b/src/datadogV2/model/model_incident_integration_metadata_create_data.rs index 28b58573d..067aa2a0c 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_create_data.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident integration metadata data for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationMetadataCreateData { diff --git a/src/datadogV2/model/model_incident_integration_metadata_create_request.rs b/src/datadogV2/model/model_incident_integration_metadata_create_request.rs index 3510680f4..15b090520 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_create_request.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create request for an incident integration metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationMetadataCreateRequest { diff --git a/src/datadogV2/model/model_incident_integration_metadata_list_response.rs b/src/datadogV2/model/model_incident_integration_metadata_list_response.rs index 92ae2dd12..ab8860df6 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_list_response.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with a list of incident integration metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationMetadataListResponse { diff --git a/src/datadogV2/model/model_incident_integration_metadata_metadata.rs b/src/datadogV2/model/model_incident_integration_metadata_metadata.rs index a2e33623d..5a03dd790 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_metadata.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_metadata.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Incident integration metadata's metadata attribute. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentIntegrationMetadataMetadata { diff --git a/src/datadogV2/model/model_incident_integration_metadata_patch_data.rs b/src/datadogV2/model/model_incident_integration_metadata_patch_data.rs index d541d96e9..d9cd54db3 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_patch_data.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_patch_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident integration metadata data for a patch request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationMetadataPatchData { diff --git a/src/datadogV2/model/model_incident_integration_metadata_patch_request.rs b/src/datadogV2/model/model_incident_integration_metadata_patch_request.rs index 6173c191b..aaea3768e 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_patch_request.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_patch_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Patch request for an incident integration metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationMetadataPatchRequest { diff --git a/src/datadogV2/model/model_incident_integration_metadata_response.rs b/src/datadogV2/model/model_incident_integration_metadata_response.rs index 051177f24..b8f99c92d 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_response.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with an incident integration metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationMetadataResponse { diff --git a/src/datadogV2/model/model_incident_integration_metadata_response_data.rs b/src/datadogV2/model/model_incident_integration_metadata_response_data.rs index 050312f2b..373f551cb 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_response_data.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident integration metadata from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationMetadataResponseData { diff --git a/src/datadogV2/model/model_incident_integration_metadata_response_included_item.rs b/src/datadogV2/model/model_incident_integration_metadata_response_included_item.rs index b0876bab3..3a55d2cd5 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_response_included_item.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_response_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to an incident integration metadata that is included in the response. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentIntegrationMetadataResponseIncludedItem { diff --git a/src/datadogV2/model/model_incident_integration_metadata_type.rs b/src/datadogV2/model/model_incident_integration_metadata_type.rs index 75afe3402..149cecca5 100644 --- a/src/datadogV2/model/model_incident_integration_metadata_type.rs +++ b/src/datadogV2/model/model_incident_integration_metadata_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentIntegrationMetadataType { #[serde(rename = "incident_integrations")] diff --git a/src/datadogV2/model/model_incident_integration_relationships.rs b/src/datadogV2/model/model_incident_integration_relationships.rs index c81b0e80a..16170f563 100644 --- a/src/datadogV2/model/model_incident_integration_relationships.rs +++ b/src/datadogV2/model/model_incident_integration_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident's integration relationships from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentIntegrationRelationships { diff --git a/src/datadogV2/model/model_incident_non_datadog_creator.rs b/src/datadogV2/model/model_incident_non_datadog_creator.rs index 36535d074..262e3079c 100644 --- a/src/datadogV2/model/model_incident_non_datadog_creator.rs +++ b/src/datadogV2/model/model_incident_non_datadog_creator.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident's non Datadog creator. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentNonDatadogCreator { diff --git a/src/datadogV2/model/model_incident_notification_handle.rs b/src/datadogV2/model/model_incident_notification_handle.rs index b3abab04b..853dd1db1 100644 --- a/src/datadogV2/model/model_incident_notification_handle.rs +++ b/src/datadogV2/model/model_incident_notification_handle.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A notification handle that will be notified at incident creation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentNotificationHandle { diff --git a/src/datadogV2/model/model_incident_postmortem_type.rs b/src/datadogV2/model/model_incident_postmortem_type.rs index 3d09e0054..f9a860f8c 100644 --- a/src/datadogV2/model/model_incident_postmortem_type.rs +++ b/src/datadogV2/model/model_incident_postmortem_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentPostmortemType { #[serde(rename = "incident_postmortems")] diff --git a/src/datadogV2/model/model_incident_related_object.rs b/src/datadogV2/model/model_incident_related_object.rs index 8c0753cf8..e4009354e 100644 --- a/src/datadogV2/model/model_incident_related_object.rs +++ b/src/datadogV2/model/model_incident_related_object.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentRelatedObject { #[serde(rename = "users")] diff --git a/src/datadogV2/model/model_incident_responders_type.rs b/src/datadogV2/model/model_incident_responders_type.rs index 5e787e37f..9cff6c3b1 100644 --- a/src/datadogV2/model/model_incident_responders_type.rs +++ b/src/datadogV2/model/model_incident_responders_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentRespondersType { #[serde(rename = "incident_responders")] diff --git a/src/datadogV2/model/model_incident_response.rs b/src/datadogV2/model/model_incident_response.rs index a8d1b8caa..636f4d000 100644 --- a/src/datadogV2/model/model_incident_response.rs +++ b/src/datadogV2/model/model_incident_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with an incident. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentResponse { diff --git a/src/datadogV2/model/model_incident_response_attributes.rs b/src/datadogV2/model/model_incident_response_attributes.rs index 55cc1f24a..1d6a92cf0 100644 --- a/src/datadogV2/model/model_incident_response_attributes.rs +++ b/src/datadogV2/model/model_incident_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident's attributes from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentResponseAttributes { diff --git a/src/datadogV2/model/model_incident_response_data.rs b/src/datadogV2/model/model_incident_response_data.rs index f5567069c..e928e1320 100644 --- a/src/datadogV2/model/model_incident_response_data.rs +++ b/src/datadogV2/model/model_incident_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident data from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentResponseData { diff --git a/src/datadogV2/model/model_incident_response_included_item.rs b/src/datadogV2/model/model_incident_response_included_item.rs index d8548196c..8e61b0e72 100644 --- a/src/datadogV2/model/model_incident_response_included_item.rs +++ b/src/datadogV2/model/model_incident_response_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to an incident that is included in the response. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentResponseIncludedItem { diff --git a/src/datadogV2/model/model_incident_response_meta.rs b/src/datadogV2/model/model_incident_response_meta.rs index b1fc09e3c..24c33b857 100644 --- a/src/datadogV2/model/model_incident_response_meta.rs +++ b/src/datadogV2/model/model_incident_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata object containing pagination metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentResponseMeta { diff --git a/src/datadogV2/model/model_incident_response_meta_pagination.rs b/src/datadogV2/model/model_incident_response_meta_pagination.rs index 31f7236a1..ed8620d95 100644 --- a/src/datadogV2/model/model_incident_response_meta_pagination.rs +++ b/src/datadogV2/model/model_incident_response_meta_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentResponseMetaPagination { diff --git a/src/datadogV2/model/model_incident_response_relationships.rs b/src/datadogV2/model/model_incident_response_relationships.rs index 9414b3fda..6bc3eae2a 100644 --- a/src/datadogV2/model/model_incident_response_relationships.rs +++ b/src/datadogV2/model/model_incident_response_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident's relationships from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentResponseRelationships { diff --git a/src/datadogV2/model/model_incident_search_response.rs b/src/datadogV2/model/model_incident_search_response.rs index 10b73fe4a..de69df5a2 100644 --- a/src/datadogV2/model/model_incident_search_response.rs +++ b/src/datadogV2/model/model_incident_search_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with incidents and facets. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponse { diff --git a/src/datadogV2/model/model_incident_search_response_attributes.rs b/src/datadogV2/model/model_incident_search_response_attributes.rs index 5e794d81a..00bbbd06e 100644 --- a/src/datadogV2/model/model_incident_search_response_attributes.rs +++ b/src/datadogV2/model/model_incident_search_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes returned by an incident search. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseAttributes { diff --git a/src/datadogV2/model/model_incident_search_response_data.rs b/src/datadogV2/model/model_incident_search_response_data.rs index 9d513b03e..3deefbc8f 100644 --- a/src/datadogV2/model/model_incident_search_response_data.rs +++ b/src/datadogV2/model/model_incident_search_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data returned by an incident search. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseData { diff --git a/src/datadogV2/model/model_incident_search_response_facets_data.rs b/src/datadogV2/model/model_incident_search_response_facets_data.rs index 9c0133d50..f1e1c6a8e 100644 --- a/src/datadogV2/model/model_incident_search_response_facets_data.rs +++ b/src/datadogV2/model/model_incident_search_response_facets_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Facet data for incidents returned by a search query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseFacetsData { diff --git a/src/datadogV2/model/model_incident_search_response_field_facet_data.rs b/src/datadogV2/model/model_incident_search_response_field_facet_data.rs index c9d3b5230..e2fba1f0f 100644 --- a/src/datadogV2/model/model_incident_search_response_field_facet_data.rs +++ b/src/datadogV2/model/model_incident_search_response_field_facet_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Facet value and number of occurrences for a property field of an incident. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseFieldFacetData { diff --git a/src/datadogV2/model/model_incident_search_response_incidents_data.rs b/src/datadogV2/model/model_incident_search_response_incidents_data.rs index 69c9d6c55..5c1199071 100644 --- a/src/datadogV2/model/model_incident_search_response_incidents_data.rs +++ b/src/datadogV2/model/model_incident_search_response_incidents_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident returned by the search. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseIncidentsData { diff --git a/src/datadogV2/model/model_incident_search_response_meta.rs b/src/datadogV2/model/model_incident_search_response_meta.rs index b55b7efb0..813587cd5 100644 --- a/src/datadogV2/model/model_incident_search_response_meta.rs +++ b/src/datadogV2/model/model_incident_search_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata object containing pagination metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseMeta { diff --git a/src/datadogV2/model/model_incident_search_response_numeric_facet_data.rs b/src/datadogV2/model/model_incident_search_response_numeric_facet_data.rs index 21fe28012..7ec302dcb 100644 --- a/src/datadogV2/model/model_incident_search_response_numeric_facet_data.rs +++ b/src/datadogV2/model/model_incident_search_response_numeric_facet_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Facet data numeric attributes of an incident. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseNumericFacetData { diff --git a/src/datadogV2/model/model_incident_search_response_numeric_facet_data_aggregates.rs b/src/datadogV2/model/model_incident_search_response_numeric_facet_data_aggregates.rs index a561867fa..9ae7945f8 100644 --- a/src/datadogV2/model/model_incident_search_response_numeric_facet_data_aggregates.rs +++ b/src/datadogV2/model/model_incident_search_response_numeric_facet_data_aggregates.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Aggregate information for numeric incident data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseNumericFacetDataAggregates { diff --git a/src/datadogV2/model/model_incident_search_response_property_field_facet_data.rs b/src/datadogV2/model/model_incident_search_response_property_field_facet_data.rs index 99f2e83d0..f85437487 100644 --- a/src/datadogV2/model/model_incident_search_response_property_field_facet_data.rs +++ b/src/datadogV2/model/model_incident_search_response_property_field_facet_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Facet data for the incident property fields. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponsePropertyFieldFacetData { diff --git a/src/datadogV2/model/model_incident_search_response_user_facet_data.rs b/src/datadogV2/model/model_incident_search_response_user_facet_data.rs index 18a2d2e8e..dd47a8134 100644 --- a/src/datadogV2/model/model_incident_search_response_user_facet_data.rs +++ b/src/datadogV2/model/model_incident_search_response_user_facet_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Facet data for user attributes of an incident. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentSearchResponseUserFacetData { diff --git a/src/datadogV2/model/model_incident_search_results_type.rs b/src/datadogV2/model/model_incident_search_results_type.rs index f31e44aaa..20ef3b599 100644 --- a/src/datadogV2/model/model_incident_search_results_type.rs +++ b/src/datadogV2/model/model_incident_search_results_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentSearchResultsType { #[serde(rename = "incidents_search_results")] diff --git a/src/datadogV2/model/model_incident_search_sort_order.rs b/src/datadogV2/model/model_incident_search_sort_order.rs index 78a45d3cc..50235e9b6 100644 --- a/src/datadogV2/model/model_incident_search_sort_order.rs +++ b/src/datadogV2/model/model_incident_search_sort_order.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentSearchSortOrder { #[serde(rename = "created")] diff --git a/src/datadogV2/model/model_incident_service_create_attributes.rs b/src/datadogV2/model/model_incident_service_create_attributes.rs index 44d4acda3..54f124e76 100644 --- a/src/datadogV2/model/model_incident_service_create_attributes.rs +++ b/src/datadogV2/model/model_incident_service_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident service's attributes for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceCreateAttributes { diff --git a/src/datadogV2/model/model_incident_service_create_data.rs b/src/datadogV2/model/model_incident_service_create_data.rs index 0f1ddf255..4345206e4 100644 --- a/src/datadogV2/model/model_incident_service_create_data.rs +++ b/src/datadogV2/model/model_incident_service_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident Service payload for create requests. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceCreateData { diff --git a/src/datadogV2/model/model_incident_service_create_request.rs b/src/datadogV2/model/model_incident_service_create_request.rs index 0d9a41549..5d50cfb88 100644 --- a/src/datadogV2/model/model_incident_service_create_request.rs +++ b/src/datadogV2/model/model_incident_service_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create request with an incident service payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceCreateRequest { diff --git a/src/datadogV2/model/model_incident_service_included_items.rs b/src/datadogV2/model/model_incident_service_included_items.rs index 234742abb..87c61ccc2 100644 --- a/src/datadogV2/model/model_incident_service_included_items.rs +++ b/src/datadogV2/model/model_incident_service_included_items.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to an incident service which is present in the included payload. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentServiceIncludedItems { diff --git a/src/datadogV2/model/model_incident_service_relationships.rs b/src/datadogV2/model/model_incident_service_relationships.rs index 3ebebee02..4f33c5271 100644 --- a/src/datadogV2/model/model_incident_service_relationships.rs +++ b/src/datadogV2/model/model_incident_service_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident service's relationships. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceRelationships { diff --git a/src/datadogV2/model/model_incident_service_response.rs b/src/datadogV2/model/model_incident_service_response.rs index b63991b89..61840c438 100644 --- a/src/datadogV2/model/model_incident_service_response.rs +++ b/src/datadogV2/model/model_incident_service_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with an incident service payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceResponse { diff --git a/src/datadogV2/model/model_incident_service_response_attributes.rs b/src/datadogV2/model/model_incident_service_response_attributes.rs index ccb6ba923..95a558168 100644 --- a/src/datadogV2/model/model_incident_service_response_attributes.rs +++ b/src/datadogV2/model/model_incident_service_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident service's attributes from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceResponseAttributes { diff --git a/src/datadogV2/model/model_incident_service_response_data.rs b/src/datadogV2/model/model_incident_service_response_data.rs index 7eab5ced1..1f0cc15f6 100644 --- a/src/datadogV2/model/model_incident_service_response_data.rs +++ b/src/datadogV2/model/model_incident_service_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident Service data from responses. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceResponseData { diff --git a/src/datadogV2/model/model_incident_service_type.rs b/src/datadogV2/model/model_incident_service_type.rs index 88343bbd1..1250b7d10 100644 --- a/src/datadogV2/model/model_incident_service_type.rs +++ b/src/datadogV2/model/model_incident_service_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentServiceType { #[serde(rename = "services")] diff --git a/src/datadogV2/model/model_incident_service_update_attributes.rs b/src/datadogV2/model/model_incident_service_update_attributes.rs index eda012a28..c22cdda01 100644 --- a/src/datadogV2/model/model_incident_service_update_attributes.rs +++ b/src/datadogV2/model/model_incident_service_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident service's attributes for an update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceUpdateAttributes { diff --git a/src/datadogV2/model/model_incident_service_update_data.rs b/src/datadogV2/model/model_incident_service_update_data.rs index cf423e109..418ae89cd 100644 --- a/src/datadogV2/model/model_incident_service_update_data.rs +++ b/src/datadogV2/model/model_incident_service_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident Service payload for update requests. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceUpdateData { diff --git a/src/datadogV2/model/model_incident_service_update_request.rs b/src/datadogV2/model/model_incident_service_update_request.rs index ca0173011..59e44a976 100644 --- a/src/datadogV2/model/model_incident_service_update_request.rs +++ b/src/datadogV2/model/model_incident_service_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update request with an incident service payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServiceUpdateRequest { diff --git a/src/datadogV2/model/model_incident_services_response.rs b/src/datadogV2/model/model_incident_services_response.rs index 33765540c..be460394b 100644 --- a/src/datadogV2/model/model_incident_services_response.rs +++ b/src/datadogV2/model/model_incident_services_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with a list of incident service payloads. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentServicesResponse { diff --git a/src/datadogV2/model/model_incident_severity.rs b/src/datadogV2/model/model_incident_severity.rs index 87cd51a5d..77803af8a 100644 --- a/src/datadogV2/model/model_incident_severity.rs +++ b/src/datadogV2/model/model_incident_severity.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentSeverity { #[serde(rename = "UNKNOWN")] diff --git a/src/datadogV2/model/model_incident_team_create_attributes.rs b/src/datadogV2/model/model_incident_team_create_attributes.rs index 20e939df1..a3f82513c 100644 --- a/src/datadogV2/model/model_incident_team_create_attributes.rs +++ b/src/datadogV2/model/model_incident_team_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident team's attributes for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamCreateAttributes { diff --git a/src/datadogV2/model/model_incident_team_create_data.rs b/src/datadogV2/model/model_incident_team_create_data.rs index dcbaf24a6..38f5ac8ac 100644 --- a/src/datadogV2/model/model_incident_team_create_data.rs +++ b/src/datadogV2/model/model_incident_team_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident Team data for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamCreateData { diff --git a/src/datadogV2/model/model_incident_team_create_request.rs b/src/datadogV2/model/model_incident_team_create_request.rs index 982e876ff..e6eecb66f 100644 --- a/src/datadogV2/model/model_incident_team_create_request.rs +++ b/src/datadogV2/model/model_incident_team_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create request with an incident team payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamCreateRequest { diff --git a/src/datadogV2/model/model_incident_team_included_items.rs b/src/datadogV2/model/model_incident_team_included_items.rs index e94d314e5..e1914167f 100644 --- a/src/datadogV2/model/model_incident_team_included_items.rs +++ b/src/datadogV2/model/model_incident_team_included_items.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to an incident team which is present in the included payload. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentTeamIncludedItems { diff --git a/src/datadogV2/model/model_incident_team_relationships.rs b/src/datadogV2/model/model_incident_team_relationships.rs index 6ec915ad4..d549743e4 100644 --- a/src/datadogV2/model/model_incident_team_relationships.rs +++ b/src/datadogV2/model/model_incident_team_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident team's relationships. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamRelationships { diff --git a/src/datadogV2/model/model_incident_team_response.rs b/src/datadogV2/model/model_incident_team_response.rs index 451936ac4..25247e49a 100644 --- a/src/datadogV2/model/model_incident_team_response.rs +++ b/src/datadogV2/model/model_incident_team_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with an incident team payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamResponse { diff --git a/src/datadogV2/model/model_incident_team_response_attributes.rs b/src/datadogV2/model/model_incident_team_response_attributes.rs index 781e2ccc2..a0ae3f511 100644 --- a/src/datadogV2/model/model_incident_team_response_attributes.rs +++ b/src/datadogV2/model/model_incident_team_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident team's attributes from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamResponseAttributes { diff --git a/src/datadogV2/model/model_incident_team_response_data.rs b/src/datadogV2/model/model_incident_team_response_data.rs index 16a3755cf..17d90ab18 100644 --- a/src/datadogV2/model/model_incident_team_response_data.rs +++ b/src/datadogV2/model/model_incident_team_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident Team data from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamResponseData { diff --git a/src/datadogV2/model/model_incident_team_type.rs b/src/datadogV2/model/model_incident_team_type.rs index 6d934a61d..9f809357f 100644 --- a/src/datadogV2/model/model_incident_team_type.rs +++ b/src/datadogV2/model/model_incident_team_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentTeamType { #[serde(rename = "teams")] diff --git a/src/datadogV2/model/model_incident_team_update_attributes.rs b/src/datadogV2/model/model_incident_team_update_attributes.rs index fc5ed8f28..594a0d491 100644 --- a/src/datadogV2/model/model_incident_team_update_attributes.rs +++ b/src/datadogV2/model/model_incident_team_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident team's attributes for an update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamUpdateAttributes { diff --git a/src/datadogV2/model/model_incident_team_update_data.rs b/src/datadogV2/model/model_incident_team_update_data.rs index d6429da13..a661f8c14 100644 --- a/src/datadogV2/model/model_incident_team_update_data.rs +++ b/src/datadogV2/model/model_incident_team_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident Team data for an update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamUpdateData { diff --git a/src/datadogV2/model/model_incident_team_update_request.rs b/src/datadogV2/model/model_incident_team_update_request.rs index c71a55f6e..128709feb 100644 --- a/src/datadogV2/model/model_incident_team_update_request.rs +++ b/src/datadogV2/model/model_incident_team_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update request with an incident team payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamUpdateRequest { diff --git a/src/datadogV2/model/model_incident_teams_response.rs b/src/datadogV2/model/model_incident_teams_response.rs index b4c30382e..18c4d830b 100644 --- a/src/datadogV2/model/model_incident_teams_response.rs +++ b/src/datadogV2/model/model_incident_teams_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with a list of incident team payloads. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTeamsResponse { diff --git a/src/datadogV2/model/model_incident_timeline_cell_create_attributes.rs b/src/datadogV2/model/model_incident_timeline_cell_create_attributes.rs index 73af70e87..f94198ecc 100644 --- a/src/datadogV2/model/model_incident_timeline_cell_create_attributes.rs +++ b/src/datadogV2/model/model_incident_timeline_cell_create_attributes.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// The timeline cell's attributes for a create request. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentTimelineCellCreateAttributes { diff --git a/src/datadogV2/model/model_incident_timeline_cell_markdown_content_type.rs b/src/datadogV2/model/model_incident_timeline_cell_markdown_content_type.rs index 4f80dbcb1..c8ce8dcd7 100644 --- a/src/datadogV2/model/model_incident_timeline_cell_markdown_content_type.rs +++ b/src/datadogV2/model/model_incident_timeline_cell_markdown_content_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentTimelineCellMarkdownContentType { #[serde(rename = "markdown")] diff --git a/src/datadogV2/model/model_incident_timeline_cell_markdown_create_attributes.rs b/src/datadogV2/model/model_incident_timeline_cell_markdown_create_attributes.rs index baf85bfab..e63656ace 100644 --- a/src/datadogV2/model/model_incident_timeline_cell_markdown_create_attributes.rs +++ b/src/datadogV2/model/model_incident_timeline_cell_markdown_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Timeline cell data for Markdown timeline cells for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTimelineCellMarkdownCreateAttributes { diff --git a/src/datadogV2/model/model_incident_timeline_cell_markdown_create_attributes_content.rs b/src/datadogV2/model/model_incident_timeline_cell_markdown_create_attributes_content.rs index baf4edbca..76c2bf51f 100644 --- a/src/datadogV2/model/model_incident_timeline_cell_markdown_create_attributes_content.rs +++ b/src/datadogV2/model/model_incident_timeline_cell_markdown_create_attributes_content.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Markdown timeline cell contents. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTimelineCellMarkdownCreateAttributesContent { diff --git a/src/datadogV2/model/model_incident_todo_anonymous_assignee.rs b/src/datadogV2/model/model_incident_todo_anonymous_assignee.rs index 7e15d2e18..04066a1ad 100644 --- a/src/datadogV2/model/model_incident_todo_anonymous_assignee.rs +++ b/src/datadogV2/model/model_incident_todo_anonymous_assignee.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Anonymous assignee entity. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoAnonymousAssignee { diff --git a/src/datadogV2/model/model_incident_todo_anonymous_assignee_source.rs b/src/datadogV2/model/model_incident_todo_anonymous_assignee_source.rs index 5ee5dfaeb..f9ca24a20 100644 --- a/src/datadogV2/model/model_incident_todo_anonymous_assignee_source.rs +++ b/src/datadogV2/model/model_incident_todo_anonymous_assignee_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentTodoAnonymousAssigneeSource { #[serde(rename = "slack")] diff --git a/src/datadogV2/model/model_incident_todo_assignee.rs b/src/datadogV2/model/model_incident_todo_assignee.rs index d0056cef2..5ddaa899c 100644 --- a/src/datadogV2/model/model_incident_todo_assignee.rs +++ b/src/datadogV2/model/model_incident_todo_assignee.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A todo assignee. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentTodoAssignee { diff --git a/src/datadogV2/model/model_incident_todo_attributes.rs b/src/datadogV2/model/model_incident_todo_attributes.rs index 960943c80..e11fcbbe2 100644 --- a/src/datadogV2/model/model_incident_todo_attributes.rs +++ b/src/datadogV2/model/model_incident_todo_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident todo's attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoAttributes { diff --git a/src/datadogV2/model/model_incident_todo_create_data.rs b/src/datadogV2/model/model_incident_todo_create_data.rs index 573c3c4c3..321ed69f4 100644 --- a/src/datadogV2/model/model_incident_todo_create_data.rs +++ b/src/datadogV2/model/model_incident_todo_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident todo data for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoCreateData { diff --git a/src/datadogV2/model/model_incident_todo_create_request.rs b/src/datadogV2/model/model_incident_todo_create_request.rs index 24d48a1eb..47959c451 100644 --- a/src/datadogV2/model/model_incident_todo_create_request.rs +++ b/src/datadogV2/model/model_incident_todo_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create request for an incident todo. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoCreateRequest { diff --git a/src/datadogV2/model/model_incident_todo_list_response.rs b/src/datadogV2/model/model_incident_todo_list_response.rs index b6a1d0db0..346b2caed 100644 --- a/src/datadogV2/model/model_incident_todo_list_response.rs +++ b/src/datadogV2/model/model_incident_todo_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with a list of incident todos. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoListResponse { diff --git a/src/datadogV2/model/model_incident_todo_patch_data.rs b/src/datadogV2/model/model_incident_todo_patch_data.rs index 04db5a32f..a08f2f936 100644 --- a/src/datadogV2/model/model_incident_todo_patch_data.rs +++ b/src/datadogV2/model/model_incident_todo_patch_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident todo data for a patch request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoPatchData { diff --git a/src/datadogV2/model/model_incident_todo_patch_request.rs b/src/datadogV2/model/model_incident_todo_patch_request.rs index adefe7a47..2a70eeac6 100644 --- a/src/datadogV2/model/model_incident_todo_patch_request.rs +++ b/src/datadogV2/model/model_incident_todo_patch_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Patch request for an incident todo. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoPatchRequest { diff --git a/src/datadogV2/model/model_incident_todo_relationships.rs b/src/datadogV2/model/model_incident_todo_relationships.rs index 1cea60424..bf9e88857 100644 --- a/src/datadogV2/model/model_incident_todo_relationships.rs +++ b/src/datadogV2/model/model_incident_todo_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident's relationships from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoRelationships { diff --git a/src/datadogV2/model/model_incident_todo_response.rs b/src/datadogV2/model/model_incident_todo_response.rs index 15b78fbf4..11a688296 100644 --- a/src/datadogV2/model/model_incident_todo_response.rs +++ b/src/datadogV2/model/model_incident_todo_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with an incident todo. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoResponse { diff --git a/src/datadogV2/model/model_incident_todo_response_data.rs b/src/datadogV2/model/model_incident_todo_response_data.rs index 464a04706..8b0054a8c 100644 --- a/src/datadogV2/model/model_incident_todo_response_data.rs +++ b/src/datadogV2/model/model_incident_todo_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident todo response data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentTodoResponseData { diff --git a/src/datadogV2/model/model_incident_todo_response_included_item.rs b/src/datadogV2/model/model_incident_todo_response_included_item.rs index b12e5eb84..cb65695a2 100644 --- a/src/datadogV2/model/model_incident_todo_response_included_item.rs +++ b/src/datadogV2/model/model_incident_todo_response_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to an incident todo that is included in the response. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum IncidentTodoResponseIncludedItem { diff --git a/src/datadogV2/model/model_incident_todo_type.rs b/src/datadogV2/model/model_incident_todo_type.rs index 6023c5d8e..4a19fa08b 100644 --- a/src/datadogV2/model/model_incident_todo_type.rs +++ b/src/datadogV2/model/model_incident_todo_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentTodoType { #[serde(rename = "incident_todos")] diff --git a/src/datadogV2/model/model_incident_type.rs b/src/datadogV2/model/model_incident_type.rs index 299410235..9bb204e3e 100644 --- a/src/datadogV2/model/model_incident_type.rs +++ b/src/datadogV2/model/model_incident_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentType { #[serde(rename = "incidents")] diff --git a/src/datadogV2/model/model_incident_update_attributes.rs b/src/datadogV2/model/model_incident_update_attributes.rs index 9b49680b7..318c2d79d 100644 --- a/src/datadogV2/model/model_incident_update_attributes.rs +++ b/src/datadogV2/model/model_incident_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident's attributes for an update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentUpdateAttributes { diff --git a/src/datadogV2/model/model_incident_update_data.rs b/src/datadogV2/model/model_incident_update_data.rs index f1dc5f6b5..b34b4e2a9 100644 --- a/src/datadogV2/model/model_incident_update_data.rs +++ b/src/datadogV2/model/model_incident_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident data for an update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentUpdateData { diff --git a/src/datadogV2/model/model_incident_update_relationships.rs b/src/datadogV2/model/model_incident_update_relationships.rs index 63b50a4be..f6b6a25c1 100644 --- a/src/datadogV2/model/model_incident_update_relationships.rs +++ b/src/datadogV2/model/model_incident_update_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The incident's relationships for an update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentUpdateRelationships { diff --git a/src/datadogV2/model/model_incident_update_request.rs b/src/datadogV2/model/model_incident_update_request.rs index e22c2444e..e4d1d5714 100644 --- a/src/datadogV2/model/model_incident_update_request.rs +++ b/src/datadogV2/model/model_incident_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update request for an incident. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentUpdateRequest { diff --git a/src/datadogV2/model/model_incident_user_defined_field_type.rs b/src/datadogV2/model/model_incident_user_defined_field_type.rs index c12c9b4df..f5230b3c6 100644 --- a/src/datadogV2/model/model_incident_user_defined_field_type.rs +++ b/src/datadogV2/model/model_incident_user_defined_field_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IncidentUserDefinedFieldType { #[serde(rename = "user_defined_field")] diff --git a/src/datadogV2/model/model_incidents_response.rs b/src/datadogV2/model/model_incidents_response.rs index 5cd066ce9..2229b0167 100644 --- a/src/datadogV2/model/model_incidents_response.rs +++ b/src/datadogV2/model/model_incidents_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with a list of incidents. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IncidentsResponse { diff --git a/src/datadogV2/model/model_intake_payload_accepted.rs b/src/datadogV2/model/model_intake_payload_accepted.rs index 853208118..c923866ee 100644 --- a/src/datadogV2/model/model_intake_payload_accepted.rs +++ b/src/datadogV2/model/model_intake_payload_accepted.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The payload accepted for intake. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IntakePayloadAccepted { diff --git a/src/datadogV2/model/model_ip_allowlist_attributes.rs b/src/datadogV2/model/model_ip_allowlist_attributes.rs index f0932e8d2..49a286fcd 100644 --- a/src/datadogV2/model/model_ip_allowlist_attributes.rs +++ b/src/datadogV2/model/model_ip_allowlist_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the IP allowlist. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPAllowlistAttributes { diff --git a/src/datadogV2/model/model_ip_allowlist_data.rs b/src/datadogV2/model/model_ip_allowlist_data.rs index f7f9291e2..d6ce38cf8 100644 --- a/src/datadogV2/model/model_ip_allowlist_data.rs +++ b/src/datadogV2/model/model_ip_allowlist_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// IP allowlist data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPAllowlistData { diff --git a/src/datadogV2/model/model_ip_allowlist_entry.rs b/src/datadogV2/model/model_ip_allowlist_entry.rs index 8d27e5db0..12db26207 100644 --- a/src/datadogV2/model/model_ip_allowlist_entry.rs +++ b/src/datadogV2/model/model_ip_allowlist_entry.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// IP allowlist entry object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPAllowlistEntry { diff --git a/src/datadogV2/model/model_ip_allowlist_entry_attributes.rs b/src/datadogV2/model/model_ip_allowlist_entry_attributes.rs index fe0d6f0ef..beb7af313 100644 --- a/src/datadogV2/model/model_ip_allowlist_entry_attributes.rs +++ b/src/datadogV2/model/model_ip_allowlist_entry_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the IP allowlist entry. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPAllowlistEntryAttributes { diff --git a/src/datadogV2/model/model_ip_allowlist_entry_data.rs b/src/datadogV2/model/model_ip_allowlist_entry_data.rs index eb3bc2a4e..23743bbbd 100644 --- a/src/datadogV2/model/model_ip_allowlist_entry_data.rs +++ b/src/datadogV2/model/model_ip_allowlist_entry_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data of the IP allowlist entry object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPAllowlistEntryData { diff --git a/src/datadogV2/model/model_ip_allowlist_entry_type.rs b/src/datadogV2/model/model_ip_allowlist_entry_type.rs index 9f425f029..dca44540a 100644 --- a/src/datadogV2/model/model_ip_allowlist_entry_type.rs +++ b/src/datadogV2/model/model_ip_allowlist_entry_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IPAllowlistEntryType { #[serde(rename = "ip_allowlist_entry")] diff --git a/src/datadogV2/model/model_ip_allowlist_response.rs b/src/datadogV2/model/model_ip_allowlist_response.rs index 3c6ee6199..40bff2cbd 100644 --- a/src/datadogV2/model/model_ip_allowlist_response.rs +++ b/src/datadogV2/model/model_ip_allowlist_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing information about the IP allowlist. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPAllowlistResponse { diff --git a/src/datadogV2/model/model_ip_allowlist_type.rs b/src/datadogV2/model/model_ip_allowlist_type.rs index e2847239b..9f61fce3c 100644 --- a/src/datadogV2/model/model_ip_allowlist_type.rs +++ b/src/datadogV2/model/model_ip_allowlist_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum IPAllowlistType { #[serde(rename = "ip_allowlist")] diff --git a/src/datadogV2/model/model_ip_allowlist_update_request.rs b/src/datadogV2/model/model_ip_allowlist_update_request.rs index 50dbbc56f..51742fbf6 100644 --- a/src/datadogV2/model/model_ip_allowlist_update_request.rs +++ b/src/datadogV2/model/model_ip_allowlist_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update the IP allowlist. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct IPAllowlistUpdateRequest { diff --git a/src/datadogV2/model/model_jira_integration_metadata.rs b/src/datadogV2/model/model_jira_integration_metadata.rs index b75854164..59d7583b2 100644 --- a/src/datadogV2/model/model_jira_integration_metadata.rs +++ b/src/datadogV2/model/model_jira_integration_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident integration metadata for the Jira integration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct JiraIntegrationMetadata { diff --git a/src/datadogV2/model/model_jira_integration_metadata_issues_item.rs b/src/datadogV2/model/model_jira_integration_metadata_issues_item.rs index 08e882728..ea0a13fd3 100644 --- a/src/datadogV2/model/model_jira_integration_metadata_issues_item.rs +++ b/src/datadogV2/model/model_jira_integration_metadata_issues_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Item in the Jira integration metadata issue array. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct JiraIntegrationMetadataIssuesItem { diff --git a/src/datadogV2/model/model_jsonapi_error_item.rs b/src/datadogV2/model/model_jsonapi_error_item.rs index 604d2109f..ecb0415b1 100644 --- a/src/datadogV2/model/model_jsonapi_error_item.rs +++ b/src/datadogV2/model/model_jsonapi_error_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// API error response body +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct JSONAPIErrorItem { diff --git a/src/datadogV2/model/model_jsonapi_error_response.rs b/src/datadogV2/model/model_jsonapi_error_response.rs index a915828b2..c80cf2b7e 100644 --- a/src/datadogV2/model/model_jsonapi_error_response.rs +++ b/src/datadogV2/model/model_jsonapi_error_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// API error response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct JSONAPIErrorResponse { diff --git a/src/datadogV2/model/model_list_application_keys_response.rs b/src/datadogV2/model/model_list_application_keys_response.rs index 647ba50ba..2b1df900c 100644 --- a/src/datadogV2/model/model_list_application_keys_response.rs +++ b/src/datadogV2/model/model_list_application_keys_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for a list of application keys. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListApplicationKeysResponse { diff --git a/src/datadogV2/model/model_list_downtimes_response.rs b/src/datadogV2/model/model_list_downtimes_response.rs index 6a1d1ea83..34a3aa8b6 100644 --- a/src/datadogV2/model/model_list_downtimes_response.rs +++ b/src/datadogV2/model/model_list_downtimes_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for retrieving all downtimes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListDowntimesResponse { diff --git a/src/datadogV2/model/model_list_findings_meta.rs b/src/datadogV2/model/model_list_findings_meta.rs index 6fc186678..9164a4e20 100644 --- a/src/datadogV2/model/model_list_findings_meta.rs +++ b/src/datadogV2/model/model_list_findings_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata for pagination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListFindingsMeta { diff --git a/src/datadogV2/model/model_list_findings_page.rs b/src/datadogV2/model/model_list_findings_page.rs index 089dbd20f..e143fe908 100644 --- a/src/datadogV2/model/model_list_findings_page.rs +++ b/src/datadogV2/model/model_list_findings_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination and findings count information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListFindingsPage { diff --git a/src/datadogV2/model/model_list_findings_response.rs b/src/datadogV2/model/model_list_findings_response.rs index c856580d6..af51925a9 100644 --- a/src/datadogV2/model/model_list_findings_response.rs +++ b/src/datadogV2/model/model_list_findings_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when listing findings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListFindingsResponse { diff --git a/src/datadogV2/model/model_list_powerpacks_response.rs b/src/datadogV2/model/model_list_powerpacks_response.rs index 748aee2be..04f773da7 100644 --- a/src/datadogV2/model/model_list_powerpacks_response.rs +++ b/src/datadogV2/model/model_list_powerpacks_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object which includes all powerpack configurations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListPowerpacksResponse { diff --git a/src/datadogV2/model/model_list_rules_response.rs b/src/datadogV2/model/model_list_rules_response.rs index 33e51f612..cd9b3ba8f 100644 --- a/src/datadogV2/model/model_list_rules_response.rs +++ b/src/datadogV2/model/model_list_rules_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard rules response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListRulesResponse { diff --git a/src/datadogV2/model/model_list_rules_response_data_item.rs b/src/datadogV2/model/model_list_rules_response_data_item.rs index b6217a8ea..be399d6bf 100644 --- a/src/datadogV2/model/model_list_rules_response_data_item.rs +++ b/src/datadogV2/model/model_list_rules_response_data_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Rule details. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListRulesResponseDataItem { diff --git a/src/datadogV2/model/model_list_rules_response_links.rs b/src/datadogV2/model/model_list_rules_response_links.rs index 749e542c4..269684240 100644 --- a/src/datadogV2/model/model_list_rules_response_links.rs +++ b/src/datadogV2/model/model_list_rules_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ListRulesResponseLinks { diff --git a/src/datadogV2/model/model_list_teams_include.rs b/src/datadogV2/model/model_list_teams_include.rs index 2f72b4b15..7e7c6d8fc 100644 --- a/src/datadogV2/model/model_list_teams_include.rs +++ b/src/datadogV2/model/model_list_teams_include.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ListTeamsInclude { #[serde(rename = "team_links")] diff --git a/src/datadogV2/model/model_list_teams_sort.rs b/src/datadogV2/model/model_list_teams_sort.rs index 83c35a45b..a2e597882 100644 --- a/src/datadogV2/model/model_list_teams_sort.rs +++ b/src/datadogV2/model/model_list_teams_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ListTeamsSort { #[serde(rename = "name")] diff --git a/src/datadogV2/model/model_log.rs b/src/datadogV2/model/model_log.rs index d6df7a9ee..a9e403f29 100644 --- a/src/datadogV2/model/model_log.rs +++ b/src/datadogV2/model/model_log.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object description of a log after being processed and stored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Log { diff --git a/src/datadogV2/model/model_log_attributes.rs b/src/datadogV2/model/model_log_attributes.rs index a1f25c557..4a2983a96 100644 --- a/src/datadogV2/model/model_log_attributes.rs +++ b/src/datadogV2/model/model_log_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// JSON object containing all log attributes and their associated values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogAttributes { diff --git a/src/datadogV2/model/model_log_type.rs b/src/datadogV2/model/model_log_type.rs index f977f4344..763bda4dd 100644 --- a/src/datadogV2/model/model_log_type.rs +++ b/src/datadogV2/model/model_log_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogType { #[serde(rename = "log")] diff --git a/src/datadogV2/model/model_logs_aggregate_bucket.rs b/src/datadogV2/model/model_logs_aggregate_bucket.rs index 6f57f3f4d..7b670c282 100644 --- a/src/datadogV2/model/model_logs_aggregate_bucket.rs +++ b/src/datadogV2/model/model_logs_aggregate_bucket.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A bucket values +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAggregateBucket { diff --git a/src/datadogV2/model/model_logs_aggregate_bucket_value.rs b/src/datadogV2/model/model_logs_aggregate_bucket_value.rs index 5ccdb7a61..d7cbd1625 100644 --- a/src/datadogV2/model/model_logs_aggregate_bucket_value.rs +++ b/src/datadogV2/model/model_logs_aggregate_bucket_value.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A bucket value, can be either a timeseries or a single value +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum LogsAggregateBucketValue { diff --git a/src/datadogV2/model/model_logs_aggregate_bucket_value_timeseries.rs b/src/datadogV2/model/model_logs_aggregate_bucket_value_timeseries.rs index c2bd914fe..cb7b7ffe4 100644 --- a/src/datadogV2/model/model_logs_aggregate_bucket_value_timeseries.rs +++ b/src/datadogV2/model/model_logs_aggregate_bucket_value_timeseries.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A timeseries array +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAggregateBucketValueTimeseries {} diff --git a/src/datadogV2/model/model_logs_aggregate_bucket_value_timeseries_point.rs b/src/datadogV2/model/model_logs_aggregate_bucket_value_timeseries_point.rs index 58e3fd939..740f7653c 100644 --- a/src/datadogV2/model/model_logs_aggregate_bucket_value_timeseries_point.rs +++ b/src/datadogV2/model/model_logs_aggregate_bucket_value_timeseries_point.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A timeseries point +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAggregateBucketValueTimeseriesPoint { diff --git a/src/datadogV2/model/model_logs_aggregate_request.rs b/src/datadogV2/model/model_logs_aggregate_request.rs index c8fd463d4..50b9be5e2 100644 --- a/src/datadogV2/model/model_logs_aggregate_request.rs +++ b/src/datadogV2/model/model_logs_aggregate_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object sent with the request to retrieve a list of logs from your organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAggregateRequest { diff --git a/src/datadogV2/model/model_logs_aggregate_request_page.rs b/src/datadogV2/model/model_logs_aggregate_request_page.rs index d9375582f..67965d934 100644 --- a/src/datadogV2/model/model_logs_aggregate_request_page.rs +++ b/src/datadogV2/model/model_logs_aggregate_request_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging settings +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAggregateRequestPage { diff --git a/src/datadogV2/model/model_logs_aggregate_response.rs b/src/datadogV2/model/model_logs_aggregate_response.rs index 4bdf48e21..e81214657 100644 --- a/src/datadogV2/model/model_logs_aggregate_response.rs +++ b/src/datadogV2/model/model_logs_aggregate_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object for the logs aggregate API endpoint +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAggregateResponse { diff --git a/src/datadogV2/model/model_logs_aggregate_response_data.rs b/src/datadogV2/model/model_logs_aggregate_response_data.rs index edd0671da..6b9c01ce6 100644 --- a/src/datadogV2/model/model_logs_aggregate_response_data.rs +++ b/src/datadogV2/model/model_logs_aggregate_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The query results +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAggregateResponseData { diff --git a/src/datadogV2/model/model_logs_aggregate_response_status.rs b/src/datadogV2/model/model_logs_aggregate_response_status.rs index cceae06e6..0fe3ca12f 100644 --- a/src/datadogV2/model/model_logs_aggregate_response_status.rs +++ b/src/datadogV2/model/model_logs_aggregate_response_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsAggregateResponseStatus { #[serde(rename = "done")] diff --git a/src/datadogV2/model/model_logs_aggregate_sort.rs b/src/datadogV2/model/model_logs_aggregate_sort.rs index 1dcc16ff6..7ee4f9c14 100644 --- a/src/datadogV2/model/model_logs_aggregate_sort.rs +++ b/src/datadogV2/model/model_logs_aggregate_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A sort rule +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsAggregateSort { diff --git a/src/datadogV2/model/model_logs_aggregate_sort_type.rs b/src/datadogV2/model/model_logs_aggregate_sort_type.rs index 2c3e82599..97ee1f00b 100644 --- a/src/datadogV2/model/model_logs_aggregate_sort_type.rs +++ b/src/datadogV2/model/model_logs_aggregate_sort_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsAggregateSortType { #[serde(rename = "alphabetical")] diff --git a/src/datadogV2/model/model_logs_aggregation_function.rs b/src/datadogV2/model/model_logs_aggregation_function.rs index eb797b4c6..795a40ad5 100644 --- a/src/datadogV2/model/model_logs_aggregation_function.rs +++ b/src/datadogV2/model/model_logs_aggregation_function.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsAggregationFunction { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_logs_archive.rs b/src/datadogV2/model/model_logs_archive.rs index c1aee32be..c352787b9 100644 --- a/src/datadogV2/model/model_logs_archive.rs +++ b/src/datadogV2/model/model_logs_archive.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The logs archive. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchive { diff --git a/src/datadogV2/model/model_logs_archive_attributes.rs b/src/datadogV2/model/model_logs_archive_attributes.rs index 862eec8f3..49b3bfb58 100644 --- a/src/datadogV2/model/model_logs_archive_attributes.rs +++ b/src/datadogV2/model/model_logs_archive_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes associated with the archive. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveAttributes { diff --git a/src/datadogV2/model/model_logs_archive_create_request.rs b/src/datadogV2/model/model_logs_archive_create_request.rs index eaf93ad5c..5041e36f4 100644 --- a/src/datadogV2/model/model_logs_archive_create_request.rs +++ b/src/datadogV2/model/model_logs_archive_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The logs archive. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveCreateRequest { diff --git a/src/datadogV2/model/model_logs_archive_create_request_attributes.rs b/src/datadogV2/model/model_logs_archive_create_request_attributes.rs index 807299875..b0aa241e3 100644 --- a/src/datadogV2/model/model_logs_archive_create_request_attributes.rs +++ b/src/datadogV2/model/model_logs_archive_create_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes associated with the archive. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveCreateRequestAttributes { diff --git a/src/datadogV2/model/model_logs_archive_create_request_definition.rs b/src/datadogV2/model/model_logs_archive_create_request_definition.rs index 1e9a5373b..e7052d54d 100644 --- a/src/datadogV2/model/model_logs_archive_create_request_definition.rs +++ b/src/datadogV2/model/model_logs_archive_create_request_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The definition of an archive. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveCreateRequestDefinition { diff --git a/src/datadogV2/model/model_logs_archive_create_request_destination.rs b/src/datadogV2/model/model_logs_archive_create_request_destination.rs index 847efce87..1e1066e32 100644 --- a/src/datadogV2/model/model_logs_archive_create_request_destination.rs +++ b/src/datadogV2/model/model_logs_archive_create_request_destination.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An archive's destination. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum LogsArchiveCreateRequestDestination { diff --git a/src/datadogV2/model/model_logs_archive_definition.rs b/src/datadogV2/model/model_logs_archive_definition.rs index 1609b4f1d..6f302efa1 100644 --- a/src/datadogV2/model/model_logs_archive_definition.rs +++ b/src/datadogV2/model/model_logs_archive_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The definition of an archive. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveDefinition { diff --git a/src/datadogV2/model/model_logs_archive_destination.rs b/src/datadogV2/model/model_logs_archive_destination.rs index 0d175ae7d..be3530fd2 100644 --- a/src/datadogV2/model/model_logs_archive_destination.rs +++ b/src/datadogV2/model/model_logs_archive_destination.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An archive's destination. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum LogsArchiveDestination { diff --git a/src/datadogV2/model/model_logs_archive_destination_azure.rs b/src/datadogV2/model/model_logs_archive_destination_azure.rs index 37bcc99db..54685d2bb 100644 --- a/src/datadogV2/model/model_logs_archive_destination_azure.rs +++ b/src/datadogV2/model/model_logs_archive_destination_azure.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Azure archive destination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveDestinationAzure { diff --git a/src/datadogV2/model/model_logs_archive_destination_azure_type.rs b/src/datadogV2/model/model_logs_archive_destination_azure_type.rs index 728c76729..17ae28d0f 100644 --- a/src/datadogV2/model/model_logs_archive_destination_azure_type.rs +++ b/src/datadogV2/model/model_logs_archive_destination_azure_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsArchiveDestinationAzureType { #[serde(rename = "azure")] diff --git a/src/datadogV2/model/model_logs_archive_destination_gcs.rs b/src/datadogV2/model/model_logs_archive_destination_gcs.rs index 2d8ab9939..17f46d720 100644 --- a/src/datadogV2/model/model_logs_archive_destination_gcs.rs +++ b/src/datadogV2/model/model_logs_archive_destination_gcs.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The GCS archive destination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveDestinationGCS { diff --git a/src/datadogV2/model/model_logs_archive_destination_gcs_type.rs b/src/datadogV2/model/model_logs_archive_destination_gcs_type.rs index c8051554c..878ad6852 100644 --- a/src/datadogV2/model/model_logs_archive_destination_gcs_type.rs +++ b/src/datadogV2/model/model_logs_archive_destination_gcs_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsArchiveDestinationGCSType { #[serde(rename = "gcs")] diff --git a/src/datadogV2/model/model_logs_archive_destination_s3.rs b/src/datadogV2/model/model_logs_archive_destination_s3.rs index 0f9470872..509413218 100644 --- a/src/datadogV2/model/model_logs_archive_destination_s3.rs +++ b/src/datadogV2/model/model_logs_archive_destination_s3.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The S3 archive destination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveDestinationS3 { diff --git a/src/datadogV2/model/model_logs_archive_destination_s3_type.rs b/src/datadogV2/model/model_logs_archive_destination_s3_type.rs index 29d0e1347..01b4e75d2 100644 --- a/src/datadogV2/model/model_logs_archive_destination_s3_type.rs +++ b/src/datadogV2/model/model_logs_archive_destination_s3_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsArchiveDestinationS3Type { #[serde(rename = "s3")] diff --git a/src/datadogV2/model/model_logs_archive_integration_azure.rs b/src/datadogV2/model/model_logs_archive_integration_azure.rs index 260a840ff..381d288fb 100644 --- a/src/datadogV2/model/model_logs_archive_integration_azure.rs +++ b/src/datadogV2/model/model_logs_archive_integration_azure.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Azure archive's integration destination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveIntegrationAzure { diff --git a/src/datadogV2/model/model_logs_archive_integration_gcs.rs b/src/datadogV2/model/model_logs_archive_integration_gcs.rs index 7d32af8c6..5c58696ba 100644 --- a/src/datadogV2/model/model_logs_archive_integration_gcs.rs +++ b/src/datadogV2/model/model_logs_archive_integration_gcs.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The GCS archive's integration destination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveIntegrationGCS { diff --git a/src/datadogV2/model/model_logs_archive_integration_s3.rs b/src/datadogV2/model/model_logs_archive_integration_s3.rs index cd870dea7..441cfdb66 100644 --- a/src/datadogV2/model/model_logs_archive_integration_s3.rs +++ b/src/datadogV2/model/model_logs_archive_integration_s3.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The S3 Archive's integration destination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveIntegrationS3 { diff --git a/src/datadogV2/model/model_logs_archive_order.rs b/src/datadogV2/model/model_logs_archive_order.rs index 8471db525..94f347e76 100644 --- a/src/datadogV2/model/model_logs_archive_order.rs +++ b/src/datadogV2/model/model_logs_archive_order.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A ordered list of archive IDs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveOrder { diff --git a/src/datadogV2/model/model_logs_archive_order_attributes.rs b/src/datadogV2/model/model_logs_archive_order_attributes.rs index e015e0927..ee348e589 100644 --- a/src/datadogV2/model/model_logs_archive_order_attributes.rs +++ b/src/datadogV2/model/model_logs_archive_order_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes associated with the archive order. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveOrderAttributes { diff --git a/src/datadogV2/model/model_logs_archive_order_definition.rs b/src/datadogV2/model/model_logs_archive_order_definition.rs index c3cbaa1f3..8d5ec050b 100644 --- a/src/datadogV2/model/model_logs_archive_order_definition.rs +++ b/src/datadogV2/model/model_logs_archive_order_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The definition of an archive order. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchiveOrderDefinition { diff --git a/src/datadogV2/model/model_logs_archive_order_definition_type.rs b/src/datadogV2/model/model_logs_archive_order_definition_type.rs index 1e420cdeb..661fb2ef2 100644 --- a/src/datadogV2/model/model_logs_archive_order_definition_type.rs +++ b/src/datadogV2/model/model_logs_archive_order_definition_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsArchiveOrderDefinitionType { #[serde(rename = "archive_order")] diff --git a/src/datadogV2/model/model_logs_archive_state.rs b/src/datadogV2/model/model_logs_archive_state.rs index 931362ccb..3c6183d44 100644 --- a/src/datadogV2/model/model_logs_archive_state.rs +++ b/src/datadogV2/model/model_logs_archive_state.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsArchiveState { #[serde(rename = "UNKNOWN")] diff --git a/src/datadogV2/model/model_logs_archives.rs b/src/datadogV2/model/model_logs_archives.rs index c89b0f429..38f7da423 100644 --- a/src/datadogV2/model/model_logs_archives.rs +++ b/src/datadogV2/model/model_logs_archives.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The available archives. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsArchives { diff --git a/src/datadogV2/model/model_logs_compute.rs b/src/datadogV2/model/model_logs_compute.rs index b93cb0604..2428d7bec 100644 --- a/src/datadogV2/model/model_logs_compute.rs +++ b/src/datadogV2/model/model_logs_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A compute rule to compute metrics or timeseries +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsCompute { diff --git a/src/datadogV2/model/model_logs_compute_type.rs b/src/datadogV2/model/model_logs_compute_type.rs index 258d9b646..6040ab5b5 100644 --- a/src/datadogV2/model/model_logs_compute_type.rs +++ b/src/datadogV2/model/model_logs_compute_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsComputeType { #[serde(rename = "timeseries")] diff --git a/src/datadogV2/model/model_logs_group_by.rs b/src/datadogV2/model/model_logs_group_by.rs index c31e51013..7b4329d85 100644 --- a/src/datadogV2/model/model_logs_group_by.rs +++ b/src/datadogV2/model/model_logs_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group by rule +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsGroupBy { diff --git a/src/datadogV2/model/model_logs_group_by_histogram.rs b/src/datadogV2/model/model_logs_group_by_histogram.rs index bcab18d86..fa2de3068 100644 --- a/src/datadogV2/model/model_logs_group_by_histogram.rs +++ b/src/datadogV2/model/model_logs_group_by_histogram.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Used to perform a histogram computation (only for measure facets). /// Note: at most 100 buckets are allowed, the number of buckets is (max - min)/interval. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsGroupByHistogram { diff --git a/src/datadogV2/model/model_logs_group_by_missing.rs b/src/datadogV2/model/model_logs_group_by_missing.rs index b198eadc3..0e440d720 100644 --- a/src/datadogV2/model/model_logs_group_by_missing.rs +++ b/src/datadogV2/model/model_logs_group_by_missing.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// The value to use for logs that don't have the facet used to group by +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum LogsGroupByMissing { diff --git a/src/datadogV2/model/model_logs_group_by_total.rs b/src/datadogV2/model/model_logs_group_by_total.rs index c7b9ea26d..a5840f08b 100644 --- a/src/datadogV2/model/model_logs_group_by_total.rs +++ b/src/datadogV2/model/model_logs_group_by_total.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A resulting object to put the given computes in over all the matching records. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum LogsGroupByTotal { diff --git a/src/datadogV2/model/model_logs_list_request.rs b/src/datadogV2/model/model_logs_list_request.rs index 64dd7b373..65906b7be 100644 --- a/src/datadogV2/model/model_logs_list_request.rs +++ b/src/datadogV2/model/model_logs_list_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The request for a logs list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsListRequest { diff --git a/src/datadogV2/model/model_logs_list_request_page.rs b/src/datadogV2/model/model_logs_list_request_page.rs index 52732eb51..887166940 100644 --- a/src/datadogV2/model/model_logs_list_request_page.rs +++ b/src/datadogV2/model/model_logs_list_request_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes for listing logs. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsListRequestPage { diff --git a/src/datadogV2/model/model_logs_list_response.rs b/src/datadogV2/model/model_logs_list_response.rs index 1020936df..443be01b5 100644 --- a/src/datadogV2/model/model_logs_list_response.rs +++ b/src/datadogV2/model/model_logs_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object with all logs matching the request and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsListResponse { diff --git a/src/datadogV2/model/model_logs_list_response_links.rs b/src/datadogV2/model/model_logs_list_response_links.rs index e9b1de979..707a9d98c 100644 --- a/src/datadogV2/model/model_logs_list_response_links.rs +++ b/src/datadogV2/model/model_logs_list_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsListResponseLinks { diff --git a/src/datadogV2/model/model_logs_metric_compute.rs b/src/datadogV2/model/model_logs_metric_compute.rs index e7fa75f76..2a5edd6b0 100644 --- a/src/datadogV2/model/model_logs_metric_compute.rs +++ b/src/datadogV2/model/model_logs_metric_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The compute rule to compute the log-based metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricCompute { diff --git a/src/datadogV2/model/model_logs_metric_compute_aggregation_type.rs b/src/datadogV2/model/model_logs_metric_compute_aggregation_type.rs index 51ca261ef..09444e6a8 100644 --- a/src/datadogV2/model/model_logs_metric_compute_aggregation_type.rs +++ b/src/datadogV2/model/model_logs_metric_compute_aggregation_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsMetricComputeAggregationType { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_logs_metric_create_attributes.rs b/src/datadogV2/model/model_logs_metric_create_attributes.rs index ec54b4cd9..5a21d0e08 100644 --- a/src/datadogV2/model/model_logs_metric_create_attributes.rs +++ b/src/datadogV2/model/model_logs_metric_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing the Datadog log-based metric to create. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricCreateAttributes { diff --git a/src/datadogV2/model/model_logs_metric_create_data.rs b/src/datadogV2/model/model_logs_metric_create_data.rs index edbc9eaca..04299f40c 100644 --- a/src/datadogV2/model/model_logs_metric_create_data.rs +++ b/src/datadogV2/model/model_logs_metric_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new log-based metric properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricCreateData { diff --git a/src/datadogV2/model/model_logs_metric_create_request.rs b/src/datadogV2/model/model_logs_metric_create_request.rs index e36da3c42..a25b542a6 100644 --- a/src/datadogV2/model/model_logs_metric_create_request.rs +++ b/src/datadogV2/model/model_logs_metric_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new log-based metric body. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricCreateRequest { diff --git a/src/datadogV2/model/model_logs_metric_filter.rs b/src/datadogV2/model/model_logs_metric_filter.rs index 11ea2b6fa..0f7b9b1c4 100644 --- a/src/datadogV2/model/model_logs_metric_filter.rs +++ b/src/datadogV2/model/model_logs_metric_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The log-based metric filter. Logs matching this filter will be aggregated in this metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricFilter { diff --git a/src/datadogV2/model/model_logs_metric_group_by.rs b/src/datadogV2/model/model_logs_metric_group_by.rs index d0a18aefb..37eb00908 100644 --- a/src/datadogV2/model/model_logs_metric_group_by.rs +++ b/src/datadogV2/model/model_logs_metric_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group by rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricGroupBy { diff --git a/src/datadogV2/model/model_logs_metric_response.rs b/src/datadogV2/model/model_logs_metric_response.rs index 81c4ec820..252fcc40a 100644 --- a/src/datadogV2/model/model_logs_metric_response.rs +++ b/src/datadogV2/model/model_logs_metric_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The log-based metric object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricResponse { diff --git a/src/datadogV2/model/model_logs_metric_response_attributes.rs b/src/datadogV2/model/model_logs_metric_response_attributes.rs index 403f987fc..752af8fa5 100644 --- a/src/datadogV2/model/model_logs_metric_response_attributes.rs +++ b/src/datadogV2/model/model_logs_metric_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing a Datadog log-based metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricResponseAttributes { diff --git a/src/datadogV2/model/model_logs_metric_response_compute.rs b/src/datadogV2/model/model_logs_metric_response_compute.rs index 5d768e953..448333bed 100644 --- a/src/datadogV2/model/model_logs_metric_response_compute.rs +++ b/src/datadogV2/model/model_logs_metric_response_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The compute rule to compute the log-based metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricResponseCompute { diff --git a/src/datadogV2/model/model_logs_metric_response_compute_aggregation_type.rs b/src/datadogV2/model/model_logs_metric_response_compute_aggregation_type.rs index e1995ac6c..6cb57eda4 100644 --- a/src/datadogV2/model/model_logs_metric_response_compute_aggregation_type.rs +++ b/src/datadogV2/model/model_logs_metric_response_compute_aggregation_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsMetricResponseComputeAggregationType { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_logs_metric_response_data.rs b/src/datadogV2/model/model_logs_metric_response_data.rs index 1e62689ce..133557a97 100644 --- a/src/datadogV2/model/model_logs_metric_response_data.rs +++ b/src/datadogV2/model/model_logs_metric_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The log-based metric properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricResponseData { diff --git a/src/datadogV2/model/model_logs_metric_response_filter.rs b/src/datadogV2/model/model_logs_metric_response_filter.rs index e71f62f56..af27a1248 100644 --- a/src/datadogV2/model/model_logs_metric_response_filter.rs +++ b/src/datadogV2/model/model_logs_metric_response_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The log-based metric filter. Logs matching this filter will be aggregated in this metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricResponseFilter { diff --git a/src/datadogV2/model/model_logs_metric_response_group_by.rs b/src/datadogV2/model/model_logs_metric_response_group_by.rs index c02581478..1e274635f 100644 --- a/src/datadogV2/model/model_logs_metric_response_group_by.rs +++ b/src/datadogV2/model/model_logs_metric_response_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group by rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricResponseGroupBy { diff --git a/src/datadogV2/model/model_logs_metric_type.rs b/src/datadogV2/model/model_logs_metric_type.rs index ab4389108..3ba90d8e7 100644 --- a/src/datadogV2/model/model_logs_metric_type.rs +++ b/src/datadogV2/model/model_logs_metric_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsMetricType { #[serde(rename = "logs_metrics")] diff --git a/src/datadogV2/model/model_logs_metric_update_attributes.rs b/src/datadogV2/model/model_logs_metric_update_attributes.rs index c15780dc3..eac8433f2 100644 --- a/src/datadogV2/model/model_logs_metric_update_attributes.rs +++ b/src/datadogV2/model/model_logs_metric_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The log-based metric properties that will be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricUpdateAttributes { diff --git a/src/datadogV2/model/model_logs_metric_update_compute.rs b/src/datadogV2/model/model_logs_metric_update_compute.rs index 905f245fc..ea8ae02cc 100644 --- a/src/datadogV2/model/model_logs_metric_update_compute.rs +++ b/src/datadogV2/model/model_logs_metric_update_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The compute rule to compute the log-based metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricUpdateCompute { diff --git a/src/datadogV2/model/model_logs_metric_update_data.rs b/src/datadogV2/model/model_logs_metric_update_data.rs index 0fa2d1cef..1b1e2300f 100644 --- a/src/datadogV2/model/model_logs_metric_update_data.rs +++ b/src/datadogV2/model/model_logs_metric_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new log-based metric properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricUpdateData { diff --git a/src/datadogV2/model/model_logs_metric_update_request.rs b/src/datadogV2/model/model_logs_metric_update_request.rs index b00b20301..677f623aa 100644 --- a/src/datadogV2/model/model_logs_metric_update_request.rs +++ b/src/datadogV2/model/model_logs_metric_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new log-based metric body. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricUpdateRequest { diff --git a/src/datadogV2/model/model_logs_metrics_response.rs b/src/datadogV2/model/model_logs_metrics_response.rs index a7b0c2534..4112a2ddc 100644 --- a/src/datadogV2/model/model_logs_metrics_response.rs +++ b/src/datadogV2/model/model_logs_metrics_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// All the available log-based metric objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsMetricsResponse { diff --git a/src/datadogV2/model/model_logs_query_filter.rs b/src/datadogV2/model/model_logs_query_filter.rs index d56dc9886..7976318fd 100644 --- a/src/datadogV2/model/model_logs_query_filter.rs +++ b/src/datadogV2/model/model_logs_query_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The search and filter query settings +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsQueryFilter { diff --git a/src/datadogV2/model/model_logs_query_options.rs b/src/datadogV2/model/model_logs_query_options.rs index f040a21e6..1e5e5c52a 100644 --- a/src/datadogV2/model/model_logs_query_options.rs +++ b/src/datadogV2/model/model_logs_query_options.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Global query options that are used during the query. /// Note: you should supply either timezone or time offset, but not both. Otherwise, the query will fail. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsQueryOptions { diff --git a/src/datadogV2/model/model_logs_response_metadata.rs b/src/datadogV2/model/model_logs_response_metadata.rs index b8bc25e21..6f84bc5a9 100644 --- a/src/datadogV2/model/model_logs_response_metadata.rs +++ b/src/datadogV2/model/model_logs_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsResponseMetadata { diff --git a/src/datadogV2/model/model_logs_response_metadata_page.rs b/src/datadogV2/model/model_logs_response_metadata_page.rs index e34ccdbdf..dae65bac1 100644 --- a/src/datadogV2/model/model_logs_response_metadata_page.rs +++ b/src/datadogV2/model/model_logs_response_metadata_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsResponseMetadataPage { diff --git a/src/datadogV2/model/model_logs_sort.rs b/src/datadogV2/model/model_logs_sort.rs index e7dc86fed..79720f577 100644 --- a/src/datadogV2/model/model_logs_sort.rs +++ b/src/datadogV2/model/model_logs_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsSort { #[serde(rename = "timestamp")] diff --git a/src/datadogV2/model/model_logs_sort_order.rs b/src/datadogV2/model/model_logs_sort_order.rs index d5bd330ab..86241a52b 100644 --- a/src/datadogV2/model/model_logs_sort_order.rs +++ b/src/datadogV2/model/model_logs_sort_order.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsSortOrder { #[serde(rename = "asc")] diff --git a/src/datadogV2/model/model_logs_storage_tier.rs b/src/datadogV2/model/model_logs_storage_tier.rs index 3dd7cf106..45f9ccfc3 100644 --- a/src/datadogV2/model/model_logs_storage_tier.rs +++ b/src/datadogV2/model/model_logs_storage_tier.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum LogsStorageTier { #[serde(rename = "indexes")] diff --git a/src/datadogV2/model/model_logs_warning.rs b/src/datadogV2/model/model_logs_warning.rs index 5a7cfc950..03d76a2ef 100644 --- a/src/datadogV2/model/model_logs_warning.rs +++ b/src/datadogV2/model/model_logs_warning.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A warning message indicating something that went wrong with the query +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct LogsWarning { diff --git a/src/datadogV2/model/model_metric.rs b/src/datadogV2/model/model_metric.rs index c02fa2e1d..3a3b27e27 100644 --- a/src/datadogV2/model/model_metric.rs +++ b/src/datadogV2/model/model_metric.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single metric tag configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Metric { diff --git a/src/datadogV2/model/model_metric_active_configuration_type.rs b/src/datadogV2/model/model_metric_active_configuration_type.rs index 3edc54b25..429860cdf 100644 --- a/src/datadogV2/model/model_metric_active_configuration_type.rs +++ b/src/datadogV2/model/model_metric_active_configuration_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricActiveConfigurationType { #[serde(rename = "actively_queried_configurations")] diff --git a/src/datadogV2/model/model_metric_all_tags.rs b/src/datadogV2/model/model_metric_all_tags.rs index 6c7110c4c..12104b8fe 100644 --- a/src/datadogV2/model/model_metric_all_tags.rs +++ b/src/datadogV2/model/model_metric_all_tags.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single metric's indexed tags. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricAllTags { diff --git a/src/datadogV2/model/model_metric_all_tags_attributes.rs b/src/datadogV2/model/model_metric_all_tags_attributes.rs index db077926e..05502c4da 100644 --- a/src/datadogV2/model/model_metric_all_tags_attributes.rs +++ b/src/datadogV2/model/model_metric_all_tags_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the definition of a metric's tags. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricAllTagsAttributes { diff --git a/src/datadogV2/model/model_metric_all_tags_response.rs b/src/datadogV2/model/model_metric_all_tags_response.rs index 671031e6e..456b32bd3 100644 --- a/src/datadogV2/model/model_metric_all_tags_response.rs +++ b/src/datadogV2/model/model_metric_all_tags_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object that includes a single metric's indexed tags. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricAllTagsResponse { diff --git a/src/datadogV2/model/model_metric_bulk_configure_tags_type.rs b/src/datadogV2/model/model_metric_bulk_configure_tags_type.rs index f60f65971..8fcf0f070 100644 --- a/src/datadogV2/model/model_metric_bulk_configure_tags_type.rs +++ b/src/datadogV2/model/model_metric_bulk_configure_tags_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricBulkConfigureTagsType { #[serde(rename = "metric_bulk_configure_tags")] diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_create.rs b/src/datadogV2/model/model_metric_bulk_tag_config_create.rs index 2a357763c..0408014b1 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_create.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object to bulk configure tags for metrics matching the given prefix. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigCreate { diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_create_attributes.rs b/src/datadogV2/model/model_metric_bulk_tag_config_create_attributes.rs index ae24f3501..f11098c68 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_create_attributes.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Optional parameters for bulk creating metric tag configurations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigCreateAttributes { diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_create_request.rs b/src/datadogV2/model/model_metric_bulk_tag_config_create_request.rs index 7ec53a82c..151503671 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_create_request.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Wrapper object for a single bulk tag configuration request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigCreateRequest { diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_delete.rs b/src/datadogV2/model/model_metric_bulk_tag_config_delete.rs index cfc4cf46f..753b6085e 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_delete.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_delete.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object to bulk delete all tag configurations for metrics matching the given prefix. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigDelete { diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_delete_attributes.rs b/src/datadogV2/model/model_metric_bulk_tag_config_delete_attributes.rs index e72ab80ae..d3ac595b8 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_delete_attributes.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_delete_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Optional parameters for bulk deleting metric tag configurations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigDeleteAttributes { diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_delete_request.rs b/src/datadogV2/model/model_metric_bulk_tag_config_delete_request.rs index 7ed25863c..6afc03560 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_delete_request.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_delete_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Wrapper object for a single bulk tag deletion request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigDeleteRequest { diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_response.rs b/src/datadogV2/model/model_metric_bulk_tag_config_response.rs index aaf223af8..e3009e586 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_response.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Wrapper for a single bulk tag configuration status response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigResponse { diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_status.rs b/src/datadogV2/model/model_metric_bulk_tag_config_status.rs index 2e85e60a3..ebb69968b 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_status.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_status.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The status of a request to bulk configure metric tags. /// It contains the fields from the original request for reference. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigStatus { diff --git a/src/datadogV2/model/model_metric_bulk_tag_config_status_attributes.rs b/src/datadogV2/model/model_metric_bulk_tag_config_status_attributes.rs index 9830b117e..cfadf87c9 100644 --- a/src/datadogV2/model/model_metric_bulk_tag_config_status_attributes.rs +++ b/src/datadogV2/model/model_metric_bulk_tag_config_status_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Optional attributes for the status of a bulk tag configuration request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricBulkTagConfigStatusAttributes { diff --git a/src/datadogV2/model/model_metric_content_encoding.rs b/src/datadogV2/model/model_metric_content_encoding.rs index b4ad3f8b6..abddbc2ac 100644 --- a/src/datadogV2/model/model_metric_content_encoding.rs +++ b/src/datadogV2/model/model_metric_content_encoding.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricContentEncoding { #[serde(rename = "deflate")] diff --git a/src/datadogV2/model/model_metric_custom_aggregation.rs b/src/datadogV2/model/model_metric_custom_aggregation.rs index b7099b473..73ea7d0e9 100644 --- a/src/datadogV2/model/model_metric_custom_aggregation.rs +++ b/src/datadogV2/model/model_metric_custom_aggregation.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A time and space aggregation combination for use in query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricCustomAggregation { diff --git a/src/datadogV2/model/model_metric_custom_space_aggregation.rs b/src/datadogV2/model/model_metric_custom_space_aggregation.rs index 578b08515..1122f16d3 100644 --- a/src/datadogV2/model/model_metric_custom_space_aggregation.rs +++ b/src/datadogV2/model/model_metric_custom_space_aggregation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricCustomSpaceAggregation { #[serde(rename = "avg")] diff --git a/src/datadogV2/model/model_metric_custom_time_aggregation.rs b/src/datadogV2/model/model_metric_custom_time_aggregation.rs index d86111ec0..654e01f16 100644 --- a/src/datadogV2/model/model_metric_custom_time_aggregation.rs +++ b/src/datadogV2/model/model_metric_custom_time_aggregation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricCustomTimeAggregation { #[serde(rename = "avg")] diff --git a/src/datadogV2/model/model_metric_distinct_volume.rs b/src/datadogV2/model/model_metric_distinct_volume.rs index 94ccb6e32..d7b075ebc 100644 --- a/src/datadogV2/model/model_metric_distinct_volume.rs +++ b/src/datadogV2/model/model_metric_distinct_volume.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single metric's distinct volume. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricDistinctVolume { diff --git a/src/datadogV2/model/model_metric_distinct_volume_attributes.rs b/src/datadogV2/model/model_metric_distinct_volume_attributes.rs index 783f29eef..e9275962b 100644 --- a/src/datadogV2/model/model_metric_distinct_volume_attributes.rs +++ b/src/datadogV2/model/model_metric_distinct_volume_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the definition of a metric's distinct volume. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricDistinctVolumeAttributes { diff --git a/src/datadogV2/model/model_metric_distinct_volume_type.rs b/src/datadogV2/model/model_metric_distinct_volume_type.rs index 386f42ca3..f30ba286c 100644 --- a/src/datadogV2/model/model_metric_distinct_volume_type.rs +++ b/src/datadogV2/model/model_metric_distinct_volume_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricDistinctVolumeType { #[serde(rename = "distinct_metric_volumes")] diff --git a/src/datadogV2/model/model_metric_estimate.rs b/src/datadogV2/model/model_metric_estimate.rs index 74d36b6ec..fa237a600 100644 --- a/src/datadogV2/model/model_metric_estimate.rs +++ b/src/datadogV2/model/model_metric_estimate.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a metric cardinality estimate. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricEstimate { diff --git a/src/datadogV2/model/model_metric_estimate_attributes.rs b/src/datadogV2/model/model_metric_estimate_attributes.rs index eb18bb0a0..8bbe17cdb 100644 --- a/src/datadogV2/model/model_metric_estimate_attributes.rs +++ b/src/datadogV2/model/model_metric_estimate_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the definition of a metric estimate attribute. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricEstimateAttributes { diff --git a/src/datadogV2/model/model_metric_estimate_resource_type.rs b/src/datadogV2/model/model_metric_estimate_resource_type.rs index 9b9701638..887959771 100644 --- a/src/datadogV2/model/model_metric_estimate_resource_type.rs +++ b/src/datadogV2/model/model_metric_estimate_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricEstimateResourceType { #[serde(rename = "metric_cardinality_estimate")] diff --git a/src/datadogV2/model/model_metric_estimate_response.rs b/src/datadogV2/model/model_metric_estimate_response.rs index 9d0553f0a..80d208da7 100644 --- a/src/datadogV2/model/model_metric_estimate_response.rs +++ b/src/datadogV2/model/model_metric_estimate_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object that includes metric cardinality estimates. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricEstimateResponse { diff --git a/src/datadogV2/model/model_metric_estimate_type.rs b/src/datadogV2/model/model_metric_estimate_type.rs index 49a6fadc5..e14f1dafe 100644 --- a/src/datadogV2/model/model_metric_estimate_type.rs +++ b/src/datadogV2/model/model_metric_estimate_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricEstimateType { #[serde(rename = "count_or_gauge")] diff --git a/src/datadogV2/model/model_metric_ingested_indexed_volume.rs b/src/datadogV2/model/model_metric_ingested_indexed_volume.rs index 89e14281e..ac39a25fd 100644 --- a/src/datadogV2/model/model_metric_ingested_indexed_volume.rs +++ b/src/datadogV2/model/model_metric_ingested_indexed_volume.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single metric's ingested and indexed volume. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricIngestedIndexedVolume { diff --git a/src/datadogV2/model/model_metric_ingested_indexed_volume_attributes.rs b/src/datadogV2/model/model_metric_ingested_indexed_volume_attributes.rs index 07f913548..6a86af893 100644 --- a/src/datadogV2/model/model_metric_ingested_indexed_volume_attributes.rs +++ b/src/datadogV2/model/model_metric_ingested_indexed_volume_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the definition of a metric's ingested and indexed volume. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricIngestedIndexedVolumeAttributes { diff --git a/src/datadogV2/model/model_metric_ingested_indexed_volume_type.rs b/src/datadogV2/model/model_metric_ingested_indexed_volume_type.rs index edf8f3ca7..c1e1d3a61 100644 --- a/src/datadogV2/model/model_metric_ingested_indexed_volume_type.rs +++ b/src/datadogV2/model/model_metric_ingested_indexed_volume_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricIngestedIndexedVolumeType { #[serde(rename = "metric_volumes")] diff --git a/src/datadogV2/model/model_metric_intake_type.rs b/src/datadogV2/model/model_metric_intake_type.rs index e6986d245..51759d449 100644 --- a/src/datadogV2/model/model_metric_intake_type.rs +++ b/src/datadogV2/model/model_metric_intake_type.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV2/model/model_metric_metadata.rs b/src/datadogV2/model/model_metric_metadata.rs index 4dfb3d38b..f76508949 100644 --- a/src/datadogV2/model/model_metric_metadata.rs +++ b/src/datadogV2/model/model_metric_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata for the metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricMetadata { diff --git a/src/datadogV2/model/model_metric_origin.rs b/src/datadogV2/model/model_metric_origin.rs index 30d3bfcc2..7f0d03fd2 100644 --- a/src/datadogV2/model/model_metric_origin.rs +++ b/src/datadogV2/model/model_metric_origin.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metric origin information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricOrigin { diff --git a/src/datadogV2/model/model_metric_payload.rs b/src/datadogV2/model/model_metric_payload.rs index 0c4d6e590..dfa4ecf76 100644 --- a/src/datadogV2/model/model_metric_payload.rs +++ b/src/datadogV2/model/model_metric_payload.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metrics' payload. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricPayload { diff --git a/src/datadogV2/model/model_metric_point.rs b/src/datadogV2/model/model_metric_point.rs index 70aa452d7..b3f224501 100644 --- a/src/datadogV2/model/model_metric_point.rs +++ b/src/datadogV2/model/model_metric_point.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A point object is of the form `{POSIX_timestamp, numeric_value}`. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricPoint { diff --git a/src/datadogV2/model/model_metric_resource.rs b/src/datadogV2/model/model_metric_resource.rs index c31785e4a..8d402fdbe 100644 --- a/src/datadogV2/model/model_metric_resource.rs +++ b/src/datadogV2/model/model_metric_resource.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metric resource. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricResource { diff --git a/src/datadogV2/model/model_metric_series.rs b/src/datadogV2/model/model_metric_series.rs index 9b9097a64..d43b1272c 100644 --- a/src/datadogV2/model/model_metric_series.rs +++ b/src/datadogV2/model/model_metric_series.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// A metric to submit to Datadog. /// See [Datadog metrics](). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricSeries { diff --git a/src/datadogV2/model/model_metric_suggested_tags_and_aggregations.rs b/src/datadogV2/model/model_metric_suggested_tags_and_aggregations.rs index e0344e2ae..35dca59ed 100644 --- a/src/datadogV2/model/model_metric_suggested_tags_and_aggregations.rs +++ b/src/datadogV2/model/model_metric_suggested_tags_and_aggregations.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single metric's actively queried tags and aggregations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricSuggestedTagsAndAggregations { diff --git a/src/datadogV2/model/model_metric_suggested_tags_and_aggregations_response.rs b/src/datadogV2/model/model_metric_suggested_tags_and_aggregations_response.rs index cdbcd083b..2a338cc83 100644 --- a/src/datadogV2/model/model_metric_suggested_tags_and_aggregations_response.rs +++ b/src/datadogV2/model/model_metric_suggested_tags_and_aggregations_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object that includes a single metric's actively queried tags and aggregations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricSuggestedTagsAndAggregationsResponse { diff --git a/src/datadogV2/model/model_metric_suggested_tags_attributes.rs b/src/datadogV2/model/model_metric_suggested_tags_attributes.rs index 6274b56fb..535a2de29 100644 --- a/src/datadogV2/model/model_metric_suggested_tags_attributes.rs +++ b/src/datadogV2/model/model_metric_suggested_tags_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the definition of a metric's actively queried tags and aggregations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricSuggestedTagsAttributes { diff --git a/src/datadogV2/model/model_metric_tag_configuration.rs b/src/datadogV2/model/model_metric_tag_configuration.rs index 0b2574ab6..9064ef515 100644 --- a/src/datadogV2/model/model_metric_tag_configuration.rs +++ b/src/datadogV2/model/model_metric_tag_configuration.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single metric tag configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfiguration { diff --git a/src/datadogV2/model/model_metric_tag_configuration_attributes.rs b/src/datadogV2/model/model_metric_tag_configuration_attributes.rs index a26aafcb3..60e0c07c8 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_attributes.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the definition of a metric tag configuration attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfigurationAttributes { diff --git a/src/datadogV2/model/model_metric_tag_configuration_create_attributes.rs b/src/datadogV2/model/model_metric_tag_configuration_create_attributes.rs index 15a7775af..9ca46904a 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_create_attributes.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the definition of a metric tag configuration to be created. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfigurationCreateAttributes { diff --git a/src/datadogV2/model/model_metric_tag_configuration_create_data.rs b/src/datadogV2/model/model_metric_tag_configuration_create_data.rs index 7b64dedb8..345a9af14 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_create_data.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single metric to be configure tags on. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfigurationCreateData { diff --git a/src/datadogV2/model/model_metric_tag_configuration_create_request.rs b/src/datadogV2/model/model_metric_tag_configuration_create_request.rs index aacc2ac5b..44ac65610 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_create_request.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object that includes the metric that you would like to configure tags for. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfigurationCreateRequest { diff --git a/src/datadogV2/model/model_metric_tag_configuration_metric_types.rs b/src/datadogV2/model/model_metric_tag_configuration_metric_types.rs index fa5ed06ee..a16eb88e5 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_metric_types.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_metric_types.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricTagConfigurationMetricTypes { #[serde(rename = "gauge")] diff --git a/src/datadogV2/model/model_metric_tag_configuration_response.rs b/src/datadogV2/model/model_metric_tag_configuration_response.rs index e4a458da8..7b71ca44a 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_response.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object which includes a single metric's tag configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfigurationResponse { diff --git a/src/datadogV2/model/model_metric_tag_configuration_type.rs b/src/datadogV2/model/model_metric_tag_configuration_type.rs index 993ab81af..9d46bd76a 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_type.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricTagConfigurationType { #[serde(rename = "manage_tags")] diff --git a/src/datadogV2/model/model_metric_tag_configuration_update_attributes.rs b/src/datadogV2/model/model_metric_tag_configuration_update_attributes.rs index e9194599c..213cb2a1f 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_update_attributes.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the definition of a metric tag configuration to be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfigurationUpdateAttributes { diff --git a/src/datadogV2/model/model_metric_tag_configuration_update_data.rs b/src/datadogV2/model/model_metric_tag_configuration_update_data.rs index 7ce82125f..e0baae24c 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_update_data.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single tag configuration to be edited. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfigurationUpdateData { diff --git a/src/datadogV2/model/model_metric_tag_configuration_update_request.rs b/src/datadogV2/model/model_metric_tag_configuration_update_request.rs index b4d0d92cf..a29c2c0af 100644 --- a/src/datadogV2/model/model_metric_tag_configuration_update_request.rs +++ b/src/datadogV2/model/model_metric_tag_configuration_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object that includes the metric that you would like to edit the tag configuration on. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricTagConfigurationUpdateRequest { diff --git a/src/datadogV2/model/model_metric_type.rs b/src/datadogV2/model/model_metric_type.rs index c88b699da..11cf43903 100644 --- a/src/datadogV2/model/model_metric_type.rs +++ b/src/datadogV2/model/model_metric_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricType { #[serde(rename = "metrics")] diff --git a/src/datadogV2/model/model_metric_volumes.rs b/src/datadogV2/model/model_metric_volumes.rs index 10bf75ee6..6f700aa13 100644 --- a/src/datadogV2/model/model_metric_volumes.rs +++ b/src/datadogV2/model/model_metric_volumes.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Possible response objects for a metric's volume. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum MetricVolumes { diff --git a/src/datadogV2/model/model_metric_volumes_response.rs b/src/datadogV2/model/model_metric_volumes_response.rs index 36b40cdff..41af9db62 100644 --- a/src/datadogV2/model/model_metric_volumes_response.rs +++ b/src/datadogV2/model/model_metric_volumes_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object which includes a single metric's volume. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricVolumesResponse { diff --git a/src/datadogV2/model/model_metrics_aggregator.rs b/src/datadogV2/model/model_metrics_aggregator.rs index 063ca8457..bf284c3f7 100644 --- a/src/datadogV2/model/model_metrics_aggregator.rs +++ b/src/datadogV2/model/model_metrics_aggregator.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricsAggregator { #[serde(rename = "avg")] diff --git a/src/datadogV2/model/model_metrics_and_metric_tag_configurations.rs b/src/datadogV2/model/model_metrics_and_metric_tag_configurations.rs index 68d4e9e68..22b66009e 100644 --- a/src/datadogV2/model/model_metrics_and_metric_tag_configurations.rs +++ b/src/datadogV2/model/model_metrics_and_metric_tag_configurations.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Object for a metrics and metric tag configurations. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum MetricsAndMetricTagConfigurations { diff --git a/src/datadogV2/model/model_metrics_and_metric_tag_configurations_response.rs b/src/datadogV2/model/model_metrics_and_metric_tag_configurations_response.rs index 36e88d273..7cb62380a 100644 --- a/src/datadogV2/model/model_metrics_and_metric_tag_configurations_response.rs +++ b/src/datadogV2/model/model_metrics_and_metric_tag_configurations_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object that includes metrics and metric tag configurations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricsAndMetricTagConfigurationsResponse { diff --git a/src/datadogV2/model/model_metrics_data_source.rs b/src/datadogV2/model/model_metrics_data_source.rs index fbb544009..dbd1854b9 100644 --- a/src/datadogV2/model/model_metrics_data_source.rs +++ b/src/datadogV2/model/model_metrics_data_source.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MetricsDataSource { #[serde(rename = "metrics")] diff --git a/src/datadogV2/model/model_metrics_scalar_query.rs b/src/datadogV2/model/model_metrics_scalar_query.rs index 6d7f7d717..123ef8d82 100644 --- a/src/datadogV2/model/model_metrics_scalar_query.rs +++ b/src/datadogV2/model/model_metrics_scalar_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An individual scalar metrics query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricsScalarQuery { diff --git a/src/datadogV2/model/model_metrics_timeseries_query.rs b/src/datadogV2/model/model_metrics_timeseries_query.rs index 36b8154d5..9ab89df8e 100644 --- a/src/datadogV2/model/model_metrics_timeseries_query.rs +++ b/src/datadogV2/model/model_metrics_timeseries_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An individual timeseries metrics query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MetricsTimeseriesQuery { diff --git a/src/datadogV2/model/model_monitor_config_policy_attribute_create_request.rs b/src/datadogV2/model/model_monitor_config_policy_attribute_create_request.rs index a8d223373..9cc9fd1df 100644 --- a/src/datadogV2/model/model_monitor_config_policy_attribute_create_request.rs +++ b/src/datadogV2/model/model_monitor_config_policy_attribute_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Policy and policy type for a monitor configuration policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyAttributeCreateRequest { diff --git a/src/datadogV2/model/model_monitor_config_policy_attribute_edit_request.rs b/src/datadogV2/model/model_monitor_config_policy_attribute_edit_request.rs index bc921f0d5..a5133f608 100644 --- a/src/datadogV2/model/model_monitor_config_policy_attribute_edit_request.rs +++ b/src/datadogV2/model/model_monitor_config_policy_attribute_edit_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Policy and policy type for a monitor configuration policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyAttributeEditRequest { diff --git a/src/datadogV2/model/model_monitor_config_policy_attribute_response.rs b/src/datadogV2/model/model_monitor_config_policy_attribute_response.rs index c6adcf251..940b331ed 100644 --- a/src/datadogV2/model/model_monitor_config_policy_attribute_response.rs +++ b/src/datadogV2/model/model_monitor_config_policy_attribute_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Policy and policy type for a monitor configuration policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyAttributeResponse { diff --git a/src/datadogV2/model/model_monitor_config_policy_create_data.rs b/src/datadogV2/model/model_monitor_config_policy_create_data.rs index 613e9abaf..02f87907f 100644 --- a/src/datadogV2/model/model_monitor_config_policy_create_data.rs +++ b/src/datadogV2/model/model_monitor_config_policy_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A monitor configuration policy data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyCreateData { diff --git a/src/datadogV2/model/model_monitor_config_policy_create_request.rs b/src/datadogV2/model/model_monitor_config_policy_create_request.rs index dc964d4a1..cb9802199 100644 --- a/src/datadogV2/model/model_monitor_config_policy_create_request.rs +++ b/src/datadogV2/model/model_monitor_config_policy_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request for creating a monitor configuration policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyCreateRequest { diff --git a/src/datadogV2/model/model_monitor_config_policy_edit_data.rs b/src/datadogV2/model/model_monitor_config_policy_edit_data.rs index 72374a856..3898adf7d 100644 --- a/src/datadogV2/model/model_monitor_config_policy_edit_data.rs +++ b/src/datadogV2/model/model_monitor_config_policy_edit_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A monitor configuration policy data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyEditData { diff --git a/src/datadogV2/model/model_monitor_config_policy_edit_request.rs b/src/datadogV2/model/model_monitor_config_policy_edit_request.rs index 9a1ed4d83..b26f1d132 100644 --- a/src/datadogV2/model/model_monitor_config_policy_edit_request.rs +++ b/src/datadogV2/model/model_monitor_config_policy_edit_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request for editing a monitor configuration policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyEditRequest { diff --git a/src/datadogV2/model/model_monitor_config_policy_list_response.rs b/src/datadogV2/model/model_monitor_config_policy_list_response.rs index 6fc2364b2..f17fe139e 100644 --- a/src/datadogV2/model/model_monitor_config_policy_list_response.rs +++ b/src/datadogV2/model/model_monitor_config_policy_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for retrieving all monitor configuration policies. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyListResponse { diff --git a/src/datadogV2/model/model_monitor_config_policy_policy.rs b/src/datadogV2/model/model_monitor_config_policy_policy.rs index 0a0dc53a2..f4e92cb7c 100644 --- a/src/datadogV2/model/model_monitor_config_policy_policy.rs +++ b/src/datadogV2/model/model_monitor_config_policy_policy.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Configuration for the policy. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum MonitorConfigPolicyPolicy { diff --git a/src/datadogV2/model/model_monitor_config_policy_policy_create_request.rs b/src/datadogV2/model/model_monitor_config_policy_policy_create_request.rs index c0624ff85..24aa1d814 100644 --- a/src/datadogV2/model/model_monitor_config_policy_policy_create_request.rs +++ b/src/datadogV2/model/model_monitor_config_policy_policy_create_request.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Configuration for the policy. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum MonitorConfigPolicyPolicyCreateRequest { diff --git a/src/datadogV2/model/model_monitor_config_policy_resource_type.rs b/src/datadogV2/model/model_monitor_config_policy_resource_type.rs index 2feb3b696..fdc913a9f 100644 --- a/src/datadogV2/model/model_monitor_config_policy_resource_type.rs +++ b/src/datadogV2/model/model_monitor_config_policy_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorConfigPolicyResourceType { #[serde(rename = "monitor-config-policy")] diff --git a/src/datadogV2/model/model_monitor_config_policy_response.rs b/src/datadogV2/model/model_monitor_config_policy_response.rs index 52e195be3..acc7408f7 100644 --- a/src/datadogV2/model/model_monitor_config_policy_response.rs +++ b/src/datadogV2/model/model_monitor_config_policy_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for retrieving a monitor configuration policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyResponse { diff --git a/src/datadogV2/model/model_monitor_config_policy_response_data.rs b/src/datadogV2/model/model_monitor_config_policy_response_data.rs index 92b137372..cb84f5abd 100644 --- a/src/datadogV2/model/model_monitor_config_policy_response_data.rs +++ b/src/datadogV2/model/model_monitor_config_policy_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A monitor configuration policy data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyResponseData { diff --git a/src/datadogV2/model/model_monitor_config_policy_tag_policy.rs b/src/datadogV2/model/model_monitor_config_policy_tag_policy.rs index 48dceb74f..da52aa6c8 100644 --- a/src/datadogV2/model/model_monitor_config_policy_tag_policy.rs +++ b/src/datadogV2/model/model_monitor_config_policy_tag_policy.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Tag attributes of a monitor configuration policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyTagPolicy { diff --git a/src/datadogV2/model/model_monitor_config_policy_tag_policy_create_request.rs b/src/datadogV2/model/model_monitor_config_policy_tag_policy_create_request.rs index 1151e9dbd..63cf76897 100644 --- a/src/datadogV2/model/model_monitor_config_policy_tag_policy_create_request.rs +++ b/src/datadogV2/model/model_monitor_config_policy_tag_policy_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Tag attributes of a monitor configuration policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorConfigPolicyTagPolicyCreateRequest { diff --git a/src/datadogV2/model/model_monitor_config_policy_type.rs b/src/datadogV2/model/model_monitor_config_policy_type.rs index b56d0f061..1b01539c5 100644 --- a/src/datadogV2/model/model_monitor_config_policy_type.rs +++ b/src/datadogV2/model/model_monitor_config_policy_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorConfigPolicyType { #[serde(rename = "tag")] diff --git a/src/datadogV2/model/model_monitor_downtime_match_resource_type.rs b/src/datadogV2/model/model_monitor_downtime_match_resource_type.rs index 4f264c2d7..72203ad5d 100644 --- a/src/datadogV2/model/model_monitor_downtime_match_resource_type.rs +++ b/src/datadogV2/model/model_monitor_downtime_match_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum MonitorDowntimeMatchResourceType { #[serde(rename = "downtime_match")] diff --git a/src/datadogV2/model/model_monitor_downtime_match_response.rs b/src/datadogV2/model/model_monitor_downtime_match_response.rs index 8ca467ade..592febb74 100644 --- a/src/datadogV2/model/model_monitor_downtime_match_response.rs +++ b/src/datadogV2/model/model_monitor_downtime_match_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for retrieving all downtime matches for a monitor. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorDowntimeMatchResponse { diff --git a/src/datadogV2/model/model_monitor_downtime_match_response_attributes.rs b/src/datadogV2/model/model_monitor_downtime_match_response_attributes.rs index 4504b73d2..d166500c5 100644 --- a/src/datadogV2/model/model_monitor_downtime_match_response_attributes.rs +++ b/src/datadogV2/model/model_monitor_downtime_match_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Downtime match details. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorDowntimeMatchResponseAttributes { diff --git a/src/datadogV2/model/model_monitor_downtime_match_response_data.rs b/src/datadogV2/model/model_monitor_downtime_match_response_data.rs index 9bea4e012..4f26eb3a6 100644 --- a/src/datadogV2/model/model_monitor_downtime_match_response_data.rs +++ b/src/datadogV2/model/model_monitor_downtime_match_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A downtime match. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorDowntimeMatchResponseData { diff --git a/src/datadogV2/model/model_monitor_type.rs b/src/datadogV2/model/model_monitor_type.rs index 83b063c3a..dba39a2f2 100644 --- a/src/datadogV2/model/model_monitor_type.rs +++ b/src/datadogV2/model/model_monitor_type.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes from the monitor that triggered the event. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonitorType { diff --git a/src/datadogV2/model/model_monthly_cost_attribution_attributes.rs b/src/datadogV2/model/model_monthly_cost_attribution_attributes.rs index 4f06800b1..f7fa5c3bc 100644 --- a/src/datadogV2/model/model_monthly_cost_attribution_attributes.rs +++ b/src/datadogV2/model/model_monthly_cost_attribution_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Cost Attribution by Tag for a given organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyCostAttributionAttributes { diff --git a/src/datadogV2/model/model_monthly_cost_attribution_body.rs b/src/datadogV2/model/model_monthly_cost_attribution_body.rs index 1fe3a5e1f..0327cbe6c 100644 --- a/src/datadogV2/model/model_monthly_cost_attribution_body.rs +++ b/src/datadogV2/model/model_monthly_cost_attribution_body.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Cost data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyCostAttributionBody { diff --git a/src/datadogV2/model/model_monthly_cost_attribution_meta.rs b/src/datadogV2/model/model_monthly_cost_attribution_meta.rs index 6c11d4d63..9e4c67d87 100644 --- a/src/datadogV2/model/model_monthly_cost_attribution_meta.rs +++ b/src/datadogV2/model/model_monthly_cost_attribution_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing document metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyCostAttributionMeta { diff --git a/src/datadogV2/model/model_monthly_cost_attribution_pagination.rs b/src/datadogV2/model/model_monthly_cost_attribution_pagination.rs index 607f37a50..81e4383e1 100644 --- a/src/datadogV2/model/model_monthly_cost_attribution_pagination.rs +++ b/src/datadogV2/model/model_monthly_cost_attribution_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata for the current pagination. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyCostAttributionPagination { diff --git a/src/datadogV2/model/model_monthly_cost_attribution_response.rs b/src/datadogV2/model/model_monthly_cost_attribution_response.rs index b30094732..04644a011 100644 --- a/src/datadogV2/model/model_monthly_cost_attribution_response.rs +++ b/src/datadogV2/model/model_monthly_cost_attribution_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing the monthly cost attribution by tag(s). +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct MonthlyCostAttributionResponse { diff --git a/src/datadogV2/model/model_nullable_relationship_to_user.rs b/src/datadogV2/model/model_nullable_relationship_to_user.rs index 25e120e6f..650ff85e8 100644 --- a/src/datadogV2/model/model_nullable_relationship_to_user.rs +++ b/src/datadogV2/model/model_nullable_relationship_to_user.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NullableRelationshipToUser { diff --git a/src/datadogV2/model/model_nullable_relationship_to_user_data.rs b/src/datadogV2/model/model_nullable_relationship_to_user_data.rs index d28857503..9eac47b76 100644 --- a/src/datadogV2/model/model_nullable_relationship_to_user_data.rs +++ b/src/datadogV2/model/model_nullable_relationship_to_user_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to user object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct NullableRelationshipToUserData { diff --git a/src/datadogV2/model/model_okta_account.rs b/src/datadogV2/model/model_okta_account.rs index 744a1caa8..e8f90e6a6 100644 --- a/src/datadogV2/model/model_okta_account.rs +++ b/src/datadogV2/model/model_okta_account.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Schema for an Okta account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccount { diff --git a/src/datadogV2/model/model_okta_account_attributes.rs b/src/datadogV2/model/model_okta_account_attributes.rs index d497fb6ea..d41a11f33 100644 --- a/src/datadogV2/model/model_okta_account_attributes.rs +++ b/src/datadogV2/model/model_okta_account_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for an Okta account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccountAttributes { diff --git a/src/datadogV2/model/model_okta_account_request.rs b/src/datadogV2/model/model_okta_account_request.rs index e1102cc50..b61fc6522 100644 --- a/src/datadogV2/model/model_okta_account_request.rs +++ b/src/datadogV2/model/model_okta_account_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object for an Okta account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccountRequest { diff --git a/src/datadogV2/model/model_okta_account_response.rs b/src/datadogV2/model/model_okta_account_response.rs index b9594b990..be4cad550 100644 --- a/src/datadogV2/model/model_okta_account_response.rs +++ b/src/datadogV2/model/model_okta_account_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object for an Okta account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccountResponse { diff --git a/src/datadogV2/model/model_okta_account_response_data.rs b/src/datadogV2/model/model_okta_account_response_data.rs index 82342d87a..ea49d0202 100644 --- a/src/datadogV2/model/model_okta_account_response_data.rs +++ b/src/datadogV2/model/model_okta_account_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object of an Okta account +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccountResponseData { diff --git a/src/datadogV2/model/model_okta_account_type.rs b/src/datadogV2/model/model_okta_account_type.rs index 172d71a7f..d946e8667 100644 --- a/src/datadogV2/model/model_okta_account_type.rs +++ b/src/datadogV2/model/model_okta_account_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum OktaAccountType { #[serde(rename = "okta-accounts")] diff --git a/src/datadogV2/model/model_okta_account_update_request.rs b/src/datadogV2/model/model_okta_account_update_request.rs index 75f1e96a1..7792ce21d 100644 --- a/src/datadogV2/model/model_okta_account_update_request.rs +++ b/src/datadogV2/model/model_okta_account_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Payload schema when updating an Okta account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccountUpdateRequest { diff --git a/src/datadogV2/model/model_okta_account_update_request_attributes.rs b/src/datadogV2/model/model_okta_account_update_request_attributes.rs index ad83fc340..1a23651bd 100644 --- a/src/datadogV2/model/model_okta_account_update_request_attributes.rs +++ b/src/datadogV2/model/model_okta_account_update_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes object for updating an Okta account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccountUpdateRequestAttributes { diff --git a/src/datadogV2/model/model_okta_account_update_request_data.rs b/src/datadogV2/model/model_okta_account_update_request_data.rs index b9e430b45..4be51ac43 100644 --- a/src/datadogV2/model/model_okta_account_update_request_data.rs +++ b/src/datadogV2/model/model_okta_account_update_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data object for updating an Okta account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccountUpdateRequestData { diff --git a/src/datadogV2/model/model_okta_accounts_response.rs b/src/datadogV2/model/model_okta_accounts_response.rs index 2153f7be9..7e9dc4c85 100644 --- a/src/datadogV2/model/model_okta_accounts_response.rs +++ b/src/datadogV2/model/model_okta_accounts_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The expected response schema when getting Okta accounts. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OktaAccountsResponse { diff --git a/src/datadogV2/model/model_on_demand_concurrency_cap.rs b/src/datadogV2/model/model_on_demand_concurrency_cap.rs index 252a77704..b905aebee 100644 --- a/src/datadogV2/model/model_on_demand_concurrency_cap.rs +++ b/src/datadogV2/model/model_on_demand_concurrency_cap.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// On-demand concurrency cap. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OnDemandConcurrencyCap { diff --git a/src/datadogV2/model/model_on_demand_concurrency_cap_attributes.rs b/src/datadogV2/model/model_on_demand_concurrency_cap_attributes.rs index 319a88aaa..c5ea83ccc 100644 --- a/src/datadogV2/model/model_on_demand_concurrency_cap_attributes.rs +++ b/src/datadogV2/model/model_on_demand_concurrency_cap_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// On-demand concurrency cap attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OnDemandConcurrencyCapAttributes { diff --git a/src/datadogV2/model/model_on_demand_concurrency_cap_response.rs b/src/datadogV2/model/model_on_demand_concurrency_cap_response.rs index 6c581029d..da911e29c 100644 --- a/src/datadogV2/model/model_on_demand_concurrency_cap_response.rs +++ b/src/datadogV2/model/model_on_demand_concurrency_cap_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// On-demand concurrency cap response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OnDemandConcurrencyCapResponse { diff --git a/src/datadogV2/model/model_on_demand_concurrency_cap_type.rs b/src/datadogV2/model/model_on_demand_concurrency_cap_type.rs index fdd0a29ae..b07eda9f8 100644 --- a/src/datadogV2/model/model_on_demand_concurrency_cap_type.rs +++ b/src/datadogV2/model/model_on_demand_concurrency_cap_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum OnDemandConcurrencyCapType { #[serde(rename = "on_demand_concurrency_cap")] diff --git a/src/datadogV2/model/model_opsgenie_service_create_attributes.rs b/src/datadogV2/model/model_opsgenie_service_create_attributes.rs index 339d5937f..0a9a1d02b 100644 --- a/src/datadogV2/model/model_opsgenie_service_create_attributes.rs +++ b/src/datadogV2/model/model_opsgenie_service_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Opsgenie service attributes for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceCreateAttributes { diff --git a/src/datadogV2/model/model_opsgenie_service_create_data.rs b/src/datadogV2/model/model_opsgenie_service_create_data.rs index ad68df950..75e34d2c3 100644 --- a/src/datadogV2/model/model_opsgenie_service_create_data.rs +++ b/src/datadogV2/model/model_opsgenie_service_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Opsgenie service data for a create request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceCreateData { diff --git a/src/datadogV2/model/model_opsgenie_service_create_request.rs b/src/datadogV2/model/model_opsgenie_service_create_request.rs index 5226f8e21..acf105cfb 100644 --- a/src/datadogV2/model/model_opsgenie_service_create_request.rs +++ b/src/datadogV2/model/model_opsgenie_service_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create request for an Opsgenie service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceCreateRequest { diff --git a/src/datadogV2/model/model_opsgenie_service_region_type.rs b/src/datadogV2/model/model_opsgenie_service_region_type.rs index f3382d263..998950fa8 100644 --- a/src/datadogV2/model/model_opsgenie_service_region_type.rs +++ b/src/datadogV2/model/model_opsgenie_service_region_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum OpsgenieServiceRegionType { #[serde(rename = "us")] diff --git a/src/datadogV2/model/model_opsgenie_service_response.rs b/src/datadogV2/model/model_opsgenie_service_response.rs index be75bd8b4..b2343e09f 100644 --- a/src/datadogV2/model/model_opsgenie_service_response.rs +++ b/src/datadogV2/model/model_opsgenie_service_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response of an Opsgenie service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceResponse { diff --git a/src/datadogV2/model/model_opsgenie_service_response_attributes.rs b/src/datadogV2/model/model_opsgenie_service_response_attributes.rs index 35f517191..20a6cc089 100644 --- a/src/datadogV2/model/model_opsgenie_service_response_attributes.rs +++ b/src/datadogV2/model/model_opsgenie_service_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes from an Opsgenie service response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceResponseAttributes { diff --git a/src/datadogV2/model/model_opsgenie_service_response_data.rs b/src/datadogV2/model/model_opsgenie_service_response_data.rs index e70fd5431..cf59ca45f 100644 --- a/src/datadogV2/model/model_opsgenie_service_response_data.rs +++ b/src/datadogV2/model/model_opsgenie_service_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Opsgenie service data from a response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceResponseData { diff --git a/src/datadogV2/model/model_opsgenie_service_type.rs b/src/datadogV2/model/model_opsgenie_service_type.rs index 452fdc446..a609c76d8 100644 --- a/src/datadogV2/model/model_opsgenie_service_type.rs +++ b/src/datadogV2/model/model_opsgenie_service_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum OpsgenieServiceType { #[serde(rename = "opsgenie-service")] diff --git a/src/datadogV2/model/model_opsgenie_service_update_attributes.rs b/src/datadogV2/model/model_opsgenie_service_update_attributes.rs index 062c4ed6e..4ffd94af5 100644 --- a/src/datadogV2/model/model_opsgenie_service_update_attributes.rs +++ b/src/datadogV2/model/model_opsgenie_service_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The Opsgenie service attributes for an update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceUpdateAttributes { diff --git a/src/datadogV2/model/model_opsgenie_service_update_data.rs b/src/datadogV2/model/model_opsgenie_service_update_data.rs index 73761b148..0f78a5656 100644 --- a/src/datadogV2/model/model_opsgenie_service_update_data.rs +++ b/src/datadogV2/model/model_opsgenie_service_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Opsgenie service for an update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceUpdateData { diff --git a/src/datadogV2/model/model_opsgenie_service_update_request.rs b/src/datadogV2/model/model_opsgenie_service_update_request.rs index 0fb997fc6..fe8ec55d0 100644 --- a/src/datadogV2/model/model_opsgenie_service_update_request.rs +++ b/src/datadogV2/model/model_opsgenie_service_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update request for an Opsgenie service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServiceUpdateRequest { diff --git a/src/datadogV2/model/model_opsgenie_services_response.rs b/src/datadogV2/model/model_opsgenie_services_response.rs index 5e403e817..724b32b4f 100644 --- a/src/datadogV2/model/model_opsgenie_services_response.rs +++ b/src/datadogV2/model/model_opsgenie_services_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with a list of Opsgenie services. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OpsgenieServicesResponse { diff --git a/src/datadogV2/model/model_organization.rs b/src/datadogV2/model/model_organization.rs index dbce909ed..1c1d087d6 100644 --- a/src/datadogV2/model/model_organization.rs +++ b/src/datadogV2/model/model_organization.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Organization object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Organization { diff --git a/src/datadogV2/model/model_organization_attributes.rs b/src/datadogV2/model/model_organization_attributes.rs index ea90f1a69..e7c2c17b5 100644 --- a/src/datadogV2/model/model_organization_attributes.rs +++ b/src/datadogV2/model/model_organization_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OrganizationAttributes { diff --git a/src/datadogV2/model/model_organizations_type.rs b/src/datadogV2/model/model_organizations_type.rs index 75d2f7261..ed903e512 100644 --- a/src/datadogV2/model/model_organizations_type.rs +++ b/src/datadogV2/model/model_organizations_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum OrganizationsType { #[serde(rename = "orgs")] diff --git a/src/datadogV2/model/model_outcome_type.rs b/src/datadogV2/model/model_outcome_type.rs index acd4e146c..146903c45 100644 --- a/src/datadogV2/model/model_outcome_type.rs +++ b/src/datadogV2/model/model_outcome_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum OutcomeType { #[serde(rename = "outcome")] diff --git a/src/datadogV2/model/model_outcomes_batch_attributes.rs b/src/datadogV2/model/model_outcomes_batch_attributes.rs index 07da4c3c2..836ac5b0b 100644 --- a/src/datadogV2/model/model_outcomes_batch_attributes.rs +++ b/src/datadogV2/model/model_outcomes_batch_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API attributes for a batched set of scorecard outcomes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesBatchAttributes { diff --git a/src/datadogV2/model/model_outcomes_batch_request.rs b/src/datadogV2/model/model_outcomes_batch_request.rs index def0d0305..50888822b 100644 --- a/src/datadogV2/model/model_outcomes_batch_request.rs +++ b/src/datadogV2/model/model_outcomes_batch_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard outcomes batch request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesBatchRequest { diff --git a/src/datadogV2/model/model_outcomes_batch_request_data.rs b/src/datadogV2/model/model_outcomes_batch_request_data.rs index 0fd1324ee..be2dc08ae 100644 --- a/src/datadogV2/model/model_outcomes_batch_request_data.rs +++ b/src/datadogV2/model/model_outcomes_batch_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard outcomes batch request data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesBatchRequestData { diff --git a/src/datadogV2/model/model_outcomes_batch_request_item.rs b/src/datadogV2/model/model_outcomes_batch_request_item.rs index 63426e84c..3ee71716c 100644 --- a/src/datadogV2/model/model_outcomes_batch_request_item.rs +++ b/src/datadogV2/model/model_outcomes_batch_request_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard outcome for a specific rule, for a given service within a batched update. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesBatchRequestItem { diff --git a/src/datadogV2/model/model_outcomes_batch_response.rs b/src/datadogV2/model/model_outcomes_batch_response.rs index b497d2cfd..19fe1c0db 100644 --- a/src/datadogV2/model/model_outcomes_batch_response.rs +++ b/src/datadogV2/model/model_outcomes_batch_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard outcomes batch response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesBatchResponse { diff --git a/src/datadogV2/model/model_outcomes_batch_response_attributes.rs b/src/datadogV2/model/model_outcomes_batch_response_attributes.rs index cbe607ede..a1dff08d9 100644 --- a/src/datadogV2/model/model_outcomes_batch_response_attributes.rs +++ b/src/datadogV2/model/model_outcomes_batch_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API attributes for an outcome. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesBatchResponseAttributes { diff --git a/src/datadogV2/model/model_outcomes_batch_response_meta.rs b/src/datadogV2/model/model_outcomes_batch_response_meta.rs index 22024009e..c8122c2b8 100644 --- a/src/datadogV2/model/model_outcomes_batch_response_meta.rs +++ b/src/datadogV2/model/model_outcomes_batch_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata pertaining to the bulk operation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesBatchResponseMeta { diff --git a/src/datadogV2/model/model_outcomes_batch_type.rs b/src/datadogV2/model/model_outcomes_batch_type.rs index f8c41f3a8..f983e75d9 100644 --- a/src/datadogV2/model/model_outcomes_batch_type.rs +++ b/src/datadogV2/model/model_outcomes_batch_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum OutcomesBatchType { #[serde(rename = "batched-outcome")] diff --git a/src/datadogV2/model/model_outcomes_response.rs b/src/datadogV2/model/model_outcomes_response.rs index 900786ac7..25f54f383 100644 --- a/src/datadogV2/model/model_outcomes_response.rs +++ b/src/datadogV2/model/model_outcomes_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard outcomes - the result of a rule for a service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesResponse { diff --git a/src/datadogV2/model/model_outcomes_response_data_item.rs b/src/datadogV2/model/model_outcomes_response_data_item.rs index 0a8c63e3b..d26e8371a 100644 --- a/src/datadogV2/model/model_outcomes_response_data_item.rs +++ b/src/datadogV2/model/model_outcomes_response_data_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single rule outcome. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesResponseDataItem { diff --git a/src/datadogV2/model/model_outcomes_response_included_item.rs b/src/datadogV2/model/model_outcomes_response_included_item.rs index 89780c7f2..e9e137290 100644 --- a/src/datadogV2/model/model_outcomes_response_included_item.rs +++ b/src/datadogV2/model/model_outcomes_response_included_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the included rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesResponseIncludedItem { diff --git a/src/datadogV2/model/model_outcomes_response_included_rule_attributes.rs b/src/datadogV2/model/model_outcomes_response_included_rule_attributes.rs index cc071e6aa..6247824ec 100644 --- a/src/datadogV2/model/model_outcomes_response_included_rule_attributes.rs +++ b/src/datadogV2/model/model_outcomes_response_included_rule_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Details of a rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesResponseIncludedRuleAttributes { diff --git a/src/datadogV2/model/model_outcomes_response_links.rs b/src/datadogV2/model/model_outcomes_response_links.rs index e21358fcd..4359331a4 100644 --- a/src/datadogV2/model/model_outcomes_response_links.rs +++ b/src/datadogV2/model/model_outcomes_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct OutcomesResponseLinks { diff --git a/src/datadogV2/model/model_pagination.rs b/src/datadogV2/model/model_pagination.rs index e5e97e1e1..b87578072 100644 --- a/src/datadogV2/model/model_pagination.rs +++ b/src/datadogV2/model/model_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Pagination object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Pagination { diff --git a/src/datadogV2/model/model_partial_api_key.rs b/src/datadogV2/model/model_partial_api_key.rs index dad1ec708..66a5f74f3 100644 --- a/src/datadogV2/model/model_partial_api_key.rs +++ b/src/datadogV2/model/model_partial_api_key.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Partial Datadog API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PartialAPIKey { diff --git a/src/datadogV2/model/model_partial_api_key_attributes.rs b/src/datadogV2/model/model_partial_api_key_attributes.rs index 3f1860123..4da93a1b2 100644 --- a/src/datadogV2/model/model_partial_api_key_attributes.rs +++ b/src/datadogV2/model/model_partial_api_key_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of a partial API key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PartialAPIKeyAttributes { diff --git a/src/datadogV2/model/model_partial_application_key.rs b/src/datadogV2/model/model_partial_application_key.rs index 5cc9c2541..a6605a9a3 100644 --- a/src/datadogV2/model/model_partial_application_key.rs +++ b/src/datadogV2/model/model_partial_application_key.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Partial Datadog application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PartialApplicationKey { diff --git a/src/datadogV2/model/model_partial_application_key_attributes.rs b/src/datadogV2/model/model_partial_application_key_attributes.rs index ad5e26e7e..2adde9c9a 100644 --- a/src/datadogV2/model/model_partial_application_key_attributes.rs +++ b/src/datadogV2/model/model_partial_application_key_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of a partial application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PartialApplicationKeyAttributes { diff --git a/src/datadogV2/model/model_partial_application_key_response.rs b/src/datadogV2/model/model_partial_application_key_response.rs index ba9092e7d..c2dafd210 100644 --- a/src/datadogV2/model/model_partial_application_key_response.rs +++ b/src/datadogV2/model/model_partial_application_key_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response for retrieving a partial application key. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PartialApplicationKeyResponse { diff --git a/src/datadogV2/model/model_permission.rs b/src/datadogV2/model/model_permission.rs index 40857eac2..b6352958c 100644 --- a/src/datadogV2/model/model_permission.rs +++ b/src/datadogV2/model/model_permission.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Permission object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Permission { diff --git a/src/datadogV2/model/model_permission_attributes.rs b/src/datadogV2/model/model_permission_attributes.rs index b3bfa0f98..eeac32a10 100644 --- a/src/datadogV2/model/model_permission_attributes.rs +++ b/src/datadogV2/model/model_permission_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of a permission. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PermissionAttributes { diff --git a/src/datadogV2/model/model_permissions_response.rs b/src/datadogV2/model/model_permissions_response.rs index 6a2cd203e..d0fd028d6 100644 --- a/src/datadogV2/model/model_permissions_response.rs +++ b/src/datadogV2/model/model_permissions_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Payload with API-returned permissions. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PermissionsResponse { diff --git a/src/datadogV2/model/model_permissions_type.rs b/src/datadogV2/model/model_permissions_type.rs index 1ec221a29..c47379b2f 100644 --- a/src/datadogV2/model/model_permissions_type.rs +++ b/src/datadogV2/model/model_permissions_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum PermissionsType { #[serde(rename = "permissions")] diff --git a/src/datadogV2/model/model_powerpack.rs b/src/datadogV2/model/model_powerpack.rs index a58109ae6..73d867e62 100644 --- a/src/datadogV2/model/model_powerpack.rs +++ b/src/datadogV2/model/model_powerpack.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpacks are templated groups of dashboard widgets you can save from an existing dashboard and turn into reusable packs in the widget tray. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Powerpack { diff --git a/src/datadogV2/model/model_powerpack_attributes.rs b/src/datadogV2/model/model_powerpack_attributes.rs index ed740e51d..c3b6f7bcc 100644 --- a/src/datadogV2/model/model_powerpack_attributes.rs +++ b/src/datadogV2/model/model_powerpack_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack attribute object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackAttributes { diff --git a/src/datadogV2/model/model_powerpack_data.rs b/src/datadogV2/model/model_powerpack_data.rs index ceb6e9a17..6d8f426c1 100644 --- a/src/datadogV2/model/model_powerpack_data.rs +++ b/src/datadogV2/model/model_powerpack_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack data object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackData { diff --git a/src/datadogV2/model/model_powerpack_group_widget.rs b/src/datadogV2/model/model_powerpack_group_widget.rs index d273b7b51..4547288e6 100644 --- a/src/datadogV2/model/model_powerpack_group_widget.rs +++ b/src/datadogV2/model/model_powerpack_group_widget.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack group widget definition object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackGroupWidget { diff --git a/src/datadogV2/model/model_powerpack_group_widget_definition.rs b/src/datadogV2/model/model_powerpack_group_widget_definition.rs index 99ddddab1..b12f7bdcf 100644 --- a/src/datadogV2/model/model_powerpack_group_widget_definition.rs +++ b/src/datadogV2/model/model_powerpack_group_widget_definition.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack group widget object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackGroupWidgetDefinition { diff --git a/src/datadogV2/model/model_powerpack_group_widget_layout.rs b/src/datadogV2/model/model_powerpack_group_widget_layout.rs index a55c2388a..20b33dc20 100644 --- a/src/datadogV2/model/model_powerpack_group_widget_layout.rs +++ b/src/datadogV2/model/model_powerpack_group_widget_layout.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack group widget layout. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackGroupWidgetLayout { diff --git a/src/datadogV2/model/model_powerpack_inner_widget_layout.rs b/src/datadogV2/model/model_powerpack_inner_widget_layout.rs index 6c2ad2bd3..b7ea45259 100644 --- a/src/datadogV2/model/model_powerpack_inner_widget_layout.rs +++ b/src/datadogV2/model/model_powerpack_inner_widget_layout.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack inner widget layout. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackInnerWidgetLayout { diff --git a/src/datadogV2/model/model_powerpack_inner_widgets.rs b/src/datadogV2/model/model_powerpack_inner_widgets.rs index 70cf369d1..a82901aff 100644 --- a/src/datadogV2/model/model_powerpack_inner_widgets.rs +++ b/src/datadogV2/model/model_powerpack_inner_widgets.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack group widget definition of individual widgets. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackInnerWidgets { diff --git a/src/datadogV2/model/model_powerpack_relationships.rs b/src/datadogV2/model/model_powerpack_relationships.rs index 5084a27fc..dee0a6a88 100644 --- a/src/datadogV2/model/model_powerpack_relationships.rs +++ b/src/datadogV2/model/model_powerpack_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack relationship object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackRelationships { diff --git a/src/datadogV2/model/model_powerpack_response.rs b/src/datadogV2/model/model_powerpack_response.rs index ae02b21dc..59b6f48f7 100644 --- a/src/datadogV2/model/model_powerpack_response.rs +++ b/src/datadogV2/model/model_powerpack_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object which includes a single powerpack configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackResponse { diff --git a/src/datadogV2/model/model_powerpack_response_links.rs b/src/datadogV2/model/model_powerpack_response_links.rs index db421a265..b094fcf19 100644 --- a/src/datadogV2/model/model_powerpack_response_links.rs +++ b/src/datadogV2/model/model_powerpack_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackResponseLinks { diff --git a/src/datadogV2/model/model_powerpack_template_variable.rs b/src/datadogV2/model/model_powerpack_template_variable.rs index 54e84334c..bcd727df7 100644 --- a/src/datadogV2/model/model_powerpack_template_variable.rs +++ b/src/datadogV2/model/model_powerpack_template_variable.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack template variables. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpackTemplateVariable { diff --git a/src/datadogV2/model/model_powerpacks_response_meta.rs b/src/datadogV2/model/model_powerpacks_response_meta.rs index bc77a670a..c9179d717 100644 --- a/src/datadogV2/model/model_powerpacks_response_meta.rs +++ b/src/datadogV2/model/model_powerpacks_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack response metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpacksResponseMeta { diff --git a/src/datadogV2/model/model_powerpacks_response_meta_pagination.rs b/src/datadogV2/model/model_powerpacks_response_meta_pagination.rs index 4bc4aee03..b956646f4 100644 --- a/src/datadogV2/model/model_powerpacks_response_meta_pagination.rs +++ b/src/datadogV2/model/model_powerpacks_response_meta_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Powerpack response pagination metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct PowerpacksResponseMetaPagination { diff --git a/src/datadogV2/model/model_process_summaries_meta.rs b/src/datadogV2/model/model_process_summaries_meta.rs index f2396b5aa..4bc145b96 100644 --- a/src/datadogV2/model/model_process_summaries_meta.rs +++ b/src/datadogV2/model/model_process_summaries_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response metadata object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProcessSummariesMeta { diff --git a/src/datadogV2/model/model_process_summaries_meta_page.rs b/src/datadogV2/model/model_process_summaries_meta_page.rs index b961d87bd..198f089f2 100644 --- a/src/datadogV2/model/model_process_summaries_meta_page.rs +++ b/src/datadogV2/model/model_process_summaries_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProcessSummariesMetaPage { diff --git a/src/datadogV2/model/model_process_summaries_response.rs b/src/datadogV2/model/model_process_summaries_response.rs index 874cfa5f3..c517f9ee7 100644 --- a/src/datadogV2/model/model_process_summaries_response.rs +++ b/src/datadogV2/model/model_process_summaries_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of process summaries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProcessSummariesResponse { diff --git a/src/datadogV2/model/model_process_summary.rs b/src/datadogV2/model/model_process_summary.rs index b9da1ae78..7c365dbbb 100644 --- a/src/datadogV2/model/model_process_summary.rs +++ b/src/datadogV2/model/model_process_summary.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Process summary object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProcessSummary { diff --git a/src/datadogV2/model/model_process_summary_attributes.rs b/src/datadogV2/model/model_process_summary_attributes.rs index acd68115a..ca021a609 100644 --- a/src/datadogV2/model/model_process_summary_attributes.rs +++ b/src/datadogV2/model/model_process_summary_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes for a process summary. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProcessSummaryAttributes { diff --git a/src/datadogV2/model/model_process_summary_type.rs b/src/datadogV2/model/model_process_summary_type.rs index cb2fe0bdf..f694d3f0f 100644 --- a/src/datadogV2/model/model_process_summary_type.rs +++ b/src/datadogV2/model/model_process_summary_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ProcessSummaryType { #[serde(rename = "process")] diff --git a/src/datadogV2/model/model_projected_cost.rs b/src/datadogV2/model/model_projected_cost.rs index 38f2d4483..05eb4e203 100644 --- a/src/datadogV2/model/model_projected_cost.rs +++ b/src/datadogV2/model/model_projected_cost.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Projected Cost data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProjectedCost { diff --git a/src/datadogV2/model/model_projected_cost_attributes.rs b/src/datadogV2/model/model_projected_cost_attributes.rs index ae860cb5c..842fa1665 100644 --- a/src/datadogV2/model/model_projected_cost_attributes.rs +++ b/src/datadogV2/model/model_projected_cost_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Projected Cost attributes data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProjectedCostAttributes { diff --git a/src/datadogV2/model/model_projected_cost_response.rs b/src/datadogV2/model/model_projected_cost_response.rs index f27c21aa6..c6e581239 100644 --- a/src/datadogV2/model/model_projected_cost_response.rs +++ b/src/datadogV2/model/model_projected_cost_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Projected Cost response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ProjectedCostResponse { diff --git a/src/datadogV2/model/model_projected_cost_type.rs b/src/datadogV2/model/model_projected_cost_type.rs index d823e9fa6..ca4db36d0 100644 --- a/src/datadogV2/model/model_projected_cost_type.rs +++ b/src/datadogV2/model/model_projected_cost_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ProjectedCostType { #[serde(rename = "projected_cost")] diff --git a/src/datadogV2/model/model_query_formula.rs b/src/datadogV2/model/model_query_formula.rs index fad77d8d2..3ee80f671 100644 --- a/src/datadogV2/model/model_query_formula.rs +++ b/src/datadogV2/model/model_query_formula.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A formula for calculation based on one or more queries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct QueryFormula { diff --git a/src/datadogV2/model/model_query_sort_order.rs b/src/datadogV2/model/model_query_sort_order.rs index ca93f5703..7d458d6f7 100644 --- a/src/datadogV2/model/model_query_sort_order.rs +++ b/src/datadogV2/model/model_query_sort_order.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum QuerySortOrder { #[serde(rename = "asc")] diff --git a/src/datadogV2/model/model_relationship_to_incident_attachment.rs b/src/datadogV2/model/model_relationship_to_incident_attachment.rs index 909396623..d769fb79a 100644 --- a/src/datadogV2/model/model_relationship_to_incident_attachment.rs +++ b/src/datadogV2/model/model_relationship_to_incident_attachment.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A relationship reference for attachments. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentAttachment { diff --git a/src/datadogV2/model/model_relationship_to_incident_attachment_data.rs b/src/datadogV2/model/model_relationship_to_incident_attachment_data.rs index 032f49fa1..5ac3b1781 100644 --- a/src/datadogV2/model/model_relationship_to_incident_attachment_data.rs +++ b/src/datadogV2/model/model_relationship_to_incident_attachment_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attachment relationship data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentAttachmentData { diff --git a/src/datadogV2/model/model_relationship_to_incident_impact_data.rs b/src/datadogV2/model/model_relationship_to_incident_impact_data.rs index 6f02f3edf..c80b2295c 100644 --- a/src/datadogV2/model/model_relationship_to_incident_impact_data.rs +++ b/src/datadogV2/model/model_relationship_to_incident_impact_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to impact object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentImpactData { diff --git a/src/datadogV2/model/model_relationship_to_incident_impacts.rs b/src/datadogV2/model/model_relationship_to_incident_impacts.rs index 404d30879..32fab710d 100644 --- a/src/datadogV2/model/model_relationship_to_incident_impacts.rs +++ b/src/datadogV2/model/model_relationship_to_incident_impacts.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to impacts. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentImpacts { diff --git a/src/datadogV2/model/model_relationship_to_incident_integration_metadata_data.rs b/src/datadogV2/model/model_relationship_to_incident_integration_metadata_data.rs index 9974c2be8..0bf81cebf 100644 --- a/src/datadogV2/model/model_relationship_to_incident_integration_metadata_data.rs +++ b/src/datadogV2/model/model_relationship_to_incident_integration_metadata_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A relationship reference for an integration metadata object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentIntegrationMetadataData { diff --git a/src/datadogV2/model/model_relationship_to_incident_integration_metadatas.rs b/src/datadogV2/model/model_relationship_to_incident_integration_metadatas.rs index 68560796d..d0e60ebf1 100644 --- a/src/datadogV2/model/model_relationship_to_incident_integration_metadatas.rs +++ b/src/datadogV2/model/model_relationship_to_incident_integration_metadatas.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A relationship reference for multiple integration metadata objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentIntegrationMetadatas { diff --git a/src/datadogV2/model/model_relationship_to_incident_postmortem.rs b/src/datadogV2/model/model_relationship_to_incident_postmortem.rs index 0fba0aeb9..0ed0b5713 100644 --- a/src/datadogV2/model/model_relationship_to_incident_postmortem.rs +++ b/src/datadogV2/model/model_relationship_to_incident_postmortem.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A relationship reference for postmortems. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentPostmortem { diff --git a/src/datadogV2/model/model_relationship_to_incident_postmortem_data.rs b/src/datadogV2/model/model_relationship_to_incident_postmortem_data.rs index c1345dde1..ea22f1ad9 100644 --- a/src/datadogV2/model/model_relationship_to_incident_postmortem_data.rs +++ b/src/datadogV2/model/model_relationship_to_incident_postmortem_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The postmortem relationship data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentPostmortemData { diff --git a/src/datadogV2/model/model_relationship_to_incident_responder_data.rs b/src/datadogV2/model/model_relationship_to_incident_responder_data.rs index 8f38dce5a..481ba09a3 100644 --- a/src/datadogV2/model/model_relationship_to_incident_responder_data.rs +++ b/src/datadogV2/model/model_relationship_to_incident_responder_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to impact object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentResponderData { diff --git a/src/datadogV2/model/model_relationship_to_incident_responders.rs b/src/datadogV2/model/model_relationship_to_incident_responders.rs index 230a1e592..009df42e1 100644 --- a/src/datadogV2/model/model_relationship_to_incident_responders.rs +++ b/src/datadogV2/model/model_relationship_to_incident_responders.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to incident responders. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentResponders { diff --git a/src/datadogV2/model/model_relationship_to_incident_user_defined_field_data.rs b/src/datadogV2/model/model_relationship_to_incident_user_defined_field_data.rs index 842fa3a27..d47d7b66e 100644 --- a/src/datadogV2/model/model_relationship_to_incident_user_defined_field_data.rs +++ b/src/datadogV2/model/model_relationship_to_incident_user_defined_field_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to impact object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentUserDefinedFieldData { diff --git a/src/datadogV2/model/model_relationship_to_incident_user_defined_fields.rs b/src/datadogV2/model/model_relationship_to_incident_user_defined_fields.rs index a1970f2d9..f3a06a447 100644 --- a/src/datadogV2/model/model_relationship_to_incident_user_defined_fields.rs +++ b/src/datadogV2/model/model_relationship_to_incident_user_defined_fields.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to incident user defined fields. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToIncidentUserDefinedFields { diff --git a/src/datadogV2/model/model_relationship_to_organization.rs b/src/datadogV2/model/model_relationship_to_organization.rs index 1e70f44d0..262048d7e 100644 --- a/src/datadogV2/model/model_relationship_to_organization.rs +++ b/src/datadogV2/model/model_relationship_to_organization.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to an organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToOrganization { diff --git a/src/datadogV2/model/model_relationship_to_organization_data.rs b/src/datadogV2/model/model_relationship_to_organization_data.rs index 9fe4d32af..8b4347daf 100644 --- a/src/datadogV2/model/model_relationship_to_organization_data.rs +++ b/src/datadogV2/model/model_relationship_to_organization_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to organization object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToOrganizationData { diff --git a/src/datadogV2/model/model_relationship_to_organizations.rs b/src/datadogV2/model/model_relationship_to_organizations.rs index fc286a9e7..35c6266b4 100644 --- a/src/datadogV2/model/model_relationship_to_organizations.rs +++ b/src/datadogV2/model/model_relationship_to_organizations.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to organizations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToOrganizations { diff --git a/src/datadogV2/model/model_relationship_to_outcome.rs b/src/datadogV2/model/model_relationship_to_outcome.rs index 028e13e59..be9306028 100644 --- a/src/datadogV2/model/model_relationship_to_outcome.rs +++ b/src/datadogV2/model/model_relationship_to_outcome.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API relationship to a scorecard outcome. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToOutcome { diff --git a/src/datadogV2/model/model_relationship_to_outcome_data.rs b/src/datadogV2/model/model_relationship_to_outcome_data.rs index 980c32cc7..bb26bec7e 100644 --- a/src/datadogV2/model/model_relationship_to_outcome_data.rs +++ b/src/datadogV2/model/model_relationship_to_outcome_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API relationship to an outcome, which returns the related rule id. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToOutcomeData { diff --git a/src/datadogV2/model/model_relationship_to_permission.rs b/src/datadogV2/model/model_relationship_to_permission.rs index 7840b622a..25cead745 100644 --- a/src/datadogV2/model/model_relationship_to_permission.rs +++ b/src/datadogV2/model/model_relationship_to_permission.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to a permissions object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToPermission { diff --git a/src/datadogV2/model/model_relationship_to_permission_data.rs b/src/datadogV2/model/model_relationship_to_permission_data.rs index 045ce72a6..abb6f9df8 100644 --- a/src/datadogV2/model/model_relationship_to_permission_data.rs +++ b/src/datadogV2/model/model_relationship_to_permission_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to permission object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToPermissionData { diff --git a/src/datadogV2/model/model_relationship_to_permissions.rs b/src/datadogV2/model/model_relationship_to_permissions.rs index 13bc81ea5..23caabcec 100644 --- a/src/datadogV2/model/model_relationship_to_permissions.rs +++ b/src/datadogV2/model/model_relationship_to_permissions.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to multiple permissions objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToPermissions { diff --git a/src/datadogV2/model/model_relationship_to_role.rs b/src/datadogV2/model/model_relationship_to_role.rs index 0e20aab55..c3c3470a3 100644 --- a/src/datadogV2/model/model_relationship_to_role.rs +++ b/src/datadogV2/model/model_relationship_to_role.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToRole { diff --git a/src/datadogV2/model/model_relationship_to_role_data.rs b/src/datadogV2/model/model_relationship_to_role_data.rs index 080b75ec1..69fa68947 100644 --- a/src/datadogV2/model/model_relationship_to_role_data.rs +++ b/src/datadogV2/model/model_relationship_to_role_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to role object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToRoleData { diff --git a/src/datadogV2/model/model_relationship_to_roles.rs b/src/datadogV2/model/model_relationship_to_roles.rs index f376cccd5..75b508c5e 100644 --- a/src/datadogV2/model/model_relationship_to_roles.rs +++ b/src/datadogV2/model/model_relationship_to_roles.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to roles. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToRoles { diff --git a/src/datadogV2/model/model_relationship_to_rule.rs b/src/datadogV2/model/model_relationship_to_rule.rs index fd4d52182..ec285d49e 100644 --- a/src/datadogV2/model/model_relationship_to_rule.rs +++ b/src/datadogV2/model/model_relationship_to_rule.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Scorecard create rule response relationship. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToRule { diff --git a/src/datadogV2/model/model_relationship_to_rule_data.rs b/src/datadogV2/model/model_relationship_to_rule_data.rs index dff998650..e8024a90c 100644 --- a/src/datadogV2/model/model_relationship_to_rule_data.rs +++ b/src/datadogV2/model/model_relationship_to_rule_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship data for a rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToRuleData { diff --git a/src/datadogV2/model/model_relationship_to_rule_data_object.rs b/src/datadogV2/model/model_relationship_to_rule_data_object.rs index 190b0cd22..bb24bfcf0 100644 --- a/src/datadogV2/model/model_relationship_to_rule_data_object.rs +++ b/src/datadogV2/model/model_relationship_to_rule_data_object.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Rule relationship data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToRuleDataObject { diff --git a/src/datadogV2/model/model_relationship_to_saml_assertion_attribute.rs b/src/datadogV2/model/model_relationship_to_saml_assertion_attribute.rs index e0cd8c85e..3118d12ff 100644 --- a/src/datadogV2/model/model_relationship_to_saml_assertion_attribute.rs +++ b/src/datadogV2/model/model_relationship_to_saml_assertion_attribute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// AuthN Mapping relationship to SAML Assertion Attribute. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToSAMLAssertionAttribute { diff --git a/src/datadogV2/model/model_relationship_to_saml_assertion_attribute_data.rs b/src/datadogV2/model/model_relationship_to_saml_assertion_attribute_data.rs index a63780c4b..24976baff 100644 --- a/src/datadogV2/model/model_relationship_to_saml_assertion_attribute_data.rs +++ b/src/datadogV2/model/model_relationship_to_saml_assertion_attribute_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data of AuthN Mapping relationship to SAML Assertion Attribute. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToSAMLAssertionAttributeData { diff --git a/src/datadogV2/model/model_relationship_to_team_link_data.rs b/src/datadogV2/model/model_relationship_to_team_link_data.rs index 99729c282..02757a5f0 100644 --- a/src/datadogV2/model/model_relationship_to_team_link_data.rs +++ b/src/datadogV2/model/model_relationship_to_team_link_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship between a link and a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToTeamLinkData { diff --git a/src/datadogV2/model/model_relationship_to_team_links.rs b/src/datadogV2/model/model_relationship_to_team_links.rs index 33a75d9bd..87e71503e 100644 --- a/src/datadogV2/model/model_relationship_to_team_links.rs +++ b/src/datadogV2/model/model_relationship_to_team_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship between a team and a team link +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToTeamLinks { diff --git a/src/datadogV2/model/model_relationship_to_user.rs b/src/datadogV2/model/model_relationship_to_user.rs index 18b3b9306..ea1b8d5c3 100644 --- a/src/datadogV2/model/model_relationship_to_user.rs +++ b/src/datadogV2/model/model_relationship_to_user.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUser { diff --git a/src/datadogV2/model/model_relationship_to_user_data.rs b/src/datadogV2/model/model_relationship_to_user_data.rs index 6303997d6..b47a1419b 100644 --- a/src/datadogV2/model/model_relationship_to_user_data.rs +++ b/src/datadogV2/model/model_relationship_to_user_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to user object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUserData { diff --git a/src/datadogV2/model/model_relationship_to_user_team_permission.rs b/src/datadogV2/model/model_relationship_to_user_team_permission.rs index 46141a644..a0bd90347 100644 --- a/src/datadogV2/model/model_relationship_to_user_team_permission.rs +++ b/src/datadogV2/model/model_relationship_to_user_team_permission.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship between a user team permission and a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUserTeamPermission { diff --git a/src/datadogV2/model/model_relationship_to_user_team_permission_data.rs b/src/datadogV2/model/model_relationship_to_user_team_permission_data.rs index 1de5ac79d..77aa7abbc 100644 --- a/src/datadogV2/model/model_relationship_to_user_team_permission_data.rs +++ b/src/datadogV2/model/model_relationship_to_user_team_permission_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Related user team permission data +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUserTeamPermissionData { diff --git a/src/datadogV2/model/model_relationship_to_user_team_team.rs b/src/datadogV2/model/model_relationship_to_user_team_team.rs index 15a26ef33..71629e103 100644 --- a/src/datadogV2/model/model_relationship_to_user_team_team.rs +++ b/src/datadogV2/model/model_relationship_to_user_team_team.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship between team membership and team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUserTeamTeam { diff --git a/src/datadogV2/model/model_relationship_to_user_team_team_data.rs b/src/datadogV2/model/model_relationship_to_user_team_team_data.rs index 631205a22..cb09e813c 100644 --- a/src/datadogV2/model/model_relationship_to_user_team_team_data.rs +++ b/src/datadogV2/model/model_relationship_to_user_team_team_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The team associated with the membership +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUserTeamTeamData { diff --git a/src/datadogV2/model/model_relationship_to_user_team_user.rs b/src/datadogV2/model/model_relationship_to_user_team_user.rs index 669ee13e4..4a3ac0527 100644 --- a/src/datadogV2/model/model_relationship_to_user_team_user.rs +++ b/src/datadogV2/model/model_relationship_to_user_team_user.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship between team membership and user +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUserTeamUser { diff --git a/src/datadogV2/model/model_relationship_to_user_team_user_data.rs b/src/datadogV2/model/model_relationship_to_user_team_user_data.rs index ac4eb1a07..ae8e3434c 100644 --- a/src/datadogV2/model/model_relationship_to_user_team_user_data.rs +++ b/src/datadogV2/model/model_relationship_to_user_team_user_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A user's relationship with a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUserTeamUserData { diff --git a/src/datadogV2/model/model_relationship_to_users.rs b/src/datadogV2/model/model_relationship_to_users.rs index 2ad4a12ef..7549a0127 100644 --- a/src/datadogV2/model/model_relationship_to_users.rs +++ b/src/datadogV2/model/model_relationship_to_users.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship to users. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RelationshipToUsers { diff --git a/src/datadogV2/model/model_reorder_retention_filters_request.rs b/src/datadogV2/model/model_reorder_retention_filters_request.rs index 6946c4f2f..84457e8a4 100644 --- a/src/datadogV2/model/model_reorder_retention_filters_request.rs +++ b/src/datadogV2/model/model_reorder_retention_filters_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A list of retention filters to reorder. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ReorderRetentionFiltersRequest { diff --git a/src/datadogV2/model/model_response_meta_attributes.rs b/src/datadogV2/model/model_response_meta_attributes.rs index a5f973ce3..64c9a9bfe 100644 --- a/src/datadogV2/model/model_response_meta_attributes.rs +++ b/src/datadogV2/model/model_response_meta_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing meta attributes of response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ResponseMetaAttributes { diff --git a/src/datadogV2/model/model_restriction_policy.rs b/src/datadogV2/model/model_restriction_policy.rs index 3457cea0d..b11d40b6f 100644 --- a/src/datadogV2/model/model_restriction_policy.rs +++ b/src/datadogV2/model/model_restriction_policy.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Restriction policy object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RestrictionPolicy { diff --git a/src/datadogV2/model/model_restriction_policy_attributes.rs b/src/datadogV2/model/model_restriction_policy_attributes.rs index 10d5ee29d..8571e43b0 100644 --- a/src/datadogV2/model/model_restriction_policy_attributes.rs +++ b/src/datadogV2/model/model_restriction_policy_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Restriction policy attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RestrictionPolicyAttributes { diff --git a/src/datadogV2/model/model_restriction_policy_binding.rs b/src/datadogV2/model/model_restriction_policy_binding.rs index 3ed71ebd4..3a2f9e201 100644 --- a/src/datadogV2/model/model_restriction_policy_binding.rs +++ b/src/datadogV2/model/model_restriction_policy_binding.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Specifies which principals are associated with a relation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RestrictionPolicyBinding { diff --git a/src/datadogV2/model/model_restriction_policy_response.rs b/src/datadogV2/model/model_restriction_policy_response.rs index 5e7471dd8..80d605175 100644 --- a/src/datadogV2/model/model_restriction_policy_response.rs +++ b/src/datadogV2/model/model_restriction_policy_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing information about a single restriction policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RestrictionPolicyResponse { diff --git a/src/datadogV2/model/model_restriction_policy_type.rs b/src/datadogV2/model/model_restriction_policy_type.rs index 409bc8848..9cb418aba 100644 --- a/src/datadogV2/model/model_restriction_policy_type.rs +++ b/src/datadogV2/model/model_restriction_policy_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RestrictionPolicyType { #[serde(rename = "restriction_policy")] diff --git a/src/datadogV2/model/model_restriction_policy_update_request.rs b/src/datadogV2/model/model_restriction_policy_update_request.rs index b7a739f7a..a01a85213 100644 --- a/src/datadogV2/model/model_restriction_policy_update_request.rs +++ b/src/datadogV2/model/model_restriction_policy_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update request for a restriction policy. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RestrictionPolicyUpdateRequest { diff --git a/src/datadogV2/model/model_retention_filter.rs b/src/datadogV2/model/model_retention_filter.rs index 887ae88b2..b8ea6b4fe 100644 --- a/src/datadogV2/model/model_retention_filter.rs +++ b/src/datadogV2/model/model_retention_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The definition of the retention filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilter { diff --git a/src/datadogV2/model/model_retention_filter_all.rs b/src/datadogV2/model/model_retention_filter_all.rs index 18a9d0fc2..7bf83a9da 100644 --- a/src/datadogV2/model/model_retention_filter_all.rs +++ b/src/datadogV2/model/model_retention_filter_all.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The definition of the retention filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterAll { diff --git a/src/datadogV2/model/model_retention_filter_all_attributes.rs b/src/datadogV2/model/model_retention_filter_all_attributes.rs index eda0d62ac..3e5ad982a 100644 --- a/src/datadogV2/model/model_retention_filter_all_attributes.rs +++ b/src/datadogV2/model/model_retention_filter_all_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of the retention filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterAllAttributes { diff --git a/src/datadogV2/model/model_retention_filter_all_type.rs b/src/datadogV2/model/model_retention_filter_all_type.rs index 710a8e458..196ec77af 100644 --- a/src/datadogV2/model/model_retention_filter_all_type.rs +++ b/src/datadogV2/model/model_retention_filter_all_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RetentionFilterAllType { #[serde(rename = "spans-sampling-processor")] diff --git a/src/datadogV2/model/model_retention_filter_attributes.rs b/src/datadogV2/model/model_retention_filter_attributes.rs index aaabad3be..9f2f03d2a 100644 --- a/src/datadogV2/model/model_retention_filter_attributes.rs +++ b/src/datadogV2/model/model_retention_filter_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The attributes of the retention filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterAttributes { diff --git a/src/datadogV2/model/model_retention_filter_create_attributes.rs b/src/datadogV2/model/model_retention_filter_create_attributes.rs index 617ebf428..48a0d98b3 100644 --- a/src/datadogV2/model/model_retention_filter_create_attributes.rs +++ b/src/datadogV2/model/model_retention_filter_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing the configuration of the retention filter to create/update. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterCreateAttributes { diff --git a/src/datadogV2/model/model_retention_filter_create_data.rs b/src/datadogV2/model/model_retention_filter_create_data.rs index 004d9e42c..d6aea87b4 100644 --- a/src/datadogV2/model/model_retention_filter_create_data.rs +++ b/src/datadogV2/model/model_retention_filter_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The body of the retention filter to be created. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterCreateData { diff --git a/src/datadogV2/model/model_retention_filter_create_request.rs b/src/datadogV2/model/model_retention_filter_create_request.rs index 826d77bc1..10e638283 100644 --- a/src/datadogV2/model/model_retention_filter_create_request.rs +++ b/src/datadogV2/model/model_retention_filter_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The body of the retention filter to be created. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterCreateRequest { diff --git a/src/datadogV2/model/model_retention_filter_response.rs b/src/datadogV2/model/model_retention_filter_response.rs index b93694ce1..7cca5d584 100644 --- a/src/datadogV2/model/model_retention_filter_response.rs +++ b/src/datadogV2/model/model_retention_filter_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The retention filters definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterResponse { diff --git a/src/datadogV2/model/model_retention_filter_type.rs b/src/datadogV2/model/model_retention_filter_type.rs index 6508a0d33..a9d30b8fe 100644 --- a/src/datadogV2/model/model_retention_filter_type.rs +++ b/src/datadogV2/model/model_retention_filter_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RetentionFilterType { #[serde(rename = "spans-sampling-processor")] diff --git a/src/datadogV2/model/model_retention_filter_update_data.rs b/src/datadogV2/model/model_retention_filter_update_data.rs index c43331bdc..ef2834a12 100644 --- a/src/datadogV2/model/model_retention_filter_update_data.rs +++ b/src/datadogV2/model/model_retention_filter_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The body of the retention filter to be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterUpdateData { diff --git a/src/datadogV2/model/model_retention_filter_update_request.rs b/src/datadogV2/model/model_retention_filter_update_request.rs index a1b26f499..6c584a2f3 100644 --- a/src/datadogV2/model/model_retention_filter_update_request.rs +++ b/src/datadogV2/model/model_retention_filter_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The body of the retention filter to be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterUpdateRequest { diff --git a/src/datadogV2/model/model_retention_filter_without_attributes.rs b/src/datadogV2/model/model_retention_filter_without_attributes.rs index d332e4173..35971d6a1 100644 --- a/src/datadogV2/model/model_retention_filter_without_attributes.rs +++ b/src/datadogV2/model/model_retention_filter_without_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The retention filter object . +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFilterWithoutAttributes { diff --git a/src/datadogV2/model/model_retention_filters_response.rs b/src/datadogV2/model/model_retention_filters_response.rs index 40583facb..778b13174 100644 --- a/src/datadogV2/model/model_retention_filters_response.rs +++ b/src/datadogV2/model/model_retention_filters_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// An ordered list of retention filters. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RetentionFiltersResponse { diff --git a/src/datadogV2/model/model_role.rs b/src/datadogV2/model/model_role.rs index 0142939fc..3863b8d02 100644 --- a/src/datadogV2/model/model_role.rs +++ b/src/datadogV2/model/model_role.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Role object returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Role { diff --git a/src/datadogV2/model/model_role_attributes.rs b/src/datadogV2/model/model_role_attributes.rs index 319e9af03..441fd05fd 100644 --- a/src/datadogV2/model/model_role_attributes.rs +++ b/src/datadogV2/model/model_role_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleAttributes { diff --git a/src/datadogV2/model/model_role_clone.rs b/src/datadogV2/model/model_role_clone.rs index c9a1c02be..e0a73627f 100644 --- a/src/datadogV2/model/model_role_clone.rs +++ b/src/datadogV2/model/model_role_clone.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data for the clone role request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleClone { diff --git a/src/datadogV2/model/model_role_clone_attributes.rs b/src/datadogV2/model/model_role_clone_attributes.rs index 983e5d096..fd949bf85 100644 --- a/src/datadogV2/model/model_role_clone_attributes.rs +++ b/src/datadogV2/model/model_role_clone_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes required to create a new role by cloning an existing one. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleCloneAttributes { diff --git a/src/datadogV2/model/model_role_clone_request.rs b/src/datadogV2/model/model_role_clone_request.rs index f5cad8630..e0dc3ca2b 100644 --- a/src/datadogV2/model/model_role_clone_request.rs +++ b/src/datadogV2/model/model_role_clone_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request to create a role by cloning an existing role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleCloneRequest { diff --git a/src/datadogV2/model/model_role_create_attributes.rs b/src/datadogV2/model/model_role_create_attributes.rs index 40c53156d..a2b916c7b 100644 --- a/src/datadogV2/model/model_role_create_attributes.rs +++ b/src/datadogV2/model/model_role_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the created role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleCreateAttributes { diff --git a/src/datadogV2/model/model_role_create_data.rs b/src/datadogV2/model/model_role_create_data.rs index 2576c1cab..47e7fd7ef 100644 --- a/src/datadogV2/model/model_role_create_data.rs +++ b/src/datadogV2/model/model_role_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data related to the creation of a role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleCreateData { diff --git a/src/datadogV2/model/model_role_create_request.rs b/src/datadogV2/model/model_role_create_request.rs index 62ea26f98..e45880b22 100644 --- a/src/datadogV2/model/model_role_create_request.rs +++ b/src/datadogV2/model/model_role_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create a role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleCreateRequest { diff --git a/src/datadogV2/model/model_role_create_response.rs b/src/datadogV2/model/model_role_create_response.rs index 70d0b2684..7204ac978 100644 --- a/src/datadogV2/model/model_role_create_response.rs +++ b/src/datadogV2/model/model_role_create_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing information about a created role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleCreateResponse { diff --git a/src/datadogV2/model/model_role_create_response_data.rs b/src/datadogV2/model/model_role_create_response_data.rs index 866c4e850..881dd5204 100644 --- a/src/datadogV2/model/model_role_create_response_data.rs +++ b/src/datadogV2/model/model_role_create_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Role object returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleCreateResponseData { diff --git a/src/datadogV2/model/model_role_relationships.rs b/src/datadogV2/model/model_role_relationships.rs index ab621caed..584c464c3 100644 --- a/src/datadogV2/model/model_role_relationships.rs +++ b/src/datadogV2/model/model_role_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships of the role object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleRelationships { diff --git a/src/datadogV2/model/model_role_response.rs b/src/datadogV2/model/model_role_response.rs index cac75bd80..08612426e 100644 --- a/src/datadogV2/model/model_role_response.rs +++ b/src/datadogV2/model/model_role_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing information about a single role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleResponse { diff --git a/src/datadogV2/model/model_role_response_relationships.rs b/src/datadogV2/model/model_role_response_relationships.rs index f08734c53..800076f28 100644 --- a/src/datadogV2/model/model_role_response_relationships.rs +++ b/src/datadogV2/model/model_role_response_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships of the role object returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleResponseRelationships { diff --git a/src/datadogV2/model/model_role_update_attributes.rs b/src/datadogV2/model/model_role_update_attributes.rs index 45d72e704..d935e278e 100644 --- a/src/datadogV2/model/model_role_update_attributes.rs +++ b/src/datadogV2/model/model_role_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleUpdateAttributes { diff --git a/src/datadogV2/model/model_role_update_data.rs b/src/datadogV2/model/model_role_update_data.rs index add78aa50..30a4a8f30 100644 --- a/src/datadogV2/model/model_role_update_data.rs +++ b/src/datadogV2/model/model_role_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data related to the update of a role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleUpdateData { diff --git a/src/datadogV2/model/model_role_update_request.rs b/src/datadogV2/model/model_role_update_request.rs index 43fc19f5c..0db70c84e 100644 --- a/src/datadogV2/model/model_role_update_request.rs +++ b/src/datadogV2/model/model_role_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update a role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleUpdateRequest { diff --git a/src/datadogV2/model/model_role_update_response.rs b/src/datadogV2/model/model_role_update_response.rs index a71f6f37b..1ce58044a 100644 --- a/src/datadogV2/model/model_role_update_response.rs +++ b/src/datadogV2/model/model_role_update_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing information about an updated role. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleUpdateResponse { diff --git a/src/datadogV2/model/model_role_update_response_data.rs b/src/datadogV2/model/model_role_update_response_data.rs index 7b98747a9..5bd7f1136 100644 --- a/src/datadogV2/model/model_role_update_response_data.rs +++ b/src/datadogV2/model/model_role_update_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Role object returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RoleUpdateResponseData { diff --git a/src/datadogV2/model/model_roles_response.rs b/src/datadogV2/model/model_roles_response.rs index 9f5fa5e71..9f192a687 100644 --- a/src/datadogV2/model/model_roles_response.rs +++ b/src/datadogV2/model/model_roles_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing information about multiple roles. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RolesResponse { diff --git a/src/datadogV2/model/model_roles_sort.rs b/src/datadogV2/model/model_roles_sort.rs index 102507772..236fffc7c 100644 --- a/src/datadogV2/model/model_roles_sort.rs +++ b/src/datadogV2/model/model_roles_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RolesSort { #[serde(rename = "name")] diff --git a/src/datadogV2/model/model_roles_type.rs b/src/datadogV2/model/model_roles_type.rs index 5f7591521..5478c4dcd 100644 --- a/src/datadogV2/model/model_roles_type.rs +++ b/src/datadogV2/model/model_roles_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RolesType { #[serde(rename = "roles")] diff --git a/src/datadogV2/model/model_rule_attributes.rs b/src/datadogV2/model/model_rule_attributes.rs index f314efdf3..37705d840 100644 --- a/src/datadogV2/model/model_rule_attributes.rs +++ b/src/datadogV2/model/model_rule_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Details of a rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RuleAttributes { diff --git a/src/datadogV2/model/model_rule_outcome_relationships.rs b/src/datadogV2/model/model_rule_outcome_relationships.rs index d306719ae..50ca8ef02 100644 --- a/src/datadogV2/model/model_rule_outcome_relationships.rs +++ b/src/datadogV2/model/model_rule_outcome_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The JSON:API relationship to a scorecard rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RuleOutcomeRelationships { diff --git a/src/datadogV2/model/model_rule_type.rs b/src/datadogV2/model/model_rule_type.rs index 5395d3ea3..48318abe2 100644 --- a/src/datadogV2/model/model_rule_type.rs +++ b/src/datadogV2/model/model_rule_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RuleType { #[serde(rename = "rule")] diff --git a/src/datadogV2/model/model_rum_aggregate_bucket_value.rs b/src/datadogV2/model/model_rum_aggregate_bucket_value.rs index 0835daaed..f7a3673ef 100644 --- a/src/datadogV2/model/model_rum_aggregate_bucket_value.rs +++ b/src/datadogV2/model/model_rum_aggregate_bucket_value.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A bucket value, can be either a timeseries or a single value. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum RUMAggregateBucketValue { diff --git a/src/datadogV2/model/model_rum_aggregate_bucket_value_timeseries.rs b/src/datadogV2/model/model_rum_aggregate_bucket_value_timeseries.rs index 1a8a7e58f..2e5640715 100644 --- a/src/datadogV2/model/model_rum_aggregate_bucket_value_timeseries.rs +++ b/src/datadogV2/model/model_rum_aggregate_bucket_value_timeseries.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A timeseries array. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMAggregateBucketValueTimeseries {} diff --git a/src/datadogV2/model/model_rum_aggregate_bucket_value_timeseries_point.rs b/src/datadogV2/model/model_rum_aggregate_bucket_value_timeseries_point.rs index 87fe48b64..61c01b696 100644 --- a/src/datadogV2/model/model_rum_aggregate_bucket_value_timeseries_point.rs +++ b/src/datadogV2/model/model_rum_aggregate_bucket_value_timeseries_point.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A timeseries point. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMAggregateBucketValueTimeseriesPoint { diff --git a/src/datadogV2/model/model_rum_aggregate_request.rs b/src/datadogV2/model/model_rum_aggregate_request.rs index 8ca93cb72..a39e4f467 100644 --- a/src/datadogV2/model/model_rum_aggregate_request.rs +++ b/src/datadogV2/model/model_rum_aggregate_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object sent with the request to retrieve aggregation buckets of RUM events from your organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMAggregateRequest { diff --git a/src/datadogV2/model/model_rum_aggregate_sort.rs b/src/datadogV2/model/model_rum_aggregate_sort.rs index 75623f39e..2b1d67ee1 100644 --- a/src/datadogV2/model/model_rum_aggregate_sort.rs +++ b/src/datadogV2/model/model_rum_aggregate_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A sort rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMAggregateSort { diff --git a/src/datadogV2/model/model_rum_aggregate_sort_type.rs b/src/datadogV2/model/model_rum_aggregate_sort_type.rs index cc0213f0c..98420ebc7 100644 --- a/src/datadogV2/model/model_rum_aggregate_sort_type.rs +++ b/src/datadogV2/model/model_rum_aggregate_sort_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMAggregateSortType { #[serde(rename = "alphabetical")] diff --git a/src/datadogV2/model/model_rum_aggregation_buckets_response.rs b/src/datadogV2/model/model_rum_aggregation_buckets_response.rs index 64e91f129..59e23b31a 100644 --- a/src/datadogV2/model/model_rum_aggregation_buckets_response.rs +++ b/src/datadogV2/model/model_rum_aggregation_buckets_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The query results. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMAggregationBucketsResponse { diff --git a/src/datadogV2/model/model_rum_aggregation_function.rs b/src/datadogV2/model/model_rum_aggregation_function.rs index 3cc356643..ed4182dc9 100644 --- a/src/datadogV2/model/model_rum_aggregation_function.rs +++ b/src/datadogV2/model/model_rum_aggregation_function.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMAggregationFunction { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_rum_analytics_aggregate_response.rs b/src/datadogV2/model/model_rum_analytics_aggregate_response.rs index 61356dd66..8d267b56e 100644 --- a/src/datadogV2/model/model_rum_analytics_aggregate_response.rs +++ b/src/datadogV2/model/model_rum_analytics_aggregate_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object for the RUM events aggregate API endpoint. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMAnalyticsAggregateResponse { diff --git a/src/datadogV2/model/model_rum_application.rs b/src/datadogV2/model/model_rum_application.rs index 9e846e320..5540a0683 100644 --- a/src/datadogV2/model/model_rum_application.rs +++ b/src/datadogV2/model/model_rum_application.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplication { diff --git a/src/datadogV2/model/model_rum_application_attributes.rs b/src/datadogV2/model/model_rum_application_attributes.rs index 412eef8af..358607ab9 100644 --- a/src/datadogV2/model/model_rum_application_attributes.rs +++ b/src/datadogV2/model/model_rum_application_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationAttributes { diff --git a/src/datadogV2/model/model_rum_application_create.rs b/src/datadogV2/model/model_rum_application_create.rs index 88811468d..1a22436fe 100644 --- a/src/datadogV2/model/model_rum_application_create.rs +++ b/src/datadogV2/model/model_rum_application_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application creation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationCreate { diff --git a/src/datadogV2/model/model_rum_application_create_attributes.rs b/src/datadogV2/model/model_rum_application_create_attributes.rs index fe2a1ac00..532337aa9 100644 --- a/src/datadogV2/model/model_rum_application_create_attributes.rs +++ b/src/datadogV2/model/model_rum_application_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application creation attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationCreateAttributes { diff --git a/src/datadogV2/model/model_rum_application_create_request.rs b/src/datadogV2/model/model_rum_application_create_request.rs index 0e3f507f6..4da6ed838 100644 --- a/src/datadogV2/model/model_rum_application_create_request.rs +++ b/src/datadogV2/model/model_rum_application_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application creation request attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationCreateRequest { diff --git a/src/datadogV2/model/model_rum_application_create_type.rs b/src/datadogV2/model/model_rum_application_create_type.rs index 565488fda..cc04bf555 100644 --- a/src/datadogV2/model/model_rum_application_create_type.rs +++ b/src/datadogV2/model/model_rum_application_create_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMApplicationCreateType { #[serde(rename = "rum_application_create")] diff --git a/src/datadogV2/model/model_rum_application_list.rs b/src/datadogV2/model/model_rum_application_list.rs index b49dd8cee..51a675231 100644 --- a/src/datadogV2/model/model_rum_application_list.rs +++ b/src/datadogV2/model/model_rum_application_list.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationList { diff --git a/src/datadogV2/model/model_rum_application_list_attributes.rs b/src/datadogV2/model/model_rum_application_list_attributes.rs index 42383997a..6b4282d8b 100644 --- a/src/datadogV2/model/model_rum_application_list_attributes.rs +++ b/src/datadogV2/model/model_rum_application_list_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application list attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationListAttributes { diff --git a/src/datadogV2/model/model_rum_application_list_type.rs b/src/datadogV2/model/model_rum_application_list_type.rs index ce9cbcf9c..4c585ef2f 100644 --- a/src/datadogV2/model/model_rum_application_list_type.rs +++ b/src/datadogV2/model/model_rum_application_list_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMApplicationListType { #[serde(rename = "rum_application")] diff --git a/src/datadogV2/model/model_rum_application_response.rs b/src/datadogV2/model/model_rum_application_response.rs index 304d77839..55a444c07 100644 --- a/src/datadogV2/model/model_rum_application_response.rs +++ b/src/datadogV2/model/model_rum_application_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationResponse { diff --git a/src/datadogV2/model/model_rum_application_type.rs b/src/datadogV2/model/model_rum_application_type.rs index 37e7c8ca3..00f2c2b28 100644 --- a/src/datadogV2/model/model_rum_application_type.rs +++ b/src/datadogV2/model/model_rum_application_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMApplicationType { #[serde(rename = "rum_application")] diff --git a/src/datadogV2/model/model_rum_application_update.rs b/src/datadogV2/model/model_rum_application_update.rs index 53e8e7167..3f10f28e5 100644 --- a/src/datadogV2/model/model_rum_application_update.rs +++ b/src/datadogV2/model/model_rum_application_update.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application update. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationUpdate { diff --git a/src/datadogV2/model/model_rum_application_update_attributes.rs b/src/datadogV2/model/model_rum_application_update_attributes.rs index 4dc9b9928..2b5d56ce4 100644 --- a/src/datadogV2/model/model_rum_application_update_attributes.rs +++ b/src/datadogV2/model/model_rum_application_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application update attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationUpdateAttributes { diff --git a/src/datadogV2/model/model_rum_application_update_request.rs b/src/datadogV2/model/model_rum_application_update_request.rs index cf839edd2..28f6723d0 100644 --- a/src/datadogV2/model/model_rum_application_update_request.rs +++ b/src/datadogV2/model/model_rum_application_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM application update request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationUpdateRequest { diff --git a/src/datadogV2/model/model_rum_application_update_type.rs b/src/datadogV2/model/model_rum_application_update_type.rs index 3552e911b..8b215b373 100644 --- a/src/datadogV2/model/model_rum_application_update_type.rs +++ b/src/datadogV2/model/model_rum_application_update_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMApplicationUpdateType { #[serde(rename = "rum_application_update")] diff --git a/src/datadogV2/model/model_rum_applications_response.rs b/src/datadogV2/model/model_rum_applications_response.rs index 7f303c2be..c290fc287 100644 --- a/src/datadogV2/model/model_rum_applications_response.rs +++ b/src/datadogV2/model/model_rum_applications_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// RUM applications response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMApplicationsResponse { diff --git a/src/datadogV2/model/model_rum_bucket_response.rs b/src/datadogV2/model/model_rum_bucket_response.rs index e0df78309..aa4d2b5ed 100644 --- a/src/datadogV2/model/model_rum_bucket_response.rs +++ b/src/datadogV2/model/model_rum_bucket_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Bucket values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMBucketResponse { diff --git a/src/datadogV2/model/model_rum_compute.rs b/src/datadogV2/model/model_rum_compute.rs index 6def54019..f2d329773 100644 --- a/src/datadogV2/model/model_rum_compute.rs +++ b/src/datadogV2/model/model_rum_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A compute rule to compute metrics or timeseries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMCompute { diff --git a/src/datadogV2/model/model_rum_compute_type.rs b/src/datadogV2/model/model_rum_compute_type.rs index 5b6ee1379..f21c9f15e 100644 --- a/src/datadogV2/model/model_rum_compute_type.rs +++ b/src/datadogV2/model/model_rum_compute_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMComputeType { #[serde(rename = "timeseries")] diff --git a/src/datadogV2/model/model_rum_event.rs b/src/datadogV2/model/model_rum_event.rs index da75ad45f..50c3887a6 100644 --- a/src/datadogV2/model/model_rum_event.rs +++ b/src/datadogV2/model/model_rum_event.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object description of a RUM event after being processed and stored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMEvent { diff --git a/src/datadogV2/model/model_rum_event_attributes.rs b/src/datadogV2/model/model_rum_event_attributes.rs index 8d8b0ae03..1b71c7039 100644 --- a/src/datadogV2/model/model_rum_event_attributes.rs +++ b/src/datadogV2/model/model_rum_event_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// JSON object containing all event attributes and their associated values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMEventAttributes { diff --git a/src/datadogV2/model/model_rum_event_type.rs b/src/datadogV2/model/model_rum_event_type.rs index e79d58ddf..65b1e2189 100644 --- a/src/datadogV2/model/model_rum_event_type.rs +++ b/src/datadogV2/model/model_rum_event_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMEventType { #[serde(rename = "rum")] diff --git a/src/datadogV2/model/model_rum_events_response.rs b/src/datadogV2/model/model_rum_events_response.rs index 3e3ad1ffe..9aae21334 100644 --- a/src/datadogV2/model/model_rum_events_response.rs +++ b/src/datadogV2/model/model_rum_events_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object with all events matching the request and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMEventsResponse { diff --git a/src/datadogV2/model/model_rum_group_by.rs b/src/datadogV2/model/model_rum_group_by.rs index ec66cc68f..6fc8d91bf 100644 --- a/src/datadogV2/model/model_rum_group_by.rs +++ b/src/datadogV2/model/model_rum_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group-by rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMGroupBy { diff --git a/src/datadogV2/model/model_rum_group_by_histogram.rs b/src/datadogV2/model/model_rum_group_by_histogram.rs index 38370a011..ec550299a 100644 --- a/src/datadogV2/model/model_rum_group_by_histogram.rs +++ b/src/datadogV2/model/model_rum_group_by_histogram.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Used to perform a histogram computation (only for measure facets). /// Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMGroupByHistogram { diff --git a/src/datadogV2/model/model_rum_group_by_missing.rs b/src/datadogV2/model/model_rum_group_by_missing.rs index 8582e547a..9e21f4246 100644 --- a/src/datadogV2/model/model_rum_group_by_missing.rs +++ b/src/datadogV2/model/model_rum_group_by_missing.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// The value to use for logs that don't have the facet used to group by. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum RUMGroupByMissing { diff --git a/src/datadogV2/model/model_rum_group_by_total.rs b/src/datadogV2/model/model_rum_group_by_total.rs index ac7efa1bf..0b07b77f5 100644 --- a/src/datadogV2/model/model_rum_group_by_total.rs +++ b/src/datadogV2/model/model_rum_group_by_total.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A resulting object to put the given computes in over all the matching records. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum RUMGroupByTotal { diff --git a/src/datadogV2/model/model_rum_query_filter.rs b/src/datadogV2/model/model_rum_query_filter.rs index 958236814..43aaa26b0 100644 --- a/src/datadogV2/model/model_rum_query_filter.rs +++ b/src/datadogV2/model/model_rum_query_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The search and filter query settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMQueryFilter { diff --git a/src/datadogV2/model/model_rum_query_options.rs b/src/datadogV2/model/model_rum_query_options.rs index 52cd57d6e..4e20d9c45 100644 --- a/src/datadogV2/model/model_rum_query_options.rs +++ b/src/datadogV2/model/model_rum_query_options.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Global query options that are used during the query. /// Note: Only supply timezone or time offset, not both. Otherwise, the query fails. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMQueryOptions { diff --git a/src/datadogV2/model/model_rum_query_page_options.rs b/src/datadogV2/model/model_rum_query_page_options.rs index 76a46cf29..b51729f6a 100644 --- a/src/datadogV2/model/model_rum_query_page_options.rs +++ b/src/datadogV2/model/model_rum_query_page_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes for listing events. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMQueryPageOptions { diff --git a/src/datadogV2/model/model_rum_response_links.rs b/src/datadogV2/model/model_rum_response_links.rs index a62a75d77..7f0823fc6 100644 --- a/src/datadogV2/model/model_rum_response_links.rs +++ b/src/datadogV2/model/model_rum_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMResponseLinks { diff --git a/src/datadogV2/model/model_rum_response_metadata.rs b/src/datadogV2/model/model_rum_response_metadata.rs index e4f8022d4..5a4c152ff 100644 --- a/src/datadogV2/model/model_rum_response_metadata.rs +++ b/src/datadogV2/model/model_rum_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMResponseMetadata { diff --git a/src/datadogV2/model/model_rum_response_page.rs b/src/datadogV2/model/model_rum_response_page.rs index 3dedc328e..f1f625709 100644 --- a/src/datadogV2/model/model_rum_response_page.rs +++ b/src/datadogV2/model/model_rum_response_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMResponsePage { diff --git a/src/datadogV2/model/model_rum_response_status.rs b/src/datadogV2/model/model_rum_response_status.rs index e33ed4372..edeb1e78e 100644 --- a/src/datadogV2/model/model_rum_response_status.rs +++ b/src/datadogV2/model/model_rum_response_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMResponseStatus { #[serde(rename = "done")] diff --git a/src/datadogV2/model/model_rum_search_events_request.rs b/src/datadogV2/model/model_rum_search_events_request.rs index 3a4aaa98d..68e64319a 100644 --- a/src/datadogV2/model/model_rum_search_events_request.rs +++ b/src/datadogV2/model/model_rum_search_events_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The request for a RUM events list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMSearchEventsRequest { diff --git a/src/datadogV2/model/model_rum_sort.rs b/src/datadogV2/model/model_rum_sort.rs index 95903a8ea..bfc74ede3 100644 --- a/src/datadogV2/model/model_rum_sort.rs +++ b/src/datadogV2/model/model_rum_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMSort { #[serde(rename = "timestamp")] diff --git a/src/datadogV2/model/model_rum_sort_order.rs b/src/datadogV2/model/model_rum_sort_order.rs index 9c3c8494b..2d108215c 100644 --- a/src/datadogV2/model/model_rum_sort_order.rs +++ b/src/datadogV2/model/model_rum_sort_order.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum RUMSortOrder { #[serde(rename = "asc")] diff --git a/src/datadogV2/model/model_rum_warning.rs b/src/datadogV2/model/model_rum_warning.rs index 5df185c92..3df55601f 100644 --- a/src/datadogV2/model/model_rum_warning.rs +++ b/src/datadogV2/model/model_rum_warning.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A warning message indicating something that went wrong with the query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct RUMWarning { diff --git a/src/datadogV2/model/model_saml_assertion_attribute.rs b/src/datadogV2/model/model_saml_assertion_attribute.rs index 8adc09d8c..df13147ae 100644 --- a/src/datadogV2/model/model_saml_assertion_attribute.rs +++ b/src/datadogV2/model/model_saml_assertion_attribute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// SAML assertion attribute. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SAMLAssertionAttribute { diff --git a/src/datadogV2/model/model_saml_assertion_attribute_attributes.rs b/src/datadogV2/model/model_saml_assertion_attribute_attributes.rs index bdb2c9d87..679bd1b4a 100644 --- a/src/datadogV2/model/model_saml_assertion_attribute_attributes.rs +++ b/src/datadogV2/model/model_saml_assertion_attribute_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Key/Value pair of attributes used in SAML assertion attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SAMLAssertionAttributeAttributes { diff --git a/src/datadogV2/model/model_saml_assertion_attributes_type.rs b/src/datadogV2/model/model_saml_assertion_attributes_type.rs index 3d6c20ce3..dac3a8594 100644 --- a/src/datadogV2/model/model_saml_assertion_attributes_type.rs +++ b/src/datadogV2/model/model_saml_assertion_attributes_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SAMLAssertionAttributesType { #[serde(rename = "saml_assertion_attributes")] diff --git a/src/datadogV2/model/model_scalar_column.rs b/src/datadogV2/model/model_scalar_column.rs index c841a07b6..8e69e8f44 100644 --- a/src/datadogV2/model/model_scalar_column.rs +++ b/src/datadogV2/model/model_scalar_column.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A single column in a scalar query response. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ScalarColumn { diff --git a/src/datadogV2/model/model_scalar_column_type_group.rs b/src/datadogV2/model/model_scalar_column_type_group.rs index 3c5566b57..e77a16fd8 100644 --- a/src/datadogV2/model/model_scalar_column_type_group.rs +++ b/src/datadogV2/model/model_scalar_column_type_group.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ScalarColumnTypeGroup { #[serde(rename = "group")] diff --git a/src/datadogV2/model/model_scalar_column_type_number.rs b/src/datadogV2/model/model_scalar_column_type_number.rs index b66c7e5d1..b9710feba 100644 --- a/src/datadogV2/model/model_scalar_column_type_number.rs +++ b/src/datadogV2/model/model_scalar_column_type_number.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ScalarColumnTypeNumber { #[serde(rename = "number")] diff --git a/src/datadogV2/model/model_scalar_formula_query_request.rs b/src/datadogV2/model/model_scalar_formula_query_request.rs index a57f25169..52010bda9 100644 --- a/src/datadogV2/model/model_scalar_formula_query_request.rs +++ b/src/datadogV2/model/model_scalar_formula_query_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A wrapper request around one scalar query to be executed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScalarFormulaQueryRequest { diff --git a/src/datadogV2/model/model_scalar_formula_query_response.rs b/src/datadogV2/model/model_scalar_formula_query_response.rs index cb13c0b23..5c925a579 100644 --- a/src/datadogV2/model/model_scalar_formula_query_response.rs +++ b/src/datadogV2/model/model_scalar_formula_query_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A message containing one or more responses to scalar queries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScalarFormulaQueryResponse { diff --git a/src/datadogV2/model/model_scalar_formula_request.rs b/src/datadogV2/model/model_scalar_formula_request.rs index 286957b6c..d61c33059 100644 --- a/src/datadogV2/model/model_scalar_formula_request.rs +++ b/src/datadogV2/model/model_scalar_formula_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single scalar query to be executed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScalarFormulaRequest { diff --git a/src/datadogV2/model/model_scalar_formula_request_attributes.rs b/src/datadogV2/model/model_scalar_formula_request_attributes.rs index 931ba516e..d64b4bfd7 100644 --- a/src/datadogV2/model/model_scalar_formula_request_attributes.rs +++ b/src/datadogV2/model/model_scalar_formula_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing a scalar formula request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScalarFormulaRequestAttributes { diff --git a/src/datadogV2/model/model_scalar_formula_request_type.rs b/src/datadogV2/model/model_scalar_formula_request_type.rs index 3a53f3436..ce2422e52 100644 --- a/src/datadogV2/model/model_scalar_formula_request_type.rs +++ b/src/datadogV2/model/model_scalar_formula_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ScalarFormulaRequestType { #[serde(rename = "scalar_request")] diff --git a/src/datadogV2/model/model_scalar_formula_response_atrributes.rs b/src/datadogV2/model/model_scalar_formula_response_atrributes.rs index a19aac5e5..59454705f 100644 --- a/src/datadogV2/model/model_scalar_formula_response_atrributes.rs +++ b/src/datadogV2/model/model_scalar_formula_response_atrributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing a scalar response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScalarFormulaResponseAtrributes { diff --git a/src/datadogV2/model/model_scalar_formula_response_type.rs b/src/datadogV2/model/model_scalar_formula_response_type.rs index b9bfe7cbc..9e263b996 100644 --- a/src/datadogV2/model/model_scalar_formula_response_type.rs +++ b/src/datadogV2/model/model_scalar_formula_response_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ScalarFormulaResponseType { #[serde(rename = "scalar_response")] diff --git a/src/datadogV2/model/model_scalar_meta.rs b/src/datadogV2/model/model_scalar_meta.rs index c8d49a22c..f45237461 100644 --- a/src/datadogV2/model/model_scalar_meta.rs +++ b/src/datadogV2/model/model_scalar_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata for the resulting numerical values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScalarMeta { diff --git a/src/datadogV2/model/model_scalar_query.rs b/src/datadogV2/model/model_scalar_query.rs index d79190a48..d6bd4d96d 100644 --- a/src/datadogV2/model/model_scalar_query.rs +++ b/src/datadogV2/model/model_scalar_query.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An individual scalar query to one of the basic Datadog data sources. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ScalarQuery { diff --git a/src/datadogV2/model/model_scalar_response.rs b/src/datadogV2/model/model_scalar_response.rs index 83ae70770..667d243d0 100644 --- a/src/datadogV2/model/model_scalar_response.rs +++ b/src/datadogV2/model/model_scalar_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A message containing the response to a scalar query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ScalarResponse { diff --git a/src/datadogV2/model/model_scorecard_type.rs b/src/datadogV2/model/model_scorecard_type.rs index 35758a01e..67073b69d 100644 --- a/src/datadogV2/model/model_scorecard_type.rs +++ b/src/datadogV2/model/model_scorecard_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ScorecardType { #[serde(rename = "scorecard")] diff --git a/src/datadogV2/model/model_security_filter.rs b/src/datadogV2/model/model_security_filter.rs index 2335ab08e..3d0d09ee5 100644 --- a/src/datadogV2/model/model_security_filter.rs +++ b/src/datadogV2/model/model_security_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The security filter's properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilter { diff --git a/src/datadogV2/model/model_security_filter_attributes.rs b/src/datadogV2/model/model_security_filter_attributes.rs index 0a83225db..730fb8cbb 100644 --- a/src/datadogV2/model/model_security_filter_attributes.rs +++ b/src/datadogV2/model/model_security_filter_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing a security filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterAttributes { diff --git a/src/datadogV2/model/model_security_filter_create_attributes.rs b/src/datadogV2/model/model_security_filter_create_attributes.rs index ac43fbd4b..ade7e9a95 100644 --- a/src/datadogV2/model/model_security_filter_create_attributes.rs +++ b/src/datadogV2/model/model_security_filter_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the attributes of the security filter to be created. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterCreateAttributes { diff --git a/src/datadogV2/model/model_security_filter_create_data.rs b/src/datadogV2/model/model_security_filter_create_data.rs index 7d313dc6d..6f4f72e9d 100644 --- a/src/datadogV2/model/model_security_filter_create_data.rs +++ b/src/datadogV2/model/model_security_filter_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object for a single security filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterCreateData { diff --git a/src/datadogV2/model/model_security_filter_create_request.rs b/src/datadogV2/model/model_security_filter_create_request.rs index 1a58fe13a..1b83c83f3 100644 --- a/src/datadogV2/model/model_security_filter_create_request.rs +++ b/src/datadogV2/model/model_security_filter_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request object that includes the security filter that you would like to create. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterCreateRequest { diff --git a/src/datadogV2/model/model_security_filter_exclusion_filter.rs b/src/datadogV2/model/model_security_filter_exclusion_filter.rs index 506423a40..d918027bd 100644 --- a/src/datadogV2/model/model_security_filter_exclusion_filter.rs +++ b/src/datadogV2/model/model_security_filter_exclusion_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Exclusion filter for the security filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterExclusionFilter { diff --git a/src/datadogV2/model/model_security_filter_exclusion_filter_response.rs b/src/datadogV2/model/model_security_filter_exclusion_filter_response.rs index 1268dae7f..05124ee92 100644 --- a/src/datadogV2/model/model_security_filter_exclusion_filter_response.rs +++ b/src/datadogV2/model/model_security_filter_exclusion_filter_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single exclusion filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterExclusionFilterResponse { diff --git a/src/datadogV2/model/model_security_filter_filtered_data_type.rs b/src/datadogV2/model/model_security_filter_filtered_data_type.rs index 6c2856757..873760567 100644 --- a/src/datadogV2/model/model_security_filter_filtered_data_type.rs +++ b/src/datadogV2/model/model_security_filter_filtered_data_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityFilterFilteredDataType { #[serde(rename = "logs")] diff --git a/src/datadogV2/model/model_security_filter_meta.rs b/src/datadogV2/model/model_security_filter_meta.rs index 37601c371..0c0981a36 100644 --- a/src/datadogV2/model/model_security_filter_meta.rs +++ b/src/datadogV2/model/model_security_filter_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Optional metadata associated to the response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterMeta { diff --git a/src/datadogV2/model/model_security_filter_response.rs b/src/datadogV2/model/model_security_filter_response.rs index 0b26bf608..016bd4d7f 100644 --- a/src/datadogV2/model/model_security_filter_response.rs +++ b/src/datadogV2/model/model_security_filter_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object which includes a single security filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterResponse { diff --git a/src/datadogV2/model/model_security_filter_type.rs b/src/datadogV2/model/model_security_filter_type.rs index 6f60abe86..bf66c70a1 100644 --- a/src/datadogV2/model/model_security_filter_type.rs +++ b/src/datadogV2/model/model_security_filter_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityFilterType { #[serde(rename = "security_filters")] diff --git a/src/datadogV2/model/model_security_filter_update_attributes.rs b/src/datadogV2/model/model_security_filter_update_attributes.rs index adae7e4fc..552bdf3db 100644 --- a/src/datadogV2/model/model_security_filter_update_attributes.rs +++ b/src/datadogV2/model/model_security_filter_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The security filters properties to be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterUpdateAttributes { diff --git a/src/datadogV2/model/model_security_filter_update_data.rs b/src/datadogV2/model/model_security_filter_update_data.rs index a8b847b70..901ba7dc1 100644 --- a/src/datadogV2/model/model_security_filter_update_data.rs +++ b/src/datadogV2/model/model_security_filter_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new security filter properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterUpdateData { diff --git a/src/datadogV2/model/model_security_filter_update_request.rs b/src/datadogV2/model/model_security_filter_update_request.rs index 8a90dd048..d0f3054ab 100644 --- a/src/datadogV2/model/model_security_filter_update_request.rs +++ b/src/datadogV2/model/model_security_filter_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new security filter body. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFilterUpdateRequest { diff --git a/src/datadogV2/model/model_security_filters_response.rs b/src/datadogV2/model/model_security_filters_response.rs index f419124a5..d8cdb63b7 100644 --- a/src/datadogV2/model/model_security_filters_response.rs +++ b/src/datadogV2/model/model_security_filters_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// All the available security filters objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityFiltersResponse { diff --git a/src/datadogV2/model/model_security_monitoring_filter.rs b/src/datadogV2/model/model_security_monitoring_filter.rs index 5ca84ae0d..bcc844dee 100644 --- a/src/datadogV2/model/model_security_monitoring_filter.rs +++ b/src/datadogV2/model/model_security_monitoring_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The rule's suppression filter. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringFilter { diff --git a/src/datadogV2/model/model_security_monitoring_filter_action.rs b/src/datadogV2/model/model_security_monitoring_filter_action.rs index e9477810b..560f1c0dd 100644 --- a/src/datadogV2/model/model_security_monitoring_filter_action.rs +++ b/src/datadogV2/model/model_security_monitoring_filter_action.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringFilterAction { #[serde(rename = "require")] diff --git a/src/datadogV2/model/model_security_monitoring_list_rules_response.rs b/src/datadogV2/model/model_security_monitoring_list_rules_response.rs index d53a65ef6..04ae1125a 100644 --- a/src/datadogV2/model/model_security_monitoring_list_rules_response.rs +++ b/src/datadogV2/model/model_security_monitoring_list_rules_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of rules. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringListRulesResponse { diff --git a/src/datadogV2/model/model_security_monitoring_rule_case.rs b/src/datadogV2/model/model_security_monitoring_rule_case.rs index e67be92e0..417045e98 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_case.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_case.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Case when signal is generated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringRuleCase { diff --git a/src/datadogV2/model/model_security_monitoring_rule_case_create.rs b/src/datadogV2/model/model_security_monitoring_rule_case_create.rs index b616d4bed..bc7661225 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_case_create.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_case_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Case when signal is generated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringRuleCaseCreate { diff --git a/src/datadogV2/model/model_security_monitoring_rule_create_payload.rs b/src/datadogV2/model/model_security_monitoring_rule_create_payload.rs index 47d9a883a..1411902f7 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_create_payload.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_create_payload.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Create a new rule. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SecurityMonitoringRuleCreatePayload { diff --git a/src/datadogV2/model/model_security_monitoring_rule_detection_method.rs b/src/datadogV2/model/model_security_monitoring_rule_detection_method.rs index a5889df99..34947cee0 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_detection_method.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_detection_method.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringRuleDetectionMethod { #[serde(rename = "threshold")] diff --git a/src/datadogV2/model/model_security_monitoring_rule_evaluation_window.rs b/src/datadogV2/model/model_security_monitoring_rule_evaluation_window.rs index 0c6adc939..cafe043ae 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_evaluation_window.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_evaluation_window.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV2/model/model_security_monitoring_rule_hardcoded_evaluator_type.rs b/src/datadogV2/model/model_security_monitoring_rule_hardcoded_evaluator_type.rs index 98af49a6e..220c21815 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_hardcoded_evaluator_type.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_hardcoded_evaluator_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringRuleHardcodedEvaluatorType { #[serde(rename = "log4shell")] diff --git a/src/datadogV2/model/model_security_monitoring_rule_impossible_travel_options.rs b/src/datadogV2/model/model_security_monitoring_rule_impossible_travel_options.rs index 8892cfc0a..d95141a0a 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_impossible_travel_options.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_impossible_travel_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options on impossible travel rules. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringRuleImpossibleTravelOptions { diff --git a/src/datadogV2/model/model_security_monitoring_rule_keep_alive.rs b/src/datadogV2/model/model_security_monitoring_rule_keep_alive.rs index 8781611c9..877388e4f 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_keep_alive.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_keep_alive.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV2/model/model_security_monitoring_rule_max_signal_duration.rs b/src/datadogV2/model/model_security_monitoring_rule_max_signal_duration.rs index 2a7cc8dc2..f72f899e1 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_max_signal_duration.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_max_signal_duration.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV2/model/model_security_monitoring_rule_new_value_options.rs b/src/datadogV2/model/model_security_monitoring_rule_new_value_options.rs index 0e461478f..61c87568e 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_new_value_options.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_new_value_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options on new value rules. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringRuleNewValueOptions { diff --git a/src/datadogV2/model/model_security_monitoring_rule_new_value_options_forget_after.rs b/src/datadogV2/model/model_security_monitoring_rule_new_value_options_forget_after.rs index 831ecc59b..55bf89a3b 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_new_value_options_forget_after.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_new_value_options_forget_after.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_duration.rs b/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_duration.rs index 18c6ee5d1..317fb7d93 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_duration.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_duration.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_method.rs b/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_method.rs index b6c035f31..c1ed8eb30 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_method.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_method.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringRuleNewValueOptionsLearningMethod { #[serde(rename = "duration")] diff --git a/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_threshold.rs b/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_threshold.rs index e8259e5bd..994f90595 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_threshold.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_new_value_options_learning_threshold.rs @@ -4,6 +4,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; +#[non_exhaustive] #[derive( Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr, )] diff --git a/src/datadogV2/model/model_security_monitoring_rule_options.rs b/src/datadogV2/model/model_security_monitoring_rule_options.rs index fdcdc4b10..080f94a15 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_options.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options on rules. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringRuleOptions { diff --git a/src/datadogV2/model/model_security_monitoring_rule_query.rs b/src/datadogV2/model/model_security_monitoring_rule_query.rs index 7de2724ea..4909c64fc 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_query.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_query.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Query for matching rule. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SecurityMonitoringRuleQuery { diff --git a/src/datadogV2/model/model_security_monitoring_rule_query_aggregation.rs b/src/datadogV2/model/model_security_monitoring_rule_query_aggregation.rs index 3e401fc84..2b1ca6486 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_query_aggregation.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_query_aggregation.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringRuleQueryAggregation { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_security_monitoring_rule_response.rs b/src/datadogV2/model/model_security_monitoring_rule_response.rs index 1064bb086..06538ac9d 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_response.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_response.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Create a new rule. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SecurityMonitoringRuleResponse { diff --git a/src/datadogV2/model/model_security_monitoring_rule_severity.rs b/src/datadogV2/model/model_security_monitoring_rule_severity.rs index 586cc170a..f8a28c069 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_severity.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_severity.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringRuleSeverity { #[serde(rename = "info")] diff --git a/src/datadogV2/model/model_security_monitoring_rule_third_party_options.rs b/src/datadogV2/model/model_security_monitoring_rule_third_party_options.rs index e54e2eb4e..3d50ddddf 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_third_party_options.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_third_party_options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Options on third party rules. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringRuleThirdPartyOptions { diff --git a/src/datadogV2/model/model_security_monitoring_rule_type_create.rs b/src/datadogV2/model/model_security_monitoring_rule_type_create.rs index 043239ec2..57dbb8996 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_type_create.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_type_create.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringRuleTypeCreate { #[serde(rename = "application_security")] diff --git a/src/datadogV2/model/model_security_monitoring_rule_type_read.rs b/src/datadogV2/model/model_security_monitoring_rule_type_read.rs index 43c5b936b..5f612e06d 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_type_read.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_type_read.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringRuleTypeRead { #[serde(rename = "log_detection")] diff --git a/src/datadogV2/model/model_security_monitoring_rule_update_payload.rs b/src/datadogV2/model/model_security_monitoring_rule_update_payload.rs index caafce001..541c9885f 100644 --- a/src/datadogV2/model/model_security_monitoring_rule_update_payload.rs +++ b/src/datadogV2/model/model_security_monitoring_rule_update_payload.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update an existing rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringRuleUpdatePayload { diff --git a/src/datadogV2/model/model_security_monitoring_signal.rs b/src/datadogV2/model/model_security_monitoring_signal.rs index b1cc8a602..7f605f4c5 100644 --- a/src/datadogV2/model/model_security_monitoring_signal.rs +++ b/src/datadogV2/model/model_security_monitoring_signal.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object description of a security signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignal { diff --git a/src/datadogV2/model/model_security_monitoring_signal_archive_reason.rs b/src/datadogV2/model/model_security_monitoring_signal_archive_reason.rs index 04ac19405..2bf0ee6b3 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_archive_reason.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_archive_reason.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringSignalArchiveReason { #[serde(rename = "none")] diff --git a/src/datadogV2/model/model_security_monitoring_signal_assignee_update_attributes.rs b/src/datadogV2/model/model_security_monitoring_signal_assignee_update_attributes.rs index 0823656d8..a2a688ad6 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_assignee_update_attributes.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_assignee_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes describing the new assignee of a security signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalAssigneeUpdateAttributes { diff --git a/src/datadogV2/model/model_security_monitoring_signal_assignee_update_data.rs b/src/datadogV2/model/model_security_monitoring_signal_assignee_update_data.rs index 12e3cf4d8..8e0ebf1ac 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_assignee_update_data.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_assignee_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data containing the patch for changing the assignee of a signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalAssigneeUpdateData { diff --git a/src/datadogV2/model/model_security_monitoring_signal_assignee_update_request.rs b/src/datadogV2/model/model_security_monitoring_signal_assignee_update_request.rs index 8dadddfbe..9dd2b5ecc 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_assignee_update_request.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_assignee_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request body for changing the assignee of a given security monitoring signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalAssigneeUpdateRequest { diff --git a/src/datadogV2/model/model_security_monitoring_signal_attributes.rs b/src/datadogV2/model/model_security_monitoring_signal_attributes.rs index 02e97b639..38431dfef 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_attributes.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_attributes.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The object containing all signal attributes and their /// associated values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalAttributes { diff --git a/src/datadogV2/model/model_security_monitoring_signal_incidents_update_attributes.rs b/src/datadogV2/model/model_security_monitoring_signal_incidents_update_attributes.rs index 28feffc1a..1f1649a59 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_incidents_update_attributes.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_incidents_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes describing the new list of related signals for a security signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalIncidentsUpdateAttributes { diff --git a/src/datadogV2/model/model_security_monitoring_signal_incidents_update_data.rs b/src/datadogV2/model/model_security_monitoring_signal_incidents_update_data.rs index d00a418ed..ca16394b6 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_incidents_update_data.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_incidents_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data containing the patch for changing the related incidents of a signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalIncidentsUpdateData { diff --git a/src/datadogV2/model/model_security_monitoring_signal_incidents_update_request.rs b/src/datadogV2/model/model_security_monitoring_signal_incidents_update_request.rs index 6a94f297a..1f973eadc 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_incidents_update_request.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_incidents_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request body for changing the related incidents of a given security monitoring signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalIncidentsUpdateRequest { diff --git a/src/datadogV2/model/model_security_monitoring_signal_list_request.rs b/src/datadogV2/model/model_security_monitoring_signal_list_request.rs index 220a5df5a..f54985015 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_list_request.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_list_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The request for a security signal list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalListRequest { diff --git a/src/datadogV2/model/model_security_monitoring_signal_list_request_filter.rs b/src/datadogV2/model/model_security_monitoring_signal_list_request_filter.rs index 5caa91cb8..2ae4c8bd1 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_list_request_filter.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_list_request_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Search filters for listing security signals. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalListRequestFilter { diff --git a/src/datadogV2/model/model_security_monitoring_signal_list_request_page.rs b/src/datadogV2/model/model_security_monitoring_signal_list_request_page.rs index 8d47fe242..155aa6a7e 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_list_request_page.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_list_request_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The paging attributes for listing security signals. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalListRequestPage { diff --git a/src/datadogV2/model/model_security_monitoring_signal_metadata_type.rs b/src/datadogV2/model/model_security_monitoring_signal_metadata_type.rs index 4407426aa..72cf30c92 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_metadata_type.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_metadata_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringSignalMetadataType { #[serde(rename = "signal_metadata")] diff --git a/src/datadogV2/model/model_security_monitoring_signal_response.rs b/src/datadogV2/model/model_security_monitoring_signal_response.rs index 2989eeafc..5eeb929b6 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_response.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Security Signal response data object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalResponse { diff --git a/src/datadogV2/model/model_security_monitoring_signal_rule_create_payload.rs b/src/datadogV2/model/model_security_monitoring_signal_rule_create_payload.rs index d471a3de5..7f6c8e81c 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_rule_create_payload.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_rule_create_payload.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create a new signal correlation rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalRuleCreatePayload { diff --git a/src/datadogV2/model/model_security_monitoring_signal_rule_query.rs b/src/datadogV2/model/model_security_monitoring_signal_rule_query.rs index 458bda295..ba0178f12 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_rule_query.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_rule_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Query for matching rule on signals. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalRuleQuery { diff --git a/src/datadogV2/model/model_security_monitoring_signal_rule_response.rs b/src/datadogV2/model/model_security_monitoring_signal_rule_response.rs index 8f25905a2..d91b2d056 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_rule_response.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_rule_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalRuleResponse { diff --git a/src/datadogV2/model/model_security_monitoring_signal_rule_response_query.rs b/src/datadogV2/model/model_security_monitoring_signal_rule_response_query.rs index ec5d8dd8f..3bfdfd256 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_rule_response_query.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_rule_response_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Query for matching rule on signals. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalRuleResponseQuery { diff --git a/src/datadogV2/model/model_security_monitoring_signal_rule_type.rs b/src/datadogV2/model/model_security_monitoring_signal_rule_type.rs index 4bbb9a52c..fc42f1c62 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_rule_type.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_rule_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringSignalRuleType { #[serde(rename = "signal_correlation")] diff --git a/src/datadogV2/model/model_security_monitoring_signal_state.rs b/src/datadogV2/model/model_security_monitoring_signal_state.rs index 447c7bdbc..1e16be5c7 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_state.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_state.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringSignalState { #[serde(rename = "open")] diff --git a/src/datadogV2/model/model_security_monitoring_signal_state_update_attributes.rs b/src/datadogV2/model/model_security_monitoring_signal_state_update_attributes.rs index 1acb3bb04..1aba2d037 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_state_update_attributes.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_state_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes describing the change of state of a security signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalStateUpdateAttributes { diff --git a/src/datadogV2/model/model_security_monitoring_signal_state_update_data.rs b/src/datadogV2/model/model_security_monitoring_signal_state_update_data.rs index 177ea56b7..043fd1795 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_state_update_data.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_state_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data containing the patch for changing the state of a signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalStateUpdateData { diff --git a/src/datadogV2/model/model_security_monitoring_signal_state_update_request.rs b/src/datadogV2/model/model_security_monitoring_signal_state_update_request.rs index 2862e8f4e..ee08e1a84 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_state_update_request.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_state_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request body for changing the state of a given security monitoring signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalStateUpdateRequest { diff --git a/src/datadogV2/model/model_security_monitoring_signal_triage_attributes.rs b/src/datadogV2/model/model_security_monitoring_signal_triage_attributes.rs index fd132a6d7..777b98a9e 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_triage_attributes.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_triage_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes describing a triage state update operation over a security signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalTriageAttributes { diff --git a/src/datadogV2/model/model_security_monitoring_signal_triage_update_data.rs b/src/datadogV2/model/model_security_monitoring_signal_triage_update_data.rs index c6e0c5eb2..8ec2a8bca 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_triage_update_data.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_triage_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data containing the updated triage attributes of the signal. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalTriageUpdateData { diff --git a/src/datadogV2/model/model_security_monitoring_signal_triage_update_response.rs b/src/datadogV2/model/model_security_monitoring_signal_triage_update_response.rs index b2eefb2a3..a96d2bdb0 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_triage_update_response.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_triage_update_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response returned after all triage operations, containing the updated signal triage data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalTriageUpdateResponse { diff --git a/src/datadogV2/model/model_security_monitoring_signal_type.rs b/src/datadogV2/model/model_security_monitoring_signal_type.rs index 46c005b09..3ec68b76f 100644 --- a/src/datadogV2/model/model_security_monitoring_signal_type.rs +++ b/src/datadogV2/model/model_security_monitoring_signal_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringSignalType { #[serde(rename = "signal")] diff --git a/src/datadogV2/model/model_security_monitoring_signals_list_response.rs b/src/datadogV2/model/model_security_monitoring_signals_list_response.rs index f50b91c97..f7ad1387d 100644 --- a/src/datadogV2/model/model_security_monitoring_signals_list_response.rs +++ b/src/datadogV2/model/model_security_monitoring_signals_list_response.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// The response object with all security signals matching the request /// and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalsListResponse { diff --git a/src/datadogV2/model/model_security_monitoring_signals_list_response_links.rs b/src/datadogV2/model/model_security_monitoring_signals_list_response_links.rs index 52fd89f47..8e92d56d5 100644 --- a/src/datadogV2/model/model_security_monitoring_signals_list_response_links.rs +++ b/src/datadogV2/model/model_security_monitoring_signals_list_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalsListResponseLinks { diff --git a/src/datadogV2/model/model_security_monitoring_signals_list_response_meta.rs b/src/datadogV2/model/model_security_monitoring_signals_list_response_meta.rs index e756f23a8..2701351ac 100644 --- a/src/datadogV2/model/model_security_monitoring_signals_list_response_meta.rs +++ b/src/datadogV2/model/model_security_monitoring_signals_list_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Meta attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalsListResponseMeta { diff --git a/src/datadogV2/model/model_security_monitoring_signals_list_response_meta_page.rs b/src/datadogV2/model/model_security_monitoring_signals_list_response_meta_page.rs index 79e746287..204d69e9a 100644 --- a/src/datadogV2/model/model_security_monitoring_signals_list_response_meta_page.rs +++ b/src/datadogV2/model/model_security_monitoring_signals_list_response_meta_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringSignalsListResponseMetaPage { diff --git a/src/datadogV2/model/model_security_monitoring_signals_sort.rs b/src/datadogV2/model/model_security_monitoring_signals_sort.rs index ef1f761e4..166d227e3 100644 --- a/src/datadogV2/model/model_security_monitoring_signals_sort.rs +++ b/src/datadogV2/model/model_security_monitoring_signals_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SecurityMonitoringSignalsSort { #[serde(rename = "timestamp")] diff --git a/src/datadogV2/model/model_security_monitoring_standard_rule_create_payload.rs b/src/datadogV2/model/model_security_monitoring_standard_rule_create_payload.rs index 5ebee8988..894526ee2 100644 --- a/src/datadogV2/model/model_security_monitoring_standard_rule_create_payload.rs +++ b/src/datadogV2/model/model_security_monitoring_standard_rule_create_payload.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create a new rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringStandardRuleCreatePayload { diff --git a/src/datadogV2/model/model_security_monitoring_standard_rule_query.rs b/src/datadogV2/model/model_security_monitoring_standard_rule_query.rs index 1326a1ec5..19acbd271 100644 --- a/src/datadogV2/model/model_security_monitoring_standard_rule_query.rs +++ b/src/datadogV2/model/model_security_monitoring_standard_rule_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Query for matching rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringStandardRuleQuery { diff --git a/src/datadogV2/model/model_security_monitoring_standard_rule_response.rs b/src/datadogV2/model/model_security_monitoring_standard_rule_response.rs index b4970be12..995f8468d 100644 --- a/src/datadogV2/model/model_security_monitoring_standard_rule_response.rs +++ b/src/datadogV2/model/model_security_monitoring_standard_rule_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringStandardRuleResponse { diff --git a/src/datadogV2/model/model_security_monitoring_third_party_root_query.rs b/src/datadogV2/model/model_security_monitoring_third_party_root_query.rs index 1f5fdcecb..4392a3934 100644 --- a/src/datadogV2/model/model_security_monitoring_third_party_root_query.rs +++ b/src/datadogV2/model/model_security_monitoring_third_party_root_query.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A query to be combined with the third party case query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringThirdPartyRootQuery { diff --git a/src/datadogV2/model/model_security_monitoring_third_party_rule_case.rs b/src/datadogV2/model/model_security_monitoring_third_party_rule_case.rs index 7c8bd965f..50b10744b 100644 --- a/src/datadogV2/model/model_security_monitoring_third_party_rule_case.rs +++ b/src/datadogV2/model/model_security_monitoring_third_party_rule_case.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Case when signal is generated by a third party rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringThirdPartyRuleCase { diff --git a/src/datadogV2/model/model_security_monitoring_third_party_rule_case_create.rs b/src/datadogV2/model/model_security_monitoring_third_party_rule_case_create.rs index 1180443b7..68481a8d4 100644 --- a/src/datadogV2/model/model_security_monitoring_third_party_rule_case_create.rs +++ b/src/datadogV2/model/model_security_monitoring_third_party_rule_case_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Case when a signal is generated by a third party rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringThirdPartyRuleCaseCreate { diff --git a/src/datadogV2/model/model_security_monitoring_triage_user.rs b/src/datadogV2/model/model_security_monitoring_triage_user.rs index 79f2e2637..0e01c6f08 100644 --- a/src/datadogV2/model/model_security_monitoring_triage_user.rs +++ b/src/datadogV2/model/model_security_monitoring_triage_user.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object representing a given user entity. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SecurityMonitoringTriageUser { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_config_request.rs b/src/datadogV2/model/model_sensitive_data_scanner_config_request.rs index 48d85991e..6d359964c 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_config_request.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_config_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Group reorder request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerConfigRequest { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_configuration.rs b/src/datadogV2/model/model_sensitive_data_scanner_configuration.rs index e0483f771..f56b64845 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_configuration.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_configuration.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A Sensitive Data Scanner configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerConfiguration { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_configuration_data.rs b/src/datadogV2/model/model_sensitive_data_scanner_configuration_data.rs index c528eba5f..a0eacbad6 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_configuration_data.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_configuration_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A Sensitive Data Scanner configuration data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerConfigurationData { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_configuration_relationships.rs b/src/datadogV2/model/model_sensitive_data_scanner_configuration_relationships.rs index 73ef2def5..4c2fb2325 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_configuration_relationships.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_configuration_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships of the configuration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerConfigurationRelationships { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_configuration_type.rs b/src/datadogV2/model/model_sensitive_data_scanner_configuration_type.rs index 40740a33b..d61d6e004 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_configuration_type.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_configuration_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SensitiveDataScannerConfigurationType { #[serde(rename = "sensitive_data_scanner_configuration")] diff --git a/src/datadogV2/model/model_sensitive_data_scanner_create_group_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_create_group_response.rs index 24bcc39c7..f425644d2 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_create_group_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_create_group_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create group response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerCreateGroupResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_create_rule_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_create_rule_response.rs index c02987a47..8acb2a49d 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_create_rule_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_create_rule_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create rule response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerCreateRuleResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_filter.rs b/src/datadogV2/model/model_sensitive_data_scanner_filter.rs index 3b577d1ac..0709a889e 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_filter.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Filter for the Scanning Group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerFilter { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_get_config_included_item.rs b/src/datadogV2/model/model_sensitive_data_scanner_get_config_included_item.rs index 0f02c538b..c4d71c3d5 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_get_config_included_item.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_get_config_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to the configuration. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SensitiveDataScannerGetConfigIncludedItem { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_get_config_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_get_config_response.rs index df40998f6..9396fe6b6 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_get_config_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_get_config_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Get all groups response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGetConfigResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_get_config_response_data.rs b/src/datadogV2/model/model_sensitive_data_scanner_get_config_response_data.rs index d75e9a550..8d423e096 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_get_config_response_data.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_get_config_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response data related to the scanning groups. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGetConfigResponseData { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group.rs b/src/datadogV2/model/model_sensitive_data_scanner_group.rs index f071a4856..adb38b48d 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A scanning group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroup { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_attributes.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_attributes.rs index f21066d0f..370f0b053 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_attributes.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the Sensitive Data Scanner group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupAttributes { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_create.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_create.rs index 51113a68f..258c3dd6f 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_create.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data related to the creation of a group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupCreate { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_create_request.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_create_request.rs index efffcc0ae..1c8bf2b36 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_create_request.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create group request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupCreateRequest { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_data.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_data.rs index 631a3b14e..46d1e37df 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_data.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A scanning group data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupData { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_delete_request.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_delete_request.rs index bf133c2b3..2d002bc8c 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_delete_request.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_delete_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Delete group request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupDeleteRequest { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_delete_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_delete_response.rs index 6621b61d7..68f5a69e1 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_delete_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_delete_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Delete group response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupDeleteResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_included_item.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_included_item.rs index 7c1d511ac..8132edeb3 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_included_item.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_included_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A Scanning Group included item. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupIncludedItem { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_item.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_item.rs index 469916f35..1cb848273 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_item.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data related to a Sensitive Data Scanner Group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupItem { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_list.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_list.rs index 88fe783dc..aaf2500f7 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_list.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_list.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List of groups, ordered. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupList { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_relationships.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_relationships.rs index 56784f4d5..dfe19423e 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_relationships.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships of the group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupRelationships { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_response.rs index 5d7c3a621..04c013a9b 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response data related to the creation of a group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_type.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_type.rs index d35090f8d..a0036737a 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_type.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SensitiveDataScannerGroupType { #[serde(rename = "sensitive_data_scanner_group")] diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_update.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_update.rs index 55943586d..283e1dd17 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_update.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_update.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data related to the update of a group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupUpdate { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_update_request.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_update_request.rs index 8da3769e4..7fabb88f9 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_update_request.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update group request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupUpdateRequest { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_group_update_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_group_update_response.rs index 2f1daf6d8..8ab475f89 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_group_update_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_group_update_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update group response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerGroupUpdateResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_meta.rs b/src/datadogV2/model/model_sensitive_data_scanner_meta.rs index fc1507ed3..24b7e5c26 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_meta.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Meta response containing information about the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerMeta { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_meta_version_only.rs b/src/datadogV2/model/model_sensitive_data_scanner_meta_version_only.rs index a985ddfb4..e573a08cf 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_meta_version_only.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_meta_version_only.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Meta payload containing information about the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerMetaVersionOnly { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_product.rs b/src/datadogV2/model/model_sensitive_data_scanner_product.rs index ed5ece4fc..f9d9bc3cb 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_product.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_product.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SensitiveDataScannerProduct { #[serde(rename = "logs")] diff --git a/src/datadogV2/model/model_sensitive_data_scanner_reorder_config.rs b/src/datadogV2/model/model_sensitive_data_scanner_reorder_config.rs index 0b6d662c0..f4aa5ae9d 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_reorder_config.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_reorder_config.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data related to the reordering of scanning groups. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerReorderConfig { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_reorder_groups_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_reorder_groups_response.rs index d97bd8383..2c20aba47 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_reorder_groups_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_reorder_groups_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Group reorder response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerReorderGroupsResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule.rs index 300378fcc..bc63a0f70 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Rule item included in the group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRule { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_attributes.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_attributes.rs index d2c82ddc6..68080d289 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_attributes.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the Sensitive Data Scanner rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleAttributes { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_create.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_create.rs index a9b42184a..95e5d583c 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_create.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data related to the creation of a rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleCreate { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_create_request.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_create_request.rs index b39b833fb..1db36b3cd 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_create_request.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create rule request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleCreateRequest { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_data.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_data.rs index fe1c1ac76..e09c97369 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_data.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Rules included in the group. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleData { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_delete_request.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_delete_request.rs index a5486729f..fda431b53 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_delete_request.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_delete_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Delete rule request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleDeleteRequest { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_delete_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_delete_response.rs index 9ca0cf0de..a7a867ce1 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_delete_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_delete_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Delete rule response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleDeleteResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_included_item.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_included_item.rs index d4e5f3eba..020241003 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_included_item.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_included_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A Scanning Rule included item. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleIncludedItem { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_relationships.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_relationships.rs index b19df973e..c916d57b3 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_relationships.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships of a scanning rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleRelationships { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_response.rs index 62c6f98f0..9319ac75d 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response data related to the creation of a rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_type.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_type.rs index a00b7ee2c..6130d8d79 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_type.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SensitiveDataScannerRuleType { #[serde(rename = "sensitive_data_scanner_rule")] diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_update.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_update.rs index 9388f86b5..811986940 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_update.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_update.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data related to the update of a rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleUpdate { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_update_request.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_update_request.rs index 77ce597a6..2da1938e4 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_update_request.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update rule request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleUpdateRequest { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_rule_update_response.rs b/src/datadogV2/model/model_sensitive_data_scanner_rule_update_response.rs index f8cdecce9..951bd26f6 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_rule_update_response.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_rule_update_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update rule response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerRuleUpdateResponse { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern.rs b/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern.rs index 06b7677cc..1598ce750 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Data containing the standard pattern id. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerStandardPattern { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_attributes.rs b/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_attributes.rs index 59957c120..e22ccee1f 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_attributes.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the Sensitive Data Scanner standard pattern. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerStandardPatternAttributes { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_data.rs b/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_data.rs index 51db1a631..c5b1094cf 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_data.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A standard pattern. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerStandardPatternData { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_type.rs b/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_type.rs index a1e80519c..9b05c9ada 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_type.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_standard_pattern_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SensitiveDataScannerStandardPatternType { #[serde(rename = "sensitive_data_scanner_standard_pattern")] diff --git a/src/datadogV2/model/model_sensitive_data_scanner_standard_patterns_response_data.rs b/src/datadogV2/model/model_sensitive_data_scanner_standard_patterns_response_data.rs index 34474f698..60e565ffc 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_standard_patterns_response_data.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_standard_patterns_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// List Standard patterns response data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerStandardPatternsResponseData { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_standard_patterns_response_item.rs b/src/datadogV2/model/model_sensitive_data_scanner_standard_patterns_response_item.rs index dd6932a1f..3d225ea59 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_standard_patterns_response_item.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_standard_patterns_response_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Standard pattern item. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerStandardPatternsResponseItem { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_text_replacement.rs b/src/datadogV2/model/model_sensitive_data_scanner_text_replacement.rs index 74fb45794..2d4d18364 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_text_replacement.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_text_replacement.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object describing how the scanned event will be replaced. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SensitiveDataScannerTextReplacement { diff --git a/src/datadogV2/model/model_sensitive_data_scanner_text_replacement_type.rs b/src/datadogV2/model/model_sensitive_data_scanner_text_replacement_type.rs index d89493725..8a3fab2ad 100644 --- a/src/datadogV2/model/model_sensitive_data_scanner_text_replacement_type.rs +++ b/src/datadogV2/model/model_sensitive_data_scanner_text_replacement_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SensitiveDataScannerTextReplacementType { #[serde(rename = "none")] diff --git a/src/datadogV2/model/model_service_account_create_attributes.rs b/src/datadogV2/model/model_service_account_create_attributes.rs index 94564bb1b..6a110daab 100644 --- a/src/datadogV2/model/model_service_account_create_attributes.rs +++ b/src/datadogV2/model/model_service_account_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the created user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceAccountCreateAttributes { diff --git a/src/datadogV2/model/model_service_account_create_data.rs b/src/datadogV2/model/model_service_account_create_data.rs index 55ee9fc9b..acc451b38 100644 --- a/src/datadogV2/model/model_service_account_create_data.rs +++ b/src/datadogV2/model/model_service_account_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to create a service account User. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceAccountCreateData { diff --git a/src/datadogV2/model/model_service_account_create_request.rs b/src/datadogV2/model/model_service_account_create_request.rs index 133a0d3dd..4e0528a29 100644 --- a/src/datadogV2/model/model_service_account_create_request.rs +++ b/src/datadogV2/model/model_service_account_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create a service account. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceAccountCreateRequest { diff --git a/src/datadogV2/model/model_service_definition_create_response.rs b/src/datadogV2/model/model_service_definition_create_response.rs index 78eba64df..91908674d 100644 --- a/src/datadogV2/model/model_service_definition_create_response.rs +++ b/src/datadogV2/model/model_service_definition_create_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create service definitions response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionCreateResponse { diff --git a/src/datadogV2/model/model_service_definition_data.rs b/src/datadogV2/model/model_service_definition_data.rs index 1c3a792d9..8c0b38985 100644 --- a/src/datadogV2/model/model_service_definition_data.rs +++ b/src/datadogV2/model/model_service_definition_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service definition data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionData { diff --git a/src/datadogV2/model/model_service_definition_data_attributes.rs b/src/datadogV2/model/model_service_definition_data_attributes.rs index f33b649b1..a69f425dd 100644 --- a/src/datadogV2/model/model_service_definition_data_attributes.rs +++ b/src/datadogV2/model/model_service_definition_data_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service definition attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionDataAttributes { diff --git a/src/datadogV2/model/model_service_definition_get_response.rs b/src/datadogV2/model/model_service_definition_get_response.rs index 5d2c3e9e6..8b6608278 100644 --- a/src/datadogV2/model/model_service_definition_get_response.rs +++ b/src/datadogV2/model/model_service_definition_get_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Get service definition response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionGetResponse { diff --git a/src/datadogV2/model/model_service_definition_meta.rs b/src/datadogV2/model/model_service_definition_meta.rs index 910adaf19..13c86d15f 100644 --- a/src/datadogV2/model/model_service_definition_meta.rs +++ b/src/datadogV2/model/model_service_definition_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Metadata about a service definition. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionMeta { diff --git a/src/datadogV2/model/model_service_definition_meta_warnings.rs b/src/datadogV2/model/model_service_definition_meta_warnings.rs index faaea37a5..b76da0cc8 100644 --- a/src/datadogV2/model/model_service_definition_meta_warnings.rs +++ b/src/datadogV2/model/model_service_definition_meta_warnings.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Schema validation warnings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionMetaWarnings { diff --git a/src/datadogV2/model/model_service_definition_schema.rs b/src/datadogV2/model/model_service_definition_schema.rs index 7f53271ea..92f591035 100644 --- a/src/datadogV2/model/model_service_definition_schema.rs +++ b/src/datadogV2/model/model_service_definition_schema.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Service definition schema. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ServiceDefinitionSchema { diff --git a/src/datadogV2/model/model_service_definition_schema_versions.rs b/src/datadogV2/model/model_service_definition_schema_versions.rs index df45b3586..ff6f7b5f1 100644 --- a/src/datadogV2/model/model_service_definition_schema_versions.rs +++ b/src/datadogV2/model/model_service_definition_schema_versions.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionSchemaVersions { #[serde(rename = "v1")] diff --git a/src/datadogV2/model/model_service_definition_v1.rs b/src/datadogV2/model/model_service_definition_v1.rs index c52b8a41a..145929281 100644 --- a/src/datadogV2/model/model_service_definition_v1.rs +++ b/src/datadogV2/model/model_service_definition_v1.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Deprecated - Service definition V1 for providing additional service metadata and integrations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV1 { diff --git a/src/datadogV2/model/model_service_definition_v1_contact.rs b/src/datadogV2/model/model_service_definition_v1_contact.rs index 073094701..cdfa7ae9e 100644 --- a/src/datadogV2/model/model_service_definition_v1_contact.rs +++ b/src/datadogV2/model/model_service_definition_v1_contact.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Contact information about the service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV1Contact { diff --git a/src/datadogV2/model/model_service_definition_v1_info.rs b/src/datadogV2/model/model_service_definition_v1_info.rs index 5cf360459..5e28f8333 100644 --- a/src/datadogV2/model/model_service_definition_v1_info.rs +++ b/src/datadogV2/model/model_service_definition_v1_info.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Basic information about a service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV1Info { diff --git a/src/datadogV2/model/model_service_definition_v1_integrations.rs b/src/datadogV2/model/model_service_definition_v1_integrations.rs index 68aa0ff3c..72dc5b5a8 100644 --- a/src/datadogV2/model/model_service_definition_v1_integrations.rs +++ b/src/datadogV2/model/model_service_definition_v1_integrations.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Third party integrations that Datadog supports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV1Integrations { diff --git a/src/datadogV2/model/model_service_definition_v1_org.rs b/src/datadogV2/model/model_service_definition_v1_org.rs index 8923b640c..aebbe4dd7 100644 --- a/src/datadogV2/model/model_service_definition_v1_org.rs +++ b/src/datadogV2/model/model_service_definition_v1_org.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Org related information about the service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV1Org { diff --git a/src/datadogV2/model/model_service_definition_v1_resource.rs b/src/datadogV2/model/model_service_definition_v1_resource.rs index b150328d5..9d7b13bb2 100644 --- a/src/datadogV2/model/model_service_definition_v1_resource.rs +++ b/src/datadogV2/model/model_service_definition_v1_resource.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service's external links. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV1Resource { diff --git a/src/datadogV2/model/model_service_definition_v1_resource_type.rs b/src/datadogV2/model/model_service_definition_v1_resource_type.rs index a17071e11..173a7b4b3 100644 --- a/src/datadogV2/model/model_service_definition_v1_resource_type.rs +++ b/src/datadogV2/model/model_service_definition_v1_resource_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV1ResourceType { #[serde(rename = "doc")] diff --git a/src/datadogV2/model/model_service_definition_v1_version.rs b/src/datadogV2/model/model_service_definition_v1_version.rs index 6ba9ac1c5..948c5c594 100644 --- a/src/datadogV2/model/model_service_definition_v1_version.rs +++ b/src/datadogV2/model/model_service_definition_v1_version.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV1Version { #[serde(rename = "v1")] diff --git a/src/datadogV2/model/model_service_definition_v2.rs b/src/datadogV2/model/model_service_definition_v2.rs index 379021ab4..88a8c6d56 100644 --- a/src/datadogV2/model/model_service_definition_v2.rs +++ b/src/datadogV2/model/model_service_definition_v2.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service definition V2 for providing service metadata and integrations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2 { diff --git a/src/datadogV2/model/model_service_definition_v2_contact.rs b/src/datadogV2/model/model_service_definition_v2_contact.rs index 82dfb76f9..b1c89c9fa 100644 --- a/src/datadogV2/model/model_service_definition_v2_contact.rs +++ b/src/datadogV2/model/model_service_definition_v2_contact.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Service owner's contacts information. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ServiceDefinitionV2Contact { diff --git a/src/datadogV2/model/model_service_definition_v2_doc.rs b/src/datadogV2/model/model_service_definition_v2_doc.rs index 6e7e1431f..105ce8f8d 100644 --- a/src/datadogV2/model/model_service_definition_v2_doc.rs +++ b/src/datadogV2/model/model_service_definition_v2_doc.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service documents. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Doc { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1.rs b/src/datadogV2/model/model_service_definition_v2_dot1.rs index c15daacfb..db596f477 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service definition v2.1 for providing service metadata and integrations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot1 { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_contact.rs b/src/datadogV2/model/model_service_definition_v2_dot1_contact.rs index 5dd9ad082..0f832e856 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_contact.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_contact.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Service owner's contacts information. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ServiceDefinitionV2Dot1Contact { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_email.rs b/src/datadogV2/model/model_service_definition_v2_dot1_email.rs index 79f7c45aa..810b926a1 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_email.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_email.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service owner's email. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot1Email { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_email_type.rs b/src/datadogV2/model/model_service_definition_v2_dot1_email_type.rs index 9da2676e7..dcdacb480 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_email_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_email_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot1EmailType { #[serde(rename = "email")] diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_integrations.rs b/src/datadogV2/model/model_service_definition_v2_dot1_integrations.rs index 98ca88648..8f69b8eb9 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_integrations.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_integrations.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Third party integrations that Datadog supports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot1Integrations { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_link.rs b/src/datadogV2/model/model_service_definition_v2_dot1_link.rs index 3de76c0b3..a156639b9 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_link.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_link.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service's external links. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot1Link { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_link_type.rs b/src/datadogV2/model/model_service_definition_v2_dot1_link_type.rs index eef9f9e38..5cf9bc992 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_link_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_link_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot1LinkType { #[serde(rename = "doc")] diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_ms_teams.rs b/src/datadogV2/model/model_service_definition_v2_dot1_ms_teams.rs index be793a6b4..51b77cc3d 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_ms_teams.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_ms_teams.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service owner's Microsoft Teams. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot1MSTeams { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_ms_teams_type.rs b/src/datadogV2/model/model_service_definition_v2_dot1_ms_teams_type.rs index fc351be0b..150100f4a 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_ms_teams_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_ms_teams_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot1MSTeamsType { #[serde(rename = "microsoft-teams")] diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_opsgenie.rs b/src/datadogV2/model/model_service_definition_v2_dot1_opsgenie.rs index a4acbd08c..529b5ff71 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_opsgenie.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_opsgenie.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Opsgenie integration for the service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot1Opsgenie { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_opsgenie_region.rs b/src/datadogV2/model/model_service_definition_v2_dot1_opsgenie_region.rs index 6b963f044..5e48a61a0 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_opsgenie_region.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_opsgenie_region.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot1OpsgenieRegion { #[serde(rename = "US")] diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_pagerduty.rs b/src/datadogV2/model/model_service_definition_v2_dot1_pagerduty.rs index a6837e282..194971aa3 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_pagerduty.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_pagerduty.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// PagerDuty integration for the service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot1Pagerduty { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_slack.rs b/src/datadogV2/model/model_service_definition_v2_dot1_slack.rs index e2affbe28..27d6b8f41 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_slack.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_slack.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service owner's Slack channel. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot1Slack { diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_slack_type.rs b/src/datadogV2/model/model_service_definition_v2_dot1_slack_type.rs index 1cd9fbbae..002eb1d21 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_slack_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_slack_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot1SlackType { #[serde(rename = "slack")] diff --git a/src/datadogV2/model/model_service_definition_v2_dot1_version.rs b/src/datadogV2/model/model_service_definition_v2_dot1_version.rs index 42ecaadab..36963bf22 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot1_version.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot1_version.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot1Version { #[serde(rename = "v2.1")] diff --git a/src/datadogV2/model/model_service_definition_v2_dot2.rs b/src/datadogV2/model/model_service_definition_v2_dot2.rs index d1433fdac..fd68979bd 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service definition v2.2 for providing service metadata and integrations. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot2 { diff --git a/src/datadogV2/model/model_service_definition_v2_dot2_contact.rs b/src/datadogV2/model/model_service_definition_v2_dot2_contact.rs index 83eef43ac..26786e185 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2_contact.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2_contact.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service owner's contacts information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot2Contact { diff --git a/src/datadogV2/model/model_service_definition_v2_dot2_integrations.rs b/src/datadogV2/model/model_service_definition_v2_dot2_integrations.rs index 4e79f2eaa..519841137 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2_integrations.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2_integrations.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Third party integrations that Datadog supports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot2Integrations { diff --git a/src/datadogV2/model/model_service_definition_v2_dot2_link.rs b/src/datadogV2/model/model_service_definition_v2_dot2_link.rs index 3ce0296c6..b9fe1c14b 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2_link.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2_link.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service's external links. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot2Link { diff --git a/src/datadogV2/model/model_service_definition_v2_dot2_opsgenie.rs b/src/datadogV2/model/model_service_definition_v2_dot2_opsgenie.rs index 31d824797..f017fc2af 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2_opsgenie.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2_opsgenie.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Opsgenie integration for the service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot2Opsgenie { diff --git a/src/datadogV2/model/model_service_definition_v2_dot2_opsgenie_region.rs b/src/datadogV2/model/model_service_definition_v2_dot2_opsgenie_region.rs index 39f078a4c..7608f4a0d 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2_opsgenie_region.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2_opsgenie_region.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot2OpsgenieRegion { #[serde(rename = "US")] diff --git a/src/datadogV2/model/model_service_definition_v2_dot2_pagerduty.rs b/src/datadogV2/model/model_service_definition_v2_dot2_pagerduty.rs index 27fcec6bc..c313db12e 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2_pagerduty.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2_pagerduty.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// PagerDuty integration for the service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Dot2Pagerduty { diff --git a/src/datadogV2/model/model_service_definition_v2_dot2_type.rs b/src/datadogV2/model/model_service_definition_v2_dot2_type.rs index 3adbbba98..23ddf825e 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot2Type { #[serde(rename = "web")] diff --git a/src/datadogV2/model/model_service_definition_v2_dot2_version.rs b/src/datadogV2/model/model_service_definition_v2_dot2_version.rs index bb9da8c94..8d4ad8c81 100644 --- a/src/datadogV2/model/model_service_definition_v2_dot2_version.rs +++ b/src/datadogV2/model/model_service_definition_v2_dot2_version.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Dot2Version { #[serde(rename = "v2.2")] diff --git a/src/datadogV2/model/model_service_definition_v2_email.rs b/src/datadogV2/model/model_service_definition_v2_email.rs index 496e1b82f..f5d6a78b5 100644 --- a/src/datadogV2/model/model_service_definition_v2_email.rs +++ b/src/datadogV2/model/model_service_definition_v2_email.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service owner's email. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Email { diff --git a/src/datadogV2/model/model_service_definition_v2_email_type.rs b/src/datadogV2/model/model_service_definition_v2_email_type.rs index 51c8555a0..ff3a06d46 100644 --- a/src/datadogV2/model/model_service_definition_v2_email_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_email_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2EmailType { #[serde(rename = "email")] diff --git a/src/datadogV2/model/model_service_definition_v2_integrations.rs b/src/datadogV2/model/model_service_definition_v2_integrations.rs index 682d4b59e..feb7c8d42 100644 --- a/src/datadogV2/model/model_service_definition_v2_integrations.rs +++ b/src/datadogV2/model/model_service_definition_v2_integrations.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Third party integrations that Datadog supports. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Integrations { diff --git a/src/datadogV2/model/model_service_definition_v2_link.rs b/src/datadogV2/model/model_service_definition_v2_link.rs index 1e79cf607..0886a1fbd 100644 --- a/src/datadogV2/model/model_service_definition_v2_link.rs +++ b/src/datadogV2/model/model_service_definition_v2_link.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service's external links. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Link { diff --git a/src/datadogV2/model/model_service_definition_v2_link_type.rs b/src/datadogV2/model/model_service_definition_v2_link_type.rs index 533d56cbc..b660b2d47 100644 --- a/src/datadogV2/model/model_service_definition_v2_link_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_link_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2LinkType { #[serde(rename = "doc")] diff --git a/src/datadogV2/model/model_service_definition_v2_ms_teams.rs b/src/datadogV2/model/model_service_definition_v2_ms_teams.rs index 43a22340f..81914ead7 100644 --- a/src/datadogV2/model/model_service_definition_v2_ms_teams.rs +++ b/src/datadogV2/model/model_service_definition_v2_ms_teams.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service owner's Microsoft Teams. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2MSTeams { diff --git a/src/datadogV2/model/model_service_definition_v2_ms_teams_type.rs b/src/datadogV2/model/model_service_definition_v2_ms_teams_type.rs index 3de1e4dd4..79660028f 100644 --- a/src/datadogV2/model/model_service_definition_v2_ms_teams_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_ms_teams_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2MSTeamsType { #[serde(rename = "microsoft-teams")] diff --git a/src/datadogV2/model/model_service_definition_v2_opsgenie.rs b/src/datadogV2/model/model_service_definition_v2_opsgenie.rs index 120c91dad..0e70328ab 100644 --- a/src/datadogV2/model/model_service_definition_v2_opsgenie.rs +++ b/src/datadogV2/model/model_service_definition_v2_opsgenie.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Opsgenie integration for the service. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Opsgenie { diff --git a/src/datadogV2/model/model_service_definition_v2_opsgenie_region.rs b/src/datadogV2/model/model_service_definition_v2_opsgenie_region.rs index e1062b352..870a086a2 100644 --- a/src/datadogV2/model/model_service_definition_v2_opsgenie_region.rs +++ b/src/datadogV2/model/model_service_definition_v2_opsgenie_region.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2OpsgenieRegion { #[serde(rename = "US")] diff --git a/src/datadogV2/model/model_service_definition_v2_repo.rs b/src/datadogV2/model/model_service_definition_v2_repo.rs index 7df980e69..ed5be6295 100644 --- a/src/datadogV2/model/model_service_definition_v2_repo.rs +++ b/src/datadogV2/model/model_service_definition_v2_repo.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service code repositories. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Repo { diff --git a/src/datadogV2/model/model_service_definition_v2_slack.rs b/src/datadogV2/model/model_service_definition_v2_slack.rs index 4cc313006..c8c5d36a8 100644 --- a/src/datadogV2/model/model_service_definition_v2_slack.rs +++ b/src/datadogV2/model/model_service_definition_v2_slack.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Service owner's Slack channel. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionV2Slack { diff --git a/src/datadogV2/model/model_service_definition_v2_slack_type.rs b/src/datadogV2/model/model_service_definition_v2_slack_type.rs index b9bd3f6c9..4becc43f6 100644 --- a/src/datadogV2/model/model_service_definition_v2_slack_type.rs +++ b/src/datadogV2/model/model_service_definition_v2_slack_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2SlackType { #[serde(rename = "slack")] diff --git a/src/datadogV2/model/model_service_definition_v2_version.rs b/src/datadogV2/model/model_service_definition_v2_version.rs index 997695949..552865861 100644 --- a/src/datadogV2/model/model_service_definition_v2_version.rs +++ b/src/datadogV2/model/model_service_definition_v2_version.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum ServiceDefinitionV2Version { #[serde(rename = "v2")] diff --git a/src/datadogV2/model/model_service_definitions_create_request.rs b/src/datadogV2/model/model_service_definitions_create_request.rs index 58135a292..8def2e4bc 100644 --- a/src/datadogV2/model/model_service_definitions_create_request.rs +++ b/src/datadogV2/model/model_service_definitions_create_request.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Create service definitions request. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum ServiceDefinitionsCreateRequest { diff --git a/src/datadogV2/model/model_service_definitions_list_response.rs b/src/datadogV2/model/model_service_definitions_list_response.rs index f1269d225..a851d051a 100644 --- a/src/datadogV2/model/model_service_definitions_list_response.rs +++ b/src/datadogV2/model/model_service_definitions_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create service definitions response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct ServiceDefinitionsListResponse { diff --git a/src/datadogV2/model/model_slack_integration_metadata.rs b/src/datadogV2/model/model_slack_integration_metadata.rs index da2b874f0..25379d1f6 100644 --- a/src/datadogV2/model/model_slack_integration_metadata.rs +++ b/src/datadogV2/model/model_slack_integration_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Incident integration metadata for the Slack integration. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SlackIntegrationMetadata { diff --git a/src/datadogV2/model/model_slack_integration_metadata_channel_item.rs b/src/datadogV2/model/model_slack_integration_metadata_channel_item.rs index 9e4445953..fd95fdd0b 100644 --- a/src/datadogV2/model/model_slack_integration_metadata_channel_item.rs +++ b/src/datadogV2/model/model_slack_integration_metadata_channel_item.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Item in the Slack integration metadata channel array. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SlackIntegrationMetadataChannelItem { diff --git a/src/datadogV2/model/model_sort_direction.rs b/src/datadogV2/model/model_sort_direction.rs index d27c7b98a..45661274d 100644 --- a/src/datadogV2/model/model_sort_direction.rs +++ b/src/datadogV2/model/model_sort_direction.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SortDirection { #[serde(rename = "desc")] diff --git a/src/datadogV2/model/model_span.rs b/src/datadogV2/model/model_span.rs index fc394cc5b..a729b7839 100644 --- a/src/datadogV2/model/model_span.rs +++ b/src/datadogV2/model/model_span.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object description of a spans after being processed and stored by Datadog. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Span { diff --git a/src/datadogV2/model/model_spans_aggregate_bucket.rs b/src/datadogV2/model/model_spans_aggregate_bucket.rs index 7fabca1be..66129e227 100644 --- a/src/datadogV2/model/model_spans_aggregate_bucket.rs +++ b/src/datadogV2/model/model_spans_aggregate_bucket.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Spans aggregate. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateBucket { diff --git a/src/datadogV2/model/model_spans_aggregate_bucket_attributes.rs b/src/datadogV2/model/model_spans_aggregate_bucket_attributes.rs index 4479d25e0..78c20eb58 100644 --- a/src/datadogV2/model/model_spans_aggregate_bucket_attributes.rs +++ b/src/datadogV2/model/model_spans_aggregate_bucket_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A bucket values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateBucketAttributes { diff --git a/src/datadogV2/model/model_spans_aggregate_bucket_type.rs b/src/datadogV2/model/model_spans_aggregate_bucket_type.rs index 64b2fb01a..da59297e7 100644 --- a/src/datadogV2/model/model_spans_aggregate_bucket_type.rs +++ b/src/datadogV2/model/model_spans_aggregate_bucket_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansAggregateBucketType { #[serde(rename = "bucket")] diff --git a/src/datadogV2/model/model_spans_aggregate_bucket_value.rs b/src/datadogV2/model/model_spans_aggregate_bucket_value.rs index 0efbaedad..d4539baa1 100644 --- a/src/datadogV2/model/model_spans_aggregate_bucket_value.rs +++ b/src/datadogV2/model/model_spans_aggregate_bucket_value.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A bucket value, can be either a timeseries or a single value. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SpansAggregateBucketValue { diff --git a/src/datadogV2/model/model_spans_aggregate_bucket_value_timeseries.rs b/src/datadogV2/model/model_spans_aggregate_bucket_value_timeseries.rs index e28bfbdab..9af2865d1 100644 --- a/src/datadogV2/model/model_spans_aggregate_bucket_value_timeseries.rs +++ b/src/datadogV2/model/model_spans_aggregate_bucket_value_timeseries.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A timeseries array. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateBucketValueTimeseries {} diff --git a/src/datadogV2/model/model_spans_aggregate_bucket_value_timeseries_point.rs b/src/datadogV2/model/model_spans_aggregate_bucket_value_timeseries_point.rs index ec63c459e..2b4e95962 100644 --- a/src/datadogV2/model/model_spans_aggregate_bucket_value_timeseries_point.rs +++ b/src/datadogV2/model/model_spans_aggregate_bucket_value_timeseries_point.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A timeseries point. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateBucketValueTimeseriesPoint { diff --git a/src/datadogV2/model/model_spans_aggregate_data.rs b/src/datadogV2/model/model_spans_aggregate_data.rs index 5c8c77098..9a31bcdac 100644 --- a/src/datadogV2/model/model_spans_aggregate_data.rs +++ b/src/datadogV2/model/model_spans_aggregate_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing the query content. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateData { diff --git a/src/datadogV2/model/model_spans_aggregate_request.rs b/src/datadogV2/model/model_spans_aggregate_request.rs index 876ad5b69..c8911ba50 100644 --- a/src/datadogV2/model/model_spans_aggregate_request.rs +++ b/src/datadogV2/model/model_spans_aggregate_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object sent with the request to retrieve a list of aggregated spans from your organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateRequest { diff --git a/src/datadogV2/model/model_spans_aggregate_request_attributes.rs b/src/datadogV2/model/model_spans_aggregate_request_attributes.rs index dde3a7aea..b81318fd5 100644 --- a/src/datadogV2/model/model_spans_aggregate_request_attributes.rs +++ b/src/datadogV2/model/model_spans_aggregate_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing all the query parameters. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateRequestAttributes { diff --git a/src/datadogV2/model/model_spans_aggregate_request_type.rs b/src/datadogV2/model/model_spans_aggregate_request_type.rs index 4fe52ea21..2ecf19862 100644 --- a/src/datadogV2/model/model_spans_aggregate_request_type.rs +++ b/src/datadogV2/model/model_spans_aggregate_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansAggregateRequestType { #[serde(rename = "aggregate_request")] diff --git a/src/datadogV2/model/model_spans_aggregate_response.rs b/src/datadogV2/model/model_spans_aggregate_response.rs index 568b92dff..64aee97bd 100644 --- a/src/datadogV2/model/model_spans_aggregate_response.rs +++ b/src/datadogV2/model/model_spans_aggregate_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The response object for the spans aggregate API endpoint. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateResponse { diff --git a/src/datadogV2/model/model_spans_aggregate_response_metadata.rs b/src/datadogV2/model/model_spans_aggregate_response_metadata.rs index a6a36e082..6a97ee9c8 100644 --- a/src/datadogV2/model/model_spans_aggregate_response_metadata.rs +++ b/src/datadogV2/model/model_spans_aggregate_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateResponseMetadata { diff --git a/src/datadogV2/model/model_spans_aggregate_response_status.rs b/src/datadogV2/model/model_spans_aggregate_response_status.rs index 87820b7d4..25ebeaece 100644 --- a/src/datadogV2/model/model_spans_aggregate_response_status.rs +++ b/src/datadogV2/model/model_spans_aggregate_response_status.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansAggregateResponseStatus { #[serde(rename = "done")] diff --git a/src/datadogV2/model/model_spans_aggregate_sort.rs b/src/datadogV2/model/model_spans_aggregate_sort.rs index 9a06690e0..3702d7a26 100644 --- a/src/datadogV2/model/model_spans_aggregate_sort.rs +++ b/src/datadogV2/model/model_spans_aggregate_sort.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A sort rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAggregateSort { diff --git a/src/datadogV2/model/model_spans_aggregate_sort_type.rs b/src/datadogV2/model/model_spans_aggregate_sort_type.rs index 0548d01c0..6f365f9f4 100644 --- a/src/datadogV2/model/model_spans_aggregate_sort_type.rs +++ b/src/datadogV2/model/model_spans_aggregate_sort_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansAggregateSortType { #[serde(rename = "alphabetical")] diff --git a/src/datadogV2/model/model_spans_aggregation_function.rs b/src/datadogV2/model/model_spans_aggregation_function.rs index 993b9f29c..8e3ffd69d 100644 --- a/src/datadogV2/model/model_spans_aggregation_function.rs +++ b/src/datadogV2/model/model_spans_aggregation_function.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansAggregationFunction { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_spans_attributes.rs b/src/datadogV2/model/model_spans_attributes.rs index 35f908972..6c465f3e0 100644 --- a/src/datadogV2/model/model_spans_attributes.rs +++ b/src/datadogV2/model/model_spans_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// JSON object containing all span attributes and their associated values. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansAttributes { diff --git a/src/datadogV2/model/model_spans_compute.rs b/src/datadogV2/model/model_spans_compute.rs index 7b7050285..ed4feb901 100644 --- a/src/datadogV2/model/model_spans_compute.rs +++ b/src/datadogV2/model/model_spans_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A compute rule to compute metrics or timeseries. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansCompute { diff --git a/src/datadogV2/model/model_spans_compute_type.rs b/src/datadogV2/model/model_spans_compute_type.rs index 7926813d9..35c9ad92b 100644 --- a/src/datadogV2/model/model_spans_compute_type.rs +++ b/src/datadogV2/model/model_spans_compute_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansComputeType { #[serde(rename = "timeseries")] diff --git a/src/datadogV2/model/model_spans_filter.rs b/src/datadogV2/model/model_spans_filter.rs index 5f844ffb1..d5e9dbeda 100644 --- a/src/datadogV2/model/model_spans_filter.rs +++ b/src/datadogV2/model/model_spans_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The spans filter used to index spans. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansFilter { diff --git a/src/datadogV2/model/model_spans_filter_create.rs b/src/datadogV2/model/model_spans_filter_create.rs index 8361e1d5c..e1d574433 100644 --- a/src/datadogV2/model/model_spans_filter_create.rs +++ b/src/datadogV2/model/model_spans_filter_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The spans filter. Spans matching this filter will be indexed and stored. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansFilterCreate { diff --git a/src/datadogV2/model/model_spans_group_by.rs b/src/datadogV2/model/model_spans_group_by.rs index 8dfe55523..e325bedfb 100644 --- a/src/datadogV2/model/model_spans_group_by.rs +++ b/src/datadogV2/model/model_spans_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group by rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansGroupBy { diff --git a/src/datadogV2/model/model_spans_group_by_histogram.rs b/src/datadogV2/model/model_spans_group_by_histogram.rs index 856b96540..738f25d64 100644 --- a/src/datadogV2/model/model_spans_group_by_histogram.rs +++ b/src/datadogV2/model/model_spans_group_by_histogram.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Used to perform a histogram computation (only for measure facets). /// Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansGroupByHistogram { diff --git a/src/datadogV2/model/model_spans_group_by_missing.rs b/src/datadogV2/model/model_spans_group_by_missing.rs index f14ebcf79..5dbb9c4ff 100644 --- a/src/datadogV2/model/model_spans_group_by_missing.rs +++ b/src/datadogV2/model/model_spans_group_by_missing.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// The value to use for spans that don't have the facet used to group by. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SpansGroupByMissing { diff --git a/src/datadogV2/model/model_spans_group_by_total.rs b/src/datadogV2/model/model_spans_group_by_total.rs index 87209034c..e1a5d27c2 100644 --- a/src/datadogV2/model/model_spans_group_by_total.rs +++ b/src/datadogV2/model/model_spans_group_by_total.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// A resulting object to put the given computes in over all the matching records. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum SpansGroupByTotal { diff --git a/src/datadogV2/model/model_spans_list_request.rs b/src/datadogV2/model/model_spans_list_request.rs index 43057da11..b6cc0664b 100644 --- a/src/datadogV2/model/model_spans_list_request.rs +++ b/src/datadogV2/model/model_spans_list_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The request for a spans list. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansListRequest { diff --git a/src/datadogV2/model/model_spans_list_request_attributes.rs b/src/datadogV2/model/model_spans_list_request_attributes.rs index 236f3ce7b..62c574517 100644 --- a/src/datadogV2/model/model_spans_list_request_attributes.rs +++ b/src/datadogV2/model/model_spans_list_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing all the query parameters. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansListRequestAttributes { diff --git a/src/datadogV2/model/model_spans_list_request_data.rs b/src/datadogV2/model/model_spans_list_request_data.rs index 0f4465fad..0b11d10d7 100644 --- a/src/datadogV2/model/model_spans_list_request_data.rs +++ b/src/datadogV2/model/model_spans_list_request_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object containing the query content. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansListRequestData { diff --git a/src/datadogV2/model/model_spans_list_request_page.rs b/src/datadogV2/model/model_spans_list_request_page.rs index d0072f4ac..b8785c8ac 100644 --- a/src/datadogV2/model/model_spans_list_request_page.rs +++ b/src/datadogV2/model/model_spans_list_request_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes for listing spans. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansListRequestPage { diff --git a/src/datadogV2/model/model_spans_list_request_type.rs b/src/datadogV2/model/model_spans_list_request_type.rs index ecfbb18a8..14aa6127e 100644 --- a/src/datadogV2/model/model_spans_list_request_type.rs +++ b/src/datadogV2/model/model_spans_list_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansListRequestType { #[serde(rename = "search_request")] diff --git a/src/datadogV2/model/model_spans_list_response.rs b/src/datadogV2/model/model_spans_list_response.rs index 81e01ffc6..74c051c48 100644 --- a/src/datadogV2/model/model_spans_list_response.rs +++ b/src/datadogV2/model/model_spans_list_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response object with all spans matching the request and pagination information. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansListResponse { diff --git a/src/datadogV2/model/model_spans_list_response_links.rs b/src/datadogV2/model/model_spans_list_response_links.rs index 7c795eab9..f494e16a4 100644 --- a/src/datadogV2/model/model_spans_list_response_links.rs +++ b/src/datadogV2/model/model_spans_list_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansListResponseLinks { diff --git a/src/datadogV2/model/model_spans_list_response_metadata.rs b/src/datadogV2/model/model_spans_list_response_metadata.rs index 4db993561..d76501479 100644 --- a/src/datadogV2/model/model_spans_list_response_metadata.rs +++ b/src/datadogV2/model/model_spans_list_response_metadata.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The metadata associated with a request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansListResponseMetadata { diff --git a/src/datadogV2/model/model_spans_metric_compute.rs b/src/datadogV2/model/model_spans_metric_compute.rs index e6d225692..f85450efd 100644 --- a/src/datadogV2/model/model_spans_metric_compute.rs +++ b/src/datadogV2/model/model_spans_metric_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The compute rule to compute the span-based metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricCompute { diff --git a/src/datadogV2/model/model_spans_metric_compute_aggregation_type.rs b/src/datadogV2/model/model_spans_metric_compute_aggregation_type.rs index 7202f573d..9bfe71c10 100644 --- a/src/datadogV2/model/model_spans_metric_compute_aggregation_type.rs +++ b/src/datadogV2/model/model_spans_metric_compute_aggregation_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansMetricComputeAggregationType { #[serde(rename = "count")] diff --git a/src/datadogV2/model/model_spans_metric_create_attributes.rs b/src/datadogV2/model/model_spans_metric_create_attributes.rs index c448bca6a..3873f26ce 100644 --- a/src/datadogV2/model/model_spans_metric_create_attributes.rs +++ b/src/datadogV2/model/model_spans_metric_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing the Datadog span-based metric to create. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricCreateAttributes { diff --git a/src/datadogV2/model/model_spans_metric_create_data.rs b/src/datadogV2/model/model_spans_metric_create_data.rs index 49f32cb1e..71f31c9ba 100644 --- a/src/datadogV2/model/model_spans_metric_create_data.rs +++ b/src/datadogV2/model/model_spans_metric_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new span-based metric properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricCreateData { diff --git a/src/datadogV2/model/model_spans_metric_create_request.rs b/src/datadogV2/model/model_spans_metric_create_request.rs index d2f8945d0..8ca5cbd01 100644 --- a/src/datadogV2/model/model_spans_metric_create_request.rs +++ b/src/datadogV2/model/model_spans_metric_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new span-based metric body. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricCreateRequest { diff --git a/src/datadogV2/model/model_spans_metric_filter.rs b/src/datadogV2/model/model_spans_metric_filter.rs index 807b4b4df..288978bfc 100644 --- a/src/datadogV2/model/model_spans_metric_filter.rs +++ b/src/datadogV2/model/model_spans_metric_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The span-based metric filter. Spans matching this filter will be aggregated in this metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricFilter { diff --git a/src/datadogV2/model/model_spans_metric_group_by.rs b/src/datadogV2/model/model_spans_metric_group_by.rs index ed90ac53e..5dd6692f3 100644 --- a/src/datadogV2/model/model_spans_metric_group_by.rs +++ b/src/datadogV2/model/model_spans_metric_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group by rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricGroupBy { diff --git a/src/datadogV2/model/model_spans_metric_response.rs b/src/datadogV2/model/model_spans_metric_response.rs index 8cc84b09a..6782b83a1 100644 --- a/src/datadogV2/model/model_spans_metric_response.rs +++ b/src/datadogV2/model/model_spans_metric_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The span-based metric object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricResponse { diff --git a/src/datadogV2/model/model_spans_metric_response_attributes.rs b/src/datadogV2/model/model_spans_metric_response_attributes.rs index 1e65d851c..d961d80cb 100644 --- a/src/datadogV2/model/model_spans_metric_response_attributes.rs +++ b/src/datadogV2/model/model_spans_metric_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing a Datadog span-based metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricResponseAttributes { diff --git a/src/datadogV2/model/model_spans_metric_response_compute.rs b/src/datadogV2/model/model_spans_metric_response_compute.rs index 735101f64..04b0b5a95 100644 --- a/src/datadogV2/model/model_spans_metric_response_compute.rs +++ b/src/datadogV2/model/model_spans_metric_response_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The compute rule to compute the span-based metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricResponseCompute { diff --git a/src/datadogV2/model/model_spans_metric_response_data.rs b/src/datadogV2/model/model_spans_metric_response_data.rs index d70f5f3bc..b62b13809 100644 --- a/src/datadogV2/model/model_spans_metric_response_data.rs +++ b/src/datadogV2/model/model_spans_metric_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The span-based metric properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricResponseData { diff --git a/src/datadogV2/model/model_spans_metric_response_filter.rs b/src/datadogV2/model/model_spans_metric_response_filter.rs index 8438c9d44..66927ba19 100644 --- a/src/datadogV2/model/model_spans_metric_response_filter.rs +++ b/src/datadogV2/model/model_spans_metric_response_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The span-based metric filter. Spans matching this filter will be aggregated in this metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricResponseFilter { diff --git a/src/datadogV2/model/model_spans_metric_response_group_by.rs b/src/datadogV2/model/model_spans_metric_response_group_by.rs index 938543675..a3aca7d4f 100644 --- a/src/datadogV2/model/model_spans_metric_response_group_by.rs +++ b/src/datadogV2/model/model_spans_metric_response_group_by.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A group by rule. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricResponseGroupBy { diff --git a/src/datadogV2/model/model_spans_metric_type.rs b/src/datadogV2/model/model_spans_metric_type.rs index 2a2d5c981..202046dc1 100644 --- a/src/datadogV2/model/model_spans_metric_type.rs +++ b/src/datadogV2/model/model_spans_metric_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansMetricType { #[serde(rename = "spans_metrics")] diff --git a/src/datadogV2/model/model_spans_metric_update_attributes.rs b/src/datadogV2/model/model_spans_metric_update_attributes.rs index 483aa855e..1be46558a 100644 --- a/src/datadogV2/model/model_spans_metric_update_attributes.rs +++ b/src/datadogV2/model/model_spans_metric_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The span-based metric properties that will be updated. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricUpdateAttributes { diff --git a/src/datadogV2/model/model_spans_metric_update_compute.rs b/src/datadogV2/model/model_spans_metric_update_compute.rs index 38d92ed47..3e7a46003 100644 --- a/src/datadogV2/model/model_spans_metric_update_compute.rs +++ b/src/datadogV2/model/model_spans_metric_update_compute.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The compute rule to compute the span-based metric. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricUpdateCompute { diff --git a/src/datadogV2/model/model_spans_metric_update_data.rs b/src/datadogV2/model/model_spans_metric_update_data.rs index dc42fd468..26f022874 100644 --- a/src/datadogV2/model/model_spans_metric_update_data.rs +++ b/src/datadogV2/model/model_spans_metric_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new span-based metric properties. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricUpdateData { diff --git a/src/datadogV2/model/model_spans_metric_update_request.rs b/src/datadogV2/model/model_spans_metric_update_request.rs index ae16a8005..ff775d415 100644 --- a/src/datadogV2/model/model_spans_metric_update_request.rs +++ b/src/datadogV2/model/model_spans_metric_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The new span-based metric body. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricUpdateRequest { diff --git a/src/datadogV2/model/model_spans_metrics_response.rs b/src/datadogV2/model/model_spans_metrics_response.rs index b1b08a19a..d3d32527a 100644 --- a/src/datadogV2/model/model_spans_metrics_response.rs +++ b/src/datadogV2/model/model_spans_metrics_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// All the available span-based metric objects. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansMetricsResponse { diff --git a/src/datadogV2/model/model_spans_query_filter.rs b/src/datadogV2/model/model_spans_query_filter.rs index 5a189ec2a..9a5ce7c5f 100644 --- a/src/datadogV2/model/model_spans_query_filter.rs +++ b/src/datadogV2/model/model_spans_query_filter.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The search and filter query settings. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansQueryFilter { diff --git a/src/datadogV2/model/model_spans_query_options.rs b/src/datadogV2/model/model_spans_query_options.rs index fccceeb76..7beb2e88e 100644 --- a/src/datadogV2/model/model_spans_query_options.rs +++ b/src/datadogV2/model/model_spans_query_options.rs @@ -6,6 +6,7 @@ use serde_with::skip_serializing_none; /// Global query options that are used during the query. /// Note: You should only supply timezone or time offset but not both otherwise the query will fail. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansQueryOptions { diff --git a/src/datadogV2/model/model_spans_response_metadata_page.rs b/src/datadogV2/model/model_spans_response_metadata_page.rs index 300208959..62179007e 100644 --- a/src/datadogV2/model/model_spans_response_metadata_page.rs +++ b/src/datadogV2/model/model_spans_response_metadata_page.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Paging attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansResponseMetadataPage { diff --git a/src/datadogV2/model/model_spans_sort.rs b/src/datadogV2/model/model_spans_sort.rs index 551e86eb3..8c5450e39 100644 --- a/src/datadogV2/model/model_spans_sort.rs +++ b/src/datadogV2/model/model_spans_sort.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansSort { #[serde(rename = "timestamp")] diff --git a/src/datadogV2/model/model_spans_sort_order.rs b/src/datadogV2/model/model_spans_sort_order.rs index 868df09c6..3bb12025d 100644 --- a/src/datadogV2/model/model_spans_sort_order.rs +++ b/src/datadogV2/model/model_spans_sort_order.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansSortOrder { #[serde(rename = "asc")] diff --git a/src/datadogV2/model/model_spans_type.rs b/src/datadogV2/model/model_spans_type.rs index 713af60a2..4e9818b60 100644 --- a/src/datadogV2/model/model_spans_type.rs +++ b/src/datadogV2/model/model_spans_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum SpansType { #[serde(rename = "spans")] diff --git a/src/datadogV2/model/model_spans_warning.rs b/src/datadogV2/model/model_spans_warning.rs index 8d4751b8f..c3220a949 100644 --- a/src/datadogV2/model/model_spans_warning.rs +++ b/src/datadogV2/model/model_spans_warning.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A warning message indicating something that went wrong with the query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct SpansWarning { diff --git a/src/datadogV2/model/model_state.rs b/src/datadogV2/model/model_state.rs index 7ed796c31..062ae0eec 100644 --- a/src/datadogV2/model/model_state.rs +++ b/src/datadogV2/model/model_state.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum State { #[serde(rename = "pass")] diff --git a/src/datadogV2/model/model_team.rs b/src/datadogV2/model/model_team.rs index 7bb9207b3..f5976b62b 100644 --- a/src/datadogV2/model/model_team.rs +++ b/src/datadogV2/model/model_team.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Team { diff --git a/src/datadogV2/model/model_team_attributes.rs b/src/datadogV2/model/model_team_attributes.rs index 9788d4441..4df076cd9 100644 --- a/src/datadogV2/model/model_team_attributes.rs +++ b/src/datadogV2/model/model_team_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamAttributes { diff --git a/src/datadogV2/model/model_team_create.rs b/src/datadogV2/model/model_team_create.rs index beb6e439d..4e02fa753 100644 --- a/src/datadogV2/model/model_team_create.rs +++ b/src/datadogV2/model/model_team_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team create +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamCreate { diff --git a/src/datadogV2/model/model_team_create_attributes.rs b/src/datadogV2/model/model_team_create_attributes.rs index 93c3dedda..6db557867 100644 --- a/src/datadogV2/model/model_team_create_attributes.rs +++ b/src/datadogV2/model/model_team_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team creation attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamCreateAttributes { diff --git a/src/datadogV2/model/model_team_create_relationships.rs b/src/datadogV2/model/model_team_create_relationships.rs index 4314202fb..6107c4130 100644 --- a/src/datadogV2/model/model_team_create_relationships.rs +++ b/src/datadogV2/model/model_team_create_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships formed with the team on creation +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamCreateRelationships { diff --git a/src/datadogV2/model/model_team_create_request.rs b/src/datadogV2/model/model_team_create_request.rs index 4a05c39cd..8bbd89193 100644 --- a/src/datadogV2/model/model_team_create_request.rs +++ b/src/datadogV2/model/model_team_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Request to create a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamCreateRequest { diff --git a/src/datadogV2/model/model_team_included.rs b/src/datadogV2/model/model_team_included.rs index a39d9c31a..57d5a17ec 100644 --- a/src/datadogV2/model/model_team_included.rs +++ b/src/datadogV2/model/model_team_included.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// Included resources related to the team +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum TeamIncluded { diff --git a/src/datadogV2/model/model_team_link.rs b/src/datadogV2/model/model_team_link.rs index c10b39607..eb4647c26 100644 --- a/src/datadogV2/model/model_team_link.rs +++ b/src/datadogV2/model/model_team_link.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team link +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamLink { diff --git a/src/datadogV2/model/model_team_link_attributes.rs b/src/datadogV2/model/model_team_link_attributes.rs index 92b85d66f..fa4f759f6 100644 --- a/src/datadogV2/model/model_team_link_attributes.rs +++ b/src/datadogV2/model/model_team_link_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team link attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamLinkAttributes { diff --git a/src/datadogV2/model/model_team_link_create.rs b/src/datadogV2/model/model_team_link_create.rs index bcaa2952e..126929734 100644 --- a/src/datadogV2/model/model_team_link_create.rs +++ b/src/datadogV2/model/model_team_link_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team link create +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamLinkCreate { diff --git a/src/datadogV2/model/model_team_link_create_request.rs b/src/datadogV2/model/model_team_link_create_request.rs index d76ba999b..d5324c89d 100644 --- a/src/datadogV2/model/model_team_link_create_request.rs +++ b/src/datadogV2/model/model_team_link_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team link create request +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamLinkCreateRequest { diff --git a/src/datadogV2/model/model_team_link_response.rs b/src/datadogV2/model/model_team_link_response.rs index 58903b7c0..fdb09a370 100644 --- a/src/datadogV2/model/model_team_link_response.rs +++ b/src/datadogV2/model/model_team_link_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team link response +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamLinkResponse { diff --git a/src/datadogV2/model/model_team_link_type.rs b/src/datadogV2/model/model_team_link_type.rs index ed84d64e5..cf8955ebe 100644 --- a/src/datadogV2/model/model_team_link_type.rs +++ b/src/datadogV2/model/model_team_link_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TeamLinkType { #[serde(rename = "team_links")] diff --git a/src/datadogV2/model/model_team_links_response.rs b/src/datadogV2/model/model_team_links_response.rs index cab8b0469..091c2c773 100644 --- a/src/datadogV2/model/model_team_links_response.rs +++ b/src/datadogV2/model/model_team_links_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team links response +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamLinksResponse { diff --git a/src/datadogV2/model/model_team_permission_setting.rs b/src/datadogV2/model/model_team_permission_setting.rs index 04f8e05f4..5c32932cf 100644 --- a/src/datadogV2/model/model_team_permission_setting.rs +++ b/src/datadogV2/model/model_team_permission_setting.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team permission setting +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamPermissionSetting { diff --git a/src/datadogV2/model/model_team_permission_setting_attributes.rs b/src/datadogV2/model/model_team_permission_setting_attributes.rs index 39ad25a21..a5dc0e446 100644 --- a/src/datadogV2/model/model_team_permission_setting_attributes.rs +++ b/src/datadogV2/model/model_team_permission_setting_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team permission setting attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamPermissionSettingAttributes { diff --git a/src/datadogV2/model/model_team_permission_setting_response.rs b/src/datadogV2/model/model_team_permission_setting_response.rs index 17df4f7b8..2abc9a78b 100644 --- a/src/datadogV2/model/model_team_permission_setting_response.rs +++ b/src/datadogV2/model/model_team_permission_setting_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team permission setting response +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamPermissionSettingResponse { diff --git a/src/datadogV2/model/model_team_permission_setting_serializer_action.rs b/src/datadogV2/model/model_team_permission_setting_serializer_action.rs index 81bf3df9c..cf980d038 100644 --- a/src/datadogV2/model/model_team_permission_setting_serializer_action.rs +++ b/src/datadogV2/model/model_team_permission_setting_serializer_action.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TeamPermissionSettingSerializerAction { #[serde(rename = "manage_membership")] diff --git a/src/datadogV2/model/model_team_permission_setting_type.rs b/src/datadogV2/model/model_team_permission_setting_type.rs index a93ffdd06..ed4091bca 100644 --- a/src/datadogV2/model/model_team_permission_setting_type.rs +++ b/src/datadogV2/model/model_team_permission_setting_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TeamPermissionSettingType { #[serde(rename = "team_permission_settings")] diff --git a/src/datadogV2/model/model_team_permission_setting_update.rs b/src/datadogV2/model/model_team_permission_setting_update.rs index 1ee13807a..49a3ba7c6 100644 --- a/src/datadogV2/model/model_team_permission_setting_update.rs +++ b/src/datadogV2/model/model_team_permission_setting_update.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team permission setting update +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamPermissionSettingUpdate { diff --git a/src/datadogV2/model/model_team_permission_setting_update_attributes.rs b/src/datadogV2/model/model_team_permission_setting_update_attributes.rs index af5024ce9..3edf939f7 100644 --- a/src/datadogV2/model/model_team_permission_setting_update_attributes.rs +++ b/src/datadogV2/model/model_team_permission_setting_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team permission setting update attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamPermissionSettingUpdateAttributes { diff --git a/src/datadogV2/model/model_team_permission_setting_update_request.rs b/src/datadogV2/model/model_team_permission_setting_update_request.rs index 6fa8302b4..0d426470d 100644 --- a/src/datadogV2/model/model_team_permission_setting_update_request.rs +++ b/src/datadogV2/model/model_team_permission_setting_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team permission setting update request +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamPermissionSettingUpdateRequest { diff --git a/src/datadogV2/model/model_team_permission_setting_value.rs b/src/datadogV2/model/model_team_permission_setting_value.rs index bb4f05c2c..5dc45b0fa 100644 --- a/src/datadogV2/model/model_team_permission_setting_value.rs +++ b/src/datadogV2/model/model_team_permission_setting_value.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TeamPermissionSettingValue { #[serde(rename = "admins")] diff --git a/src/datadogV2/model/model_team_permission_settings_response.rs b/src/datadogV2/model/model_team_permission_settings_response.rs index ba7015ec7..03bc04293 100644 --- a/src/datadogV2/model/model_team_permission_settings_response.rs +++ b/src/datadogV2/model/model_team_permission_settings_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team permission settings response +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamPermissionSettingsResponse { diff --git a/src/datadogV2/model/model_team_relationships.rs b/src/datadogV2/model/model_team_relationships.rs index c8c92a3d4..b5d27aa5b 100644 --- a/src/datadogV2/model/model_team_relationships.rs +++ b/src/datadogV2/model/model_team_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Resources related to a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamRelationships { diff --git a/src/datadogV2/model/model_team_relationships_links.rs b/src/datadogV2/model/model_team_relationships_links.rs index 9fef62b8d..a738c17d9 100644 --- a/src/datadogV2/model/model_team_relationships_links.rs +++ b/src/datadogV2/model/model_team_relationships_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Links attributes. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamRelationshipsLinks { diff --git a/src/datadogV2/model/model_team_response.rs b/src/datadogV2/model/model_team_response.rs index 2db73c4d3..4056a4c07 100644 --- a/src/datadogV2/model/model_team_response.rs +++ b/src/datadogV2/model/model_team_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamResponse { diff --git a/src/datadogV2/model/model_team_type.rs b/src/datadogV2/model/model_team_type.rs index 7e561f243..09ca646d2 100644 --- a/src/datadogV2/model/model_team_type.rs +++ b/src/datadogV2/model/model_team_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TeamType { #[serde(rename = "team")] diff --git a/src/datadogV2/model/model_team_update.rs b/src/datadogV2/model/model_team_update.rs index 1abb6a37e..52b3a028e 100644 --- a/src/datadogV2/model/model_team_update.rs +++ b/src/datadogV2/model/model_team_update.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team update request +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamUpdate { diff --git a/src/datadogV2/model/model_team_update_attributes.rs b/src/datadogV2/model/model_team_update_attributes.rs index 547a081c1..398db6cf1 100644 --- a/src/datadogV2/model/model_team_update_attributes.rs +++ b/src/datadogV2/model/model_team_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team update attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamUpdateAttributes { diff --git a/src/datadogV2/model/model_team_update_relationships.rs b/src/datadogV2/model/model_team_update_relationships.rs index 17870ab92..1a786c986 100644 --- a/src/datadogV2/model/model_team_update_relationships.rs +++ b/src/datadogV2/model/model_team_update_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team update relationships +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamUpdateRelationships { diff --git a/src/datadogV2/model/model_team_update_request.rs b/src/datadogV2/model/model_team_update_request.rs index 7982f4037..9a799ab79 100644 --- a/src/datadogV2/model/model_team_update_request.rs +++ b/src/datadogV2/model/model_team_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team update request +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamUpdateRequest { diff --git a/src/datadogV2/model/model_teams_field.rs b/src/datadogV2/model/model_teams_field.rs index 74096f6b6..caa9acfb4 100644 --- a/src/datadogV2/model/model_teams_field.rs +++ b/src/datadogV2/model/model_teams_field.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TeamsField { #[serde(rename = "id")] diff --git a/src/datadogV2/model/model_teams_response.rs b/src/datadogV2/model/model_teams_response.rs index f074f6e1e..213eca3d0 100644 --- a/src/datadogV2/model/model_teams_response.rs +++ b/src/datadogV2/model/model_teams_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response with multiple teams +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamsResponse { diff --git a/src/datadogV2/model/model_teams_response_links.rs b/src/datadogV2/model/model_teams_response_links.rs index 981af71f6..400c4777c 100644 --- a/src/datadogV2/model/model_teams_response_links.rs +++ b/src/datadogV2/model/model_teams_response_links.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Teams response links. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamsResponseLinks { diff --git a/src/datadogV2/model/model_teams_response_meta.rs b/src/datadogV2/model/model_teams_response_meta.rs index 89fe4cdc3..1ec5c6deb 100644 --- a/src/datadogV2/model/model_teams_response_meta.rs +++ b/src/datadogV2/model/model_teams_response_meta.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Teams response metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamsResponseMeta { diff --git a/src/datadogV2/model/model_teams_response_meta_pagination.rs b/src/datadogV2/model/model_teams_response_meta_pagination.rs index 27da1a421..2a204f0ee 100644 --- a/src/datadogV2/model/model_teams_response_meta_pagination.rs +++ b/src/datadogV2/model/model_teams_response_meta_pagination.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Teams response metadata. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TeamsResponseMetaPagination { diff --git a/src/datadogV2/model/model_timeseries_formula_query_request.rs b/src/datadogV2/model/model_timeseries_formula_query_request.rs index a476e67b2..c19f96b51 100644 --- a/src/datadogV2/model/model_timeseries_formula_query_request.rs +++ b/src/datadogV2/model/model_timeseries_formula_query_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A request wrapper around a single timeseries query to be executed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesFormulaQueryRequest { diff --git a/src/datadogV2/model/model_timeseries_formula_query_response.rs b/src/datadogV2/model/model_timeseries_formula_query_response.rs index 6f13d145e..bd54b0039 100644 --- a/src/datadogV2/model/model_timeseries_formula_query_response.rs +++ b/src/datadogV2/model/model_timeseries_formula_query_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A message containing one response to a timeseries query made with timeseries formula query request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesFormulaQueryResponse { diff --git a/src/datadogV2/model/model_timeseries_formula_request.rs b/src/datadogV2/model/model_timeseries_formula_request.rs index 73ca4f139..a2a0a3fa7 100644 --- a/src/datadogV2/model/model_timeseries_formula_request.rs +++ b/src/datadogV2/model/model_timeseries_formula_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A single timeseries query to be executed. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesFormulaRequest { diff --git a/src/datadogV2/model/model_timeseries_formula_request_attributes.rs b/src/datadogV2/model/model_timeseries_formula_request_attributes.rs index e06201602..bae96fab0 100644 --- a/src/datadogV2/model/model_timeseries_formula_request_attributes.rs +++ b/src/datadogV2/model/model_timeseries_formula_request_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing a timeseries formula request. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesFormulaRequestAttributes { diff --git a/src/datadogV2/model/model_timeseries_formula_request_type.rs b/src/datadogV2/model/model_timeseries_formula_request_type.rs index eb0c97f79..39daa2962 100644 --- a/src/datadogV2/model/model_timeseries_formula_request_type.rs +++ b/src/datadogV2/model/model_timeseries_formula_request_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TimeseriesFormulaRequestType { #[serde(rename = "timeseries_request")] diff --git a/src/datadogV2/model/model_timeseries_formula_response_type.rs b/src/datadogV2/model/model_timeseries_formula_response_type.rs index c98ca36bc..895b8697f 100644 --- a/src/datadogV2/model/model_timeseries_formula_response_type.rs +++ b/src/datadogV2/model/model_timeseries_formula_response_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum TimeseriesFormulaResponseType { #[serde(rename = "timeseries_response")] diff --git a/src/datadogV2/model/model_timeseries_query.rs b/src/datadogV2/model/model_timeseries_query.rs index 02c434941..ddae42658 100644 --- a/src/datadogV2/model/model_timeseries_query.rs +++ b/src/datadogV2/model/model_timeseries_query.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An individual timeseries query to one of the basic Datadog data sources. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum TimeseriesQuery { diff --git a/src/datadogV2/model/model_timeseries_response.rs b/src/datadogV2/model/model_timeseries_response.rs index 8eb2cff46..1fd858c27 100644 --- a/src/datadogV2/model/model_timeseries_response.rs +++ b/src/datadogV2/model/model_timeseries_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A message containing the response to a timeseries query. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesResponse { diff --git a/src/datadogV2/model/model_timeseries_response_attributes.rs b/src/datadogV2/model/model_timeseries_response_attributes.rs index d063d96ad..adc05f56e 100644 --- a/src/datadogV2/model/model_timeseries_response_attributes.rs +++ b/src/datadogV2/model/model_timeseries_response_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// The object describing a timeseries response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesResponseAttributes { diff --git a/src/datadogV2/model/model_timeseries_response_series.rs b/src/datadogV2/model/model_timeseries_response_series.rs index b21de343e..b0debeed7 100644 --- a/src/datadogV2/model/model_timeseries_response_series.rs +++ b/src/datadogV2/model/model_timeseries_response_series.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct TimeseriesResponseSeries { diff --git a/src/datadogV2/model/model_unit.rs b/src/datadogV2/model/model_unit.rs index 1f3bde050..4b31adb11 100644 --- a/src/datadogV2/model/model_unit.rs +++ b/src/datadogV2/model/model_unit.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object containing the metric unit family, scale factor, name, and short name. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Unit { diff --git a/src/datadogV2/model/model_usage_application_security_monitoring_response.rs b/src/datadogV2/model/model_usage_application_security_monitoring_response.rs index 98ccbf3c0..4b5e0492a 100644 --- a/src/datadogV2/model/model_usage_application_security_monitoring_response.rs +++ b/src/datadogV2/model/model_usage_application_security_monitoring_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Application Security Monitoring usage response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageApplicationSecurityMonitoringResponse { diff --git a/src/datadogV2/model/model_usage_attributes_object.rs b/src/datadogV2/model/model_usage_attributes_object.rs index 2e76b8ec8..20b9d161e 100644 --- a/src/datadogV2/model/model_usage_attributes_object.rs +++ b/src/datadogV2/model/model_usage_attributes_object.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Usage attributes data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageAttributesObject { diff --git a/src/datadogV2/model/model_usage_data_object.rs b/src/datadogV2/model/model_usage_data_object.rs index 5e1ffd532..90719af49 100644 --- a/src/datadogV2/model/model_usage_data_object.rs +++ b/src/datadogV2/model/model_usage_data_object.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Usage data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageDataObject { diff --git a/src/datadogV2/model/model_usage_lambda_traced_invocations_response.rs b/src/datadogV2/model/model_usage_lambda_traced_invocations_response.rs index d86c127a9..24a92690a 100644 --- a/src/datadogV2/model/model_usage_lambda_traced_invocations_response.rs +++ b/src/datadogV2/model/model_usage_lambda_traced_invocations_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Lambda Traced Invocations usage response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageLambdaTracedInvocationsResponse { diff --git a/src/datadogV2/model/model_usage_observability_pipelines_response.rs b/src/datadogV2/model/model_usage_observability_pipelines_response.rs index 999e627e0..e529ff8ba 100644 --- a/src/datadogV2/model/model_usage_observability_pipelines_response.rs +++ b/src/datadogV2/model/model_usage_observability_pipelines_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Observability Pipelines usage response. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageObservabilityPipelinesResponse { diff --git a/src/datadogV2/model/model_usage_time_series_object.rs b/src/datadogV2/model/model_usage_time_series_object.rs index 0b7a60b47..72aa9d02a 100644 --- a/src/datadogV2/model/model_usage_time_series_object.rs +++ b/src/datadogV2/model/model_usage_time_series_object.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Usage timeseries data. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsageTimeSeriesObject { diff --git a/src/datadogV2/model/model_usage_time_series_type.rs b/src/datadogV2/model/model_usage_time_series_type.rs index 6b1ef08ec..44e03a58c 100644 --- a/src/datadogV2/model/model_usage_time_series_type.rs +++ b/src/datadogV2/model/model_usage_time_series_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UsageTimeSeriesType { #[serde(rename = "usage_timeseries")] diff --git a/src/datadogV2/model/model_user.rs b/src/datadogV2/model/model_user.rs index 1713a08f6..0ff235a76 100644 --- a/src/datadogV2/model/model_user.rs +++ b/src/datadogV2/model/model_user.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// User object returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct User { diff --git a/src/datadogV2/model/model_user_attributes.rs b/src/datadogV2/model/model_user_attributes.rs index d37280a87..aaa847b47 100644 --- a/src/datadogV2/model/model_user_attributes.rs +++ b/src/datadogV2/model/model_user_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of user object returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserAttributes { diff --git a/src/datadogV2/model/model_user_create_attributes.rs b/src/datadogV2/model/model_user_create_attributes.rs index 7d0dc4c0b..329a9071e 100644 --- a/src/datadogV2/model/model_user_create_attributes.rs +++ b/src/datadogV2/model/model_user_create_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the created user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserCreateAttributes { diff --git a/src/datadogV2/model/model_user_create_data.rs b/src/datadogV2/model/model_user_create_data.rs index 8e122292f..311a1e0f2 100644 --- a/src/datadogV2/model/model_user_create_data.rs +++ b/src/datadogV2/model/model_user_create_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to create a user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserCreateData { diff --git a/src/datadogV2/model/model_user_create_request.rs b/src/datadogV2/model/model_user_create_request.rs index 7e18fca0d..f517bddf5 100644 --- a/src/datadogV2/model/model_user_create_request.rs +++ b/src/datadogV2/model/model_user_create_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Create a user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserCreateRequest { diff --git a/src/datadogV2/model/model_user_invitation_data.rs b/src/datadogV2/model/model_user_invitation_data.rs index a8c709b6d..4363f1dfc 100644 --- a/src/datadogV2/model/model_user_invitation_data.rs +++ b/src/datadogV2/model/model_user_invitation_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to create a user invitation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserInvitationData { diff --git a/src/datadogV2/model/model_user_invitation_data_attributes.rs b/src/datadogV2/model/model_user_invitation_data_attributes.rs index dd00e87c9..d364ec6cb 100644 --- a/src/datadogV2/model/model_user_invitation_data_attributes.rs +++ b/src/datadogV2/model/model_user_invitation_data_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of a user invitation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserInvitationDataAttributes { diff --git a/src/datadogV2/model/model_user_invitation_relationships.rs b/src/datadogV2/model/model_user_invitation_relationships.rs index f0332adb3..da153e564 100644 --- a/src/datadogV2/model/model_user_invitation_relationships.rs +++ b/src/datadogV2/model/model_user_invitation_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships data for user invitation. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserInvitationRelationships { diff --git a/src/datadogV2/model/model_user_invitation_response.rs b/src/datadogV2/model/model_user_invitation_response.rs index 3eba172ea..839754f58 100644 --- a/src/datadogV2/model/model_user_invitation_response.rs +++ b/src/datadogV2/model/model_user_invitation_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// User invitation as returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserInvitationResponse { diff --git a/src/datadogV2/model/model_user_invitation_response_data.rs b/src/datadogV2/model/model_user_invitation_response_data.rs index 0c8383aa8..e960fed97 100644 --- a/src/datadogV2/model/model_user_invitation_response_data.rs +++ b/src/datadogV2/model/model_user_invitation_response_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object of a user invitation returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserInvitationResponseData { diff --git a/src/datadogV2/model/model_user_invitations_request.rs b/src/datadogV2/model/model_user_invitations_request.rs index 398ab97b4..9aa6dbd23 100644 --- a/src/datadogV2/model/model_user_invitations_request.rs +++ b/src/datadogV2/model/model_user_invitations_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to invite users to join the organization. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserInvitationsRequest { diff --git a/src/datadogV2/model/model_user_invitations_response.rs b/src/datadogV2/model/model_user_invitations_response.rs index 01ee984db..8bea17f4b 100644 --- a/src/datadogV2/model/model_user_invitations_response.rs +++ b/src/datadogV2/model/model_user_invitations_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// User invitations as returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserInvitationsResponse { diff --git a/src/datadogV2/model/model_user_invitations_type.rs b/src/datadogV2/model/model_user_invitations_type.rs index 19e3417f5..5122677b1 100644 --- a/src/datadogV2/model/model_user_invitations_type.rs +++ b/src/datadogV2/model/model_user_invitations_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UserInvitationsType { #[serde(rename = "user_invitations")] diff --git a/src/datadogV2/model/model_user_relationships.rs b/src/datadogV2/model/model_user_relationships.rs index 91132a370..c7c014ad4 100644 --- a/src/datadogV2/model/model_user_relationships.rs +++ b/src/datadogV2/model/model_user_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships of the user object. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserRelationships { diff --git a/src/datadogV2/model/model_user_response.rs b/src/datadogV2/model/model_user_response.rs index 74cfd001d..83577b663 100644 --- a/src/datadogV2/model/model_user_response.rs +++ b/src/datadogV2/model/model_user_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing information about a single user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserResponse { diff --git a/src/datadogV2/model/model_user_response_included_item.rs b/src/datadogV2/model/model_user_response_included_item.rs index 7255d2c22..9c533c2aa 100644 --- a/src/datadogV2/model/model_user_response_included_item.rs +++ b/src/datadogV2/model/model_user_response_included_item.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; /// An object related to a user. +#[non_exhaustive] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(untagged)] pub enum UserResponseIncludedItem { diff --git a/src/datadogV2/model/model_user_response_relationships.rs b/src/datadogV2/model/model_user_response_relationships.rs index b0e70eb93..6dbfbc761 100644 --- a/src/datadogV2/model/model_user_response_relationships.rs +++ b/src/datadogV2/model/model_user_response_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationships of the user object returned by the API. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserResponseRelationships { diff --git a/src/datadogV2/model/model_user_team.rs b/src/datadogV2/model/model_user_team.rs index 8f501532f..3c2020534 100644 --- a/src/datadogV2/model/model_user_team.rs +++ b/src/datadogV2/model/model_user_team.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A user's relationship with a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeam { diff --git a/src/datadogV2/model/model_user_team_attributes.rs b/src/datadogV2/model/model_user_team_attributes.rs index 029e4430d..b96a077e6 100644 --- a/src/datadogV2/model/model_user_team_attributes.rs +++ b/src/datadogV2/model/model_user_team_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team membership attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamAttributes { diff --git a/src/datadogV2/model/model_user_team_create.rs b/src/datadogV2/model/model_user_team_create.rs index d3ecb7aa2..0fae5ddae 100644 --- a/src/datadogV2/model/model_user_team_create.rs +++ b/src/datadogV2/model/model_user_team_create.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A user's relationship with a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamCreate { diff --git a/src/datadogV2/model/model_user_team_permission.rs b/src/datadogV2/model/model_user_team_permission.rs index 3447044e2..fcf498ff1 100644 --- a/src/datadogV2/model/model_user_team_permission.rs +++ b/src/datadogV2/model/model_user_team_permission.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A user's permissions for a given team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamPermission { diff --git a/src/datadogV2/model/model_user_team_permission_attributes.rs b/src/datadogV2/model/model_user_team_permission_attributes.rs index 7efd64e34..97500471c 100644 --- a/src/datadogV2/model/model_user_team_permission_attributes.rs +++ b/src/datadogV2/model/model_user_team_permission_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// User team permission attributes +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamPermissionAttributes { diff --git a/src/datadogV2/model/model_user_team_permission_type.rs b/src/datadogV2/model/model_user_team_permission_type.rs index cdc550fe0..b7d9af5ff 100644 --- a/src/datadogV2/model/model_user_team_permission_type.rs +++ b/src/datadogV2/model/model_user_team_permission_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UserTeamPermissionType { #[serde(rename = "user_team_permissions")] diff --git a/src/datadogV2/model/model_user_team_relationships.rs b/src/datadogV2/model/model_user_team_relationships.rs index 7bd342f98..606482a55 100644 --- a/src/datadogV2/model/model_user_team_relationships.rs +++ b/src/datadogV2/model/model_user_team_relationships.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Relationship between membership and a user +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamRelationships { diff --git a/src/datadogV2/model/model_user_team_request.rs b/src/datadogV2/model/model_user_team_request.rs index 235d5c2b7..09ba3ee78 100644 --- a/src/datadogV2/model/model_user_team_request.rs +++ b/src/datadogV2/model/model_user_team_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team membership request +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamRequest { diff --git a/src/datadogV2/model/model_user_team_response.rs b/src/datadogV2/model/model_user_team_response.rs index 0c9fdbd20..bfc110253 100644 --- a/src/datadogV2/model/model_user_team_response.rs +++ b/src/datadogV2/model/model_user_team_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team membership response +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamResponse { diff --git a/src/datadogV2/model/model_user_team_role.rs b/src/datadogV2/model/model_user_team_role.rs index 425f0ec34..fe653e320 100644 --- a/src/datadogV2/model/model_user_team_role.rs +++ b/src/datadogV2/model/model_user_team_role.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UserTeamRole { #[serde(rename = "admin")] diff --git a/src/datadogV2/model/model_user_team_team_type.rs b/src/datadogV2/model/model_user_team_team_type.rs index 76665e86d..25dfd1960 100644 --- a/src/datadogV2/model/model_user_team_team_type.rs +++ b/src/datadogV2/model/model_user_team_team_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UserTeamTeamType { #[serde(rename = "team")] diff --git a/src/datadogV2/model/model_user_team_type.rs b/src/datadogV2/model/model_user_team_type.rs index 82664e44a..5a82ec8f6 100644 --- a/src/datadogV2/model/model_user_team_type.rs +++ b/src/datadogV2/model/model_user_team_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UserTeamType { #[serde(rename = "team_memberships")] diff --git a/src/datadogV2/model/model_user_team_update.rs b/src/datadogV2/model/model_user_team_update.rs index e51045ed8..ec1dd7dd7 100644 --- a/src/datadogV2/model/model_user_team_update.rs +++ b/src/datadogV2/model/model_user_team_update.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// A user's relationship with a team +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamUpdate { diff --git a/src/datadogV2/model/model_user_team_update_request.rs b/src/datadogV2/model/model_user_team_update_request.rs index b1a23d158..fe8e4cde3 100644 --- a/src/datadogV2/model/model_user_team_update_request.rs +++ b/src/datadogV2/model/model_user_team_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team membership request +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamUpdateRequest { diff --git a/src/datadogV2/model/model_user_team_user_type.rs b/src/datadogV2/model/model_user_team_user_type.rs index 6ccdad173..83d4babb6 100644 --- a/src/datadogV2/model/model_user_team_user_type.rs +++ b/src/datadogV2/model/model_user_team_user_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UserTeamUserType { #[serde(rename = "users")] diff --git a/src/datadogV2/model/model_user_teams_response.rs b/src/datadogV2/model/model_user_teams_response.rs index 5eab1a35c..961597a20 100644 --- a/src/datadogV2/model/model_user_teams_response.rs +++ b/src/datadogV2/model/model_user_teams_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Team memberships response +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserTeamsResponse { diff --git a/src/datadogV2/model/model_user_update_attributes.rs b/src/datadogV2/model/model_user_update_attributes.rs index a035abe7f..bb3fc81cc 100644 --- a/src/datadogV2/model/model_user_update_attributes.rs +++ b/src/datadogV2/model/model_user_update_attributes.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Attributes of the edited user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserUpdateAttributes { diff --git a/src/datadogV2/model/model_user_update_data.rs b/src/datadogV2/model/model_user_update_data.rs index 256577b49..91cd5de51 100644 --- a/src/datadogV2/model/model_user_update_data.rs +++ b/src/datadogV2/model/model_user_update_data.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Object to update a user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserUpdateData { diff --git a/src/datadogV2/model/model_user_update_request.rs b/src/datadogV2/model/model_user_update_request.rs index 25429eb30..c07300679 100644 --- a/src/datadogV2/model/model_user_update_request.rs +++ b/src/datadogV2/model/model_user_update_request.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Update a user. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UserUpdateRequest { diff --git a/src/datadogV2/model/model_users_response.rs b/src/datadogV2/model/model_users_response.rs index ba703bc5a..2bd3c52e7 100644 --- a/src/datadogV2/model/model_users_response.rs +++ b/src/datadogV2/model/model_users_response.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use serde_with::skip_serializing_none; /// Response containing information about multiple users. +#[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct UsersResponse { diff --git a/src/datadogV2/model/model_users_type.rs b/src/datadogV2/model/model_users_type.rs index 8b2288c25..db985e887 100644 --- a/src/datadogV2/model/model_users_type.rs +++ b/src/datadogV2/model/model_users_type.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum UsersType { #[serde(rename = "users")] diff --git a/src/datadogV2/model/model_widget_live_span.rs b/src/datadogV2/model/model_widget_live_span.rs index b8fd7696c..c206c9d21 100644 --- a/src/datadogV2/model/model_widget_live_span.rs +++ b/src/datadogV2/model/model_widget_live_span.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] pub enum WidgetLiveSpan { #[serde(rename = "1m")] diff --git a/src/lib.rs b/src/lib.rs index 0b5619cb6..6906bdd5e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,11 +4,6 @@ #![allow(non_camel_case_types)] #![allow(non_snake_case)] -extern crate reqwest; -extern crate serde; -extern crate serde_json; -extern crate url; - pub mod datadog; pub mod datadogV1; pub mod datadogV2; diff --git a/tests/main.rs b/tests/main.rs index 691fe10d0..35cd1205e 100644 --- a/tests/main.rs +++ b/tests/main.rs @@ -106,11 +106,13 @@ async fn main() { if !name_match { return false; } - if sc.tags.contains(&"skip".to_string()) || sc.tags.contains(&"skip-rust".to_string()) { + if sc.tags.contains(&"skip".into()) || sc.tags.contains(&"skip-rust".into()) { return false; - } else if !is_replay && sc.tags.contains(&"replay-only".to_string()) { + } else if !is_replay && sc.tags.contains(&"replay-only".into()) { return false; - } else if is_replay && sc.tags.contains(&"integration-only".to_string()) { + } else if is_replay && sc.tags.contains(&"integration-only".into()) { + return false; + } else if sc.tags.contains(&"with-pagination".into()) { return false; } else { return true; diff --git a/tests/scenarios/fixtures.rs b/tests/scenarios/fixtures.rs index dd4e5536d..c9dcff96e 100644 --- a/tests/scenarios/fixtures.rs +++ b/tests/scenarios/fixtures.rs @@ -82,13 +82,10 @@ pub async fn before_scenario( ) { collect_function_calls(world); - let escaped_filename = NON_ALNUM_RE + let filename = NON_ALNUM_RE .replace_all(scenario.name.as_str(), "-") .to_string(); - let filename = match escaped_filename.len() > 100 { - true => escaped_filename[..100].to_string(), - false => escaped_filename, - }; + let mut prefix = "Test".to_string(); let mut cassette_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); cassette_dir.push(format!( @@ -349,16 +346,16 @@ fn new_request(world: &mut DatadogWorld, operation_id: String) { } #[given(expr = "operation {string} enabled")] -fn enable_unstable(_world: &mut DatadogWorld, _operation_id: String) { +fn enable_unstable(world: &mut DatadogWorld, operation_id: String) { let operation_id = format!( "v{}.{}", - _world.api_version, - _operation_id.to_case(Case::Snake) + world.api_version, + operation_id.to_case(Case::Snake) ); - _world + world .config .set_unstable_operation_enabled(&operation_id, true); - initialize_api_instance(_world, _world.api_name.clone().unwrap()); + initialize_api_instance(world, world.api_name.clone().unwrap()); } #[given(regex = r"^body with value (.*)$")] diff --git a/tests/scenarios/function_mappings.rs b/tests/scenarios/function_mappings.rs index e7f77fbba..0e8052f37 100644 --- a/tests/scenarios/function_mappings.rs +++ b/tests/scenarios/function_mappings.rs @@ -536,1934 +536,1850 @@ pub fn initialize_api_instance(world: &mut DatadogWorld, api: String) { pub fn collect_function_calls(world: &mut DatadogWorld) { world .function_mappings - .insert("v1.GetIPRanges".to_string(), test_v1_get_ip_ranges); + .insert("v1.GetIPRanges".into(), test_v1_get_ip_ranges); world .function_mappings - .insert("v1.ListAPIKeys".to_string(), test_v1_list_api_keys); + .insert("v1.ListAPIKeys".into(), test_v1_list_api_keys); world .function_mappings - .insert("v1.CreateAPIKey".to_string(), test_v1_create_api_key); + .insert("v1.CreateAPIKey".into(), test_v1_create_api_key); world .function_mappings - .insert("v1.DeleteAPIKey".to_string(), test_v1_delete_api_key); + .insert("v1.DeleteAPIKey".into(), test_v1_delete_api_key); world .function_mappings - .insert("v1.GetAPIKey".to_string(), test_v1_get_api_key); + .insert("v1.GetAPIKey".into(), test_v1_get_api_key); world .function_mappings - .insert("v1.UpdateAPIKey".to_string(), test_v1_update_api_key); + .insert("v1.UpdateAPIKey".into(), test_v1_update_api_key); world.function_mappings.insert( - "v1.ListApplicationKeys".to_string(), + "v1.ListApplicationKeys".into(), test_v1_list_application_keys, ); world.function_mappings.insert( - "v1.CreateApplicationKey".to_string(), + "v1.CreateApplicationKey".into(), test_v1_create_application_key, ); world.function_mappings.insert( - "v1.DeleteApplicationKey".to_string(), + "v1.DeleteApplicationKey".into(), test_v1_delete_application_key, ); + world + .function_mappings + .insert("v1.GetApplicationKey".into(), test_v1_get_application_key); world.function_mappings.insert( - "v1.GetApplicationKey".to_string(), - test_v1_get_application_key, - ); - world.function_mappings.insert( - "v1.UpdateApplicationKey".to_string(), + "v1.UpdateApplicationKey".into(), test_v1_update_application_key, ); + world + .function_mappings + .insert("v1.SubmitServiceCheck".into(), test_v1_submit_service_check); world.function_mappings.insert( - "v1.SubmitServiceCheck".to_string(), - test_v1_submit_service_check, - ); - world.function_mappings.insert( - "v1.GetDailyCustomReports".to_string(), + "v1.GetDailyCustomReports".into(), test_v1_get_daily_custom_reports, ); world.function_mappings.insert( - "v1.GetSpecifiedDailyCustomReports".to_string(), + "v1.GetSpecifiedDailyCustomReports".into(), test_v1_get_specified_daily_custom_reports, ); world.function_mappings.insert( - "v1.GetMonthlyCustomReports".to_string(), + "v1.GetMonthlyCustomReports".into(), test_v1_get_monthly_custom_reports, ); world.function_mappings.insert( - "v1.GetSpecifiedMonthlyCustomReports".to_string(), + "v1.GetSpecifiedMonthlyCustomReports".into(), test_v1_get_specified_monthly_custom_reports, ); world.function_mappings.insert( - "v1.GetUsageAnalyzedLogs".to_string(), + "v1.GetUsageAnalyzedLogs".into(), test_v1_get_usage_analyzed_logs, ); world.function_mappings.insert( - "v1.GetUsageAttribution".to_string(), + "v1.GetUsageAttribution".into(), test_v1_get_usage_attribution, ); - world.function_mappings.insert( - "v1.GetUsageAuditLogs".to_string(), - test_v1_get_usage_audit_logs, - ); world .function_mappings - .insert("v1.GetUsageLambda".to_string(), test_v1_get_usage_lambda); + .insert("v1.GetUsageAuditLogs".into(), test_v1_get_usage_audit_logs); + world + .function_mappings + .insert("v1.GetUsageLambda".into(), test_v1_get_usage_lambda); world.function_mappings.insert( - "v1.GetUsageBillableSummary".to_string(), + "v1.GetUsageBillableSummary".into(), test_v1_get_usage_billable_summary, ); world .function_mappings - .insert("v1.GetUsageCIApp".to_string(), test_v1_get_usage_ci_app); + .insert("v1.GetUsageCIApp".into(), test_v1_get_usage_ci_app); world.function_mappings.insert( - "v1.GetUsageCloudSecurityPostureManagement".to_string(), + "v1.GetUsageCloudSecurityPostureManagement".into(), test_v1_get_usage_cloud_security_posture_management, ); world .function_mappings - .insert("v1.GetUsageCWS".to_string(), test_v1_get_usage_cws); + .insert("v1.GetUsageCWS".into(), test_v1_get_usage_cws); world .function_mappings - .insert("v1.GetUsageDBM".to_string(), test_v1_get_usage_dbm); + .insert("v1.GetUsageDBM".into(), test_v1_get_usage_dbm); world .function_mappings - .insert("v1.GetUsageFargate".to_string(), test_v1_get_usage_fargate); + .insert("v1.GetUsageFargate".into(), test_v1_get_usage_fargate); world .function_mappings - .insert("v1.GetUsageHosts".to_string(), test_v1_get_usage_hosts); + .insert("v1.GetUsageHosts".into(), test_v1_get_usage_hosts); world.function_mappings.insert( - "v1.GetHourlyUsageAttribution".to_string(), + "v1.GetHourlyUsageAttribution".into(), test_v1_get_hourly_usage_attribution, ); world.function_mappings.insert( - "v1.GetIncidentManagement".to_string(), + "v1.GetIncidentManagement".into(), test_v1_get_incident_management, ); world.function_mappings.insert( - "v1.GetUsageIndexedSpans".to_string(), + "v1.GetUsageIndexedSpans".into(), test_v1_get_usage_indexed_spans, ); + world + .function_mappings + .insert("v1.GetIngestedSpans".into(), test_v1_get_ingested_spans); world.function_mappings.insert( - "v1.GetIngestedSpans".to_string(), - test_v1_get_ingested_spans, - ); - world.function_mappings.insert( - "v1.GetUsageInternetOfThings".to_string(), + "v1.GetUsageInternetOfThings".into(), test_v1_get_usage_internet_of_things, ); world .function_mappings - .insert("v1.GetUsageLogs".to_string(), test_v1_get_usage_logs); + .insert("v1.GetUsageLogs".into(), test_v1_get_usage_logs); world.function_mappings.insert( - "v1.GetUsageLogsByRetention".to_string(), + "v1.GetUsageLogsByRetention".into(), test_v1_get_usage_logs_by_retention, ); world.function_mappings.insert( - "v1.GetUsageLogsByIndex".to_string(), + "v1.GetUsageLogsByIndex".into(), test_v1_get_usage_logs_by_index, ); world.function_mappings.insert( - "v1.GetMonthlyUsageAttribution".to_string(), + "v1.GetMonthlyUsageAttribution".into(), test_v1_get_monthly_usage_attribution, ); world.function_mappings.insert( - "v1.GetUsageNetworkFlows".to_string(), + "v1.GetUsageNetworkFlows".into(), test_v1_get_usage_network_flows, ); world.function_mappings.insert( - "v1.GetUsageNetworkHosts".to_string(), + "v1.GetUsageNetworkHosts".into(), test_v1_get_usage_network_hosts, ); world.function_mappings.insert( - "v1.GetUsageOnlineArchive".to_string(), + "v1.GetUsageOnlineArchive".into(), test_v1_get_usage_online_archive, ); + world + .function_mappings + .insert("v1.GetUsageProfiling".into(), test_v1_get_usage_profiling); + world + .function_mappings + .insert("v1.GetUsageRumUnits".into(), test_v1_get_usage_rum_units); world.function_mappings.insert( - "v1.GetUsageProfiling".to_string(), - test_v1_get_usage_profiling, - ); - world.function_mappings.insert( - "v1.GetUsageRumUnits".to_string(), - test_v1_get_usage_rum_units, - ); - world.function_mappings.insert( - "v1.GetUsageRumSessions".to_string(), + "v1.GetUsageRumSessions".into(), test_v1_get_usage_rum_sessions, ); world .function_mappings - .insert("v1.GetUsageSDS".to_string(), test_v1_get_usage_sds); + .insert("v1.GetUsageSDS".into(), test_v1_get_usage_sds); world .function_mappings - .insert("v1.GetUsageSNMP".to_string(), test_v1_get_usage_snmp); + .insert("v1.GetUsageSNMP".into(), test_v1_get_usage_snmp); world .function_mappings - .insert("v1.GetUsageSummary".to_string(), test_v1_get_usage_summary); - world.function_mappings.insert( - "v1.GetUsageSynthetics".to_string(), - test_v1_get_usage_synthetics, - ); + .insert("v1.GetUsageSummary".into(), test_v1_get_usage_summary); + world + .function_mappings + .insert("v1.GetUsageSynthetics".into(), test_v1_get_usage_synthetics); world.function_mappings.insert( - "v1.GetUsageSyntheticsAPI".to_string(), + "v1.GetUsageSyntheticsAPI".into(), test_v1_get_usage_synthetics_api, ); world.function_mappings.insert( - "v1.GetUsageSyntheticsBrowser".to_string(), + "v1.GetUsageSyntheticsBrowser".into(), test_v1_get_usage_synthetics_browser, ); + world + .function_mappings + .insert("v1.GetUsageTimeseries".into(), test_v1_get_usage_timeseries); world.function_mappings.insert( - "v1.GetUsageTimeseries".to_string(), - test_v1_get_usage_timeseries, - ); - world.function_mappings.insert( - "v1.GetUsageTopAvgMetrics".to_string(), + "v1.GetUsageTopAvgMetrics".into(), test_v1_get_usage_top_avg_metrics, ); world .function_mappings - .insert("v1.DeleteDashboards".to_string(), test_v1_delete_dashboards); + .insert("v1.DeleteDashboards".into(), test_v1_delete_dashboards); world .function_mappings - .insert("v1.ListDashboards".to_string(), test_v1_list_dashboards); - world.function_mappings.insert( - "v1.RestoreDashboards".to_string(), - test_v1_restore_dashboards, - ); + .insert("v1.ListDashboards".into(), test_v1_list_dashboards); + world + .function_mappings + .insert("v1.RestoreDashboards".into(), test_v1_restore_dashboards); world .function_mappings - .insert("v1.CreateDashboard".to_string(), test_v1_create_dashboard); + .insert("v1.CreateDashboard".into(), test_v1_create_dashboard); world.function_mappings.insert( - "v1.CreatePublicDashboard".to_string(), + "v1.CreatePublicDashboard".into(), test_v1_create_public_dashboard, ); world.function_mappings.insert( - "v1.DeletePublicDashboard".to_string(), + "v1.DeletePublicDashboard".into(), test_v1_delete_public_dashboard, ); + world + .function_mappings + .insert("v1.GetPublicDashboard".into(), test_v1_get_public_dashboard); world.function_mappings.insert( - "v1.GetPublicDashboard".to_string(), - test_v1_get_public_dashboard, - ); - world.function_mappings.insert( - "v1.UpdatePublicDashboard".to_string(), + "v1.UpdatePublicDashboard".into(), test_v1_update_public_dashboard, ); world.function_mappings.insert( - "v1.DeletePublicDashboardInvitation".to_string(), + "v1.DeletePublicDashboardInvitation".into(), test_v1_delete_public_dashboard_invitation, ); world.function_mappings.insert( - "v1.GetPublicDashboardInvitations".to_string(), + "v1.GetPublicDashboardInvitations".into(), test_v1_get_public_dashboard_invitations, ); world.function_mappings.insert( - "v1.SendPublicDashboardInvitation".to_string(), + "v1.SendPublicDashboardInvitation".into(), test_v1_send_public_dashboard_invitation, ); world .function_mappings - .insert("v1.DeleteDashboard".to_string(), test_v1_delete_dashboard); + .insert("v1.DeleteDashboard".into(), test_v1_delete_dashboard); world .function_mappings - .insert("v1.GetDashboard".to_string(), test_v1_get_dashboard); + .insert("v1.GetDashboard".into(), test_v1_get_dashboard); world .function_mappings - .insert("v1.UpdateDashboard".to_string(), test_v1_update_dashboard); - world.function_mappings.insert( - "v1.ListDashboardLists".to_string(), - test_v1_list_dashboard_lists, - ); + .insert("v1.UpdateDashboard".into(), test_v1_update_dashboard); + world + .function_mappings + .insert("v1.ListDashboardLists".into(), test_v1_list_dashboard_lists); world.function_mappings.insert( - "v1.CreateDashboardList".to_string(), + "v1.CreateDashboardList".into(), test_v1_create_dashboard_list, ); world.function_mappings.insert( - "v1.DeleteDashboardList".to_string(), + "v1.DeleteDashboardList".into(), test_v1_delete_dashboard_list, ); + world + .function_mappings + .insert("v1.GetDashboardList".into(), test_v1_get_dashboard_list); world.function_mappings.insert( - "v1.GetDashboardList".to_string(), - test_v1_get_dashboard_list, - ); - world.function_mappings.insert( - "v1.UpdateDashboardList".to_string(), + "v1.UpdateDashboardList".into(), test_v1_update_dashboard_list, ); world.function_mappings.insert( - "v1.SubmitDistributionPoints".to_string(), + "v1.SubmitDistributionPoints".into(), test_v1_submit_distribution_points, ); + world + .function_mappings + .insert("v1.ListActiveMetrics".into(), test_v1_list_active_metrics); + world + .function_mappings + .insert("v1.GetMetricMetadata".into(), test_v1_get_metric_metadata); world.function_mappings.insert( - "v1.ListActiveMetrics".to_string(), - test_v1_list_active_metrics, - ); - world.function_mappings.insert( - "v1.GetMetricMetadata".to_string(), - test_v1_get_metric_metadata, - ); - world.function_mappings.insert( - "v1.UpdateMetricMetadata".to_string(), + "v1.UpdateMetricMetadata".into(), test_v1_update_metric_metadata, ); world .function_mappings - .insert("v1.QueryMetrics".to_string(), test_v1_query_metrics); + .insert("v1.QueryMetrics".into(), test_v1_query_metrics); world .function_mappings - .insert("v1.ListMetrics".to_string(), test_v1_list_metrics); + .insert("v1.ListMetrics".into(), test_v1_list_metrics); world .function_mappings - .insert("v1.SubmitMetrics".to_string(), test_v1_submit_metrics); + .insert("v1.SubmitMetrics".into(), test_v1_submit_metrics); world .function_mappings - .insert("v1.ListDowntimes".to_string(), test_v1_list_downtimes); + .insert("v1.ListDowntimes".into(), test_v1_list_downtimes); world .function_mappings - .insert("v1.CreateDowntime".to_string(), test_v1_create_downtime); + .insert("v1.CreateDowntime".into(), test_v1_create_downtime); world.function_mappings.insert( - "v1.CancelDowntimesByScope".to_string(), + "v1.CancelDowntimesByScope".into(), test_v1_cancel_downtimes_by_scope, ); world .function_mappings - .insert("v1.CancelDowntime".to_string(), test_v1_cancel_downtime); + .insert("v1.CancelDowntime".into(), test_v1_cancel_downtime); world .function_mappings - .insert("v1.GetDowntime".to_string(), test_v1_get_downtime); + .insert("v1.GetDowntime".into(), test_v1_get_downtime); world .function_mappings - .insert("v1.UpdateDowntime".to_string(), test_v1_update_downtime); + .insert("v1.UpdateDowntime".into(), test_v1_update_downtime); world.function_mappings.insert( - "v1.ListMonitorDowntimes".to_string(), + "v1.ListMonitorDowntimes".into(), test_v1_list_monitor_downtimes, ); world .function_mappings - .insert("v1.ListEvents".to_string(), test_v1_list_events); + .insert("v1.ListEvents".into(), test_v1_list_events); world .function_mappings - .insert("v1.CreateEvent".to_string(), test_v1_create_event); + .insert("v1.CreateEvent".into(), test_v1_create_event); world .function_mappings - .insert("v1.GetEvent".to_string(), test_v1_get_event); - world.function_mappings.insert( - "v1.GetGraphSnapshot".to_string(), - test_v1_get_graph_snapshot, - ); + .insert("v1.GetEvent".into(), test_v1_get_event); world .function_mappings - .insert("v1.MuteHost".to_string(), test_v1_mute_host); + .insert("v1.GetGraphSnapshot".into(), test_v1_get_graph_snapshot); world .function_mappings - .insert("v1.UnmuteHost".to_string(), test_v1_unmute_host); + .insert("v1.MuteHost".into(), test_v1_mute_host); world .function_mappings - .insert("v1.ListHosts".to_string(), test_v1_list_hosts); + .insert("v1.UnmuteHost".into(), test_v1_unmute_host); world .function_mappings - .insert("v1.GetHostTotals".to_string(), test_v1_get_host_totals); - world.function_mappings.insert( - "v1.DeleteAWSAccount".to_string(), - test_v1_delete_aws_account, - ); + .insert("v1.ListHosts".into(), test_v1_list_hosts); world .function_mappings - .insert("v1.ListAWSAccounts".to_string(), test_v1_list_aws_accounts); - world.function_mappings.insert( - "v1.CreateAWSAccount".to_string(), - test_v1_create_aws_account, - ); - world.function_mappings.insert( - "v1.UpdateAWSAccount".to_string(), - test_v1_update_aws_account, - ); + .insert("v1.GetHostTotals".into(), test_v1_get_host_totals); + world + .function_mappings + .insert("v1.DeleteAWSAccount".into(), test_v1_delete_aws_account); + world + .function_mappings + .insert("v1.ListAWSAccounts".into(), test_v1_list_aws_accounts); + world + .function_mappings + .insert("v1.CreateAWSAccount".into(), test_v1_create_aws_account); + world + .function_mappings + .insert("v1.UpdateAWSAccount".into(), test_v1_update_aws_account); world.function_mappings.insert( - "v1.ListAvailableAWSNamespaces".to_string(), + "v1.ListAvailableAWSNamespaces".into(), test_v1_list_available_aws_namespaces, ); world.function_mappings.insert( - "v1.DeleteAWSEventBridgeSource".to_string(), + "v1.DeleteAWSEventBridgeSource".into(), test_v1_delete_aws_event_bridge_source, ); world.function_mappings.insert( - "v1.ListAWSEventBridgeSources".to_string(), + "v1.ListAWSEventBridgeSources".into(), test_v1_list_aws_event_bridge_sources, ); world.function_mappings.insert( - "v1.CreateAWSEventBridgeSource".to_string(), + "v1.CreateAWSEventBridgeSource".into(), test_v1_create_aws_event_bridge_source, ); world.function_mappings.insert( - "v1.DeleteAWSTagFilter".to_string(), + "v1.DeleteAWSTagFilter".into(), test_v1_delete_aws_tag_filter, ); + world + .function_mappings + .insert("v1.ListAWSTagFilters".into(), test_v1_list_aws_tag_filters); world.function_mappings.insert( - "v1.ListAWSTagFilters".to_string(), - test_v1_list_aws_tag_filters, - ); - world.function_mappings.insert( - "v1.CreateAWSTagFilter".to_string(), + "v1.CreateAWSTagFilter".into(), test_v1_create_aws_tag_filter, ); world.function_mappings.insert( - "v1.CreateNewAWSExternalID".to_string(), + "v1.CreateNewAWSExternalID".into(), test_v1_create_new_aws_external_id, ); world.function_mappings.insert( - "v1.DeleteAWSLambdaARN".to_string(), + "v1.DeleteAWSLambdaARN".into(), test_v1_delete_aws_lambda_arn, ); world.function_mappings.insert( - "v1.ListAWSLogsIntegrations".to_string(), + "v1.ListAWSLogsIntegrations".into(), test_v1_list_aws_logs_integrations, ); world.function_mappings.insert( - "v1.CreateAWSLambdaARN".to_string(), + "v1.CreateAWSLambdaARN".into(), test_v1_create_aws_lambda_arn, ); world.function_mappings.insert( - "v1.CheckAWSLogsLambdaAsync".to_string(), + "v1.CheckAWSLogsLambdaAsync".into(), test_v1_check_aws_logs_lambda_async, ); world.function_mappings.insert( - "v1.ListAWSLogsServices".to_string(), + "v1.ListAWSLogsServices".into(), test_v1_list_aws_logs_services, ); world.function_mappings.insert( - "v1.EnableAWSLogServices".to_string(), + "v1.EnableAWSLogServices".into(), test_v1_enable_aws_log_services, ); world.function_mappings.insert( - "v1.CheckAWSLogsServicesAsync".to_string(), + "v1.CheckAWSLogsServicesAsync".into(), test_v1_check_aws_logs_services_async, ); world.function_mappings.insert( - "v1.DeleteAzureIntegration".to_string(), + "v1.DeleteAzureIntegration".into(), test_v1_delete_azure_integration, ); world.function_mappings.insert( - "v1.ListAzureIntegration".to_string(), + "v1.ListAzureIntegration".into(), test_v1_list_azure_integration, ); world.function_mappings.insert( - "v1.CreateAzureIntegration".to_string(), + "v1.CreateAzureIntegration".into(), test_v1_create_azure_integration, ); world.function_mappings.insert( - "v1.UpdateAzureIntegration".to_string(), + "v1.UpdateAzureIntegration".into(), test_v1_update_azure_integration, ); world.function_mappings.insert( - "v1.UpdateAzureHostFilters".to_string(), + "v1.UpdateAzureHostFilters".into(), test_v1_update_azure_host_filters, ); world.function_mappings.insert( - "v1.DeleteGCPIntegration".to_string(), + "v1.DeleteGCPIntegration".into(), test_v1_delete_gcp_integration, ); + world + .function_mappings + .insert("v1.ListGCPIntegration".into(), test_v1_list_gcp_integration); world.function_mappings.insert( - "v1.ListGCPIntegration".to_string(), - test_v1_list_gcp_integration, - ); - world.function_mappings.insert( - "v1.CreateGCPIntegration".to_string(), + "v1.CreateGCPIntegration".into(), test_v1_create_gcp_integration, ); world.function_mappings.insert( - "v1.UpdateGCPIntegration".to_string(), + "v1.UpdateGCPIntegration".into(), test_v1_update_gcp_integration, ); world.function_mappings.insert( - "v1.CreatePagerDutyIntegrationService".to_string(), + "v1.CreatePagerDutyIntegrationService".into(), test_v1_create_pager_duty_integration_service, ); world.function_mappings.insert( - "v1.DeletePagerDutyIntegrationService".to_string(), + "v1.DeletePagerDutyIntegrationService".into(), test_v1_delete_pager_duty_integration_service, ); world.function_mappings.insert( - "v1.GetPagerDutyIntegrationService".to_string(), + "v1.GetPagerDutyIntegrationService".into(), test_v1_get_pager_duty_integration_service, ); world.function_mappings.insert( - "v1.UpdatePagerDutyIntegrationService".to_string(), + "v1.UpdatePagerDutyIntegrationService".into(), test_v1_update_pager_duty_integration_service, ); world.function_mappings.insert( - "v1.GetSlackIntegrationChannels".to_string(), + "v1.GetSlackIntegrationChannels".into(), test_v1_get_slack_integration_channels, ); world.function_mappings.insert( - "v1.CreateSlackIntegrationChannel".to_string(), + "v1.CreateSlackIntegrationChannel".into(), test_v1_create_slack_integration_channel, ); world.function_mappings.insert( - "v1.RemoveSlackIntegrationChannel".to_string(), + "v1.RemoveSlackIntegrationChannel".into(), test_v1_remove_slack_integration_channel, ); world.function_mappings.insert( - "v1.GetSlackIntegrationChannel".to_string(), + "v1.GetSlackIntegrationChannel".into(), test_v1_get_slack_integration_channel, ); world.function_mappings.insert( - "v1.UpdateSlackIntegrationChannel".to_string(), + "v1.UpdateSlackIntegrationChannel".into(), test_v1_update_slack_integration_channel, ); world.function_mappings.insert( - "v1.CreateWebhooksIntegrationCustomVariable".to_string(), + "v1.CreateWebhooksIntegrationCustomVariable".into(), test_v1_create_webhooks_integration_custom_variable, ); world.function_mappings.insert( - "v1.DeleteWebhooksIntegrationCustomVariable".to_string(), + "v1.DeleteWebhooksIntegrationCustomVariable".into(), test_v1_delete_webhooks_integration_custom_variable, ); world.function_mappings.insert( - "v1.GetWebhooksIntegrationCustomVariable".to_string(), + "v1.GetWebhooksIntegrationCustomVariable".into(), test_v1_get_webhooks_integration_custom_variable, ); world.function_mappings.insert( - "v1.UpdateWebhooksIntegrationCustomVariable".to_string(), + "v1.UpdateWebhooksIntegrationCustomVariable".into(), test_v1_update_webhooks_integration_custom_variable, ); world.function_mappings.insert( - "v1.CreateWebhooksIntegration".to_string(), + "v1.CreateWebhooksIntegration".into(), test_v1_create_webhooks_integration, ); world.function_mappings.insert( - "v1.DeleteWebhooksIntegration".to_string(), + "v1.DeleteWebhooksIntegration".into(), test_v1_delete_webhooks_integration, ); world.function_mappings.insert( - "v1.GetWebhooksIntegration".to_string(), + "v1.GetWebhooksIntegration".into(), test_v1_get_webhooks_integration, ); world.function_mappings.insert( - "v1.UpdateWebhooksIntegration".to_string(), + "v1.UpdateWebhooksIntegration".into(), test_v1_update_webhooks_integration, ); world .function_mappings - .insert("v1.ListLogs".to_string(), test_v1_list_logs); + .insert("v1.ListLogs".into(), test_v1_list_logs); world .function_mappings - .insert("v1.SubmitLog".to_string(), test_v1_submit_log); - world.function_mappings.insert( - "v1.GetLogsIndexOrder".to_string(), - test_v1_get_logs_index_order, - ); + .insert("v1.SubmitLog".into(), test_v1_submit_log); + world + .function_mappings + .insert("v1.GetLogsIndexOrder".into(), test_v1_get_logs_index_order); world.function_mappings.insert( - "v1.UpdateLogsIndexOrder".to_string(), + "v1.UpdateLogsIndexOrder".into(), test_v1_update_logs_index_order, ); world .function_mappings - .insert("v1.ListLogIndexes".to_string(), test_v1_list_log_indexes); + .insert("v1.ListLogIndexes".into(), test_v1_list_log_indexes); world .function_mappings - .insert("v1.CreateLogsIndex".to_string(), test_v1_create_logs_index); + .insert("v1.CreateLogsIndex".into(), test_v1_create_logs_index); world .function_mappings - .insert("v1.GetLogsIndex".to_string(), test_v1_get_logs_index); + .insert("v1.GetLogsIndex".into(), test_v1_get_logs_index); world .function_mappings - .insert("v1.UpdateLogsIndex".to_string(), test_v1_update_logs_index); + .insert("v1.UpdateLogsIndex".into(), test_v1_update_logs_index); world.function_mappings.insert( - "v1.GetLogsPipelineOrder".to_string(), + "v1.GetLogsPipelineOrder".into(), test_v1_get_logs_pipeline_order, ); world.function_mappings.insert( - "v1.UpdateLogsPipelineOrder".to_string(), + "v1.UpdateLogsPipelineOrder".into(), test_v1_update_logs_pipeline_order, ); - world.function_mappings.insert( - "v1.ListLogsPipelines".to_string(), - test_v1_list_logs_pipelines, - ); - world.function_mappings.insert( - "v1.CreateLogsPipeline".to_string(), - test_v1_create_logs_pipeline, - ); - world.function_mappings.insert( - "v1.DeleteLogsPipeline".to_string(), - test_v1_delete_logs_pipeline, - ); world .function_mappings - .insert("v1.GetLogsPipeline".to_string(), test_v1_get_logs_pipeline); - world.function_mappings.insert( - "v1.UpdateLogsPipeline".to_string(), - test_v1_update_logs_pipeline, - ); + .insert("v1.ListLogsPipelines".into(), test_v1_list_logs_pipelines); + world + .function_mappings + .insert("v1.CreateLogsPipeline".into(), test_v1_create_logs_pipeline); world .function_mappings - .insert("v1.ListMonitors".to_string(), test_v1_list_monitors); + .insert("v1.DeleteLogsPipeline".into(), test_v1_delete_logs_pipeline); world .function_mappings - .insert("v1.CreateMonitor".to_string(), test_v1_create_monitor); + .insert("v1.GetLogsPipeline".into(), test_v1_get_logs_pipeline); + world + .function_mappings + .insert("v1.UpdateLogsPipeline".into(), test_v1_update_logs_pipeline); + world + .function_mappings + .insert("v1.ListMonitors".into(), test_v1_list_monitors); + world + .function_mappings + .insert("v1.CreateMonitor".into(), test_v1_create_monitor); world.function_mappings.insert( - "v1.CheckCanDeleteMonitor".to_string(), + "v1.CheckCanDeleteMonitor".into(), test_v1_check_can_delete_monitor, ); world.function_mappings.insert( - "v1.SearchMonitorGroups".to_string(), + "v1.SearchMonitorGroups".into(), test_v1_search_monitor_groups, ); world .function_mappings - .insert("v1.SearchMonitors".to_string(), test_v1_search_monitors); + .insert("v1.SearchMonitors".into(), test_v1_search_monitors); world .function_mappings - .insert("v1.ValidateMonitor".to_string(), test_v1_validate_monitor); + .insert("v1.ValidateMonitor".into(), test_v1_validate_monitor); world .function_mappings - .insert("v1.DeleteMonitor".to_string(), test_v1_delete_monitor); + .insert("v1.DeleteMonitor".into(), test_v1_delete_monitor); world .function_mappings - .insert("v1.GetMonitor".to_string(), test_v1_get_monitor); + .insert("v1.GetMonitor".into(), test_v1_get_monitor); world .function_mappings - .insert("v1.UpdateMonitor".to_string(), test_v1_update_monitor); + .insert("v1.UpdateMonitor".into(), test_v1_update_monitor); world.function_mappings.insert( - "v1.ValidateExistingMonitor".to_string(), + "v1.ValidateExistingMonitor".into(), test_v1_validate_existing_monitor, ); world .function_mappings - .insert("v1.ListNotebooks".to_string(), test_v1_list_notebooks); + .insert("v1.ListNotebooks".into(), test_v1_list_notebooks); world .function_mappings - .insert("v1.CreateNotebook".to_string(), test_v1_create_notebook); + .insert("v1.CreateNotebook".into(), test_v1_create_notebook); world .function_mappings - .insert("v1.DeleteNotebook".to_string(), test_v1_delete_notebook); + .insert("v1.DeleteNotebook".into(), test_v1_delete_notebook); world .function_mappings - .insert("v1.GetNotebook".to_string(), test_v1_get_notebook); + .insert("v1.GetNotebook".into(), test_v1_get_notebook); world .function_mappings - .insert("v1.UpdateNotebook".to_string(), test_v1_update_notebook); + .insert("v1.UpdateNotebook".into(), test_v1_update_notebook); world .function_mappings - .insert("v1.ListOrgs".to_string(), test_v1_list_orgs); + .insert("v1.ListOrgs".into(), test_v1_list_orgs); world .function_mappings - .insert("v1.CreateChildOrg".to_string(), test_v1_create_child_org); + .insert("v1.CreateChildOrg".into(), test_v1_create_child_org); world .function_mappings - .insert("v1.GetOrg".to_string(), test_v1_get_org); + .insert("v1.GetOrg".into(), test_v1_get_org); world .function_mappings - .insert("v1.UpdateOrg".to_string(), test_v1_update_org); + .insert("v1.UpdateOrg".into(), test_v1_update_org); world .function_mappings - .insert("v1.DowngradeOrg".to_string(), test_v1_downgrade_org); - world.function_mappings.insert( - "v1.UploadIdPForOrg".to_string(), - test_v1_upload_id_p_for_org, - ); + .insert("v1.DowngradeOrg".into(), test_v1_downgrade_org); + world + .function_mappings + .insert("v1.UploadIdPForOrg".into(), test_v1_upload_id_p_for_org); world.function_mappings.insert( - "v1.AddSecurityMonitoringSignalToIncident".to_string(), + "v1.AddSecurityMonitoringSignalToIncident".into(), test_v1_add_security_monitoring_signal_to_incident, ); world.function_mappings.insert( - "v1.EditSecurityMonitoringSignalAssignee".to_string(), + "v1.EditSecurityMonitoringSignalAssignee".into(), test_v1_edit_security_monitoring_signal_assignee, ); world.function_mappings.insert( - "v1.EditSecurityMonitoringSignalState".to_string(), + "v1.EditSecurityMonitoringSignalState".into(), test_v1_edit_security_monitoring_signal_state, ); world .function_mappings - .insert("v1.ListSLOs".to_string(), test_v1_list_sl_os); + .insert("v1.ListSLOs".into(), test_v1_list_sl_os); world .function_mappings - .insert("v1.CreateSLO".to_string(), test_v1_create_slo); + .insert("v1.CreateSLO".into(), test_v1_create_slo); world.function_mappings.insert( - "v1.DeleteSLOTimeframeInBulk".to_string(), + "v1.DeleteSLOTimeframeInBulk".into(), test_v1_delete_slo_timeframe_in_bulk, ); - world.function_mappings.insert( - "v1.CheckCanDeleteSLO".to_string(), - test_v1_check_can_delete_slo, - ); world .function_mappings - .insert("v1.SearchSLO".to_string(), test_v1_search_slo); + .insert("v1.CheckCanDeleteSLO".into(), test_v1_check_can_delete_slo); world .function_mappings - .insert("v1.DeleteSLO".to_string(), test_v1_delete_slo); + .insert("v1.SearchSLO".into(), test_v1_search_slo); world .function_mappings - .insert("v1.GetSLO".to_string(), test_v1_get_slo); + .insert("v1.DeleteSLO".into(), test_v1_delete_slo); world .function_mappings - .insert("v1.UpdateSLO".to_string(), test_v1_update_slo); - world.function_mappings.insert( - "v1.GetSLOCorrections".to_string(), - test_v1_get_slo_corrections, - ); + .insert("v1.GetSLO".into(), test_v1_get_slo); world .function_mappings - .insert("v1.GetSLOHistory".to_string(), test_v1_get_slo_history); - world.function_mappings.insert( - "v1.ListSLOCorrection".to_string(), - test_v1_list_slo_correction, - ); + .insert("v1.UpdateSLO".into(), test_v1_update_slo); + world + .function_mappings + .insert("v1.GetSLOCorrections".into(), test_v1_get_slo_corrections); + world + .function_mappings + .insert("v1.GetSLOHistory".into(), test_v1_get_slo_history); + world + .function_mappings + .insert("v1.ListSLOCorrection".into(), test_v1_list_slo_correction); world.function_mappings.insert( - "v1.CreateSLOCorrection".to_string(), + "v1.CreateSLOCorrection".into(), test_v1_create_slo_correction, ); world.function_mappings.insert( - "v1.DeleteSLOCorrection".to_string(), + "v1.DeleteSLOCorrection".into(), test_v1_delete_slo_correction, ); + world + .function_mappings + .insert("v1.GetSLOCorrection".into(), test_v1_get_slo_correction); world.function_mappings.insert( - "v1.GetSLOCorrection".to_string(), - test_v1_get_slo_correction, - ); - world.function_mappings.insert( - "v1.UpdateSLOCorrection".to_string(), + "v1.UpdateSLOCorrection".into(), test_v1_update_slo_correction, ); world.function_mappings.insert( - "v1.GetSyntheticsCIBatch".to_string(), + "v1.GetSyntheticsCIBatch".into(), test_v1_get_synthetics_ci_batch, ); world .function_mappings - .insert("v1.ListLocations".to_string(), test_v1_list_locations); + .insert("v1.ListLocations".into(), test_v1_list_locations); world.function_mappings.insert( - "v1.CreatePrivateLocation".to_string(), + "v1.CreatePrivateLocation".into(), test_v1_create_private_location, ); world.function_mappings.insert( - "v1.DeletePrivateLocation".to_string(), + "v1.DeletePrivateLocation".into(), test_v1_delete_private_location, ); + world + .function_mappings + .insert("v1.GetPrivateLocation".into(), test_v1_get_private_location); world.function_mappings.insert( - "v1.GetPrivateLocation".to_string(), - test_v1_get_private_location, - ); - world.function_mappings.insert( - "v1.UpdatePrivateLocation".to_string(), + "v1.UpdatePrivateLocation".into(), test_v1_update_private_location, ); world.function_mappings.insert( - "v1.GetSyntheticsDefaultLocations".to_string(), + "v1.GetSyntheticsDefaultLocations".into(), test_v1_get_synthetics_default_locations, ); world .function_mappings - .insert("v1.ListTests".to_string(), test_v1_list_tests); + .insert("v1.ListTests".into(), test_v1_list_tests); world.function_mappings.insert( - "v1.CreateSyntheticsAPITest".to_string(), + "v1.CreateSyntheticsAPITest".into(), test_v1_create_synthetics_api_test, ); world .function_mappings - .insert("v1.GetAPITest".to_string(), test_v1_get_api_test); + .insert("v1.GetAPITest".into(), test_v1_get_api_test); world .function_mappings - .insert("v1.UpdateAPITest".to_string(), test_v1_update_api_test); + .insert("v1.UpdateAPITest".into(), test_v1_update_api_test); world.function_mappings.insert( - "v1.CreateSyntheticsBrowserTest".to_string(), + "v1.CreateSyntheticsBrowserTest".into(), test_v1_create_synthetics_browser_test, ); world .function_mappings - .insert("v1.GetBrowserTest".to_string(), test_v1_get_browser_test); - world.function_mappings.insert( - "v1.UpdateBrowserTest".to_string(), - test_v1_update_browser_test, - ); + .insert("v1.GetBrowserTest".into(), test_v1_get_browser_test); + world + .function_mappings + .insert("v1.UpdateBrowserTest".into(), test_v1_update_browser_test); world.function_mappings.insert( - "v1.GetBrowserTestLatestResults".to_string(), + "v1.GetBrowserTestLatestResults".into(), test_v1_get_browser_test_latest_results, ); world.function_mappings.insert( - "v1.GetBrowserTestResult".to_string(), + "v1.GetBrowserTestResult".into(), test_v1_get_browser_test_result, ); world .function_mappings - .insert("v1.DeleteTests".to_string(), test_v1_delete_tests); + .insert("v1.DeleteTests".into(), test_v1_delete_tests); world .function_mappings - .insert("v1.TriggerTests".to_string(), test_v1_trigger_tests); + .insert("v1.TriggerTests".into(), test_v1_trigger_tests); world .function_mappings - .insert("v1.TriggerCITests".to_string(), test_v1_trigger_ci_tests); + .insert("v1.TriggerCITests".into(), test_v1_trigger_ci_tests); world .function_mappings - .insert("v1.GetTest".to_string(), test_v1_get_test); + .insert("v1.GetTest".into(), test_v1_get_test); world .function_mappings - .insert("v1.PatchTest".to_string(), test_v1_patch_test); + .insert("v1.PatchTest".into(), test_v1_patch_test); world.function_mappings.insert( - "v1.GetAPITestLatestResults".to_string(), + "v1.GetAPITestLatestResults".into(), test_v1_get_api_test_latest_results, ); + world + .function_mappings + .insert("v1.GetAPITestResult".into(), test_v1_get_api_test_result); world.function_mappings.insert( - "v1.GetAPITestResult".to_string(), - test_v1_get_api_test_result, - ); - world.function_mappings.insert( - "v1.UpdateTestPauseStatus".to_string(), + "v1.UpdateTestPauseStatus".into(), test_v1_update_test_pause_status, ); world.function_mappings.insert( - "v1.ListGlobalVariables".to_string(), + "v1.ListGlobalVariables".into(), test_v1_list_global_variables, ); world.function_mappings.insert( - "v1.CreateGlobalVariable".to_string(), + "v1.CreateGlobalVariable".into(), test_v1_create_global_variable, ); world.function_mappings.insert( - "v1.DeleteGlobalVariable".to_string(), + "v1.DeleteGlobalVariable".into(), test_v1_delete_global_variable, ); - world.function_mappings.insert( - "v1.GetGlobalVariable".to_string(), - test_v1_get_global_variable, - ); - world.function_mappings.insert( - "v1.EditGlobalVariable".to_string(), - test_v1_edit_global_variable, - ); world .function_mappings - .insert("v1.ListHostTags".to_string(), test_v1_list_host_tags); + .insert("v1.GetGlobalVariable".into(), test_v1_get_global_variable); world .function_mappings - .insert("v1.DeleteHostTags".to_string(), test_v1_delete_host_tags); + .insert("v1.EditGlobalVariable".into(), test_v1_edit_global_variable); world .function_mappings - .insert("v1.GetHostTags".to_string(), test_v1_get_host_tags); + .insert("v1.ListHostTags".into(), test_v1_list_host_tags); world .function_mappings - .insert("v1.CreateHostTags".to_string(), test_v1_create_host_tags); + .insert("v1.DeleteHostTags".into(), test_v1_delete_host_tags); world .function_mappings - .insert("v1.UpdateHostTags".to_string(), test_v1_update_host_tags); + .insert("v1.GetHostTags".into(), test_v1_get_host_tags); world .function_mappings - .insert("v1.ListUsers".to_string(), test_v1_list_users); + .insert("v1.CreateHostTags".into(), test_v1_create_host_tags); world .function_mappings - .insert("v1.CreateUser".to_string(), test_v1_create_user); + .insert("v1.UpdateHostTags".into(), test_v1_update_host_tags); world .function_mappings - .insert("v1.DisableUser".to_string(), test_v1_disable_user); + .insert("v1.ListUsers".into(), test_v1_list_users); world .function_mappings - .insert("v1.GetUser".to_string(), test_v1_get_user); + .insert("v1.CreateUser".into(), test_v1_create_user); world .function_mappings - .insert("v1.UpdateUser".to_string(), test_v1_update_user); + .insert("v1.DisableUser".into(), test_v1_disable_user); world .function_mappings - .insert("v1.Validate".to_string(), test_v1_validate); + .insert("v1.GetUser".into(), test_v1_get_user); world .function_mappings - .insert("v2.ListAPIKeys".to_string(), test_v2_list_api_keys); + .insert("v1.UpdateUser".into(), test_v1_update_user); world .function_mappings - .insert("v2.CreateAPIKey".to_string(), test_v2_create_api_key); + .insert("v1.Validate".into(), test_v1_validate); world .function_mappings - .insert("v2.DeleteAPIKey".to_string(), test_v2_delete_api_key); + .insert("v2.ListAPIKeys".into(), test_v2_list_api_keys); world .function_mappings - .insert("v2.GetAPIKey".to_string(), test_v2_get_api_key); + .insert("v2.CreateAPIKey".into(), test_v2_create_api_key); world .function_mappings - .insert("v2.UpdateAPIKey".to_string(), test_v2_update_api_key); + .insert("v2.DeleteAPIKey".into(), test_v2_delete_api_key); + world + .function_mappings + .insert("v2.GetAPIKey".into(), test_v2_get_api_key); + world + .function_mappings + .insert("v2.UpdateAPIKey".into(), test_v2_update_api_key); world.function_mappings.insert( - "v2.ListApplicationKeys".to_string(), + "v2.ListApplicationKeys".into(), test_v2_list_application_keys, ); world.function_mappings.insert( - "v2.DeleteApplicationKey".to_string(), + "v2.DeleteApplicationKey".into(), test_v2_delete_application_key, ); + world + .function_mappings + .insert("v2.GetApplicationKey".into(), test_v2_get_application_key); world.function_mappings.insert( - "v2.GetApplicationKey".to_string(), - test_v2_get_application_key, - ); - world.function_mappings.insert( - "v2.UpdateApplicationKey".to_string(), + "v2.UpdateApplicationKey".into(), test_v2_update_application_key, ); world.function_mappings.insert( - "v2.ListCurrentUserApplicationKeys".to_string(), + "v2.ListCurrentUserApplicationKeys".into(), test_v2_list_current_user_application_keys, ); world.function_mappings.insert( - "v2.CreateCurrentUserApplicationKey".to_string(), + "v2.CreateCurrentUserApplicationKey".into(), test_v2_create_current_user_application_key, ); world.function_mappings.insert( - "v2.DeleteCurrentUserApplicationKey".to_string(), + "v2.DeleteCurrentUserApplicationKey".into(), test_v2_delete_current_user_application_key, ); world.function_mappings.insert( - "v2.GetCurrentUserApplicationKey".to_string(), + "v2.GetCurrentUserApplicationKey".into(), test_v2_get_current_user_application_key, ); world.function_mappings.insert( - "v2.UpdateCurrentUserApplicationKey".to_string(), + "v2.UpdateCurrentUserApplicationKey".into(), test_v2_update_current_user_application_key, ); - world.function_mappings.insert( - "v2.ListSpansMetrics".to_string(), - test_v2_list_spans_metrics, - ); - world.function_mappings.insert( - "v2.CreateSpansMetric".to_string(), - test_v2_create_spans_metric, - ); - world.function_mappings.insert( - "v2.DeleteSpansMetric".to_string(), - test_v2_delete_spans_metric, - ); world .function_mappings - .insert("v2.GetSpansMetric".to_string(), test_v2_get_spans_metric); - world.function_mappings.insert( - "v2.UpdateSpansMetric".to_string(), - test_v2_update_spans_metric, - ); + .insert("v2.ListSpansMetrics".into(), test_v2_list_spans_metrics); + world + .function_mappings + .insert("v2.CreateSpansMetric".into(), test_v2_create_spans_metric); + world + .function_mappings + .insert("v2.DeleteSpansMetric".into(), test_v2_delete_spans_metric); + world + .function_mappings + .insert("v2.GetSpansMetric".into(), test_v2_get_spans_metric); + world + .function_mappings + .insert("v2.UpdateSpansMetric".into(), test_v2_update_spans_metric); world.function_mappings.insert( - "v2.ListApmRetentionFilters".to_string(), + "v2.ListApmRetentionFilters".into(), test_v2_list_apm_retention_filters, ); world.function_mappings.insert( - "v2.CreateApmRetentionFilter".to_string(), + "v2.CreateApmRetentionFilter".into(), test_v2_create_apm_retention_filter, ); world.function_mappings.insert( - "v2.ReorderApmRetentionFilters".to_string(), + "v2.ReorderApmRetentionFilters".into(), test_v2_reorder_apm_retention_filters, ); world.function_mappings.insert( - "v2.DeleteApmRetentionFilter".to_string(), + "v2.DeleteApmRetentionFilter".into(), test_v2_delete_apm_retention_filter, ); world.function_mappings.insert( - "v2.GetApmRetentionFilter".to_string(), + "v2.GetApmRetentionFilter".into(), test_v2_get_apm_retention_filter, ); world.function_mappings.insert( - "v2.UpdateApmRetentionFilter".to_string(), + "v2.UpdateApmRetentionFilter".into(), test_v2_update_apm_retention_filter, ); world .function_mappings - .insert("v2.ListAuditLogs".to_string(), test_v2_list_audit_logs); + .insert("v2.ListAuditLogs".into(), test_v2_list_audit_logs); world .function_mappings - .insert("v2.SearchAuditLogs".to_string(), test_v2_search_audit_logs); - world.function_mappings.insert( - "v2.ListAuthNMappings".to_string(), - test_v2_list_auth_n_mappings, - ); + .insert("v2.SearchAuditLogs".into(), test_v2_search_audit_logs); + world + .function_mappings + .insert("v2.ListAuthNMappings".into(), test_v2_list_auth_n_mappings); world.function_mappings.insert( - "v2.CreateAuthNMapping".to_string(), + "v2.CreateAuthNMapping".into(), test_v2_create_auth_n_mapping, ); world.function_mappings.insert( - "v2.DeleteAuthNMapping".to_string(), + "v2.DeleteAuthNMapping".into(), test_v2_delete_auth_n_mapping, ); world .function_mappings - .insert("v2.GetAuthNMapping".to_string(), test_v2_get_auth_n_mapping); + .insert("v2.GetAuthNMapping".into(), test_v2_get_auth_n_mapping); world.function_mappings.insert( - "v2.UpdateAuthNMapping".to_string(), + "v2.UpdateAuthNMapping".into(), test_v2_update_auth_n_mapping, ); world.function_mappings.insert( - "v2.CreateCIAppPipelineEvent".to_string(), + "v2.CreateCIAppPipelineEvent".into(), test_v2_create_ci_app_pipeline_event, ); world.function_mappings.insert( - "v2.AggregateCIAppPipelineEvents".to_string(), + "v2.AggregateCIAppPipelineEvents".into(), test_v2_aggregate_ci_app_pipeline_events, ); world.function_mappings.insert( - "v2.ListCIAppPipelineEvents".to_string(), + "v2.ListCIAppPipelineEvents".into(), test_v2_list_ci_app_pipeline_events, ); world.function_mappings.insert( - "v2.SearchCIAppPipelineEvents".to_string(), + "v2.SearchCIAppPipelineEvents".into(), test_v2_search_ci_app_pipeline_events, ); world.function_mappings.insert( - "v2.AggregateCIAppTestEvents".to_string(), + "v2.AggregateCIAppTestEvents".into(), test_v2_aggregate_ci_app_test_events, ); world.function_mappings.insert( - "v2.ListCIAppTestEvents".to_string(), + "v2.ListCIAppTestEvents".into(), test_v2_list_ci_app_test_events, ); world.function_mappings.insert( - "v2.SearchCIAppTestEvents".to_string(), + "v2.SearchCIAppTestEvents".into(), test_v2_search_ci_app_test_events, ); world.function_mappings.insert( - "v2.ListContainerImages".to_string(), + "v2.ListContainerImages".into(), test_v2_list_container_images, ); world .function_mappings - .insert("v2.ListContainers".to_string(), test_v2_list_containers); + .insert("v2.ListContainers".into(), test_v2_list_containers); world.function_mappings.insert( - "v2.ListCostAWSCURConfigs".to_string(), + "v2.ListCostAWSCURConfigs".into(), test_v2_list_cost_awscur_configs, ); world.function_mappings.insert( - "v2.CreateCostAWSCURConfig".to_string(), + "v2.CreateCostAWSCURConfig".into(), test_v2_create_cost_awscur_config, ); world.function_mappings.insert( - "v2.DeleteCostAWSCURConfig".to_string(), + "v2.DeleteCostAWSCURConfig".into(), test_v2_delete_cost_awscur_config, ); world.function_mappings.insert( - "v2.UpdateCostAWSCURConfig".to_string(), + "v2.UpdateCostAWSCURConfig".into(), test_v2_update_cost_awscur_config, ); world.function_mappings.insert( - "v2.ListAWSRelatedAccounts".to_string(), + "v2.ListAWSRelatedAccounts".into(), test_v2_list_aws_related_accounts, ); world.function_mappings.insert( - "v2.ListCostAzureUCConfigs".to_string(), + "v2.ListCostAzureUCConfigs".into(), test_v2_list_cost_azure_uc_configs, ); world.function_mappings.insert( - "v2.CreateCostAzureUCConfigs".to_string(), + "v2.CreateCostAzureUCConfigs".into(), test_v2_create_cost_azure_uc_configs, ); world.function_mappings.insert( - "v2.DeleteCostAzureUCConfig".to_string(), + "v2.DeleteCostAzureUCConfig".into(), test_v2_delete_cost_azure_uc_config, ); world.function_mappings.insert( - "v2.UpdateCostAzureUCConfigs".to_string(), + "v2.UpdateCostAzureUCConfigs".into(), test_v2_update_cost_azure_uc_configs, ); world.function_mappings.insert( - "v2.GetCloudCostActivity".to_string(), + "v2.GetCloudCostActivity".into(), test_v2_get_cloud_cost_activity, ); world.function_mappings.insert( - "v2.GetActiveBillingDimensions".to_string(), + "v2.GetActiveBillingDimensions".into(), test_v2_get_active_billing_dimensions, ); world.function_mappings.insert( - "v2.GetMonthlyCostAttribution".to_string(), + "v2.GetMonthlyCostAttribution".into(), test_v2_get_monthly_cost_attribution, ); world.function_mappings.insert( - "v2.GetUsageApplicationSecurityMonitoring".to_string(), + "v2.GetUsageApplicationSecurityMonitoring".into(), test_v2_get_usage_application_security_monitoring, ); world .function_mappings - .insert("v2.GetCostByOrg".to_string(), test_v2_get_cost_by_org); + .insert("v2.GetCostByOrg".into(), test_v2_get_cost_by_org); world.function_mappings.insert( - "v2.GetEstimatedCostByOrg".to_string(), + "v2.GetEstimatedCostByOrg".into(), test_v2_get_estimated_cost_by_org, ); world.function_mappings.insert( - "v2.GetHistoricalCostByOrg".to_string(), + "v2.GetHistoricalCostByOrg".into(), test_v2_get_historical_cost_by_org, ); world .function_mappings - .insert("v2.GetHourlyUsage".to_string(), test_v2_get_hourly_usage); + .insert("v2.GetHourlyUsage".into(), test_v2_get_hourly_usage); world.function_mappings.insert( - "v2.GetUsageLambdaTracedInvocations".to_string(), + "v2.GetUsageLambdaTracedInvocations".into(), test_v2_get_usage_lambda_traced_invocations, ); world.function_mappings.insert( - "v2.GetUsageObservabilityPipelines".to_string(), + "v2.GetUsageObservabilityPipelines".into(), test_v2_get_usage_observability_pipelines, ); + world + .function_mappings + .insert("v2.GetProjectedCost".into(), test_v2_get_projected_cost); world.function_mappings.insert( - "v2.GetProjectedCost".to_string(), - test_v2_get_projected_cost, - ); - world.function_mappings.insert( - "v2.DeleteDashboardListItems".to_string(), + "v2.DeleteDashboardListItems".into(), test_v2_delete_dashboard_list_items, ); world.function_mappings.insert( - "v2.GetDashboardListItems".to_string(), + "v2.GetDashboardListItems".into(), test_v2_get_dashboard_list_items, ); world.function_mappings.insert( - "v2.CreateDashboardListItems".to_string(), + "v2.CreateDashboardListItems".into(), test_v2_create_dashboard_list_items, ); world.function_mappings.insert( - "v2.UpdateDashboardListItems".to_string(), + "v2.UpdateDashboardListItems".into(), test_v2_update_dashboard_list_items, ); world.function_mappings.insert( - "v2.CreateDORADeployment".to_string(), + "v2.CreateDORADeployment".into(), test_v2_create_dora_deployment, ); - world.function_mappings.insert( - "v2.CreateDORAIncident".to_string(), - test_v2_create_dora_incident, - ); world .function_mappings - .insert("v2.ListDowntimes".to_string(), test_v2_list_downtimes); + .insert("v2.CreateDORAIncident".into(), test_v2_create_dora_incident); + world + .function_mappings + .insert("v2.ListDowntimes".into(), test_v2_list_downtimes); world .function_mappings - .insert("v2.CreateDowntime".to_string(), test_v2_create_downtime); + .insert("v2.CreateDowntime".into(), test_v2_create_downtime); world .function_mappings - .insert("v2.CancelDowntime".to_string(), test_v2_cancel_downtime); + .insert("v2.CancelDowntime".into(), test_v2_cancel_downtime); world .function_mappings - .insert("v2.GetDowntime".to_string(), test_v2_get_downtime); + .insert("v2.GetDowntime".into(), test_v2_get_downtime); world .function_mappings - .insert("v2.UpdateDowntime".to_string(), test_v2_update_downtime); + .insert("v2.UpdateDowntime".into(), test_v2_update_downtime); world.function_mappings.insert( - "v2.ListMonitorDowntimes".to_string(), + "v2.ListMonitorDowntimes".into(), test_v2_list_monitor_downtimes, ); world .function_mappings - .insert("v2.ListEvents".to_string(), test_v2_list_events); + .insert("v2.ListEvents".into(), test_v2_list_events); world .function_mappings - .insert("v2.SearchEvents".to_string(), test_v2_search_events); + .insert("v2.SearchEvents".into(), test_v2_search_events); world .function_mappings - .insert("v2.ListIncidents".to_string(), test_v2_list_incidents); + .insert("v2.ListIncidents".into(), test_v2_list_incidents); world .function_mappings - .insert("v2.CreateIncident".to_string(), test_v2_create_incident); + .insert("v2.CreateIncident".into(), test_v2_create_incident); world .function_mappings - .insert("v2.SearchIncidents".to_string(), test_v2_search_incidents); + .insert("v2.SearchIncidents".into(), test_v2_search_incidents); world .function_mappings - .insert("v2.DeleteIncident".to_string(), test_v2_delete_incident); + .insert("v2.DeleteIncident".into(), test_v2_delete_incident); world .function_mappings - .insert("v2.GetIncident".to_string(), test_v2_get_incident); + .insert("v2.GetIncident".into(), test_v2_get_incident); world .function_mappings - .insert("v2.UpdateIncident".to_string(), test_v2_update_incident); + .insert("v2.UpdateIncident".into(), test_v2_update_incident); world.function_mappings.insert( - "v2.ListIncidentAttachments".to_string(), + "v2.ListIncidentAttachments".into(), test_v2_list_incident_attachments, ); world.function_mappings.insert( - "v2.UpdateIncidentAttachments".to_string(), + "v2.UpdateIncidentAttachments".into(), test_v2_update_incident_attachments, ); world.function_mappings.insert( - "v2.ListIncidentIntegrations".to_string(), + "v2.ListIncidentIntegrations".into(), test_v2_list_incident_integrations, ); world.function_mappings.insert( - "v2.CreateIncidentIntegration".to_string(), + "v2.CreateIncidentIntegration".into(), test_v2_create_incident_integration, ); world.function_mappings.insert( - "v2.DeleteIncidentIntegration".to_string(), + "v2.DeleteIncidentIntegration".into(), test_v2_delete_incident_integration, ); world.function_mappings.insert( - "v2.GetIncidentIntegration".to_string(), + "v2.GetIncidentIntegration".into(), test_v2_get_incident_integration, ); world.function_mappings.insert( - "v2.UpdateIncidentIntegration".to_string(), + "v2.UpdateIncidentIntegration".into(), test_v2_update_incident_integration, ); - world.function_mappings.insert( - "v2.ListIncidentTodos".to_string(), - test_v2_list_incident_todos, - ); - world.function_mappings.insert( - "v2.CreateIncidentTodo".to_string(), - test_v2_create_incident_todo, - ); - world.function_mappings.insert( - "v2.DeleteIncidentTodo".to_string(), - test_v2_delete_incident_todo, - ); world .function_mappings - .insert("v2.GetIncidentTodo".to_string(), test_v2_get_incident_todo); - world.function_mappings.insert( - "v2.UpdateIncidentTodo".to_string(), - test_v2_update_incident_todo, - ); - world.function_mappings.insert( - "v2.ListGCPSTSAccounts".to_string(), - test_v2_list_gcpsts_accounts, - ); + .insert("v2.ListIncidentTodos".into(), test_v2_list_incident_todos); + world + .function_mappings + .insert("v2.CreateIncidentTodo".into(), test_v2_create_incident_todo); + world + .function_mappings + .insert("v2.DeleteIncidentTodo".into(), test_v2_delete_incident_todo); + world + .function_mappings + .insert("v2.GetIncidentTodo".into(), test_v2_get_incident_todo); + world + .function_mappings + .insert("v2.UpdateIncidentTodo".into(), test_v2_update_incident_todo); + world + .function_mappings + .insert("v2.ListGCPSTSAccounts".into(), test_v2_list_gcpsts_accounts); world.function_mappings.insert( - "v2.CreateGCPSTSAccount".to_string(), + "v2.CreateGCPSTSAccount".into(), test_v2_create_gcpsts_account, ); world.function_mappings.insert( - "v2.DeleteGCPSTSAccount".to_string(), + "v2.DeleteGCPSTSAccount".into(), test_v2_delete_gcpsts_account, ); world.function_mappings.insert( - "v2.UpdateGCPSTSAccount".to_string(), + "v2.UpdateGCPSTSAccount".into(), test_v2_update_gcpsts_account, ); + world + .function_mappings + .insert("v2.GetGCPSTSDelegate".into(), test_v2_get_gcpsts_delegate); + world + .function_mappings + .insert("v2.MakeGCPSTSDelegate".into(), test_v2_make_gcpsts_delegate); world.function_mappings.insert( - "v2.GetGCPSTSDelegate".to_string(), - test_v2_get_gcpsts_delegate, - ); - world.function_mappings.insert( - "v2.MakeGCPSTSDelegate".to_string(), - test_v2_make_gcpsts_delegate, - ); - world.function_mappings.insert( - "v2.ListOpsgenieServices".to_string(), + "v2.ListOpsgenieServices".into(), test_v2_list_opsgenie_services, ); world.function_mappings.insert( - "v2.CreateOpsgenieService".to_string(), + "v2.CreateOpsgenieService".into(), test_v2_create_opsgenie_service, ); world.function_mappings.insert( - "v2.DeleteOpsgenieService".to_string(), + "v2.DeleteOpsgenieService".into(), test_v2_delete_opsgenie_service, ); + world + .function_mappings + .insert("v2.GetOpsgenieService".into(), test_v2_get_opsgenie_service); world.function_mappings.insert( - "v2.GetOpsgenieService".to_string(), - test_v2_get_opsgenie_service, - ); - world.function_mappings.insert( - "v2.UpdateOpsgenieService".to_string(), + "v2.UpdateOpsgenieService".into(), test_v2_update_opsgenie_service, ); world.function_mappings.insert( - "v2.ListCloudflareAccounts".to_string(), + "v2.ListCloudflareAccounts".into(), test_v2_list_cloudflare_accounts, ); world.function_mappings.insert( - "v2.CreateCloudflareAccount".to_string(), + "v2.CreateCloudflareAccount".into(), test_v2_create_cloudflare_account, ); world.function_mappings.insert( - "v2.DeleteCloudflareAccount".to_string(), + "v2.DeleteCloudflareAccount".into(), test_v2_delete_cloudflare_account, ); world.function_mappings.insert( - "v2.GetCloudflareAccount".to_string(), + "v2.GetCloudflareAccount".into(), test_v2_get_cloudflare_account, ); world.function_mappings.insert( - "v2.UpdateCloudflareAccount".to_string(), + "v2.UpdateCloudflareAccount".into(), test_v2_update_cloudflare_account, ); world.function_mappings.insert( - "v2.ListConfluentAccount".to_string(), + "v2.ListConfluentAccount".into(), test_v2_list_confluent_account, ); world.function_mappings.insert( - "v2.CreateConfluentAccount".to_string(), + "v2.CreateConfluentAccount".into(), test_v2_create_confluent_account, ); world.function_mappings.insert( - "v2.DeleteConfluentAccount".to_string(), + "v2.DeleteConfluentAccount".into(), test_v2_delete_confluent_account, ); world.function_mappings.insert( - "v2.GetConfluentAccount".to_string(), + "v2.GetConfluentAccount".into(), test_v2_get_confluent_account, ); world.function_mappings.insert( - "v2.UpdateConfluentAccount".to_string(), + "v2.UpdateConfluentAccount".into(), test_v2_update_confluent_account, ); world.function_mappings.insert( - "v2.ListConfluentResource".to_string(), + "v2.ListConfluentResource".into(), test_v2_list_confluent_resource, ); world.function_mappings.insert( - "v2.CreateConfluentResource".to_string(), + "v2.CreateConfluentResource".into(), test_v2_create_confluent_resource, ); world.function_mappings.insert( - "v2.DeleteConfluentResource".to_string(), + "v2.DeleteConfluentResource".into(), test_v2_delete_confluent_resource, ); world.function_mappings.insert( - "v2.GetConfluentResource".to_string(), + "v2.GetConfluentResource".into(), test_v2_get_confluent_resource, ); world.function_mappings.insert( - "v2.UpdateConfluentResource".to_string(), + "v2.UpdateConfluentResource".into(), test_v2_update_confluent_resource, ); + world + .function_mappings + .insert("v2.ListFastlyAccounts".into(), test_v2_list_fastly_accounts); world.function_mappings.insert( - "v2.ListFastlyAccounts".to_string(), - test_v2_list_fastly_accounts, - ); - world.function_mappings.insert( - "v2.CreateFastlyAccount".to_string(), + "v2.CreateFastlyAccount".into(), test_v2_create_fastly_account, ); world.function_mappings.insert( - "v2.DeleteFastlyAccount".to_string(), + "v2.DeleteFastlyAccount".into(), test_v2_delete_fastly_account, ); + world + .function_mappings + .insert("v2.GetFastlyAccount".into(), test_v2_get_fastly_account); world.function_mappings.insert( - "v2.GetFastlyAccount".to_string(), - test_v2_get_fastly_account, - ); - world.function_mappings.insert( - "v2.UpdateFastlyAccount".to_string(), + "v2.UpdateFastlyAccount".into(), test_v2_update_fastly_account, ); + world + .function_mappings + .insert("v2.ListFastlyServices".into(), test_v2_list_fastly_services); world.function_mappings.insert( - "v2.ListFastlyServices".to_string(), - test_v2_list_fastly_services, - ); - world.function_mappings.insert( - "v2.CreateFastlyService".to_string(), + "v2.CreateFastlyService".into(), test_v2_create_fastly_service, ); world.function_mappings.insert( - "v2.DeleteFastlyService".to_string(), + "v2.DeleteFastlyService".into(), test_v2_delete_fastly_service, ); + world + .function_mappings + .insert("v2.GetFastlyService".into(), test_v2_get_fastly_service); world.function_mappings.insert( - "v2.GetFastlyService".to_string(), - test_v2_get_fastly_service, - ); - world.function_mappings.insert( - "v2.UpdateFastlyService".to_string(), + "v2.UpdateFastlyService".into(), test_v2_update_fastly_service, ); - world.function_mappings.insert( - "v2.ListOktaAccounts".to_string(), - test_v2_list_okta_accounts, - ); - world.function_mappings.insert( - "v2.CreateOktaAccount".to_string(), - test_v2_create_okta_account, - ); - world.function_mappings.insert( - "v2.DeleteOktaAccount".to_string(), - test_v2_delete_okta_account, - ); world .function_mappings - .insert("v2.GetOktaAccount".to_string(), test_v2_get_okta_account); - world.function_mappings.insert( - "v2.UpdateOktaAccount".to_string(), - test_v2_update_okta_account, - ); + .insert("v2.ListOktaAccounts".into(), test_v2_list_okta_accounts); world .function_mappings - .insert("v2.GetIPAllowlist".to_string(), test_v2_get_ip_allowlist); - world.function_mappings.insert( - "v2.UpdateIPAllowlist".to_string(), - test_v2_update_ip_allowlist, - ); + .insert("v2.CreateOktaAccount".into(), test_v2_create_okta_account); + world + .function_mappings + .insert("v2.DeleteOktaAccount".into(), test_v2_delete_okta_account); + world + .function_mappings + .insert("v2.GetOktaAccount".into(), test_v2_get_okta_account); + world + .function_mappings + .insert("v2.UpdateOktaAccount".into(), test_v2_update_okta_account); + world + .function_mappings + .insert("v2.GetIPAllowlist".into(), test_v2_get_ip_allowlist); world .function_mappings - .insert("v2.SubmitLog".to_string(), test_v2_submit_log); + .insert("v2.UpdateIPAllowlist".into(), test_v2_update_ip_allowlist); world .function_mappings - .insert("v2.AggregateLogs".to_string(), test_v2_aggregate_logs); + .insert("v2.SubmitLog".into(), test_v2_submit_log); world .function_mappings - .insert("v2.ListLogsGet".to_string(), test_v2_list_logs_get); + .insert("v2.AggregateLogs".into(), test_v2_aggregate_logs); world .function_mappings - .insert("v2.ListLogs".to_string(), test_v2_list_logs); + .insert("v2.ListLogsGet".into(), test_v2_list_logs_get); + world + .function_mappings + .insert("v2.ListLogs".into(), test_v2_list_logs); world.function_mappings.insert( - "v2.GetLogsArchiveOrder".to_string(), + "v2.GetLogsArchiveOrder".into(), test_v2_get_logs_archive_order, ); world.function_mappings.insert( - "v2.UpdateLogsArchiveOrder".to_string(), + "v2.UpdateLogsArchiveOrder".into(), test_v2_update_logs_archive_order, ); - world.function_mappings.insert( - "v2.ListLogsArchives".to_string(), - test_v2_list_logs_archives, - ); - world.function_mappings.insert( - "v2.CreateLogsArchive".to_string(), - test_v2_create_logs_archive, - ); - world.function_mappings.insert( - "v2.DeleteLogsArchive".to_string(), - test_v2_delete_logs_archive, - ); world .function_mappings - .insert("v2.GetLogsArchive".to_string(), test_v2_get_logs_archive); - world.function_mappings.insert( - "v2.UpdateLogsArchive".to_string(), - test_v2_update_logs_archive, - ); + .insert("v2.ListLogsArchives".into(), test_v2_list_logs_archives); + world + .function_mappings + .insert("v2.CreateLogsArchive".into(), test_v2_create_logs_archive); + world + .function_mappings + .insert("v2.DeleteLogsArchive".into(), test_v2_delete_logs_archive); + world + .function_mappings + .insert("v2.GetLogsArchive".into(), test_v2_get_logs_archive); + world + .function_mappings + .insert("v2.UpdateLogsArchive".into(), test_v2_update_logs_archive); world.function_mappings.insert( - "v2.RemoveRoleFromArchive".to_string(), + "v2.RemoveRoleFromArchive".into(), test_v2_remove_role_from_archive, ); world.function_mappings.insert( - "v2.ListArchiveReadRoles".to_string(), + "v2.ListArchiveReadRoles".into(), test_v2_list_archive_read_roles, ); world.function_mappings.insert( - "v2.AddReadRoleToArchive".to_string(), + "v2.AddReadRoleToArchive".into(), test_v2_add_read_role_to_archive, ); world .function_mappings - .insert("v2.ListLogsMetrics".to_string(), test_v2_list_logs_metrics); - world.function_mappings.insert( - "v2.CreateLogsMetric".to_string(), - test_v2_create_logs_metric, - ); - world.function_mappings.insert( - "v2.DeleteLogsMetric".to_string(), - test_v2_delete_logs_metric, - ); + .insert("v2.ListLogsMetrics".into(), test_v2_list_logs_metrics); world .function_mappings - .insert("v2.GetLogsMetric".to_string(), test_v2_get_logs_metric); - world.function_mappings.insert( - "v2.UpdateLogsMetric".to_string(), - test_v2_update_logs_metric, - ); + .insert("v2.CreateLogsMetric".into(), test_v2_create_logs_metric); + world + .function_mappings + .insert("v2.DeleteLogsMetric".into(), test_v2_delete_logs_metric); + world + .function_mappings + .insert("v2.GetLogsMetric".into(), test_v2_get_logs_metric); + world + .function_mappings + .insert("v2.UpdateLogsMetric".into(), test_v2_update_logs_metric); world.function_mappings.insert( - "v2.ListTagConfigurations".to_string(), + "v2.ListTagConfigurations".into(), test_v2_list_tag_configurations, ); world.function_mappings.insert( - "v2.DeleteBulkTagsMetricsConfiguration".to_string(), + "v2.DeleteBulkTagsMetricsConfiguration".into(), test_v2_delete_bulk_tags_metrics_configuration, ); world.function_mappings.insert( - "v2.CreateBulkTagsMetricsConfiguration".to_string(), + "v2.CreateBulkTagsMetricsConfiguration".into(), test_v2_create_bulk_tags_metrics_configuration, ); world.function_mappings.insert( - "v2.ListActiveMetricConfigurations".to_string(), + "v2.ListActiveMetricConfigurations".into(), test_v2_list_active_metric_configurations, ); world.function_mappings.insert( - "v2.ListTagsByMetricName".to_string(), + "v2.ListTagsByMetricName".into(), test_v2_list_tags_by_metric_name, ); world.function_mappings.insert( - "v2.EstimateMetricsOutputSeries".to_string(), + "v2.EstimateMetricsOutputSeries".into(), test_v2_estimate_metrics_output_series, ); world.function_mappings.insert( - "v2.DeleteTagConfiguration".to_string(), + "v2.DeleteTagConfiguration".into(), test_v2_delete_tag_configuration, ); world.function_mappings.insert( - "v2.ListTagConfigurationByName".to_string(), + "v2.ListTagConfigurationByName".into(), test_v2_list_tag_configuration_by_name, ); world.function_mappings.insert( - "v2.UpdateTagConfiguration".to_string(), + "v2.UpdateTagConfiguration".into(), test_v2_update_tag_configuration, ); world.function_mappings.insert( - "v2.CreateTagConfiguration".to_string(), + "v2.CreateTagConfiguration".into(), test_v2_create_tag_configuration, ); world.function_mappings.insert( - "v2.ListVolumesByMetricName".to_string(), + "v2.ListVolumesByMetricName".into(), test_v2_list_volumes_by_metric_name, ); world .function_mappings - .insert("v2.QueryScalarData".to_string(), test_v2_query_scalar_data); + .insert("v2.QueryScalarData".into(), test_v2_query_scalar_data); world.function_mappings.insert( - "v2.QueryTimeseriesData".to_string(), + "v2.QueryTimeseriesData".into(), test_v2_query_timeseries_data, ); world .function_mappings - .insert("v2.SubmitMetrics".to_string(), test_v2_submit_metrics); + .insert("v2.SubmitMetrics".into(), test_v2_submit_metrics); world.function_mappings.insert( - "v2.ListMonitorConfigPolicies".to_string(), + "v2.ListMonitorConfigPolicies".into(), test_v2_list_monitor_config_policies, ); world.function_mappings.insert( - "v2.CreateMonitorConfigPolicy".to_string(), + "v2.CreateMonitorConfigPolicy".into(), test_v2_create_monitor_config_policy, ); world.function_mappings.insert( - "v2.DeleteMonitorConfigPolicy".to_string(), + "v2.DeleteMonitorConfigPolicy".into(), test_v2_delete_monitor_config_policy, ); world.function_mappings.insert( - "v2.GetMonitorConfigPolicy".to_string(), + "v2.GetMonitorConfigPolicy".into(), test_v2_get_monitor_config_policy, ); world.function_mappings.insert( - "v2.UpdateMonitorConfigPolicy".to_string(), + "v2.UpdateMonitorConfigPolicy".into(), test_v2_update_monitor_config_policy, ); world .function_mappings - .insert("v2.ListPermissions".to_string(), test_v2_list_permissions); + .insert("v2.ListPermissions".into(), test_v2_list_permissions); world .function_mappings - .insert("v2.ListRoles".to_string(), test_v2_list_roles); + .insert("v2.ListRoles".into(), test_v2_list_roles); world .function_mappings - .insert("v2.CreateRole".to_string(), test_v2_create_role); + .insert("v2.CreateRole".into(), test_v2_create_role); world .function_mappings - .insert("v2.DeleteRole".to_string(), test_v2_delete_role); + .insert("v2.DeleteRole".into(), test_v2_delete_role); world .function_mappings - .insert("v2.GetRole".to_string(), test_v2_get_role); + .insert("v2.GetRole".into(), test_v2_get_role); world .function_mappings - .insert("v2.UpdateRole".to_string(), test_v2_update_role); + .insert("v2.UpdateRole".into(), test_v2_update_role); world .function_mappings - .insert("v2.CloneRole".to_string(), test_v2_clone_role); + .insert("v2.CloneRole".into(), test_v2_clone_role); world.function_mappings.insert( - "v2.RemovePermissionFromRole".to_string(), + "v2.RemovePermissionFromRole".into(), test_v2_remove_permission_from_role, ); world.function_mappings.insert( - "v2.ListRolePermissions".to_string(), + "v2.ListRolePermissions".into(), test_v2_list_role_permissions, ); world.function_mappings.insert( - "v2.AddPermissionToRole".to_string(), + "v2.AddPermissionToRole".into(), test_v2_add_permission_to_role, ); world.function_mappings.insert( - "v2.RemoveUserFromRole".to_string(), + "v2.RemoveUserFromRole".into(), test_v2_remove_user_from_role, ); world .function_mappings - .insert("v2.ListRoleUsers".to_string(), test_v2_list_role_users); + .insert("v2.ListRoleUsers".into(), test_v2_list_role_users); world .function_mappings - .insert("v2.AddUserToRole".to_string(), test_v2_add_user_to_role); + .insert("v2.AddUserToRole".into(), test_v2_add_user_to_role); world .function_mappings - .insert("v2.ListFindings".to_string(), test_v2_list_findings); + .insert("v2.ListFindings".into(), test_v2_list_findings); world .function_mappings - .insert("v2.MuteFindings".to_string(), test_v2_mute_findings); + .insert("v2.MuteFindings".into(), test_v2_mute_findings); world .function_mappings - .insert("v2.GetFinding".to_string(), test_v2_get_finding); + .insert("v2.GetFinding".into(), test_v2_get_finding); world.function_mappings.insert( - "v2.ListSecurityFilters".to_string(), + "v2.ListSecurityFilters".into(), test_v2_list_security_filters, ); world.function_mappings.insert( - "v2.CreateSecurityFilter".to_string(), + "v2.CreateSecurityFilter".into(), test_v2_create_security_filter, ); world.function_mappings.insert( - "v2.DeleteSecurityFilter".to_string(), + "v2.DeleteSecurityFilter".into(), test_v2_delete_security_filter, ); + world + .function_mappings + .insert("v2.GetSecurityFilter".into(), test_v2_get_security_filter); world.function_mappings.insert( - "v2.GetSecurityFilter".to_string(), - test_v2_get_security_filter, - ); - world.function_mappings.insert( - "v2.UpdateSecurityFilter".to_string(), + "v2.UpdateSecurityFilter".into(), test_v2_update_security_filter, ); world.function_mappings.insert( - "v2.ListSecurityMonitoringRules".to_string(), + "v2.ListSecurityMonitoringRules".into(), test_v2_list_security_monitoring_rules, ); world.function_mappings.insert( - "v2.CreateSecurityMonitoringRule".to_string(), + "v2.CreateSecurityMonitoringRule".into(), test_v2_create_security_monitoring_rule, ); world.function_mappings.insert( - "v2.DeleteSecurityMonitoringRule".to_string(), + "v2.DeleteSecurityMonitoringRule".into(), test_v2_delete_security_monitoring_rule, ); world.function_mappings.insert( - "v2.GetSecurityMonitoringRule".to_string(), + "v2.GetSecurityMonitoringRule".into(), test_v2_get_security_monitoring_rule, ); world.function_mappings.insert( - "v2.UpdateSecurityMonitoringRule".to_string(), + "v2.UpdateSecurityMonitoringRule".into(), test_v2_update_security_monitoring_rule, ); world.function_mappings.insert( - "v2.ListSecurityMonitoringSignals".to_string(), + "v2.ListSecurityMonitoringSignals".into(), test_v2_list_security_monitoring_signals, ); world.function_mappings.insert( - "v2.SearchSecurityMonitoringSignals".to_string(), + "v2.SearchSecurityMonitoringSignals".into(), test_v2_search_security_monitoring_signals, ); world.function_mappings.insert( - "v2.GetSecurityMonitoringSignal".to_string(), + "v2.GetSecurityMonitoringSignal".into(), test_v2_get_security_monitoring_signal, ); world.function_mappings.insert( - "v2.EditSecurityMonitoringSignalAssignee".to_string(), + "v2.EditSecurityMonitoringSignalAssignee".into(), test_v2_edit_security_monitoring_signal_assignee, ); world.function_mappings.insert( - "v2.EditSecurityMonitoringSignalIncidents".to_string(), + "v2.EditSecurityMonitoringSignalIncidents".into(), test_v2_edit_security_monitoring_signal_incidents, ); world.function_mappings.insert( - "v2.EditSecurityMonitoringSignalState".to_string(), + "v2.EditSecurityMonitoringSignalState".into(), test_v2_edit_security_monitoring_signal_state, ); world .function_mappings - .insert("v2.ListPowerpacks".to_string(), test_v2_list_powerpacks); + .insert("v2.ListPowerpacks".into(), test_v2_list_powerpacks); world .function_mappings - .insert("v2.CreatePowerpack".to_string(), test_v2_create_powerpack); + .insert("v2.CreatePowerpack".into(), test_v2_create_powerpack); world .function_mappings - .insert("v2.DeletePowerpack".to_string(), test_v2_delete_powerpack); + .insert("v2.DeletePowerpack".into(), test_v2_delete_powerpack); world .function_mappings - .insert("v2.GetPowerpack".to_string(), test_v2_get_powerpack); + .insert("v2.GetPowerpack".into(), test_v2_get_powerpack); world .function_mappings - .insert("v2.UpdatePowerpack".to_string(), test_v2_update_powerpack); + .insert("v2.UpdatePowerpack".into(), test_v2_update_powerpack); world .function_mappings - .insert("v2.ListProcesses".to_string(), test_v2_list_processes); + .insert("v2.ListProcesses".into(), test_v2_list_processes); world.function_mappings.insert( - "v2.DeleteRestrictionPolicy".to_string(), + "v2.DeleteRestrictionPolicy".into(), test_v2_delete_restriction_policy, ); world.function_mappings.insert( - "v2.GetRestrictionPolicy".to_string(), + "v2.GetRestrictionPolicy".into(), test_v2_get_restriction_policy, ); world.function_mappings.insert( - "v2.UpdateRestrictionPolicy".to_string(), + "v2.UpdateRestrictionPolicy".into(), test_v2_update_restriction_policy, ); + world + .function_mappings + .insert("v2.AggregateRUMEvents".into(), test_v2_aggregate_rum_events); + world + .function_mappings + .insert("v2.GetRUMApplications".into(), test_v2_get_rum_applications); world.function_mappings.insert( - "v2.AggregateRUMEvents".to_string(), - test_v2_aggregate_rum_events, - ); - world.function_mappings.insert( - "v2.GetRUMApplications".to_string(), - test_v2_get_rum_applications, - ); - world.function_mappings.insert( - "v2.CreateRUMApplication".to_string(), + "v2.CreateRUMApplication".into(), test_v2_create_rum_application, ); world.function_mappings.insert( - "v2.DeleteRUMApplication".to_string(), + "v2.DeleteRUMApplication".into(), test_v2_delete_rum_application, ); + world + .function_mappings + .insert("v2.GetRUMApplication".into(), test_v2_get_rum_application); world.function_mappings.insert( - "v2.GetRUMApplication".to_string(), - test_v2_get_rum_application, - ); - world.function_mappings.insert( - "v2.UpdateRUMApplication".to_string(), + "v2.UpdateRUMApplication".into(), test_v2_update_rum_application, ); world .function_mappings - .insert("v2.ListRUMEvents".to_string(), test_v2_list_rum_events); + .insert("v2.ListRUMEvents".into(), test_v2_list_rum_events); world .function_mappings - .insert("v2.SearchRUMEvents".to_string(), test_v2_search_rum_events); - world.function_mappings.insert( - "v2.UploadIdPMetadata".to_string(), - test_v2_upload_id_p_metadata, - ); + .insert("v2.SearchRUMEvents".into(), test_v2_search_rum_events); + world + .function_mappings + .insert("v2.UploadIdPMetadata".into(), test_v2_upload_id_p_metadata); world.function_mappings.insert( - "v2.ListScorecardOutcomes".to_string(), + "v2.ListScorecardOutcomes".into(), test_v2_list_scorecard_outcomes, ); world.function_mappings.insert( - "v2.CreateScorecardOutcomesBatch".to_string(), + "v2.CreateScorecardOutcomesBatch".into(), test_v2_create_scorecard_outcomes_batch, ); + world + .function_mappings + .insert("v2.ListScorecardRules".into(), test_v2_list_scorecard_rules); world.function_mappings.insert( - "v2.ListScorecardRules".to_string(), - test_v2_list_scorecard_rules, - ); - world.function_mappings.insert( - "v2.CreateScorecardRule".to_string(), + "v2.CreateScorecardRule".into(), test_v2_create_scorecard_rule, ); world.function_mappings.insert( - "v2.DeleteScorecardRule".to_string(), + "v2.DeleteScorecardRule".into(), test_v2_delete_scorecard_rule, ); world.function_mappings.insert( - "v2.DownloadCloudWorkloadPolicyFile".to_string(), + "v2.DownloadCloudWorkloadPolicyFile".into(), test_v2_download_cloud_workload_policy_file, ); world.function_mappings.insert( - "v2.ListCloudWorkloadSecurityAgentRules".to_string(), + "v2.ListCloudWorkloadSecurityAgentRules".into(), test_v2_list_cloud_workload_security_agent_rules, ); world.function_mappings.insert( - "v2.CreateCloudWorkloadSecurityAgentRule".to_string(), + "v2.CreateCloudWorkloadSecurityAgentRule".into(), test_v2_create_cloud_workload_security_agent_rule, ); world.function_mappings.insert( - "v2.DeleteCloudWorkloadSecurityAgentRule".to_string(), + "v2.DeleteCloudWorkloadSecurityAgentRule".into(), test_v2_delete_cloud_workload_security_agent_rule, ); world.function_mappings.insert( - "v2.GetCloudWorkloadSecurityAgentRule".to_string(), + "v2.GetCloudWorkloadSecurityAgentRule".into(), test_v2_get_cloud_workload_security_agent_rule, ); world.function_mappings.insert( - "v2.UpdateCloudWorkloadSecurityAgentRule".to_string(), + "v2.UpdateCloudWorkloadSecurityAgentRule".into(), test_v2_update_cloud_workload_security_agent_rule, ); + world + .function_mappings + .insert("v2.ListScanningGroups".into(), test_v2_list_scanning_groups); world.function_mappings.insert( - "v2.ListScanningGroups".to_string(), - test_v2_list_scanning_groups, - ); - world.function_mappings.insert( - "v2.ReorderScanningGroups".to_string(), + "v2.ReorderScanningGroups".into(), test_v2_reorder_scanning_groups, ); world.function_mappings.insert( - "v2.CreateScanningGroup".to_string(), + "v2.CreateScanningGroup".into(), test_v2_create_scanning_group, ); world.function_mappings.insert( - "v2.DeleteScanningGroup".to_string(), + "v2.DeleteScanningGroup".into(), test_v2_delete_scanning_group, ); world.function_mappings.insert( - "v2.UpdateScanningGroup".to_string(), + "v2.UpdateScanningGroup".into(), test_v2_update_scanning_group, ); + world + .function_mappings + .insert("v2.CreateScanningRule".into(), test_v2_create_scanning_rule); + world + .function_mappings + .insert("v2.DeleteScanningRule".into(), test_v2_delete_scanning_rule); + world + .function_mappings + .insert("v2.UpdateScanningRule".into(), test_v2_update_scanning_rule); world.function_mappings.insert( - "v2.CreateScanningRule".to_string(), - test_v2_create_scanning_rule, - ); - world.function_mappings.insert( - "v2.DeleteScanningRule".to_string(), - test_v2_delete_scanning_rule, - ); - world.function_mappings.insert( - "v2.UpdateScanningRule".to_string(), - test_v2_update_scanning_rule, - ); - world.function_mappings.insert( - "v2.ListStandardPatterns".to_string(), + "v2.ListStandardPatterns".into(), test_v2_list_standard_patterns, ); world.function_mappings.insert( - "v2.CreateServiceAccount".to_string(), + "v2.CreateServiceAccount".into(), test_v2_create_service_account, ); world.function_mappings.insert( - "v2.ListServiceAccountApplicationKeys".to_string(), + "v2.ListServiceAccountApplicationKeys".into(), test_v2_list_service_account_application_keys, ); world.function_mappings.insert( - "v2.CreateServiceAccountApplicationKey".to_string(), + "v2.CreateServiceAccountApplicationKey".into(), test_v2_create_service_account_application_key, ); world.function_mappings.insert( - "v2.DeleteServiceAccountApplicationKey".to_string(), + "v2.DeleteServiceAccountApplicationKey".into(), test_v2_delete_service_account_application_key, ); world.function_mappings.insert( - "v2.GetServiceAccountApplicationKey".to_string(), + "v2.GetServiceAccountApplicationKey".into(), test_v2_get_service_account_application_key, ); world.function_mappings.insert( - "v2.UpdateServiceAccountApplicationKey".to_string(), + "v2.UpdateServiceAccountApplicationKey".into(), test_v2_update_service_account_application_key, ); world.function_mappings.insert( - "v2.ListIncidentServices".to_string(), + "v2.ListIncidentServices".into(), test_v2_list_incident_services, ); world.function_mappings.insert( - "v2.CreateIncidentService".to_string(), + "v2.CreateIncidentService".into(), test_v2_create_incident_service, ); world.function_mappings.insert( - "v2.DeleteIncidentService".to_string(), + "v2.DeleteIncidentService".into(), test_v2_delete_incident_service, ); + world + .function_mappings + .insert("v2.GetIncidentService".into(), test_v2_get_incident_service); world.function_mappings.insert( - "v2.GetIncidentService".to_string(), - test_v2_get_incident_service, - ); - world.function_mappings.insert( - "v2.UpdateIncidentService".to_string(), + "v2.UpdateIncidentService".into(), test_v2_update_incident_service, ); world.function_mappings.insert( - "v2.ListServiceDefinitions".to_string(), + "v2.ListServiceDefinitions".into(), test_v2_list_service_definitions, ); world.function_mappings.insert( - "v2.CreateOrUpdateServiceDefinitions".to_string(), + "v2.CreateOrUpdateServiceDefinitions".into(), test_v2_create_or_update_service_definitions, ); world.function_mappings.insert( - "v2.DeleteServiceDefinition".to_string(), + "v2.DeleteServiceDefinition".into(), test_v2_delete_service_definition, ); world.function_mappings.insert( - "v2.GetServiceDefinition".to_string(), + "v2.GetServiceDefinition".into(), test_v2_get_service_definition, ); world .function_mappings - .insert("v2.AggregateSpans".to_string(), test_v2_aggregate_spans); + .insert("v2.AggregateSpans".into(), test_v2_aggregate_spans); world .function_mappings - .insert("v2.ListSpansGet".to_string(), test_v2_list_spans_get); + .insert("v2.ListSpansGet".into(), test_v2_list_spans_get); world .function_mappings - .insert("v2.ListSpans".to_string(), test_v2_list_spans); + .insert("v2.ListSpans".into(), test_v2_list_spans); world.function_mappings.insert( - "v2.GetOnDemandConcurrencyCap".to_string(), + "v2.GetOnDemandConcurrencyCap".into(), test_v2_get_on_demand_concurrency_cap, ); world.function_mappings.insert( - "v2.SetOnDemandConcurrencyCap".to_string(), + "v2.SetOnDemandConcurrencyCap".into(), test_v2_set_on_demand_concurrency_cap, ); world .function_mappings - .insert("v2.ListTeams".to_string(), test_v2_list_teams); + .insert("v2.ListTeams".into(), test_v2_list_teams); world .function_mappings - .insert("v2.CreateTeam".to_string(), test_v2_create_team); + .insert("v2.CreateTeam".into(), test_v2_create_team); world .function_mappings - .insert("v2.DeleteTeam".to_string(), test_v2_delete_team); + .insert("v2.DeleteTeam".into(), test_v2_delete_team); world .function_mappings - .insert("v2.GetTeam".to_string(), test_v2_get_team); + .insert("v2.GetTeam".into(), test_v2_get_team); world .function_mappings - .insert("v2.UpdateTeam".to_string(), test_v2_update_team); + .insert("v2.UpdateTeam".into(), test_v2_update_team); world .function_mappings - .insert("v2.GetTeamLinks".to_string(), test_v2_get_team_links); + .insert("v2.GetTeamLinks".into(), test_v2_get_team_links); world .function_mappings - .insert("v2.CreateTeamLink".to_string(), test_v2_create_team_link); + .insert("v2.CreateTeamLink".into(), test_v2_create_team_link); world .function_mappings - .insert("v2.DeleteTeamLink".to_string(), test_v2_delete_team_link); + .insert("v2.DeleteTeamLink".into(), test_v2_delete_team_link); world .function_mappings - .insert("v2.GetTeamLink".to_string(), test_v2_get_team_link); + .insert("v2.GetTeamLink".into(), test_v2_get_team_link); world .function_mappings - .insert("v2.UpdateTeamLink".to_string(), test_v2_update_team_link); - world.function_mappings.insert( - "v2.GetTeamMemberships".to_string(), - test_v2_get_team_memberships, - ); + .insert("v2.UpdateTeamLink".into(), test_v2_update_team_link); + world + .function_mappings + .insert("v2.GetTeamMemberships".into(), test_v2_get_team_memberships); world.function_mappings.insert( - "v2.CreateTeamMembership".to_string(), + "v2.CreateTeamMembership".into(), test_v2_create_team_membership, ); world.function_mappings.insert( - "v2.DeleteTeamMembership".to_string(), + "v2.DeleteTeamMembership".into(), test_v2_delete_team_membership, ); world.function_mappings.insert( - "v2.UpdateTeamMembership".to_string(), + "v2.UpdateTeamMembership".into(), test_v2_update_team_membership, ); world.function_mappings.insert( - "v2.GetTeamPermissionSettings".to_string(), + "v2.GetTeamPermissionSettings".into(), test_v2_get_team_permission_settings, ); world.function_mappings.insert( - "v2.UpdateTeamPermissionSetting".to_string(), + "v2.UpdateTeamPermissionSetting".into(), test_v2_update_team_permission_setting, ); - world.function_mappings.insert( - "v2.GetUserMemberships".to_string(), - test_v2_get_user_memberships, - ); - world.function_mappings.insert( - "v2.ListIncidentTeams".to_string(), - test_v2_list_incident_teams, - ); - world.function_mappings.insert( - "v2.CreateIncidentTeam".to_string(), - test_v2_create_incident_team, - ); - world.function_mappings.insert( - "v2.DeleteIncidentTeam".to_string(), - test_v2_delete_incident_team, - ); world .function_mappings - .insert("v2.GetIncidentTeam".to_string(), test_v2_get_incident_team); - world.function_mappings.insert( - "v2.UpdateIncidentTeam".to_string(), - test_v2_update_incident_team, - ); + .insert("v2.GetUserMemberships".into(), test_v2_get_user_memberships); + world + .function_mappings + .insert("v2.ListIncidentTeams".into(), test_v2_list_incident_teams); + world + .function_mappings + .insert("v2.CreateIncidentTeam".into(), test_v2_create_incident_team); + world + .function_mappings + .insert("v2.DeleteIncidentTeam".into(), test_v2_delete_incident_team); + world + .function_mappings + .insert("v2.GetIncidentTeam".into(), test_v2_get_incident_team); + world + .function_mappings + .insert("v2.UpdateIncidentTeam".into(), test_v2_update_incident_team); world .function_mappings - .insert("v2.SendInvitations".to_string(), test_v2_send_invitations); + .insert("v2.SendInvitations".into(), test_v2_send_invitations); world .function_mappings - .insert("v2.GetInvitation".to_string(), test_v2_get_invitation); + .insert("v2.GetInvitation".into(), test_v2_get_invitation); world .function_mappings - .insert("v2.ListUsers".to_string(), test_v2_list_users); + .insert("v2.ListUsers".into(), test_v2_list_users); world .function_mappings - .insert("v2.CreateUser".to_string(), test_v2_create_user); + .insert("v2.CreateUser".into(), test_v2_create_user); world .function_mappings - .insert("v2.DisableUser".to_string(), test_v2_disable_user); + .insert("v2.DisableUser".into(), test_v2_disable_user); world .function_mappings - .insert("v2.GetUser".to_string(), test_v2_get_user); + .insert("v2.GetUser".into(), test_v2_get_user); world .function_mappings - .insert("v2.UpdateUser".to_string(), test_v2_update_user); + .insert("v2.UpdateUser".into(), test_v2_update_user); world.function_mappings.insert( - "v2.ListUserOrganizations".to_string(), + "v2.ListUserOrganizations".into(), test_v2_list_user_organizations, ); world.function_mappings.insert( - "v2.ListUserPermissions".to_string(), + "v2.ListUserPermissions".into(), test_v2_list_user_permissions, ); } @@ -2776,32 +2692,24 @@ fn test_v1_get_daily_custom_reports( .v1_api_usage_metering .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort_dir = if let Some(param) = _parameters.get("sort_dir") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetDailyCustomReportsOptionalParams { - page_size, - page_number, - sort_dir, - sort, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort_dir = _parameters + .get("sort_dir") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetDailyCustomReportsOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; + params.sort_dir = sort_dir; + params.sort = sort; let response = match block_on(api.get_daily_custom_reports_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -2858,32 +2766,24 @@ fn test_v1_get_monthly_custom_reports( .v1_api_usage_metering .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort_dir = if let Some(param) = _parameters.get("sort_dir") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetMonthlyCustomReportsOptionalParams { - page_size, - page_number, - sort_dir, - sort, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort_dir = _parameters + .get("sort_dir") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetMonthlyCustomReportsOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; + params.sort_dir = sort_dir; + params.sort = sort; let response = match block_on(api.get_monthly_custom_reports_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -2938,12 +2838,12 @@ fn test_v1_get_usage_analyzed_logs(world: &mut DatadogWorld, _parameters: &HashM .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageAnalyzedLogsOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageAnalyzedLogsOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_analyzed_logs_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -2971,44 +2871,32 @@ fn test_v1_get_usage_attribution(world: &mut DatadogWorld, _parameters: &HashMap let start_month = serde_json::from_value(_parameters.get("start_month").unwrap().clone()).unwrap(); let fields = serde_json::from_value(_parameters.get("fields").unwrap().clone()).unwrap(); - let end_month = if let Some(param) = _parameters.get("end_month") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort_direction = if let Some(param) = _parameters.get("sort_direction") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort_name = if let Some(param) = _parameters.get("sort_name") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let include_descendants = if let Some(param) = _parameters.get("include_descendants") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let offset = if let Some(param) = _parameters.get("offset") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let limit = if let Some(param) = _parameters.get("limit") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageAttributionOptionalParams { - end_month, - sort_direction, - sort_name, - include_descendants, - offset, - limit, - }; + let end_month = _parameters + .get("end_month") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort_direction = _parameters + .get("sort_direction") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort_name = _parameters + .get("sort_name") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let include_descendants = _parameters + .get("include_descendants") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let offset = _parameters + .get("offset") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let limit = _parameters + .get("limit") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageAttributionOptionalParams::default(); + params.end_month = end_month; + params.sort_direction = sort_direction; + params.sort_name = sort_name; + params.include_descendants = include_descendants; + params.offset = offset; + params.limit = limit; let response = match block_on(api.get_usage_attribution_with_http_info(start_month, fields, params)) { Ok(response) => response, @@ -3035,12 +2923,11 @@ fn test_v1_get_usage_audit_logs(world: &mut DatadogWorld, _parameters: &HashMap< .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageAuditLogsOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV1::api::api_usage_metering::GetUsageAuditLogsOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_audit_logs_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -3066,12 +2953,11 @@ fn test_v1_get_usage_lambda(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3099,13 +2985,12 @@ fn test_v1_get_usage_billable_summary( .v1_api_usage_metering .as_ref() .expect("api instance not found"); - let month = if let Some(param) = _parameters.get("month") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV1::api::api_usage_metering::GetUsageBillableSummaryOptionalParams { month }; + let month = _parameters + .get("month") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageBillableSummaryOptionalParams::default(); + params.month = month; let response = match block_on(api.get_usage_billable_summary_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -3131,12 +3016,11 @@ fn test_v1_get_usage_ci_app(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3165,15 +3049,11 @@ fn test_v1_get_usage_cloud_security_posture_management( .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV1::api::api_usage_metering::GetUsageCloudSecurityPostureManagementOptionalParams { - end_hr, - }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV1::api::api_usage_metering::GetUsageCloudSecurityPostureManagementOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on( api.get_usage_cloud_security_posture_management_with_http_info(start_hr, params), ) { @@ -3201,12 +3081,11 @@ fn test_v1_get_usage_cws(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3232,12 +3111,11 @@ fn test_v1_get_usage_dbm(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3263,12 +3141,11 @@ fn test_v1_get_usage_fargate(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3294,12 +3171,11 @@ fn test_v1_get_usage_hosts(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3330,32 +3206,24 @@ fn test_v1_get_hourly_usage_attribution( let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); let usage_type = serde_json::from_value(_parameters.get("usage_type").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let next_record_id = if let Some(param) = _parameters.get("next_record_id") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let tag_breakdown_keys = if let Some(param) = _parameters.get("tag_breakdown_keys") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let include_descendants = if let Some(param) = _parameters.get("include_descendants") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetHourlyUsageAttributionOptionalParams { - end_hr, - next_record_id, - tag_breakdown_keys, - include_descendants, - }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let next_record_id = _parameters + .get("next_record_id") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let tag_breakdown_keys = _parameters + .get("tag_breakdown_keys") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let include_descendants = _parameters + .get("include_descendants") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetHourlyUsageAttributionOptionalParams::default(); + params.end_hr = end_hr; + params.next_record_id = next_record_id; + params.tag_breakdown_keys = tag_breakdown_keys; + params.include_descendants = include_descendants; let response = match block_on( api.get_hourly_usage_attribution_with_http_info(start_hr, usage_type, params), ) { @@ -3383,12 +3251,12 @@ fn test_v1_get_incident_management(world: &mut DatadogWorld, _parameters: &HashM .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetIncidentManagementOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetIncidentManagementOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_incident_management_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -3414,12 +3282,12 @@ fn test_v1_get_usage_indexed_spans(world: &mut DatadogWorld, _parameters: &HashM .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageIndexedSpansOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageIndexedSpansOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_indexed_spans_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -3445,12 +3313,11 @@ fn test_v1_get_ingested_spans(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3479,13 +3346,12 @@ fn test_v1_get_usage_internet_of_things( .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV1::api::api_usage_metering::GetUsageInternetOfThingsOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageInternetOfThingsOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_internet_of_things_with_http_info(start_hr, params)) { Ok(response) => response, @@ -3512,12 +3378,11 @@ fn test_v1_get_usage_logs(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3546,13 +3411,12 @@ fn test_v1_get_usage_logs_by_retention( .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV1::api::api_usage_metering::GetUsageLogsByRetentionOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageLogsByRetentionOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_logs_by_retention_with_http_info(start_hr, params)) { Ok(response) => response, @@ -3579,20 +3443,16 @@ fn test_v1_get_usage_logs_by_index(world: &mut DatadogWorld, _parameters: &HashM .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let index_name = if let Some(param) = _parameters.get("index_name") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageLogsByIndexOptionalParams { - end_hr, - index_name, - }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let index_name = _parameters + .get("index_name") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageLogsByIndexOptionalParams::default(); + params.end_hr = end_hr; + params.index_name = index_name; let response = match block_on(api.get_usage_logs_by_index_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -3623,44 +3483,32 @@ fn test_v1_get_monthly_usage_attribution( let start_month = serde_json::from_value(_parameters.get("start_month").unwrap().clone()).unwrap(); let fields = serde_json::from_value(_parameters.get("fields").unwrap().clone()).unwrap(); - let end_month = if let Some(param) = _parameters.get("end_month") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort_direction = if let Some(param) = _parameters.get("sort_direction") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort_name = if let Some(param) = _parameters.get("sort_name") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let tag_breakdown_keys = if let Some(param) = _parameters.get("tag_breakdown_keys") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let next_record_id = if let Some(param) = _parameters.get("next_record_id") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let include_descendants = if let Some(param) = _parameters.get("include_descendants") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetMonthlyUsageAttributionOptionalParams { - end_month, - sort_direction, - sort_name, - tag_breakdown_keys, - next_record_id, - include_descendants, - }; + let end_month = _parameters + .get("end_month") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort_direction = _parameters + .get("sort_direction") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort_name = _parameters + .get("sort_name") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let tag_breakdown_keys = _parameters + .get("tag_breakdown_keys") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let next_record_id = _parameters + .get("next_record_id") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let include_descendants = _parameters + .get("include_descendants") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetMonthlyUsageAttributionOptionalParams::default(); + params.end_month = end_month; + params.sort_direction = sort_direction; + params.sort_name = sort_name; + params.tag_breakdown_keys = tag_breakdown_keys; + params.next_record_id = next_record_id; + params.include_descendants = include_descendants; let response = match block_on(api.get_monthly_usage_attribution_with_http_info( start_month, fields, @@ -3690,12 +3538,12 @@ fn test_v1_get_usage_network_flows(world: &mut DatadogWorld, _parameters: &HashM .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageNetworkFlowsOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageNetworkFlowsOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_network_flows_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -3721,12 +3569,12 @@ fn test_v1_get_usage_network_hosts(world: &mut DatadogWorld, _parameters: &HashM .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageNetworkHostsOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageNetworkHostsOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_network_hosts_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -3755,12 +3603,12 @@ fn test_v1_get_usage_online_archive( .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageOnlineArchiveOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageOnlineArchiveOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_online_archive_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -3786,12 +3634,11 @@ fn test_v1_get_usage_profiling(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3817,12 +3664,11 @@ fn test_v1_get_usage_rum_units(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3848,18 +3694,16 @@ fn test_v1_get_usage_rum_sessions(world: &mut DatadogWorld, _parameters: &HashMa .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let type_ = if let Some(param) = _parameters.get("type") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV1::api::api_usage_metering::GetUsageRumSessionsOptionalParams { end_hr, type_ }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let type_ = _parameters + .get("type") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageRumSessionsOptionalParams::default(); + params.end_hr = end_hr; + params.type_ = type_; let response = match block_on(api.get_usage_rum_sessions_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -3885,12 +3729,11 @@ fn test_v1_get_usage_sds(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3916,12 +3759,11 @@ fn test_v1_get_usage_snmp(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3948,20 +3790,15 @@ fn test_v1_get_usage_summary(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -3987,12 +3824,12 @@ fn test_v1_get_usage_synthetics(world: &mut DatadogWorld, _parameters: &HashMap< .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageSyntheticsOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageSyntheticsOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_synthetics_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -4021,12 +3858,12 @@ fn test_v1_get_usage_synthetics_api( .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageSyntheticsAPIOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageSyntheticsAPIOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_synthetics_api_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -4055,13 +3892,12 @@ fn test_v1_get_usage_synthetics_browser( .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV1::api::api_usage_metering::GetUsageSyntheticsBrowserOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageSyntheticsBrowserOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_synthetics_browser_with_http_info(start_hr, params)) { Ok(response) => response, @@ -4088,12 +3924,12 @@ fn test_v1_get_usage_timeseries(world: &mut DatadogWorld, _parameters: &HashMap< .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageTimeseriesOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageTimeseriesOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_timeseries_with_http_info(start_hr, params)) { Ok(response) => response, Err(error) => { @@ -4121,38 +3957,28 @@ fn test_v1_get_usage_top_avg_metrics( .v1_api_usage_metering .as_ref() .expect("api instance not found"); - let month = if let Some(param) = _parameters.get("month") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let day = if let Some(param) = _parameters.get("day") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let names = if let Some(param) = _parameters.get("names") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let limit = if let Some(param) = _parameters.get("limit") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let next_record_id = if let Some(param) = _parameters.get("next_record_id") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_usage_metering::GetUsageTopAvgMetricsOptionalParams { - month, - day, - names, - limit, - next_record_id, - }; + let month = _parameters + .get("month") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let day = _parameters + .get("day") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let names = _parameters + .get("names") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let limit = _parameters + .get("limit") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let next_record_id = _parameters + .get("next_record_id") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_usage_metering::GetUsageTopAvgMetricsOptionalParams::default(); + params.month = month; + params.day = day; + params.names = names; + params.limit = limit; + params.next_record_id = next_record_id; let response = match block_on(api.get_usage_top_avg_metrics_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -4202,32 +4028,23 @@ fn test_v1_list_dashboards(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -4437,20 +4254,16 @@ fn test_v1_get_public_dashboard_invitations( .as_ref() .expect("api instance not found"); let token = serde_json::from_value(_parameters.get("token").unwrap().clone()).unwrap(); - let page_size = if let Some(param) = _parameters.get("page_size") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page_number") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_dashboards::GetPublicDashboardInvitationsOptionalParams { - page_size, - page_number, - }; + let page_size = _parameters + .get("page_size") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page_number") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_dashboards::GetPublicDashboardInvitationsOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; let response = match block_on(api.get_public_dashboard_invitations_with_http_info(token, params)) { Ok(response) => response, @@ -4714,13 +4527,11 @@ fn test_v1_submit_distribution_points( .as_ref() .expect("api instance not found"); let body = serde_json::from_value(_parameters.get("body").unwrap().clone()).unwrap(); - let content_encoding = if let Some(param) = _parameters.get("Content-Encoding") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV1::api::api_metrics::SubmitDistributionPointsOptionalParams { content_encoding }; + let content_encoding = _parameters + .get("Content-Encoding") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV1::api::api_metrics::SubmitDistributionPointsOptionalParams::default(); + params.content_encoding = content_encoding; let response = match block_on(api.submit_distribution_points_with_http_info(body, params)) { Ok(response) => response, Err(error) => { @@ -4746,17 +4557,15 @@ fn test_v1_list_active_metrics(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -4887,12 +4696,11 @@ fn test_v1_submit_metrics(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -4917,20 +4725,15 @@ fn test_v1_list_downtimes(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -5115,44 +4918,31 @@ fn test_v1_list_events(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -5229,44 +5019,31 @@ fn test_v1_get_graph_snapshot(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -5342,57 +5119,39 @@ fn test_v1_list_hosts(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -5417,12 +5176,11 @@ fn test_v1_get_host_totals(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -5472,26 +5230,19 @@ fn test_v1_list_aws_accounts(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -5542,26 +5293,19 @@ fn test_v1_update_aws_account(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -6765,20 +6509,15 @@ fn test_v1_submit_log(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -7132,56 +6871,39 @@ fn test_v1_list_monitors(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -7260,32 +6982,23 @@ fn test_v1_search_monitor_groups(world: &mut DatadogWorld, _parameters: &HashMap .v1_api_monitors .as_ref() .expect("api instance not found"); - let query = if let Some(param) = _parameters.get("query") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page = if let Some(param) = _parameters.get("page") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let per_page = if let Some(param) = _parameters.get("per_page") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_monitors::SearchMonitorGroupsOptionalParams { - query, - page, - per_page, - sort, - }; + let query = _parameters + .get("query") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page = _parameters + .get("page") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let per_page = _parameters + .get("per_page") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV1::api::api_monitors::SearchMonitorGroupsOptionalParams::default(); + params.query = query; + params.page = page; + params.per_page = per_page; + params.sort = sort; let response = match block_on(api.search_monitor_groups_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -7310,32 +7023,23 @@ fn test_v1_search_monitors(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -7387,12 +7091,11 @@ fn test_v1_delete_monitor(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -7419,20 +7122,15 @@ fn test_v1_get_monitor(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -7514,68 +7212,47 @@ fn test_v1_list_notebooks(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -7953,44 +7630,32 @@ fn test_v1_list_sl_os(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -8093,32 +7758,24 @@ fn test_v1_search_slo(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -8144,12 +7801,12 @@ fn test_v1_delete_slo(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -8175,15 +7832,11 @@ fn test_v1_get_slo(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -8262,20 +7915,16 @@ fn test_v1_get_slo_history(world: &mut DatadogWorld, _parameters: &HashMap response, @@ -8301,21 +7950,15 @@ fn test_v1_list_slo_correction(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -8625,20 +8268,15 @@ fn test_v1_list_tests(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -8825,26 +8463,20 @@ fn test_v1_get_browser_test_latest_results( .as_ref() .expect("api instance not found"); let public_id = serde_json::from_value(_parameters.get("public_id").unwrap().clone()).unwrap(); - let from_ts = if let Some(param) = _parameters.get("from_ts") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let to_ts = if let Some(param) = _parameters.get("to_ts") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let probe_dc = if let Some(param) = _parameters.get("probe_dc") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_synthetics::GetBrowserTestLatestResultsOptionalParams { - from_ts, - to_ts, - probe_dc, - }; + let from_ts = _parameters + .get("from_ts") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let to_ts = _parameters + .get("to_ts") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let probe_dc = _parameters + .get("probe_dc") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_synthetics::GetBrowserTestLatestResultsOptionalParams::default(); + params.from_ts = from_ts; + params.to_ts = to_ts; + params.probe_dc = probe_dc; let response = match block_on(api.get_browser_test_latest_results_with_http_info(public_id, params)) { Ok(response) => response, @@ -9027,26 +8659,20 @@ fn test_v1_get_api_test_latest_results( .as_ref() .expect("api instance not found"); let public_id = serde_json::from_value(_parameters.get("public_id").unwrap().clone()).unwrap(); - let from_ts = if let Some(param) = _parameters.get("from_ts") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let to_ts = if let Some(param) = _parameters.get("to_ts") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let probe_dc = if let Some(param) = _parameters.get("probe_dc") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV1::api::api_synthetics::GetAPITestLatestResultsOptionalParams { - from_ts, - to_ts, - probe_dc, - }; + let from_ts = _parameters + .get("from_ts") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let to_ts = _parameters + .get("to_ts") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let probe_dc = _parameters + .get("probe_dc") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV1::api::api_synthetics::GetAPITestLatestResultsOptionalParams::default(); + params.from_ts = from_ts; + params.to_ts = to_ts; + params.probe_dc = probe_dc; let response = match block_on(api.get_api_test_latest_results_with_http_info(public_id, params)) { Ok(response) => response, @@ -9255,12 +8881,11 @@ fn test_v1_list_host_tags(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -9286,12 +8911,11 @@ fn test_v1_delete_host_tags(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -9317,12 +8941,11 @@ fn test_v1_get_host_tags(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -9349,12 +8972,11 @@ fn test_v1_create_host_tags(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -9381,12 +9003,11 @@ fn test_v1_update_host_tags(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -9563,77 +9184,51 @@ fn test_v2_list_api_keys(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -9711,12 +9306,11 @@ fn test_v2_get_api_key(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -9768,51 +9362,36 @@ fn test_v2_list_application_keys(world: &mut DatadogWorld, _parameters: &HashMap .v2_api_key_management .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter = if let Some(param) = _parameters.get("filter") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_created_at_start = if let Some(param) = _parameters.get("filter[created_at][start]") - { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_created_at_end = if let Some(param) = _parameters.get("filter[created_at][end]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let include = if let Some(param) = _parameters.get("include") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_key_management::ListApplicationKeysOptionalParams { - page_size, - page_number, - sort, - filter, - filter_created_at_start, - filter_created_at_end, - include, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter = _parameters + .get("filter") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_created_at_start = _parameters + .get("filter[created_at][start]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_created_at_end = _parameters + .get("filter[created_at][end]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let include = _parameters + .get("include") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_key_management::ListApplicationKeysOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; + params.sort = sort; + params.filter = filter; + params.filter_created_at_start = filter_created_at_start; + params.filter_created_at_end = filter_created_at_end; + params.include = include; let response = match block_on(api.list_application_keys_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -9865,12 +9444,11 @@ fn test_v2_get_application_key(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -9925,51 +9503,36 @@ fn test_v2_list_current_user_application_keys( .v2_api_key_management .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter = if let Some(param) = _parameters.get("filter") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_created_at_start = if let Some(param) = _parameters.get("filter[created_at][start]") - { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_created_at_end = if let Some(param) = _parameters.get("filter[created_at][end]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let include = if let Some(param) = _parameters.get("include") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_key_management::ListCurrentUserApplicationKeysOptionalParams { - page_size, - page_number, - sort, - filter, - filter_created_at_start, - filter_created_at_end, - include, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter = _parameters + .get("filter") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_created_at_start = _parameters + .get("filter[created_at][start]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_created_at_end = _parameters + .get("filter[created_at][end]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let include = _parameters + .get("include") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_key_management::ListCurrentUserApplicationKeysOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; + params.sort = sort; + params.filter = filter; + params.filter_created_at_start = filter_created_at_start; + params.filter_created_at_end = filter_created_at_end; + params.include = include; let response = match block_on(api.list_current_user_application_keys_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -10405,44 +9968,31 @@ fn test_v2_list_audit_logs(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -10467,12 +10017,11 @@ fn test_v2_search_audit_logs(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -10497,32 +10046,24 @@ fn test_v2_list_auth_n_mappings(world: &mut DatadogWorld, _parameters: &HashMap< .v2_api_auth_n_mappings .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter = if let Some(param) = _parameters.get("filter") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_auth_n_mappings::ListAuthNMappingsOptionalParams { - page_size, - page_number, - sort, - filter, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter = _parameters + .get("filter") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_auth_n_mappings::ListAuthNMappingsOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; + params.sort = sort; + params.filter = filter; let response = match block_on(api.list_auth_n_mappings_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -10711,45 +10252,33 @@ fn test_v2_list_ci_app_pipeline_events( .v2_api_ci_visibility_pipelines .as_ref() .expect("api instance not found"); - let filter_query = if let Some(param) = _parameters.get("filter[query]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_from = if let Some(param) = _parameters.get("filter[from]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_to = if let Some(param) = _parameters.get("filter[to]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_cursor = if let Some(param) = _parameters.get("page[cursor]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_limit = if let Some(param) = _parameters.get("page[limit]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_ci_visibility_pipelines::ListCIAppPipelineEventsOptionalParams { - filter_query, - filter_from, - filter_to, - sort, - page_cursor, - page_limit, - }; + let filter_query = _parameters + .get("filter[query]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_from = _parameters + .get("filter[from]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_to = _parameters + .get("filter[to]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_cursor = _parameters + .get("page[cursor]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_limit = _parameters + .get("page[limit]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_ci_visibility_pipelines::ListCIAppPipelineEventsOptionalParams::default( + ); + params.filter_query = filter_query; + params.filter_from = filter_from; + params.filter_to = filter_to; + params.sort = sort; + params.page_cursor = page_cursor; + params.page_limit = page_limit; let response = match block_on(api.list_ci_app_pipeline_events_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -10777,15 +10306,11 @@ fn test_v2_search_ci_app_pipeline_events( .v2_api_ci_visibility_pipelines .as_ref() .expect("api instance not found"); - let body = if let Some(param) = _parameters.get("body") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_ci_visibility_pipelines::SearchCIAppPipelineEventsOptionalParams { - body, - }; + let body = _parameters + .get("body") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV2::api::api_ci_visibility_pipelines::SearchCIAppPipelineEventsOptionalParams::default(); + params.body = body; let response = match block_on(api.search_ci_app_pipeline_events_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -10838,44 +10363,32 @@ fn test_v2_list_ci_app_test_events(world: &mut DatadogWorld, _parameters: &HashM .v2_api_ci_visibility_tests .as_ref() .expect("api instance not found"); - let filter_query = if let Some(param) = _parameters.get("filter[query]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_from = if let Some(param) = _parameters.get("filter[from]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_to = if let Some(param) = _parameters.get("filter[to]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_cursor = if let Some(param) = _parameters.get("page[cursor]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_limit = if let Some(param) = _parameters.get("page[limit]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_ci_visibility_tests::ListCIAppTestEventsOptionalParams { - filter_query, - filter_from, - filter_to, - sort, - page_cursor, - page_limit, - }; + let filter_query = _parameters + .get("filter[query]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_from = _parameters + .get("filter[from]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_to = _parameters + .get("filter[to]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_cursor = _parameters + .get("page[cursor]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_limit = _parameters + .get("page[limit]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_ci_visibility_tests::ListCIAppTestEventsOptionalParams::default(); + params.filter_query = filter_query; + params.filter_from = filter_from; + params.filter_to = filter_to; + params.sort = sort; + params.page_cursor = page_cursor; + params.page_limit = page_limit; let response = match block_on(api.list_ci_app_test_events_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -10903,13 +10416,12 @@ fn test_v2_search_ci_app_test_events( .v2_api_ci_visibility_tests .as_ref() .expect("api instance not found"); - let body = if let Some(param) = _parameters.get("body") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_ci_visibility_tests::SearchCIAppTestEventsOptionalParams { body }; + let body = _parameters + .get("body") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_ci_visibility_tests::SearchCIAppTestEventsOptionalParams::default(); + params.body = body; let response = match block_on(api.search_ci_app_test_events_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -10934,38 +10446,28 @@ fn test_v2_list_container_images(world: &mut DatadogWorld, _parameters: &HashMap .v2_api_container_images .as_ref() .expect("api instance not found"); - let filter_tags = if let Some(param) = _parameters.get("filter[tags]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let group_by = if let Some(param) = _parameters.get("group_by") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_cursor = if let Some(param) = _parameters.get("page[cursor]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_container_images::ListContainerImagesOptionalParams { - filter_tags, - group_by, - sort, - page_size, - page_cursor, - }; + let filter_tags = _parameters + .get("filter[tags]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let group_by = _parameters + .get("group_by") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_cursor = _parameters + .get("page[cursor]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_container_images::ListContainerImagesOptionalParams::default(); + params.filter_tags = filter_tags; + params.group_by = group_by; + params.sort = sort; + params.page_size = page_size; + params.page_cursor = page_cursor; let response = match block_on(api.list_container_images_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -10990,38 +10492,27 @@ fn test_v2_list_containers(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -11371,38 +10862,28 @@ fn test_v2_get_monthly_cost_attribution( serde_json::from_value(_parameters.get("start_month").unwrap().clone()).unwrap(); let end_month = serde_json::from_value(_parameters.get("end_month").unwrap().clone()).unwrap(); let fields = serde_json::from_value(_parameters.get("fields").unwrap().clone()).unwrap(); - let sort_direction = if let Some(param) = _parameters.get("sort_direction") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort_name = if let Some(param) = _parameters.get("sort_name") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let tag_breakdown_keys = if let Some(param) = _parameters.get("tag_breakdown_keys") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let next_record_id = if let Some(param) = _parameters.get("next_record_id") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let include_descendants = if let Some(param) = _parameters.get("include_descendants") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_usage_metering::GetMonthlyCostAttributionOptionalParams { - sort_direction, - sort_name, - tag_breakdown_keys, - next_record_id, - include_descendants, - }; + let sort_direction = _parameters + .get("sort_direction") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort_name = _parameters + .get("sort_name") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let tag_breakdown_keys = _parameters + .get("tag_breakdown_keys") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let next_record_id = _parameters + .get("next_record_id") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let include_descendants = _parameters + .get("include_descendants") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_usage_metering::GetMonthlyCostAttributionOptionalParams::default(); + params.sort_direction = sort_direction; + params.sort_name = sort_name; + params.tag_breakdown_keys = tag_breakdown_keys; + params.next_record_id = next_record_id; + params.include_descendants = include_descendants; let response = match block_on(api.get_monthly_cost_attribution_with_http_info( start_month, end_month, @@ -11436,15 +10917,11 @@ fn test_v2_get_usage_application_security_monitoring( .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_usage_metering::GetUsageApplicationSecurityMonitoringOptionalParams { - end_hr, - }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV2::api::api_usage_metering::GetUsageApplicationSecurityMonitoringOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on( api.get_usage_application_security_monitoring_with_http_info(start_hr, params), ) { @@ -11473,12 +10950,11 @@ fn test_v2_get_cost_by_org(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -11506,38 +10982,28 @@ fn test_v2_get_estimated_cost_by_org( .v2_api_usage_metering .as_ref() .expect("api instance not found"); - let view = if let Some(param) = _parameters.get("view") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let start_month = if let Some(param) = _parameters.get("start_month") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let end_month = if let Some(param) = _parameters.get("end_month") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let start_date = if let Some(param) = _parameters.get("start_date") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let end_date = if let Some(param) = _parameters.get("end_date") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_usage_metering::GetEstimatedCostByOrgOptionalParams { - view, - start_month, - end_month, - start_date, - end_date, - }; + let view = _parameters + .get("view") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let start_month = _parameters + .get("start_month") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let end_month = _parameters + .get("end_month") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let start_date = _parameters + .get("start_date") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let end_date = _parameters + .get("end_date") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_usage_metering::GetEstimatedCostByOrgOptionalParams::default(); + params.view = view; + params.start_month = start_month; + params.end_month = end_month; + params.start_date = start_date; + params.end_date = end_date; let response = match block_on(api.get_estimated_cost_by_org_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -11567,20 +11033,16 @@ fn test_v2_get_historical_cost_by_org( .expect("api instance not found"); let start_month = serde_json::from_value(_parameters.get("start_month").unwrap().clone()).unwrap(); - let view = if let Some(param) = _parameters.get("view") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let end_month = if let Some(param) = _parameters.get("end_month") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_usage_metering::GetHistoricalCostByOrgOptionalParams { - view, - end_month, - }; + let view = _parameters + .get("view") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let end_month = _parameters + .get("end_month") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_usage_metering::GetHistoricalCostByOrgOptionalParams::default(); + params.view = view; + params.end_month = end_month; let response = match block_on(api.get_historical_cost_by_org_with_http_info(start_month, params)) { Ok(response) => response, @@ -11612,46 +11074,31 @@ fn test_v2_get_hourly_usage(world: &mut DatadogWorld, _parameters: &HashMap response, @@ -11722,13 +11167,12 @@ fn test_v2_get_usage_observability_pipelines( .as_ref() .expect("api instance not found"); let start_hr = serde_json::from_value(_parameters.get("start_hr").unwrap().clone()).unwrap(); - let end_hr = if let Some(param) = _parameters.get("end_hr") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_usage_metering::GetUsageObservabilityPipelinesOptionalParams { end_hr }; + let end_hr = _parameters + .get("end_hr") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_usage_metering::GetUsageObservabilityPipelinesOptionalParams::default(); + params.end_hr = end_hr; let response = match block_on(api.get_usage_observability_pipelines_with_http_info(start_hr, params)) { Ok(response) => response, @@ -11754,12 +11198,11 @@ fn test_v2_get_projected_cost(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -11956,32 +11399,23 @@ fn test_v2_list_downtimes(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -12059,12 +11493,11 @@ fn test_v2_get_downtime(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -12118,20 +11551,15 @@ fn test_v2_list_monitor_downtimes(world: &mut DatadogWorld, _parameters: &HashMa .expect("api instance not found"); let monitor_id = serde_json::from_value(_parameters.get("monitor_id").unwrap().clone()).unwrap(); - let page_offset = if let Some(param) = _parameters.get("page[offset]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_limit = if let Some(param) = _parameters.get("page[limit]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_downtimes::ListMonitorDowntimesOptionalParams { - page_offset, - page_limit, - }; + let page_offset = _parameters + .get("page[offset]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_limit = _parameters + .get("page[limit]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV2::api::api_downtimes::ListMonitorDowntimesOptionalParams::default(); + params.page_offset = page_offset; + params.page_limit = page_limit; let response = match block_on(api.list_monitor_downtimes_with_http_info(monitor_id, params)) { Ok(response) => response, Err(error) => { @@ -12156,44 +11584,31 @@ fn test_v2_list_events(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -12218,12 +11633,11 @@ fn test_v2_search_events(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -12248,26 +11662,19 @@ fn test_v2_list_incidents(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -12318,32 +11725,23 @@ fn test_v2_search_incidents(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -12396,12 +11794,11 @@ fn test_v2_get_incident(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -12429,12 +11826,11 @@ fn test_v2_update_incident(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -12464,20 +11860,16 @@ fn test_v2_list_incident_attachments( .expect("api instance not found"); let incident_id = serde_json::from_value(_parameters.get("incident_id").unwrap().clone()).unwrap(); - let include = if let Some(param) = _parameters.get("include") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_attachment_type = if let Some(param) = _parameters.get("filter[attachment_type]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_incidents::ListIncidentAttachmentsOptionalParams { - include, - filter_attachment_type, - }; + let include = _parameters + .get("include") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_attachment_type = _parameters + .get("filter[attachment_type]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_incidents::ListIncidentAttachmentsOptionalParams::default(); + params.include = include; + params.filter_attachment_type = filter_attachment_type; let response = match block_on(api.list_incident_attachments_with_http_info(incident_id, params)) { Ok(response) => response, @@ -12509,12 +11901,12 @@ fn test_v2_update_incident_attachments( let incident_id = serde_json::from_value(_parameters.get("incident_id").unwrap().clone()).unwrap(); let body = serde_json::from_value(_parameters.get("body").unwrap().clone()).unwrap(); - let include = if let Some(param) = _parameters.get("include") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_incidents::UpdateIncidentAttachmentsOptionalParams { include }; + let include = _parameters + .get("include") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_incidents::UpdateIncidentAttachmentsOptionalParams::default(); + params.include = include; let response = match block_on(api.update_incident_attachments_with_http_info(incident_id, body, params)) { Ok(response) => response, @@ -12967,12 +12359,12 @@ fn test_v2_make_gcpsts_delegate(world: &mut DatadogWorld, _parameters: &HashMap< .v2_api_gcp_integration .as_ref() .expect("api instance not found"); - let body = if let Some(param) = _parameters.get("body") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_gcp_integration::MakeGCPSTSDelegateOptionalParams { body }; + let body = _parameters + .get("body") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_gcp_integration::MakeGCPSTSDelegateOptionalParams::default(); + params.body = body; let response = match block_on(api.make_gcpsts_delegate_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -14001,20 +13393,15 @@ fn test_v2_submit_log(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -14064,56 +13451,39 @@ fn test_v2_list_logs_get(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -14138,12 +13508,11 @@ fn test_v2_list_logs(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -14559,51 +13928,35 @@ fn test_v2_list_tag_configurations(world: &mut DatadogWorld, _parameters: &HashM .v2_api_metrics .as_ref() .expect("api instance not found"); - let filter_configured = if let Some(param) = _parameters.get("filter[configured]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_tags_configured = if let Some(param) = _parameters.get("filter[tags_configured]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_metric_type = if let Some(param) = _parameters.get("filter[metric_type]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_include_percentiles = - if let Some(param) = _parameters.get("filter[include_percentiles]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_queried = if let Some(param) = _parameters.get("filter[queried]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_tags = if let Some(param) = _parameters.get("filter[tags]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let window_seconds = if let Some(param) = _parameters.get("window[seconds]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_metrics::ListTagConfigurationsOptionalParams { - filter_configured, - filter_tags_configured, - filter_metric_type, - filter_include_percentiles, - filter_queried, - filter_tags, - window_seconds, - }; + let filter_configured = _parameters + .get("filter[configured]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_tags_configured = _parameters + .get("filter[tags_configured]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_metric_type = _parameters + .get("filter[metric_type]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_include_percentiles = _parameters + .get("filter[include_percentiles]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_queried = _parameters + .get("filter[queried]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_tags = _parameters + .get("filter[tags]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let window_seconds = _parameters + .get("window[seconds]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV2::api::api_metrics::ListTagConfigurationsOptionalParams::default(); + params.filter_configured = filter_configured; + params.filter_tags_configured = filter_tags_configured; + params.filter_metric_type = filter_metric_type; + params.filter_include_percentiles = filter_include_percentiles; + params.filter_queried = filter_queried; + params.filter_tags = filter_tags; + params.window_seconds = window_seconds; let response = match block_on(api.list_tag_configurations_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -14689,14 +14042,12 @@ fn test_v2_list_active_metric_configurations( .expect("api instance not found"); let metric_name = serde_json::from_value(_parameters.get("metric_name").unwrap().clone()).unwrap(); - let window_seconds = if let Some(param) = _parameters.get("window[seconds]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_metrics::ListActiveMetricConfigurationsOptionalParams { - window_seconds, - }; + let window_seconds = _parameters + .get("window[seconds]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_metrics::ListActiveMetricConfigurationsOptionalParams::default(); + params.window_seconds = window_seconds; let response = match block_on(api.list_active_metric_configurations_with_http_info(metric_name, params)) { Ok(response) => response, @@ -14756,38 +14107,28 @@ fn test_v2_estimate_metrics_output_series( .expect("api instance not found"); let metric_name = serde_json::from_value(_parameters.get("metric_name").unwrap().clone()).unwrap(); - let filter_groups = if let Some(param) = _parameters.get("filter[groups]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_hours_ago = if let Some(param) = _parameters.get("filter[hours_ago]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_num_aggregations = if let Some(param) = _parameters.get("filter[num_aggregations]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_pct = if let Some(param) = _parameters.get("filter[pct]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_timespan_h = if let Some(param) = _parameters.get("filter[timespan_h]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_metrics::EstimateMetricsOutputSeriesOptionalParams { - filter_groups, - filter_hours_ago, - filter_num_aggregations, - filter_pct, - filter_timespan_h, - }; + let filter_groups = _parameters + .get("filter[groups]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_hours_ago = _parameters + .get("filter[hours_ago]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_num_aggregations = _parameters + .get("filter[num_aggregations]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_pct = _parameters + .get("filter[pct]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_timespan_h = _parameters + .get("filter[timespan_h]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_metrics::EstimateMetricsOutputSeriesOptionalParams::default(); + params.filter_groups = filter_groups; + params.filter_hours_ago = filter_hours_ago; + params.filter_num_aggregations = filter_num_aggregations; + params.filter_pct = filter_pct; + params.filter_timespan_h = filter_timespan_h; let response = match block_on(api.estimate_metrics_output_series_with_http_info(metric_name, params)) { Ok(response) => response, @@ -15011,12 +14352,11 @@ fn test_v2_submit_metrics(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -15206,38 +14546,27 @@ fn test_v2_list_roles(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -15496,32 +14825,23 @@ fn test_v2_list_role_users(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -15572,82 +14892,55 @@ fn test_v2_list_findings(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -15699,13 +14992,11 @@ fn test_v2_get_finding(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -15862,21 +15153,17 @@ fn test_v2_list_security_monitoring_rules( .v2_api_security_monitoring .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_security_monitoring::ListSecurityMonitoringRulesOptionalParams { - page_size, - page_number, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_security_monitoring::ListSecurityMonitoringRulesOptionalParams::default( + ); + params.page_size = page_size; + params.page_number = page_number; let response = match block_on(api.list_security_monitoring_rules_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -16018,45 +15305,31 @@ fn test_v2_list_security_monitoring_signals( .v2_api_security_monitoring .as_ref() .expect("api instance not found"); - let filter_query = if let Some(param) = _parameters.get("filter[query]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_from = if let Some(param) = _parameters.get("filter[from]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_to = if let Some(param) = _parameters.get("filter[to]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_cursor = if let Some(param) = _parameters.get("page[cursor]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_limit = if let Some(param) = _parameters.get("page[limit]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_security_monitoring::ListSecurityMonitoringSignalsOptionalParams { - filter_query, - filter_from, - filter_to, - sort, - page_cursor, - page_limit, - }; + let filter_query = _parameters + .get("filter[query]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_from = _parameters + .get("filter[from]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_to = _parameters + .get("filter[to]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_cursor = _parameters + .get("page[cursor]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_limit = _parameters + .get("page[limit]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV2::api::api_security_monitoring::ListSecurityMonitoringSignalsOptionalParams::default(); + params.filter_query = filter_query; + params.filter_from = filter_from; + params.filter_to = filter_to; + params.sort = sort; + params.page_cursor = page_cursor; + params.page_limit = page_limit; let response = match block_on(api.list_security_monitoring_signals_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -16084,15 +15357,11 @@ fn test_v2_search_security_monitoring_signals( .v2_api_security_monitoring .as_ref() .expect("api instance not found"); - let body = if let Some(param) = _parameters.get("body") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_security_monitoring::SearchSecurityMonitoringSignalsOptionalParams { - body, - }; + let body = _parameters + .get("body") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV2::api::api_security_monitoring::SearchSecurityMonitoringSignalsOptionalParams::default(); + params.body = body; let response = match block_on(api.search_security_monitoring_signals_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -16237,20 +15506,15 @@ fn test_v2_list_powerpacks(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -16379,44 +15643,31 @@ fn test_v2_list_processes(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -16676,44 +15927,31 @@ fn test_v2_list_rum_events(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -16763,12 +16001,11 @@ fn test_v2_upload_id_p_metadata(world: &mut DatadogWorld, _parameters: &HashMap< .v2_api_organizations .as_ref() .expect("api instance not found"); - let idp_file = if let Some(param) = _parameters.get("idp_file") { - Some(param.as_str().unwrap().as_bytes().to_vec()) - } else { - None - }; - let params = datadogV2::api::api_organizations::UploadIdPMetadataOptionalParams { idp_file }; + let idp_file = _parameters + .get("idp_file") + .and_then(|param| Some(param.as_str().unwrap().as_bytes().to_vec())); + let mut params = datadogV2::api::api_organizations::UploadIdPMetadataOptionalParams::default(); + params.idp_file = idp_file; let response = match block_on(api.upload_id_p_metadata_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -16793,69 +16030,48 @@ fn test_v2_list_scorecard_outcomes(world: &mut DatadogWorld, _parameters: &HashM .v2_api_service_scorecards .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_offset = if let Some(param) = _parameters.get("page[offset]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let include = if let Some(param) = _parameters.get("include") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let fields_outcome = if let Some(param) = _parameters.get("fields[outcome]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let fields_rule = if let Some(param) = _parameters.get("fields[rule]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_outcome_service_name = - if let Some(param) = _parameters.get("filter[outcome][service_name]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_outcome_state = if let Some(param) = _parameters.get("filter[outcome][state]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_rule_enabled = if let Some(param) = _parameters.get("filter[rule][enabled]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_rule_id = if let Some(param) = _parameters.get("filter[rule][id]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_rule_name = if let Some(param) = _parameters.get("filter[rule][name]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_service_scorecards::ListScorecardOutcomesOptionalParams { - page_size, - page_offset, - include, - fields_outcome, - fields_rule, - filter_outcome_service_name, - filter_outcome_state, - filter_rule_enabled, - filter_rule_id, - filter_rule_name, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_offset = _parameters + .get("page[offset]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let include = _parameters + .get("include") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let fields_outcome = _parameters + .get("fields[outcome]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let fields_rule = _parameters + .get("fields[rule]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_outcome_service_name = _parameters + .get("filter[outcome][service_name]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_outcome_state = _parameters + .get("filter[outcome][state]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_rule_enabled = _parameters + .get("filter[rule][enabled]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_rule_id = _parameters + .get("filter[rule][id]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_rule_name = _parameters + .get("filter[rule][name]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_service_scorecards::ListScorecardOutcomesOptionalParams::default(); + params.page_size = page_size; + params.page_offset = page_offset; + params.include = include; + params.fields_outcome = fields_outcome; + params.fields_rule = fields_rule; + params.filter_outcome_service_name = filter_outcome_service_name; + params.filter_outcome_state = filter_outcome_state; + params.filter_rule_enabled = filter_rule_enabled; + params.filter_rule_id = filter_rule_id; + params.filter_rule_name = filter_rule_name; let response = match block_on(api.list_scorecard_outcomes_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -16908,69 +16124,48 @@ fn test_v2_list_scorecard_rules(world: &mut DatadogWorld, _parameters: &HashMap< .v2_api_service_scorecards .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_offset = if let Some(param) = _parameters.get("page[offset]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let include = if let Some(param) = _parameters.get("include") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_rule_id = if let Some(param) = _parameters.get("filter[rule][id]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_rule_enabled = if let Some(param) = _parameters.get("filter[rule][enabled]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_rule_custom = if let Some(param) = _parameters.get("filter[rule][custom]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_rule_name = if let Some(param) = _parameters.get("filter[rule][name]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_rule_description = if let Some(param) = _parameters.get("filter[rule][description]") - { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let fields_rule = if let Some(param) = _parameters.get("fields[rule]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let fields_scorecard = if let Some(param) = _parameters.get("fields[scorecard]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_service_scorecards::ListScorecardRulesOptionalParams { - page_size, - page_offset, - include, - filter_rule_id, - filter_rule_enabled, - filter_rule_custom, - filter_rule_name, - filter_rule_description, - fields_rule, - fields_scorecard, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_offset = _parameters + .get("page[offset]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let include = _parameters + .get("include") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_rule_id = _parameters + .get("filter[rule][id]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_rule_enabled = _parameters + .get("filter[rule][enabled]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_rule_custom = _parameters + .get("filter[rule][custom]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_rule_name = _parameters + .get("filter[rule][name]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_rule_description = _parameters + .get("filter[rule][description]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let fields_rule = _parameters + .get("fields[rule]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let fields_scorecard = _parameters + .get("fields[scorecard]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_service_scorecards::ListScorecardRulesOptionalParams::default(); + params.page_size = page_size; + params.page_offset = page_offset; + params.include = include; + params.filter_rule_id = filter_rule_id; + params.filter_rule_enabled = filter_rule_enabled; + params.filter_rule_custom = filter_rule_custom; + params.filter_rule_name = filter_rule_name; + params.filter_rule_description = filter_rule_description; + params.fields_rule = fields_rule; + params.fields_scorecard = fields_scorecard; let response = match block_on(api.list_scorecard_rules_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -17478,46 +16673,31 @@ fn test_v2_list_service_account_application_keys( .expect("api instance not found"); let service_account_id = serde_json::from_value(_parameters.get("service_account_id").unwrap().clone()).unwrap(); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter = if let Some(param) = _parameters.get("filter") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_created_at_start = if let Some(param) = _parameters.get("filter[created_at][start]") - { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_created_at_end = if let Some(param) = _parameters.get("filter[created_at][end]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_service_accounts::ListServiceAccountApplicationKeysOptionalParams { - page_size, - page_number, - sort, - filter, - filter_created_at_start, - filter_created_at_end, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter = _parameters + .get("filter") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_created_at_start = _parameters + .get("filter[created_at][start]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_created_at_end = _parameters + .get("filter[created_at][end]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV2::api::api_service_accounts::ListServiceAccountApplicationKeysOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; + params.sort = sort; + params.filter = filter; + params.filter_created_at_start = filter_created_at_start; + params.filter_created_at_end = filter_created_at_end; let response = match block_on( api.list_service_account_application_keys_with_http_info(service_account_id, params), ) { @@ -17678,32 +16858,24 @@ fn test_v2_list_incident_services(world: &mut DatadogWorld, _parameters: &HashMa .v2_api_incident_services .as_ref() .expect("api instance not found"); - let include = if let Some(param) = _parameters.get("include") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_offset = if let Some(param) = _parameters.get("page[offset]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter = if let Some(param) = _parameters.get("filter") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_incident_services::ListIncidentServicesOptionalParams { - include, - page_size, - page_offset, - filter, - }; + let include = _parameters + .get("include") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_offset = _parameters + .get("page[offset]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter = _parameters + .get("filter") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_incident_services::ListIncidentServicesOptionalParams::default(); + params.include = include; + params.page_size = page_size; + params.page_offset = page_offset; + params.filter = filter; let response = match block_on(api.list_incident_services_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -17781,13 +16953,12 @@ fn test_v2_get_incident_service(world: &mut DatadogWorld, _parameters: &HashMap< .expect("api instance not found"); let service_id = serde_json::from_value(_parameters.get("service_id").unwrap().clone()).unwrap(); - let include = if let Some(param) = _parameters.get("include") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = - datadogV2::api::api_incident_services::GetIncidentServiceOptionalParams { include }; + let include = _parameters + .get("include") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_incident_services::GetIncidentServiceOptionalParams::default(); + params.include = include; let response = match block_on(api.get_incident_service_with_http_info(service_id, params)) { Ok(response) => response, Err(error) => { @@ -17842,26 +17013,20 @@ fn test_v2_list_service_definitions( .v2_api_service_definition .as_ref() .expect("api instance not found"); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let schema_version = if let Some(param) = _parameters.get("schema_version") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_service_definition::ListServiceDefinitionsOptionalParams { - page_size, - page_number, - schema_version, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let schema_version = _parameters + .get("schema_version") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_service_definition::ListServiceDefinitionsOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; + params.schema_version = schema_version; let response = match block_on(api.list_service_definitions_with_http_info(params)) { Ok(response) => response, Err(error) => { @@ -17945,14 +17110,12 @@ fn test_v2_get_service_definition(world: &mut DatadogWorld, _parameters: &HashMa .expect("api instance not found"); let service_name = serde_json::from_value(_parameters.get("service_name").unwrap().clone()).unwrap(); - let schema_version = if let Some(param) = _parameters.get("schema_version") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_service_definition::GetServiceDefinitionOptionalParams { - schema_version, - }; + let schema_version = _parameters + .get("schema_version") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = + datadogV2::api::api_service_definition::GetServiceDefinitionOptionalParams::default(); + params.schema_version = schema_version; let response = match block_on(api.get_service_definition_with_http_info(service_name, params)) { Ok(response) => response, Err(error) => { @@ -18002,44 +17165,31 @@ fn test_v2_list_spans_get(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -18144,50 +17294,35 @@ fn test_v2_list_teams(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -18444,32 +17579,23 @@ fn test_v2_get_team_memberships(world: &mut DatadogWorld, _parameters: &HashMap< .as_ref() .expect("api instance not found"); let team_id = serde_json::from_value(_parameters.get("team_id").unwrap().clone()).unwrap(); - let page_size = if let Some(param) = _parameters.get("page[size]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let page_number = if let Some(param) = _parameters.get("page[number]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let sort = if let Some(param) = _parameters.get("sort") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let filter_keyword = if let Some(param) = _parameters.get("filter[keyword]") { - Some(serde_json::from_value(param.clone()).unwrap()) - } else { - None - }; - let params = datadogV2::api::api_teams::GetTeamMembershipsOptionalParams { - page_size, - page_number, - sort, - filter_keyword, - }; + let page_size = _parameters + .get("page[size]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let page_number = _parameters + .get("page[number]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let sort = _parameters + .get("sort") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let filter_keyword = _parameters + .get("filter[keyword]") + .and_then(|param| Some(serde_json::from_value(param.clone()).unwrap())); + let mut params = datadogV2::api::api_teams::GetTeamMembershipsOptionalParams::default(); + params.page_size = page_size; + params.page_number = page_number; + params.sort = sort; + params.filter_keyword = filter_keyword; let response = match block_on(api.get_team_memberships_with_http_info(team_id, params)) { Ok(response) => response, Err(error) => { @@ -18658,32 +17784,23 @@ fn test_v2_list_incident_teams(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -18759,12 +17876,11 @@ fn test_v2_get_incident_team(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => { @@ -18866,44 +17982,31 @@ fn test_v2_list_users(world: &mut DatadogWorld, _parameters: &HashMap response, Err(error) => {