/*
 * VRChat API Documentation
 *
 *
 * Contact: me@ruby.js.org
 * Generated by: https://openapi-generator.tech
 */

/// PublicAnnouncement : Public Announcement



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct PublicAnnouncement {
    /// Announcement name
    #[serde(rename = "name")]
    pub name: String,
    /// Announcement text
    #[serde(rename = "text")]
    pub text: String,
}

impl PublicAnnouncement {
    /// Public Announcement
    pub fn new(name: String, text: String) -> PublicAnnouncement {
        PublicAnnouncement {
            name,
            text,
        }
    }
}


