-
Notifications
You must be signed in to change notification settings - Fork 165
/
requestPrivacy.go
34 lines (29 loc) · 1.03 KB
/
requestPrivacy.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
package request
type OwnerSetting struct {
ContactEmail string `json:"contact_email"`
ContactPhone string `json:"contact_phone"`
ContactQq string `json:"contact_qq"`
ContactWeixin string `json:"contact_weixin"`
ExtFileMediaId string `json:"ext_file_media_id"`
NoticeMethod string `json:"notice_method"`
StoreExpireTimestamp string `json:"store_expire_timestamp"`
}
type SDK struct {
PrivacyKey string `json:"privacy_key"`
PrivacyText string `json:"privacy_text"`
}
type SDKPrivacyInfo struct {
SDKName string `json:"sdk_name"`
SDKBizName string `json:"sdk_biz_name"`
SDKList []*SDK `json:"sdk_list"`
}
type Setting struct {
PrivacyKey string `json:"privacy_key"`
PrivacyText string `json:"privacy_text"`
}
type RequestSet struct {
OwnerSetting *OwnerSetting `json:"owner_setting"`
SettingList []*Setting `json:"setting_list"`
SDKPrivacyInfoList []*SDKPrivacyInfo `json:"sdk_privacy_info_list"`
PrivacyVer int `json:"privacy_ver"`
}