/// DeleteRequest
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct DeleteRequest {
    pub id: String,
}
/// ListRequest
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct ListRequest {
    /// filter roles by object id
    #[serde(skip_serializing_if = "Option::is_none")]
    pub object_id: Option<String>,
    /// The object types that roles can be assigned to.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub object_type: Option<crate::models::ObjectTypeEnum>,
    /// filter roles by user id
    #[serde(skip_serializing_if = "Option::is_none")]
    pub user_id: Option<String>,
}
/// CreateRequest
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct CreateRequest {
    /// The unique identifier of the Sideko object
    pub object_id: String,
    /// The object types that roles can be assigned to.
    pub object_type: crate::models::ObjectTypeEnum,
    pub role_definition_id: crate::models::RoleDefinitionIdEnum,
    /// unique identifier for the user that the role will be granted to
    pub user_id: String,
}
