vrchatapi 1.20.8-nightly.15

VRChat API Client for Rust
Documentation
use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RespondNotificationV2Request {
    #[serde(rename = "responseData", skip_serializing_if = "Option::is_none")]
    pub response_data: Option<String>,
    #[serde(rename = "responseType")]
    pub response_type: String,
}

impl RespondNotificationV2Request {
    pub fn new(response_type: String) -> RespondNotificationV2Request {
        RespondNotificationV2Request {
            response_data: None,
            response_type,
        }
    }
}