Skip to content

Commit

Permalink
Generated v4.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 1, 2024
1 parent 2eb0661 commit 6450b54
Show file tree
Hide file tree
Showing 39 changed files with 111 additions and 46 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [v4.8.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.8.0) (2024-07-01)

**Bug fixes:**

- fix(logging): For several endpoints, correct use_tls to be string

**Enhancements:**

- feat(content): `/content/edge_check` endpoint now returns informational values in `hash` when a timeout occurs or when
an object is too large.
- feat(logging-datalog): Added additional regions

## [v4.7.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.7.0) (2024-06-27)

**Bug fixes:**
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fastly-api"
version = "4.7.0"
version = "4.8.0"
authors = ["Fastly <[email protected]>"]
edition = "2021"
description = "Fastly API client"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Rust 2021 Edition
Add the following to `Cargo.toml` under `[dependencies]`:

```toml
fastly-api = "4.7.0"
fastly-api = "4.8.0"
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion docs/ContentApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Method | HTTP request | Description

## content_check

Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour.
Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour. If the content takes too long to download, the hash will be set to `error-timeout-$pop`. If the response is too large, it will be set to `warning-too-large-$pop`.

```rust
let cfg = &Configuration::default();
Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingKafkaAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**auth_method** | Option<**String**> | SASL authentication method. |
**user** | Option<**String**> | SASL user. |
**password** | Option<**String**> | SASL password. |
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |

[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingKafkaApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Name | Type | Description | Required | Notes
**auth_method** | Option\<**String**> | SASL authentication method. | |
**user** | Option\<**String**> | SASL user. | |
**password** | Option\<**String**> | SASL password. | |
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingKafkaResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Name | Type | Description | Notes
**auth_method** | Option<**String**> | SASL authentication method. |
**user** | Option<**String**> | SASL user. |
**password** | Option<**String**> | SASL password. |
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |

[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingKafkaResponsePost.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Name | Type | Description | Notes
**auth_method** | Option<**String**> | SASL authentication method. |
**user** | Option<**String**> | SASL user. |
**password** | Option<**String**> | SASL password. |
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |

[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingLogentriesAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**port** | Option<**i32**> | The port number. | [default to 20000]
**token** | Option<**String**> | Use token based authentication. |
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
**region** | Option<**String**> | The region to which to stream logs. |

[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
4 changes: 2 additions & 2 deletions docs/LoggingLogentriesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Name | Type | Description | Required | Notes
**format_version** | Option\<**i32**> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | |[default to FormatVersion_v2]
**port** | Option\<**i32**> | The port number. | |[default to 20000]
**token** | Option\<**String**> | Use token based authentication. | |
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
**region** | Option\<**String**> | The region to which to stream logs. | |

### Return type
Expand Down Expand Up @@ -195,7 +195,7 @@ Name | Type | Description | Required | Notes
**format_version** | Option\<**i32**> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | |[default to FormatVersion_v2]
**port** | Option\<**i32**> | The port number. | |[default to 20000]
**token** | Option\<**String**> | Use token based authentication. | |
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |
**region** | Option\<**String**> | The region to which to stream logs. | |

### Return type
Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingLogentriesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**format_version** | Option<**String**> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [default to FormatVersion_v2]
**port** | Option<**i32**> | The port number. | [default to 20000]
**token** | Option<**String**> | Use token based authentication. |
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
**region** | Option<**String**> | The region to which to stream logs. |
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
**deleted_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingScalyrApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Name | Type | Description | Required | Notes
**response_condition** | Option\<**String**> | The name of an existing condition in the configured endpoint, or leave blank to always execute. | |
**format** | Option\<**String**> | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | |[default to %h %l %u %t "%r" %&gt;s %b]
**format_version** | Option\<**i32**> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | |[default to FormatVersion_v2]
**region** | Option\<**String**> | The region that log data will be sent to. | |[default to Region_US]
**region** | Option\<**String**> | The region that log data will be sent to. | |[default to US]
**token** | Option\<**String**> | The token to use for authentication. | |
**project_id** | Option\<**String**> | The name of the logfile within Scalyr. | |[default to logplex]

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingSplunkAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**url** | Option<**String**> | The URL to post logs to. |
**token** | Option<**String**> | A Splunk token for use in posting logs over HTTP to your collector. |
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |

[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/LoggingSplunkApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Name | Type | Description | Required | Notes
**request_max_bytes** | Option\<**i32**> | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | |[default to 0]
**url** | Option\<**String**> | The URL to post logs to. | |
**token** | Option\<**String**> | A Splunk token for use in posting logs over HTTP to your collector. | |
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |

### Return type

Expand Down Expand Up @@ -206,7 +206,7 @@ Name | Type | Description | Required | Notes
**request_max_bytes** | Option\<**i32**> | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | |[default to 0]
**url** | Option\<**String**> | The URL to post logs to. | |
**token** | Option\<**String**> | A Splunk token for use in posting logs over HTTP to your collector. | |
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingSplunkResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**request_max_bytes** | Option<**i32**> | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | [default to 0]
**url** | Option<**String**> | The URL to post logs to. |
**token** | Option<**String**> | A Splunk token for use in posting logs over HTTP to your collector. |
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
**deleted_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
**updated_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingSyslogAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**hostname** | Option<**String**> | The hostname used for the syslog endpoint. |
**ipv4** | Option<**String**> | The IPv4 address used for the syslog endpoint. |
**token** | Option<**String**> | Whether to prepend each message with a specific token. | [default to null]
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |

[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/LoggingSyslogApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Name | Type | Description | Required | Notes
**hostname** | Option\<**String**> | The hostname used for the syslog endpoint. | |
**ipv4** | Option\<**String**> | The IPv4 address used for the syslog endpoint. | |
**token** | Option\<**String**> | Whether to prepend each message with a specific token. | |[default to null]
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |

### Return type

Expand Down Expand Up @@ -210,7 +210,7 @@ Name | Type | Description | Required | Notes
**hostname** | Option\<**String**> | The hostname used for the syslog endpoint. | |
**ipv4** | Option\<**String**> | The IPv4 address used for the syslog endpoint. | |
**token** | Option\<**String**> | Whether to prepend each message with a specific token. | |[default to null]
**use_tls** | Option\<[**crate::models::LoggingUseTls**](logging_use_tls.md)> | | |
**use_tls** | Option\<[**crate::models::LoggingUseTlsString**](logging_use_tls_string.md)> | | |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingSyslogResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Name | Type | Description | Notes
**hostname** | Option<**String**> | The hostname used for the syslog endpoint. |
**ipv4** | Option<**String**> | The IPv4 address used for the syslog endpoint. |
**token** | Option<**String**> | Whether to prepend each message with a specific token. | [default to null]
**use_tls** | Option<[**crate::models::LoggingUseTls**](LoggingUseTls.md)> | |
**use_tls** | Option<[**crate::models::LoggingUseTlsString**](LoggingUseTlsString.md)> | |
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
**deleted_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
**updated_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly]
Expand Down
2 changes: 1 addition & 1 deletion docs/LoggingUseTls.md → docs/LoggingUseTlsString.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LoggingUseTls
# LoggingUseTlsString

## Properties

Expand Down
2 changes: 1 addition & 1 deletion sig.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"G": "5a2ccc65", "D": "ec7f026b"}
{"G": "5a2ccc65", "D": "f9e684d4"}
2 changes: 1 addition & 1 deletion src/apis/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Default for Configuration {

Configuration {
base_path: "https://api.fastly.com".to_owned(),
user_agent: Some("fastly-rust/4.7.0/rust".to_owned()),
user_agent: Some("fastly-rust/4.8.0/rust".to_owned()),
client: reqwest::Client::new(),
basic_auth: None,
oauth_access_token: None,
Expand Down
2 changes: 1 addition & 1 deletion src/apis/content_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub enum ContentCheckError {
}


/// Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour.
/// Retrieve headers and MD5 hash of the content for a particular URL from each Fastly edge server. This API is limited to 200 requests per hour. If the content takes too long to download, the hash will be set to `error-timeout-$pop`. If the response is too large, it will be set to `warning-too-large-$pop`.
pub async fn content_check(configuration: &mut configuration::Configuration, params: ContentCheckParams) -> Result<Vec<crate::models::Content>, Error<ContentCheckError>> {
let local_var_configuration = configuration;

Expand Down
2 changes: 1 addition & 1 deletion src/apis/logging_kafka_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub struct CreateLogKafkaParams {
pub user: Option<String>,
/// SASL password.
pub password: Option<String>,
pub use_tls: Option<crate::models::LoggingUseTls>
pub use_tls: Option<crate::models::LoggingUseTlsString>
}

/// struct for passing parameters to the method [`delete_log_kafka`]
Expand Down
4 changes: 2 additions & 2 deletions src/apis/logging_logentries_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct CreateLogLogentriesParams {
pub port: Option<i32>,
/// Use token based authentication.
pub token: Option<String>,
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
/// The region to which to stream logs.
pub region: Option<String>
}
Expand Down Expand Up @@ -91,7 +91,7 @@ pub struct UpdateLogLogentriesParams {
pub port: Option<i32>,
/// Use token based authentication.
pub token: Option<String>,
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
/// The region to which to stream logs.
pub region: Option<String>
}
Expand Down
4 changes: 2 additions & 2 deletions src/apis/logging_splunk_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub struct CreateLogSplunkParams {
pub url: Option<String>,
/// A Splunk token for use in posting logs over HTTP to your collector.
pub token: Option<String>,
pub use_tls: Option<crate::models::LoggingUseTls>
pub use_tls: Option<crate::models::LoggingUseTlsString>
}

/// struct for passing parameters to the method [`delete_log_splunk`]
Expand Down Expand Up @@ -113,7 +113,7 @@ pub struct UpdateLogSplunkParams {
pub url: Option<String>,
/// A Splunk token for use in posting logs over HTTP to your collector.
pub token: Option<String>,
pub use_tls: Option<crate::models::LoggingUseTls>
pub use_tls: Option<crate::models::LoggingUseTlsString>
}


Expand Down
4 changes: 2 additions & 2 deletions src/apis/logging_syslog_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub struct CreateLogSyslogParams {
pub ipv4: Option<String>,
/// Whether to prepend each message with a specific token.
pub token: Option<String>,
pub use_tls: Option<crate::models::LoggingUseTls>
pub use_tls: Option<crate::models::LoggingUseTlsString>
}

/// struct for passing parameters to the method [`delete_log_syslog`]
Expand Down Expand Up @@ -119,7 +119,7 @@ pub struct UpdateLogSyslogParams {
pub ipv4: Option<String>,
/// Whether to prepend each message with a specific token.
pub token: Option<String>,
pub use_tls: Option<crate::models::LoggingUseTls>
pub use_tls: Option<crate::models::LoggingUseTlsString>
}


Expand Down
12 changes: 10 additions & 2 deletions src/models/logging_datadog_additional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,16 @@ impl LoggingDatadogAdditional {
pub enum Region {
#[serde(rename = "US")]
US,
#[serde(rename = "EU")]
EU,
#[serde(rename = "US3")]
US3,
#[serde(rename = "US5")]
US5,
#[serde(rename = "EU (legacy, same as EU1)")]
EULegacySameAsEU1,
#[serde(rename = "EU1")]
EU1,
#[serde(rename = "AP1")]
AP1,
}

impl Default for Region {
Expand Down
12 changes: 10 additions & 2 deletions src/models/logging_datadog_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,16 @@ impl Default for FormatVersion {
pub enum Region {
#[serde(rename = "US")]
US,
#[serde(rename = "EU")]
EU,
#[serde(rename = "US3")]
US3,
#[serde(rename = "US5")]
US5,
#[serde(rename = "EU (legacy, same as EU1)")]
EULegacySameAsEU1,
#[serde(rename = "EU1")]
EU1,
#[serde(rename = "AP1")]
AP1,
}

impl Default for Region {
Expand Down
2 changes: 1 addition & 1 deletion src/models/logging_kafka_additional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub struct LoggingKafkaAdditional {
#[serde(rename = "password", skip_serializing_if = "Option::is_none")]
pub password: Option<String>,
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
}

impl LoggingKafkaAdditional {
Expand Down
2 changes: 1 addition & 1 deletion src/models/logging_kafka_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub struct LoggingKafkaResponse {
#[serde(rename = "password", skip_serializing_if = "Option::is_none")]
pub password: Option<String>,
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
}

impl LoggingKafkaResponse {
Expand Down
2 changes: 1 addition & 1 deletion src/models/logging_kafka_response_post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub struct LoggingKafkaResponsePost {
#[serde(rename = "password", skip_serializing_if = "Option::is_none")]
pub password: Option<String>,
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
}

impl LoggingKafkaResponsePost {
Expand Down
2 changes: 1 addition & 1 deletion src/models/logging_logentries_additional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct LoggingLogentriesAdditional {
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
pub token: Option<String>,
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
/// The region to which to stream logs.
#[serde(rename = "region", skip_serializing_if = "Option::is_none")]
pub region: Option<Region>,
Expand Down
2 changes: 1 addition & 1 deletion src/models/logging_logentries_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct LoggingLogentriesResponse {
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
pub token: Option<String>,
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
/// The region to which to stream logs.
#[serde(rename = "region", skip_serializing_if = "Option::is_none")]
pub region: Option<Region>,
Expand Down
2 changes: 1 addition & 1 deletion src/models/logging_splunk_additional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct LoggingSplunkAdditional {
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
pub token: Option<String>,
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
}

impl LoggingSplunkAdditional {
Expand Down
2 changes: 1 addition & 1 deletion src/models/logging_splunk_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub struct LoggingSplunkResponse {
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
pub token: Option<String>,
#[serde(rename = "use_tls", skip_serializing_if = "Option::is_none")]
pub use_tls: Option<crate::models::LoggingUseTls>,
pub use_tls: Option<crate::models::LoggingUseTlsString>,
/// Date and time in ISO 8601 format.
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
pub created_at: Option<String>,
Expand Down
Loading

0 comments on commit 6450b54

Please sign in to comment.