windmill-api 1.714.1

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DiscoverGhesInstallations200ResponseInner {
    #[serde(rename = "installation_id")]
    pub installation_id: i64,
    /// GitHub login of the installation's account (org or user)
    #[serde(rename = "account_id")]
    pub account_id: String,
    #[serde(rename = "assigned_workspaces")]
    pub assigned_workspaces: Vec<models::DiscoverGhesInstallations200ResponseInnerAssignedWorkspacesInner>,
}

impl DiscoverGhesInstallations200ResponseInner {
    pub fn new(installation_id: i64, account_id: String, assigned_workspaces: Vec<models::DiscoverGhesInstallations200ResponseInnerAssignedWorkspacesInner>) -> DiscoverGhesInstallations200ResponseInner {
        DiscoverGhesInstallations200ResponseInner {
            installation_id,
            account_id,
            assigned_workspaces,
        }
    }
}