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,
#[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,
}
}
}