1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Antimatter Public API
 *
 * Interact with the Antimatter Cloud API
 *
 * The version of the OpenAPI document: 2.0.1
 * Contact: support@antimatter.io
 * Generated by: https://openapi-generator.tech
 */

use crate::models;

/// AccessLogEntryCreateInfo : information available if the operation is of type \"create\". 
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AccessLogEntryCreateInfo {
    /// An identifier for a write context that might be imported from a peer domain. If it is, it will bear an imported resource prefix (either a domain identifier or an alias, followed by ::) 
    #[serde(rename = "writeContext")]
    pub write_context: String,
}

impl AccessLogEntryCreateInfo {
    /// information available if the operation is of type \"create\". 
    pub fn new(write_context: String) -> AccessLogEntryCreateInfo {
        AccessLogEntryCreateInfo {
            write_context,
        }
    }
}