use crate::Request;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct PddGoodsTemplatePropertyValueSearch {
#[serde(rename = "cat_id")]
pub cat_id: Option<i64>,
#[serde(rename = "page_num")]
pub page_num: Option<i32>,
#[serde(rename = "page_size")]
pub page_size: Option<i32>,
#[serde(rename = "parent_vid")]
pub parent_vid: Option<i64>,
#[serde(rename = "template_pid")]
pub template_pid: Option<i64>,
#[serde(rename = "value")]
pub value: Option<String>,
#[serde(rename = "ref_pid")]
pub ref_pid: Option<i64>,
}
impl Request for PddGoodsTemplatePropertyValueSearch {
fn get_type() -> String {
"pdd.goods.template.property.value.search".to_string()
}
fn get_response_name() -> String {
"goods_template_prop_val_search_response".to_string()
}
}