use crate::Request;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct PddDdkGoodsPromotionRightAuth {
#[serde(rename = "demo_url")]
pub demo_url: Option<String>,
#[serde(rename = "duo_id")]
pub duo_id: Option<i64>,
#[serde(rename = "goods_id")]
pub goods_id: Option<i64>,
#[serde(rename = "mall_certificate_url")]
pub mall_certificate_url: Option<Vec<String>>,
#[serde(rename = "promotion_code_url")]
pub promotion_code_url: Option<String>,
#[serde(rename = "promotion_end_time")]
pub promotion_end_time: Option<i64>,
#[serde(rename = "promotion_start_time")]
pub promotion_start_time: Option<i64>,
#[serde(rename = "thumb_pic_url")]
pub thumb_pic_url: Option<Vec<String>>,
}
impl Request for PddDdkGoodsPromotionRightAuth {
fn get_type() -> String {
"pdd.ddk.goods.promotion.right.auth".to_string()
}
fn get_response_name() -> String {
"goods_promotion_right_auth_response".to_string()
}
}