mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
36 lines
866 B
Rust
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,
|
|
}
|
|
}
|
|
}
|
|
|