trieve-client 0.11.7

Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
Documentation
/*
 * Trieve API
 *
 * Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
 *
 * The version of the OpenAPI document: 0.11.7
 * Contact: developers@trieve.ai
 * Generated by: https://openapi-generator.tech
 */

use crate::models;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UsageGraphPoint {
    #[serde(rename = "requests")]
    pub requests: i64,
    #[serde(rename = "time_stamp")]
    pub time_stamp: String,
}

impl UsageGraphPoint {
    pub fn new(requests: i64, time_stamp: String) -> UsageGraphPoint {
        UsageGraphPoint {
            requests,
            time_stamp,
        }
    }
}