-
Notifications
You must be signed in to change notification settings - Fork 9
/
ApplyTaxNoticeRequest.go
40 lines (35 loc) · 1.08 KB
/
ApplyTaxNoticeRequest.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
38
39
40
package alihealthoutflow
import (
"sync"
)
// ApplyTaxNoticeRequest 结构体
type ApplyTaxNoticeRequest struct {
// 审核事件类型
Action string `json:"action,omitempty" xml:"action,omitempty"`
// appKey
AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
// 来源
Source string `json:"source,omitempty" xml:"source,omitempty"`
// 申请单编号
ApplyBatchNum string `json:"apply_batch_num,omitempty" xml:"apply_batch_num,omitempty"`
// 扩展信息(JSON格式)
ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"`
}
var poolApplyTaxNoticeRequest = sync.Pool{
New: func() any {
return new(ApplyTaxNoticeRequest)
},
}
// GetApplyTaxNoticeRequest() 从对象池中获取ApplyTaxNoticeRequest
func GetApplyTaxNoticeRequest() *ApplyTaxNoticeRequest {
return poolApplyTaxNoticeRequest.Get().(*ApplyTaxNoticeRequest)
}
// ReleaseApplyTaxNoticeRequest 释放ApplyTaxNoticeRequest
func ReleaseApplyTaxNoticeRequest(v *ApplyTaxNoticeRequest) {
v.Action = ""
v.AppKey = ""
v.Source = ""
v.ApplyBatchNum = ""
v.ExtInfo = ""
poolApplyTaxNoticeRequest.Put(v)
}