/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.8
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetJobMetricsRequest {
    #[serde(rename = "timeseries_max_datapoints", skip_serializing_if = "Option::is_none")]
    pub timeseries_max_datapoints: Option<i32>,
    #[serde(rename = "from_timestamp", skip_serializing_if = "Option::is_none")]
    pub from_timestamp: Option<String>,
    #[serde(rename = "to_timestamp", skip_serializing_if = "Option::is_none")]
    pub to_timestamp: Option<String>,
}

impl GetJobMetricsRequest {
    pub fn new() -> GetJobMetricsRequest {
        GetJobMetricsRequest {
            timeseries_max_datapoints: None,
            from_timestamp: None,
            to_timestamp: None,
        }
    }
}

