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 GetGitSyncPinStatus200Response {
    #[serde(rename = "current", skip_serializing_if = "Option::is_none")]
    pub current: Option<Box<models::GitSyncRepoPin>>,
    #[serde(rename = "current_error", skip_serializing_if = "Option::is_none")]
    pub current_error: Option<String>,
    #[serde(rename = "pinned", skip_serializing_if = "Option::is_none")]
    pub pinned: Option<Box<models::GitSyncRepoPin>>,
}

impl GetGitSyncPinStatus200Response {
    pub fn new() -> GetGitSyncPinStatus200Response {
        GetGitSyncPinStatus200Response {
            current: None,
            current_error: None,
            pinned: None,
        }
    }
}