Files
vrchatapi-rust/src/models/license_group.rs
2024-08-11 18:22:20 +02:00

36 lines
866 B
Rust

/*
* VRChat API Documentation
*
*
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// LicenseGroup :
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct LicenseGroup {
#[serde(rename = "id")]
pub id: std::sync::Arc<str>,
#[serde(rename = "name")]
pub name: std::sync::Arc<str>,
#[serde(rename = "description")]
pub description: std::sync::Arc<str>,
#[serde(rename = "licenses")]
pub licenses: Vec<models::License>,
}
impl LicenseGroup {
pub fn new(id: std::sync::Arc<str>, name: std::sync::Arc<str>, description: std::sync::Arc<str>, licenses: Vec<models::License>) -> LicenseGroup {
LicenseGroup {
id,
name,
description,
licenses,
}
}
}