/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * 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 EditGitSyncRepositoryRequest {
    /// The resource path of the git repository to update
    #[serde(rename = "git_repo_resource_path")]
    pub git_repo_resource_path: String,
    #[serde(rename = "repository")]
    pub repository: Box<models::GitRepositorySettings>,
}

impl EditGitSyncRepositoryRequest {
    pub fn new(git_repo_resource_path: String, repository: models::GitRepositorySettings) -> EditGitSyncRepositoryRequest {
        EditGitSyncRepositoryRequest {
            git_repo_resource_path,
            repository: Box::new(repository),
        }
    }
}

