Set OpenAPI version back to 6.2.1 and fix GitLab CI

This commit is contained in:
Foorack / Max Faxälv
2022-12-05 00:43:30 +01:00
parent 934f89850d
commit a4cf1025e0
98 changed files with 4975 additions and 169 deletions

View File

@ -0,0 +1,38 @@
/*
* VRChat API Documentation
*
*
* Contact: me@ariesclark.com
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct CreateGroupAnnouncementRequest {
/// Announcement title
#[serde(rename = "title")]
pub title: String,
/// Announcement text
#[serde(rename = "text", skip_serializing_if = "Option::is_none")]
pub text: Option<String>,
#[serde(rename = "imageId", skip_serializing_if = "Option::is_none")]
pub image_id: Option<String>,
/// Send notification to group members.
#[serde(rename = "sendNotification", skip_serializing_if = "Option::is_none")]
pub send_notification: Option<bool>,
}
impl CreateGroupAnnouncementRequest {
pub fn new(title: String) -> CreateGroupAnnouncementRequest {
CreateGroupAnnouncementRequest {
title,
text: None,
image_id: None,
send_notification: None,
}
}
}