/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * 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 ListHubApps200ResponseAppsInner {
    #[serde(rename = "id")]
    pub id: f64,
    #[serde(rename = "app_id")]
    pub app_id: f64,
    #[serde(rename = "summary")]
    pub summary: String,
    #[serde(rename = "apps")]
    pub apps: Vec<String>,
    #[serde(rename = "approved")]
    pub approved: bool,
    #[serde(rename = "votes")]
    pub votes: f64,
}

impl ListHubApps200ResponseAppsInner {
    pub fn new(id: f64, app_id: f64, summary: String, apps: Vec<String>, approved: bool, votes: f64) -> ListHubApps200ResponseAppsInner {
        ListHubApps200ResponseAppsInner {
            id,
            app_id,
            summary,
            apps,
            approved,
            votes,
        }
    }
}

