/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.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 GithubRepoEntry {
    #[serde(rename = "full_name")]
    pub full_name: String,
    #[serde(rename = "name")]
    pub name: String,
    #[serde(rename = "owner")]
    pub owner: String,
    #[serde(rename = "private")]
    pub private: bool,
}

impl GithubRepoEntry {
    pub fn new(full_name: String, name: String, owner: String, private: bool) -> GithubRepoEntry {
        GithubRepoEntry {
            full_name,
            name,
            owner,
            private,
        }
    }
}

