use crate::Request;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct PddDdkStatisticsDataQuery {
#[serde(rename = "page")]
pub page: Option<i32>,
#[serde(rename = "page_size")]
pub page_size: Option<i32>,
#[serde(rename = "period_type")]
pub period_type: Option<i32>,
#[serde(rename = "statistics_type")]
pub statistics_type: Option<i32>,
#[serde(rename = "time")]
pub time: Option<String>,
}
impl Request for PddDdkStatisticsDataQuery {
fn get_type() -> String {
"pdd.ddk.statistics.data.query".to_string()
}
fn get_response_name() -> String {
"statistics_data_response".to_string()
}
}