/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.2
 * 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 QueryHubScripts200ResponseInner {
    #[serde(rename = "ask_id")]
    pub ask_id: f64,
    #[serde(rename = "id")]
    pub id: f64,
    #[serde(rename = "version_id")]
    pub version_id: f64,
    #[serde(rename = "summary")]
    pub summary: String,
    #[serde(rename = "app")]
    pub app: String,
    #[serde(rename = "kind")]
    pub kind: models::HubScriptKind,
    #[serde(rename = "score")]
    pub score: f64,
}

impl QueryHubScripts200ResponseInner {
    pub fn new(ask_id: f64, id: f64, version_id: f64, summary: String, app: String, kind: models::HubScriptKind, score: f64) -> QueryHubScripts200ResponseInner {
        QueryHubScripts200ResponseInner {
            ask_id,
            id,
            version_id,
            summary,
            app,
            kind,
            score,
        }
    }
}

