-
Notifications
You must be signed in to change notification settings - Fork 9
/
AlibabaWdkMerchantBrandQueryResult.go
37 lines (32 loc) · 1.14 KB
/
AlibabaWdkMerchantBrandQueryResult.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 wdk
import (
"sync"
)
// AlibabaWdkMerchantBrandQueryResult 结构体
type AlibabaWdkMerchantBrandQueryResult struct {
// errorCode
ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
// errorDesc
ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
// result
Results string `json:"results,omitempty" xml:"results,omitempty"`
// success
Success bool `json:"success,omitempty" xml:"success,omitempty"`
}
var poolAlibabaWdkMerchantBrandQueryResult = sync.Pool{
New: func() any {
return new(AlibabaWdkMerchantBrandQueryResult)
},
}
// GetAlibabaWdkMerchantBrandQueryResult() 从对象池中获取AlibabaWdkMerchantBrandQueryResult
func GetAlibabaWdkMerchantBrandQueryResult() *AlibabaWdkMerchantBrandQueryResult {
return poolAlibabaWdkMerchantBrandQueryResult.Get().(*AlibabaWdkMerchantBrandQueryResult)
}
// ReleaseAlibabaWdkMerchantBrandQueryResult 释放AlibabaWdkMerchantBrandQueryResult
func ReleaseAlibabaWdkMerchantBrandQueryResult(v *AlibabaWdkMerchantBrandQueryResult) {
v.ErrorCode = ""
v.ErrorDesc = ""
v.Results = ""
v.Success = false
poolAlibabaWdkMerchantBrandQueryResult.Put(v)
}