antimatter_api 2.0.13

Interact with the Antimatter Cloud API
Documentation
/*
 * Antimatter Public API
 *
 * Interact with the Antimatter Cloud API
 *
 * The version of the OpenAPI document: 2.0.13
 * Contact: support@antimatter.io
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// 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,
        }
    }
}