workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
// Code 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 UpdateWebhookEndpoint {
    /// The HTTPS URL where webhooks will be sent.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub endpoint_url: Option<String>,
    /// Whether the Webhook Endpoint is enabled or disabled.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub status: Option<UpdateWebhookEndpointStatus>,
    /// The events that the Webhook Endpoint is subscribed to.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub events: Option<Vec<UpdateWebhookEndpointEvents>>,
}