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 UpdateGroupRepresentationRequest {
    /// Whether the user is representing the group.
    #[serde(rename = "isRepresenting")]
    pub is_representing: bool,
}

impl UpdateGroupRepresentationRequest {
    pub fn new(is_representing: bool) -> UpdateGroupRepresentationRequest {
        UpdateGroupRepresentationRequest { is_representing }
    }
}