Skip to content

Commit ac14ed0

Browse files
author
github-actions
committed
Generated v4.3.0
1 parent 32f8ff9 commit ac14ed0

9 files changed

+25
-10
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [v4.3.0](https://github.com/fastly/fastly-rust/releases/tag/release/v4.3.0) (2023-11-29)
4+
5+
**Enhancements:**
6+
7+
- feat(stats): expose new `service_id` and `start_time` fields.
8+
39
## [v4.2.2](https://github.com/fastly/fastly-rust/releases/tag/release/v4.2.2) (2023-11-07)
410

511
**Enhancements:**

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastly-api"
3-
version = "4.2.2"
3+
version = "4.3.0"
44
authors = ["Fastly <[email protected]>"]
55
edition = "2021"
66
description = "Fastly API client"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Rust 2021 Edition
1414
Add the following to `Cargo.toml` under `[dependencies]`:
1515

1616
```toml
17-
fastly-api = "4.2.2"
17+
fastly-api = "4.3.0"
1818
```
1919

2020
## Usage

docs/Results.md

+2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ Name | Type | Description | Notes
229229
**bot_challenges_issued** | Option<**i32**> | The number of challenges issued. For example, the issuance of a CAPTCHA challenge. |
230230
**bot_challenges_succeeded** | Option<**i32**> | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. |
231231
**bot_challenges_failed** | Option<**i32**> | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. |
232+
**service_id** | Option<**String**> | | [readonly]
233+
**start_time** | Option<**i32**> | Timestamp for the start of the time period being reported |
232234

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

sig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"G": "5c91b697", "D": "e1e39f1b"}
1+
{"G": "4ae2b660", "D": "2452c3f1"}

src/apis/configuration.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl Default for Configuration {
4949

5050
Configuration {
5151
base_path: "https://api.fastly.com".to_owned(),
52-
user_agent: Some("fastly-rust/4.2.2/rust".to_owned()),
52+
user_agent: Some("fastly-rust/4.3.0/rust".to_owned()),
5353
client: reqwest::Client::new(),
5454
basic_auth: None,
5555
oauth_access_token: None,

src/models/relationship_mutual_authentication.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*/
77

8-
/// RelationshipMutualAuthentication : The [Mutual Authentication](/reference/api/tls/mutual-tls/authentication/) for client-to-server authentication. Optional.
8+
/// RelationshipMutualAuthentication : The Mutual Authentication for client-to-server authentication. Optional.
99
1010

1111

@@ -16,7 +16,7 @@ pub struct RelationshipMutualAuthentication {
1616
}
1717

1818
impl RelationshipMutualAuthentication {
19-
/// The [Mutual Authentication](/reference/api/tls/mutual-tls/authentication/) for client-to-server authentication. Optional.
19+
/// The Mutual Authentication for client-to-server authentication. Optional.
2020
pub fn new() -> RelationshipMutualAuthentication {
2121
RelationshipMutualAuthentication {
2222
mutual_authentication: None,

src/models/relationship_tls_domain.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*/
77

8-
/// RelationshipTlsDomain : The [TLS domain](/reference/api/tls/custom-certs/domains/) being enabled for TLS traffic. Required.
8+
/// RelationshipTlsDomain : The TLS domain being enabled for TLS traffic. Required.
99
1010

1111

@@ -16,7 +16,7 @@ pub struct RelationshipTlsDomain {
1616
}
1717

1818
impl RelationshipTlsDomain {
19-
/// The [TLS domain](/reference/api/tls/custom-certs/domains/) being enabled for TLS traffic. Required.
19+
/// The TLS domain being enabled for TLS traffic. Required.
2020
pub fn new() -> RelationshipTlsDomain {
2121
RelationshipTlsDomain {
2222
tls_domain: None,

src/models/results.rs

+9-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*/
77

8-
/// Results : The [results](#results-data-model) of the query, grouped by service (and optionally, region), and aggregated over the appropriate time span.
8+
/// Results : The results of stats queries, may be grouped by service depending on endpoint, and aggregated over the appropriate time span.
99
1010

1111

@@ -686,10 +686,15 @@ pub struct Results {
686686
/// The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution.
687687
#[serde(rename = "bot_challenges_failed", skip_serializing_if = "Option::is_none")]
688688
pub bot_challenges_failed: Option<i32>,
689+
#[serde(rename = "service_id", skip_serializing_if = "Option::is_none")]
690+
pub service_id: Option<Box<String>>,
691+
/// Timestamp for the start of the time period being reported
692+
#[serde(rename = "start_time", skip_serializing_if = "Option::is_none")]
693+
pub start_time: Option<i32>,
689694
}
690695

691696
impl Results {
692-
/// The [results](#results-data-model) of the query, grouped by service (and optionally, region), and aggregated over the appropriate time span.
697+
/// The results of stats queries, may be grouped by service depending on endpoint, and aggregated over the appropriate time span.
693698
pub fn new() -> Results {
694699
Results {
695700
requests: None,
@@ -917,6 +922,8 @@ impl Results {
917922
bot_challenges_issued: None,
918923
bot_challenges_succeeded: None,
919924
bot_challenges_failed: None,
925+
service_id: None,
926+
start_time: None,
920927
}
921928
}
922929
}

0 commit comments

Comments
 (0)