use crate::Request;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct PddTicketScenicGet {
#[serde(rename = "city_code")]
pub city_code: Option<i64>,
#[serde(rename = "location_type")]
pub location_type: Option<i32>,
#[serde(rename = "scenic_id")]
pub scenic_id: Option<i64>,
#[serde(rename = "scenic_name")]
pub scenic_name: Option<String>,
}
impl Request for PddTicketScenicGet {
fn get_type() -> String {
"pdd.ticket.scenic.get".to_string()
}
fn get_response_name() -> String {
"response".to_string()
}
}