-
Notifications
You must be signed in to change notification settings - Fork 9
/
TmallServicecenterWorkcardQuerybysellerResult.go
37 lines (32 loc) · 1.33 KB
/
TmallServicecenterWorkcardQuerybysellerResult.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package tmallservice
import (
"sync"
)
// TmallServicecenterWorkcardQuerybysellerResult 结构体
type TmallServicecenterWorkcardQuerybysellerResult struct {
// 错误码
MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
// 错误信息
MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
// 分页数据
ResultData *PagedResult `json:"result_data,omitempty" xml:"result_data,omitempty"`
// 是否成功
Success bool `json:"success,omitempty" xml:"success,omitempty"`
}
var poolTmallServicecenterWorkcardQuerybysellerResult = sync.Pool{
New: func() any {
return new(TmallServicecenterWorkcardQuerybysellerResult)
},
}
// GetTmallServicecenterWorkcardQuerybysellerResult() 从对象池中获取TmallServicecenterWorkcardQuerybysellerResult
func GetTmallServicecenterWorkcardQuerybysellerResult() *TmallServicecenterWorkcardQuerybysellerResult {
return poolTmallServicecenterWorkcardQuerybysellerResult.Get().(*TmallServicecenterWorkcardQuerybysellerResult)
}
// ReleaseTmallServicecenterWorkcardQuerybysellerResult 释放TmallServicecenterWorkcardQuerybysellerResult
func ReleaseTmallServicecenterWorkcardQuerybysellerResult(v *TmallServicecenterWorkcardQuerybysellerResult) {
v.MsgCode = ""
v.MsgInfo = ""
v.ResultData = nil
v.Success = false
poolTmallServicecenterWorkcardQuerybysellerResult.Put(v)
}