orvanta-api 2.0.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.0.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 ListFeatures200Response {
    #[serde(rename = "keys")]
    pub keys: Vec<String>,
    #[serde(rename = "beta")]
    pub beta: bool,
    /// one entry per capability this build actually carries (present in the binary and enabled for this deployment's flavour). Capabilities the binary does not implement are omitted entirely.
    #[serde(rename = "features")]
    pub features: Vec<models::ListFeatures200ResponseFeaturesInner>,
}

impl ListFeatures200Response {
    pub fn new(keys: Vec<String>, beta: bool, features: Vec<models::ListFeatures200ResponseFeaturesInner>) -> ListFeatures200Response {
        ListFeatures200Response {
            keys,
            beta,
            features,
        }
    }
}