fireblocks_sdk/models/
audit_log_data.rs

1// Fireblocks API
2//
3// Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain.  - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
4//
5// The version of the OpenAPI document: 1.8.0
6// Contact: developers@fireblocks.com
7// Generated by: https://openapi-generator.tech
8
9use {
10    crate::models,
11    serde::{Deserialize, Serialize},
12};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct AuditLogData {
16    /// The unique identifier of the audit log
17    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
18    pub id: Option<String>,
19    /// The timestamp of the audit log
20    #[serde(rename = "timestamp", skip_serializing_if = "Option::is_none")]
21    pub timestamp: Option<f64>,
22    /// The timestamp of the audit log creation
23    #[serde(rename = "createdAt", skip_serializing_if = "Option::is_none")]
24    pub created_at: Option<f64>,
25    /// The user who performed the action
26    #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
27    pub user: Option<String>,
28    /// The subject of the action
29    #[serde(rename = "subject", skip_serializing_if = "Option::is_none")]
30    pub subject: Option<String>,
31    /// The event that was performed
32    #[serde(rename = "event", skip_serializing_if = "Option::is_none")]
33    pub event: Option<String>,
34    /// The tenant ID of the audit log
35    #[serde(rename = "tenantId", skip_serializing_if = "Option::is_none")]
36    pub tenant_id: Option<String>,
37    /// The user ID of the audit log
38    #[serde(rename = "userId", skip_serializing_if = "Option::is_none")]
39    pub user_id: Option<String>,
40}
41
42impl AuditLogData {
43    pub fn new() -> AuditLogData {
44        AuditLogData {
45            id: None,
46            timestamp: None,
47            created_at: None,
48            user: None,
49            subject: None,
50            event: None,
51            tenant_id: None,
52            user_id: None,
53        }
54    }
55}