/*
* 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};
/// AccessLogResults : The results for a query of the capsule access log
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AccessLogResults {
#[serde(rename = "results")]
pub results: Vec<models::AccessLogEntry>,
/// if true, there are more results. Query again with start_from_id equal to the last result's ID to get more results.
#[serde(rename = "has_more")]
pub has_more: bool,
}
impl AccessLogResults {
/// The results for a query of the capsule access log
pub fn new(results: Vec<models::AccessLogEntry>, has_more: bool) -> AccessLogResults {
AccessLogResults {
results,
has_more,
}
}
}