use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetAdsTimeline202Response {
#[serde(rename = "backfillPending")]
pub backfill_pending: BackfillPending,
#[serde(rename = "rows", skip_serializing_if = "Option::is_none")]
pub rows: Option<Vec<models::AdsTimelineResponseRowsInner>>,
}
impl GetAdsTimeline202Response {
pub fn new(backfill_pending: BackfillPending) -> GetAdsTimeline202Response {
GetAdsTimeline202Response {
backfill_pending,
rows: None,
}
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum BackfillPending {
#[serde(rename = "true")]
True,
}
impl Default for BackfillPending {
fn default() -> BackfillPending {
Self::True
}
}