Skip to main content

tapis_workflows/models/
git_repository.rs

1/*
2 * Tapis Workflows API
3 *
4 * Create and manage pipelines
5 *
6 * The version of the OpenAPI document: 1.6.0
7 * Contact: cicsupport@tacc.utexas.edu
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 GitRepository {
16    #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
17    pub url: Option<String>,
18    #[serde(rename = "branch", skip_serializing_if = "Option::is_none")]
19    pub branch: Option<String>,
20}
21
22impl GitRepository {
23    pub fn new() -> GitRepository {
24        GitRepository {
25            url: None,
26            branch: None,
27        }
28    }
29}