Skip to main content

orvanta_api/models/
list_features_200_response.rs

1/*
2 * Orvanta API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.9.0
7 * Contact: contact@orvanta.cloud
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ListFeatures200Response {
16    #[serde(rename = "keys")]
17    pub keys: Vec<String>,
18    #[serde(rename = "beta")]
19    pub beta: bool,
20}
21
22impl ListFeatures200Response {
23    pub fn new(keys: Vec<String>, beta: bool) -> ListFeatures200Response {
24        ListFeatures200Response {
25            keys,
26            beta,
27        }
28    }
29}
30