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

56 lines
1.5 KiB
Go
Raw 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 AlibabaAlscUnionKbStoreItemQueryRequest struct {
/*
门店ID */
StoreId *string `json:"store_id" required:"true" `
/*
场景类型("kb_natural"; */
BizType *string `json:"biz_type" required:"true" `
/*
推广位 */
Pid *string `json:"pid" required:"true" `
/*
sid申请权限后可用 */
Sid *string `json:"sid,omitempty" required:"false" `
}
func (s *AlibabaAlscUnionKbStoreItemQueryRequest) SetStoreId(v string) *AlibabaAlscUnionKbStoreItemQueryRequest {
s.StoreId = &v
return s
}
func (s *AlibabaAlscUnionKbStoreItemQueryRequest) SetBizType(v string) *AlibabaAlscUnionKbStoreItemQueryRequest {
s.BizType = &v
return s
}
func (s *AlibabaAlscUnionKbStoreItemQueryRequest) SetPid(v string) *AlibabaAlscUnionKbStoreItemQueryRequest {
s.Pid = &v
return s
}
func (s *AlibabaAlscUnionKbStoreItemQueryRequest) SetSid(v string) *AlibabaAlscUnionKbStoreItemQueryRequest {
s.Sid = &v
return s
}
func (req *AlibabaAlscUnionKbStoreItemQueryRequest) ToMap() map[string]interface{} {
paramMap := make(map[string]interface{})
if req.StoreId != nil {
paramMap["store_id"] = *req.StoreId
}
if req.BizType != nil {
paramMap["biz_type"] = *req.BizType
}
if req.Pid != nil {
paramMap["pid"] = *req.Pid
}
if req.Sid != nil {
paramMap["sid"] = *req.Sid
}
return paramMap
}
func (req *AlibabaAlscUnionKbStoreItemQueryRequest) ToFileMap() map[string]interface{} {
fileMap := make(map[string]interface{})
return fileMap
}