workos 2.2.0

Official Rust SDK for the WorkOS API
Documentation
// This file is auto-generated by oagen. Do not edit.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DeleteGroupRoleAssignmentsByCriteria {
    /// The slug of the role to remove assignments for.
    pub role_slug: String,
    /// The ID of the resource. Mutually exclusive with `resource_external_id` and `resource_type_slug`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resource_id: Option<String>,
    /// The external ID of the resource.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resource_external_id: Option<String>,
    /// The resource type slug.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resource_type_slug: Option<String>,
}