linkbreakers 1.149.2

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.149.2
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// SocketAssistantResponseMessage : SocketAssistantResponseMessage is the assistant's reply to one message.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SocketAssistantResponseMessage {
    #[serde(rename = "appliedActions", skip_serializing_if = "Option::is_none")]
    pub applied_actions: Option<Vec<String>>,
    /// True when the assistant changed the resource, so the screen should re-read it.
    #[serde(rename = "contextUpdated", skip_serializing_if = "Option::is_none")]
    pub context_updated: Option<bool>,
    #[serde(rename = "requestId", skip_serializing_if = "Option::is_none")]
    pub request_id: Option<String>,
    #[serde(rename = "responseText", skip_serializing_if = "Option::is_none")]
    pub response_text: Option<String>,
    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
    pub r#type: Option<models::SocketMessageType>,
    #[serde(rename = "uiActions", skip_serializing_if = "Option::is_none")]
    pub ui_actions: Option<Vec<models::ChatUiAction>>,
}

impl SocketAssistantResponseMessage {
    /// SocketAssistantResponseMessage is the assistant's reply to one message.
    pub fn new() -> SocketAssistantResponseMessage {
        SocketAssistantResponseMessage {
            applied_actions: None,
            context_updated: None,
            request_id: None,
            response_text: None,
            r#type: None,
            ui_actions: None,
        }
    }
}