29 lines
855 B
Go
29 lines
855 B
Go
package request
|
|
|
|
import (
|
|
"git.sunqdl.cn/fgqj/topsdk/defaultability/domain"
|
|
"git.sunqdl.cn/fgqj/topsdk/util"
|
|
)
|
|
|
|
type TaobaoUnideskRtaReportDailyGetRequest struct {
|
|
ReportTopQueryDTO *domain.ReportTopQueryDTO `json:"report_top_query_dto" required:"true" `
|
|
}
|
|
|
|
func (s *TaobaoUnideskRtaReportDailyGetRequest) SetAdvertiserTopQueryDTO(v domain.ReportTopQueryDTO) *TaobaoUnideskRtaReportDailyGetRequest {
|
|
s.ReportTopQueryDTO = &v
|
|
return s
|
|
}
|
|
|
|
func (req *TaobaoUnideskRtaReportDailyGetRequest) ToMap() map[string]interface{} {
|
|
paramMap := make(map[string]interface{})
|
|
if req.ReportTopQueryDTO != nil {
|
|
paramMap["report_top_query_dto"] = util.ConvertStructList(*req.ReportTopQueryDTO)
|
|
}
|
|
return paramMap
|
|
}
|
|
|
|
func (req *TaobaoUnideskRtaReportDailyGetRequest) ToFileMap() map[string]interface{} {
|
|
fileMap := make(map[string]interface{})
|
|
return fileMap
|
|
}
|