Skip to main content

gitbundle_sdk/models/
workflow_rerun_input.rs

1/*
2 * GitBundle API
3 *
4 * GitBundle API documentation.
5 *
6 * The version of the OpenAPI document: 3.4.1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct WorkflowRerunInput {
17    #[serde(rename = "scope")]
18    pub scope: models::WorkflowRerunScope,
19}
20
21impl WorkflowRerunInput {
22    pub fn new(scope: models::WorkflowRerunScope) -> WorkflowRerunInput {
23        WorkflowRerunInput { scope }
24    }
25}