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

/// ReadContextList : A list of read contexts
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReadContextList {
    #[serde(rename = "readContexts")]
    pub read_contexts: Vec<models::ReadContextShortDetails>,
}

impl ReadContextList {
    /// A list of read contexts
    pub fn new(read_contexts: Vec<models::ReadContextShortDetails>) -> ReadContextList {
        ReadContextList {
            read_contexts,
        }
    }
}