1 Star 0 Fork 0

此间少年' / topsdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
TaobaoTopAuthTokenCreateRequest.go 909 Bytes
一键复制 编辑 原始数据 按行查看 历史
此间少年' 提交于 2023-10-20 10:35 . add taobao sdk
package request
type TaobaoTopAuthTokenCreateRequest struct {
/*
授权code,grantType==authorization_code 时需要 */
Code *string `json:"code" required:"true" `
/*
与生成code的uuid配对 */
Uuid *string `json:"uuid,omitempty" required:"false" `
}
func (s *TaobaoTopAuthTokenCreateRequest) SetCode(v string) *TaobaoTopAuthTokenCreateRequest {
s.Code = &v
return s
}
func (s *TaobaoTopAuthTokenCreateRequest) SetUuid(v string) *TaobaoTopAuthTokenCreateRequest {
s.Uuid = &v
return s
}
func (req *TaobaoTopAuthTokenCreateRequest) ToMap() map[string]interface{} {
paramMap := make(map[string]interface{})
if req.Code != nil {
paramMap["code"] = *req.Code
}
if req.Uuid != nil {
paramMap["uuid"] = *req.Uuid
}
return paramMap
}
func (req *TaobaoTopAuthTokenCreateRequest) ToFileMap() map[string]interface{} {
fileMap := make(map[string]interface{})
return fileMap
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/cjsn/topsdk.git
git@gitee.com:cjsn/topsdk.git
cjsn
topsdk
topsdk
v0.1.6

搜索帮助

344bd9b3 5694891 D2dac590 5694891