/*
* VRChat API Documentation
*
*
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// BoopRequest : See NotificationDetailBoop; either inventoryItemId (accessed through .id) by itself, or emojiId (accessed through .metadata.fileId or built-in emoji name) with optional emojiVersion
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BoopRequest {
/// Either a FileID or a string constant for default emojis
#[serde(rename = "emojiId", skip_serializing_if = "Option::is_none")]
pub emoji_id: Option<String>,
#[serde(rename = "emojiVersion", skip_serializing_if = "Option::is_none")]
pub emoji_version: Option<i32>,
#[serde(rename = "inventoryItemId", skip_serializing_if = "Option::is_none")]
pub inventory_item_id: Option<String>,
}
impl BoopRequest {
/// See NotificationDetailBoop; either inventoryItemId (accessed through .id) by itself, or emojiId (accessed through .metadata.fileId or built-in emoji name) with optional emojiVersion
pub fn new() -> BoopRequest {
BoopRequest {
emoji_id: None,
emoji_version: None,
inventory_item_id: None,
}
}
}