vrchatapi 1.20.7

VRChat API Client for Rust
Documentation
/*
 * VRChat API Documentation
 *
 *
 * Contact: vrchatapi.lpv0t@aries.fyi
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NotificationV2DataEventAnnouncement {
    #[serde(rename = "ownerId")]
    pub owner_id: String,
    #[serde(rename = "ownerName")]
    pub owner_name: String,
    #[serde(rename = "title")]
    pub title: String,
}

impl NotificationV2DataEventAnnouncement {
    pub fn new(
        owner_id: String,
        owner_name: String,
        title: String,
    ) -> NotificationV2DataEventAnnouncement {
        NotificationV2DataEventAnnouncement {
            owner_id,
            owner_name,
            title,
        }
    }
}