gitea_client/models/
create_variable_option.rs

1/*
2 * Gitea API
3 *
4 * This documentation describes the Gitea API.
5 *
6 * The version of the OpenAPI document: 1.22.1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CreateVariableOption : CreateVariableOption the option when creating variable
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CreateVariableOption {
17    /// Value of the variable to create
18    #[serde(rename = "value")]
19    pub value: String,
20}
21
22impl CreateVariableOption {
23    /// CreateVariableOption the option when creating variable
24    pub fn new(value: String) -> CreateVariableOption {
25        CreateVariableOption {
26            value,
27        }
28    }
29}
30