/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SpendPoint {
/// Cents is the consumption recorded in that bucket, in US cents.
#[serde(rename = "cents", skip_serializing_if = "Option::is_none")]
pub cents: Option<i32>,
/// T is the bucket's start instant, RFC3339 UTC. Buckets are gap-filled, so a window with no spend still has its points.
#[serde(rename = "t", skip_serializing_if = "Option::is_none")]
pub t: Option<String>,
}
impl SpendPoint {
pub fn new() -> SpendPoint {
SpendPoint {
cents: None,
t: None,
}
}
}