/*
* Revolt API
*
* Open source user-first chat platform.
*
* The version of the OpenAPI document: 0.6.5
* Contact: contact@revolt.chat
* Generated by: https://openapi-generator.tech
*/
/// IndexAccess : Index access information
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct IndexAccess {
/// Operations since timestamp
#[serde(rename = "ops")]
pub ops: i32,
/// ISO8601 formatted timestamp
#[serde(rename = "since")]
pub since: String,
}
impl IndexAccess {
/// Index access information
pub fn new(ops: i32, since: String) -> IndexAccess {
IndexAccess {
ops,
since,
}
}
}