/*
* authentik
*
* Making authentication simple.
*
* The version of the OpenAPI document: 2026.2.2-rc1
* Contact: hello@goauthentik.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// 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 }
}
}