diff --git a/Cargo.toml b/Cargo.toml index 6e50117..ce58e3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,7 @@ bytes = { version = "1", optional = true } reqwest = { version = "0.12", optional = true, features = [] } # ureq -ureq = { version = "3.0.0-rc4", optional = true, features = ["json"] } +ureq = { version = "3.0.0-rc5", optional = true, features = ["json"] } # wasm [target.'cfg(target_arch = "wasm32")'.dependencies] diff --git a/src/endpoints/secret_scanning.rs b/src/endpoints/secret_scanning.rs index 7e73ef6..7a8cab1 100644 --- a/src/endpoints/secret_scanning.rs +++ b/src/endpoints/secret_scanning.rs @@ -1232,7 +1232,7 @@ impl<'api, C: Client> SecretScanning<'api, C> where AdapterError: From< SecretScanning<'api, C> where AdapterError: From<, #[serde(skip_serializing_if="Option::is_none")] + pub comments_enabled: Option, + #[serde(skip_serializing_if="Option::is_none")] pub user: Option, #[serde(skip_serializing_if="Option::is_none")] pub comments_url: Option, @@ -4578,7 +4580,7 @@ pub struct PostReposCreateTagProtection { #[derive(Debug, Default, Clone, PartialEq, Serialize, Deserialize)] pub struct PutReposReplaceAllTopics { - /// An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. + /// An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` will be saved as lowercase. #[serde(skip_serializing_if="Option::is_none")] pub names: Option>, } @@ -11906,6 +11908,8 @@ pub struct Gist { #[serde(skip_serializing_if="Option::is_none")] pub comments: Option, #[serde(skip_serializing_if="Option::is_none")] + pub comments_enabled: Option, + #[serde(skip_serializing_if="Option::is_none")] pub user: Option, #[serde(skip_serializing_if="Option::is_none")] pub comments_url: Option, @@ -12024,6 +12028,8 @@ pub struct GistSimple { #[serde(skip_serializing_if="Option::is_none")] pub comments: Option, #[serde(skip_serializing_if="Option::is_none")] + pub comments_enabled: Option, + #[serde(skip_serializing_if="Option::is_none")] pub user: Option, #[serde(skip_serializing_if="Option::is_none")] pub comments_url: Option, @@ -37335,9 +37341,14 @@ pub struct WebhookcodescanningalertappearedinbranchAlert { pub dismissed_at: Option>, #[serde(skip_serializing_if="Option::is_none")] pub dismissed_by: Option, + #[serde(skip_serializing_if="Option::is_none")] + pub dismissed_comment: Option, /// The reason for dismissing or closing the alert. #[serde(skip_serializing_if="Option::is_none")] pub dismissed_reason: Option, + /// The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + #[serde(skip_serializing_if="Option::is_none")] + pub fixed_at: Option, /// The GitHub URL of the alert resource. #[serde(skip_serializing_if="Option::is_none")] pub html_url: Option, @@ -37348,7 +37359,7 @@ pub struct WebhookcodescanningalertappearedinbranchAlert { pub number: Option, #[serde(skip_serializing_if="Option::is_none")] pub rule: Option, - /// State of a code scanning alert. + /// State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed. #[serde(skip_serializing_if="Option::is_none")] pub state: Option, #[serde(skip_serializing_if="Option::is_none")] @@ -37391,9 +37402,14 @@ pub struct WebhookcodescanningalertclosedbyuserAlert { pub dismissed_at: Option>, #[serde(skip_serializing_if="Option::is_none")] pub dismissed_by: Option, + #[serde(skip_serializing_if="Option::is_none")] + pub dismissed_comment: Option, /// The reason for dismissing or closing the alert. #[serde(skip_serializing_if="Option::is_none")] pub dismissed_reason: Option, + /// The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + #[serde(skip_serializing_if="Option::is_none")] + pub fixed_at: Option, /// The GitHub URL of the alert resource. #[serde(skip_serializing_if="Option::is_none")] pub html_url: Option, @@ -37465,6 +37481,7 @@ pub struct WebhookcodescanningalertcreatedAlert { /// The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. #[serde(skip_serializing_if="Option::is_none")] pub dismissed_reason: Option, + /// The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. #[serde(skip_serializing_if="Option::is_none")] pub fixed_at: Option, /// The GitHub URL of the alert resource. @@ -37479,7 +37496,7 @@ pub struct WebhookcodescanningalertcreatedAlert { pub number: Option, #[serde(skip_serializing_if="Option::is_none")] pub rule: Option, - /// State of a code scanning alert. + /// State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed. #[serde(skip_serializing_if="Option::is_none")] pub state: Option, #[serde(skip_serializing_if="Option::is_none")] @@ -37501,9 +37518,14 @@ pub struct WebhookcodescanningalertfixedAlert { pub dismissed_at: Option>, #[serde(skip_serializing_if="Option::is_none")] pub dismissed_by: Option, + #[serde(skip_serializing_if="Option::is_none")] + pub dismissed_comment: Option, /// The reason for dismissing or closing the alert. #[serde(skip_serializing_if="Option::is_none")] pub dismissed_reason: Option, + /// The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + #[serde(skip_serializing_if="Option::is_none")] + pub fixed_at: Option, /// The GitHub URL of the alert resource. #[serde(skip_serializing_if="Option::is_none")] pub html_url: Option, @@ -37516,7 +37538,7 @@ pub struct WebhookcodescanningalertfixedAlert { pub number: Option, #[serde(skip_serializing_if="Option::is_none")] pub rule: Option, - /// State of a code scanning alert. + /// State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed. #[serde(skip_serializing_if="Option::is_none")] pub state: Option, #[serde(skip_serializing_if="Option::is_none")] @@ -37536,9 +37558,14 @@ pub struct WebhookcodescanningalertreopenedAlert { pub dismissed_at: Option, #[serde(skip_serializing_if="Option::is_none")] pub dismissed_by: Option>, + #[serde(skip_serializing_if="Option::is_none")] + pub dismissed_comment: Option, /// The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. #[serde(skip_serializing_if="Option::is_none")] pub dismissed_reason: Option, + /// The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + #[serde(skip_serializing_if="Option::is_none")] + pub fixed_at: Option, /// The GitHub URL of the alert resource. #[serde(skip_serializing_if="Option::is_none")] pub html_url: Option, @@ -37549,7 +37576,7 @@ pub struct WebhookcodescanningalertreopenedAlert { pub number: Option, #[serde(skip_serializing_if="Option::is_none")] pub rule: Option, - /// State of a code scanning alert. + /// State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed. #[serde(skip_serializing_if="Option::is_none")] pub state: Option, #[serde(skip_serializing_if="Option::is_none")] @@ -37569,9 +37596,14 @@ pub struct WebhookcodescanningalertreopenedbyuserAlert { pub dismissed_at: Option, #[serde(skip_serializing_if="Option::is_none")] pub dismissed_by: Option, + #[serde(skip_serializing_if="Option::is_none")] + pub dismissed_comment: Option, /// The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. #[serde(skip_serializing_if="Option::is_none")] pub dismissed_reason: Option, + /// The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. + #[serde(skip_serializing_if="Option::is_none")] + pub fixed_at: Option, /// The GitHub URL of the alert resource. #[serde(skip_serializing_if="Option::is_none")] pub html_url: Option, @@ -37582,7 +37614,7 @@ pub struct WebhookcodescanningalertreopenedbyuserAlert { pub number: Option, #[serde(skip_serializing_if="Option::is_none")] pub rule: Option, - /// State of a code scanning alert. + /// State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed. #[serde(skip_serializing_if="Option::is_none")] pub state: Option, #[serde(skip_serializing_if="Option::is_none")]