pub type ActionType = String;
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct EventData {
pub action: ActionType,
#[serde(skip_serializing_if = "core::option::Option::is_none")]
pub comment: core::option::Option<String>,
pub created_at: crate::types::string::Datetime,
pub created_by: crate::types::string::Did,
pub event_type: EventType,
pub id: i64,
pub pattern: PatternType,
pub reason: ReasonType,
pub url: String,
}
pub type Event = crate::types::Object<EventData>;
pub type EventType = String;
pub type PatternType = String;
pub type ReasonType = String;
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct UrlRuleData {
pub action: ActionType,
#[serde(skip_serializing_if = "core::option::Option::is_none")]
pub comment: core::option::Option<String>,
pub created_at: crate::types::string::Datetime,
pub created_by: crate::types::string::Did,
pub pattern: PatternType,
pub reason: ReasonType,
pub updated_at: crate::types::string::Datetime,
pub url: String,
}
pub type UrlRule = crate::types::Object<UrlRuleData>;