use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RepinGitSyncRepositoryRequest {
#[serde(rename = "git_repo_resource_path")]
pub git_repo_resource_path: String,
#[serde(rename = "expected_remote")]
pub expected_remote: String,
#[serde(rename = "expected_branch")]
pub expected_branch: String,
}
impl RepinGitSyncRepositoryRequest {
pub fn new(git_repo_resource_path: String, expected_remote: String, expected_branch: String) -> RepinGitSyncRepositoryRequest {
RepinGitSyncRepositoryRequest {
git_repo_resource_path,
expected_remote,
expected_branch,
}
}
}