fusionauth_rust_client/models/
webhook_attempt_log.rsuse crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WebhookAttemptLog {
#[serde(rename = "data", skip_serializing_if = "Option::is_none")]
pub data: Option<std::collections::HashMap<String, serde_json::Value>>,
#[serde(rename = "endInstant", skip_serializing_if = "Option::is_none")]
pub end_instant: Option<i64>,
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<uuid::Uuid>,
#[serde(rename = "startInstant", skip_serializing_if = "Option::is_none")]
pub start_instant: Option<i64>,
#[serde(rename = "webhookCallResponse", skip_serializing_if = "Option::is_none")]
pub webhook_call_response: Option<Box<models::WebhookCallResponse>>,
#[serde(rename = "webhookEventLogId", skip_serializing_if = "Option::is_none")]
pub webhook_event_log_id: Option<uuid::Uuid>,
#[serde(rename = "webhookId", skip_serializing_if = "Option::is_none")]
pub webhook_id: Option<uuid::Uuid>,
#[serde(rename = "attemptResult", skip_serializing_if = "Option::is_none")]
pub attempt_result: Option<models::WebhookAttemptResult>,
}
impl WebhookAttemptLog {
pub fn new() -> WebhookAttemptLog {
WebhookAttemptLog {
data: None,
end_instant: None,
id: None,
start_instant: None,
webhook_call_response: None,
webhook_event_log_id: None,
webhook_id: None,
attempt_result: None,
}
}
}