/*
 * doqium - service-data REST API
 *
 * doqium - service-data REST API
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::doqium_data_client::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetSettings200ResponseInner {
    #[serde(rename = "name")]
    pub name: String,
    #[serde(rename = "value", deserialize_with = "Option::deserialize")]
    pub value: Option<String>,
}

impl GetSettings200ResponseInner {
    pub fn new(name: String, value: Option<String>) -> GetSettings200ResponseInner {
        GetSettings200ResponseInner { name, value }
    }
}
