orvanta-api 6.5.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 6.5.0
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GitSyncRepoPin {
    #[serde(rename = "remote")]
    pub remote: String,
    #[serde(rename = "branch")]
    pub branch: String,
}

impl GitSyncRepoPin {
    pub fn new(remote: String, branch: String) -> GitSyncRepoPin {
        GitSyncRepoPin {
            remote,
            branch,
        }
    }
}