53 lines
1.6 KiB
Go
53 lines
1.6 KiB
Go
|
|
package domain
|
|||
|
|
|
|||
|
|
type AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest struct {
|
|||
|
|
/*
|
|||
|
|
业务场景 */
|
|||
|
|
Scene *string `json:"scene,omitempty" `
|
|||
|
|
|
|||
|
|
/*
|
|||
|
|
商品ID或会场ID */
|
|||
|
|
ObjectId *string `json:"object_id,omitempty" `
|
|||
|
|
|
|||
|
|
/*
|
|||
|
|
16-商品,17-活动 */
|
|||
|
|
ObjectType *int64 `json:"object_type,omitempty" `
|
|||
|
|
|
|||
|
|
/*
|
|||
|
|
pid */
|
|||
|
|
Pid *string `json:"pid,omitempty" `
|
|||
|
|
|
|||
|
|
/*
|
|||
|
|
淘宝联盟推广地址(淘宝联盟的单品二合一领券链接),需要使用短链 */
|
|||
|
|
TkPromotionUrl *string `json:"tk_promotion_url,omitempty" `
|
|||
|
|
|
|||
|
|
/*
|
|||
|
|
sid */
|
|||
|
|
Sid *string `json:"sid,omitempty" `
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (s *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest) SetScene(v string) *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest {
|
|||
|
|
s.Scene = &v
|
|||
|
|
return s
|
|||
|
|
}
|
|||
|
|
func (s *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest) SetObjectId(v string) *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest {
|
|||
|
|
s.ObjectId = &v
|
|||
|
|
return s
|
|||
|
|
}
|
|||
|
|
func (s *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest) SetObjectType(v int64) *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest {
|
|||
|
|
s.ObjectType = &v
|
|||
|
|
return s
|
|||
|
|
}
|
|||
|
|
func (s *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest) SetPid(v string) *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest {
|
|||
|
|
s.Pid = &v
|
|||
|
|
return s
|
|||
|
|
}
|
|||
|
|
func (s *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest) SetTkPromotionUrl(v string) *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest {
|
|||
|
|
s.TkPromotionUrl = &v
|
|||
|
|
return s
|
|||
|
|
}
|
|||
|
|
func (s *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest) SetSid(v string) *AlibabaAlscUnionSupplyOuterItemShareOuterItemShareRequest {
|
|||
|
|
s.Sid = &v
|
|||
|
|
return s
|
|||
|
|
}
|