/*
* GitHub's official OpenAPI spec + Octokit extension
*
* OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs
*
* The version of the OpenAPI document: 16.6.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CodeScanningDefaultSetupUpdateResponse : You can use `run_url` to track the status of the run. This includes a property status and conclusion. You should not rely on this always being an actions workflow run object.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CodeScanningDefaultSetupUpdateResponse {
/// ID of the corresponding run.
#[serde(rename = "run_id", skip_serializing_if = "Option::is_none")]
pub run_id: Option<i32>,
/// URL of the corresponding run.
#[serde(rename = "run_url", skip_serializing_if = "Option::is_none")]
pub run_url: Option<String>,
}
impl CodeScanningDefaultSetupUpdateResponse {
/// You can use `run_url` to track the status of the run. This includes a property status and conclusion. You should not rely on this always being an actions workflow run object.
pub fn new() -> CodeScanningDefaultSetupUpdateResponse {
CodeScanningDefaultSetupUpdateResponse {
run_id: None,
run_url: None,
}
}
}