-
Notifications
You must be signed in to change notification settings - Fork 9
/
AlibabaSscSupplyplatformServiceworkerCancelleaveResult.go
37 lines (32 loc) · 1.5 KB
/
AlibabaSscSupplyplatformServiceworkerCancelleaveResult.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"
)
// AlibabaSscSupplyplatformServiceworkerCancelleaveResult 结构体
type AlibabaSscSupplyplatformServiceworkerCancelleaveResult struct {
// 错误码
DisplayCode string `json:"display_code,omitempty" xml:"display_code,omitempty"`
// 对外展示的错误信息
DisplayMsg string `json:"display_msg,omitempty" xml:"display_msg,omitempty"`
// 是否成功
IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"`
// 错误信息
ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}
var poolAlibabaSscSupplyplatformServiceworkerCancelleaveResult = sync.Pool{
New: func() any {
return new(AlibabaSscSupplyplatformServiceworkerCancelleaveResult)
},
}
// GetAlibabaSscSupplyplatformServiceworkerCancelleaveResult() 从对象池中获取AlibabaSscSupplyplatformServiceworkerCancelleaveResult
func GetAlibabaSscSupplyplatformServiceworkerCancelleaveResult() *AlibabaSscSupplyplatformServiceworkerCancelleaveResult {
return poolAlibabaSscSupplyplatformServiceworkerCancelleaveResult.Get().(*AlibabaSscSupplyplatformServiceworkerCancelleaveResult)
}
// ReleaseAlibabaSscSupplyplatformServiceworkerCancelleaveResult 释放AlibabaSscSupplyplatformServiceworkerCancelleaveResult
func ReleaseAlibabaSscSupplyplatformServiceworkerCancelleaveResult(v *AlibabaSscSupplyplatformServiceworkerCancelleaveResult) {
v.DisplayCode = ""
v.DisplayMsg = ""
v.IsSuccess = ""
v.ErrorMsg = ""
poolAlibabaSscSupplyplatformServiceworkerCancelleaveResult.Put(v)
}