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




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct PlayerModeration {
    #[serde(rename = "created")]
    pub created: String,
    #[serde(rename = "id")]
    pub id: String,
    #[serde(rename = "sourceDisplayName")]
    pub source_display_name: String,
    #[serde(rename = "sourceUserId")]
    pub source_user_id: String,
    #[serde(rename = "targetDisplayName")]
    pub target_display_name: String,
    #[serde(rename = "targetUserId")]
    pub target_user_id: String,
    #[serde(rename = "type")]
    pub _type: crate::models::PlayerModerationType,
}

impl PlayerModeration {
    pub fn new(created: String, id: String, source_display_name: String, source_user_id: String, target_display_name: String, target_user_id: String, _type: crate::models::PlayerModerationType) -> PlayerModeration {
        PlayerModeration {
            created,
            id,
            source_display_name,
            source_user_id,
            target_display_name,
            target_user_id,
            _type,
        }
    }
}


