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};

/// AccessLogEntryOpenInfo : information available if the operation is of type \"open\". 
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AccessLogEntryOpenInfo {
    /// A human readable name for a read context
    #[serde(rename = "readContext")]
    pub read_context: String,
}

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