third-platform-sdk/sdk/topsdk/defaultability/request/AlibabaAlscUnionMediaZoneGetRequest.go
2024-05-04 16:57:40 +08:00

36 lines
927 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package request
type AlibabaAlscUnionMediaZoneGetRequest struct {
/*
页码从1开始 defalutValue<75><65>1 */
Page *int64 `json:"page" required:"true" `
/*
每页展示条数 defalutValue<75><65>10 */
Limit *int64 `json:"limit" required:"true" `
}
func (s *AlibabaAlscUnionMediaZoneGetRequest) SetPage(v int64) *AlibabaAlscUnionMediaZoneGetRequest {
s.Page = &v
return s
}
func (s *AlibabaAlscUnionMediaZoneGetRequest) SetLimit(v int64) *AlibabaAlscUnionMediaZoneGetRequest {
s.Limit = &v
return s
}
func (req *AlibabaAlscUnionMediaZoneGetRequest) ToMap() map[string]interface{} {
paramMap := make(map[string]interface{})
if req.Page != nil {
paramMap["page"] = *req.Page
}
if req.Limit != nil {
paramMap["limit"] = *req.Limit
}
return paramMap
}
func (req *AlibabaAlscUnionMediaZoneGetRequest) ToFileMap() map[string]interface{} {
fileMap := make(map[string]interface{})
return fileMap
}