windmill_api/models/
git_repository_settings_settings.rs

1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.536.0
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GitRepositorySettingsSettings {
16    #[serde(rename = "include_path", skip_serializing_if = "Option::is_none")]
17    pub include_path: Option<Vec<String>>,
18    #[serde(rename = "include_type", skip_serializing_if = "Option::is_none")]
19    pub include_type: Option<Vec<models::GitSyncObjectType>>,
20    #[serde(rename = "exclude_path", skip_serializing_if = "Option::is_none")]
21    pub exclude_path: Option<Vec<String>>,
22    #[serde(rename = "extra_include_path", skip_serializing_if = "Option::is_none")]
23    pub extra_include_path: Option<Vec<String>>,
24}
25
26impl GitRepositorySettingsSettings {
27    pub fn new() -> GitRepositorySettingsSettings {
28        GitRepositorySettingsSettings {
29            include_path: None,
30            include_type: None,
31            exclude_path: None,
32            extra_include_path: None,
33        }
34    }
35}
36