// authentik
//
// Making authentication simple.
//
// The version of the OpenAPI document: 2026.5.0-rc1
// Contact: hello@goauthentik.io
// Generated by: https://openapi-generator.tech

use serde::{Deserialize, Serialize};

use crate::models;

/// PromptChoice : Serializer for a single Choice field
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PromptChoice {
    #[serde(rename = "value")]
    pub value: String,
    #[serde(rename = "label")]
    pub label: String,
}

impl PromptChoice {
    /// Serializer for a single Choice field
    pub fn new(value: String, label: String) -> PromptChoice {
        PromptChoice { value, label }
    }
}
