-
Notifications
You must be signed in to change notification settings - Fork 0
/
http_body.go
66 lines (50 loc) · 1.66 KB
/
http_body.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package v2
type HttpRsp_ManagedChannel struct {
ManagedChannel_tangled `json:",inline"`
// NotifierEdge_property `json:"notifier_type,omitempty"`
// Notifier struct {
// *NotifierConsole_property `json:"console,omitempty"`
// *NotifierRabbitMq_property `json:"rabbitmq,omitempty"`
// *NotifierWebhook_property `json:"webhook,omitempty"`
// } `json:"notifier,omitempty"`
// Notifier struct {
// NotifierEdge_option `json:",inline"`
// } `json:"notifier,omitempty"`
}
type HttpReq_ManagedChannel_create struct {
ManagedChannel_property `json:",inline"`
Uuid string `json:"uuid,omitempty"` // optional
}
type HttpReq_ManagedChannel_update struct {
ManagedChannel_property `json:",inline"`
}
type HttpRsp_ManagedChannel_NotifierEdge struct {
NotifierEdge_option `json:",inline"`
}
type HttpReq_ManagedChannel_NotifierConsole_update struct {
NotifierConsole_essential `json:",inline"`
}
type HttpReq_ManagedChannel_NotifierRabbitMq_update struct {
NotifierRabbitMq_essential `json:",inline"`
}
type HttpReq_ManagedChannel_NotifierWebhook_update struct {
NotifierWebhook_essential `json:",inline"`
}
type HttpReq_ManagedChannel_NotifierSlackhook_update struct {
NotifierSlackhook_essential `json:",inline"`
}
type HttpReq_ManagedChannel_Format_update struct {
Format_essential `json:",inline"`
}
type HttpRsq_ManagedChannel_Format struct {
Format `json:",inline"`
}
type HttpReq_ManagedChannel_ChannelStatusOption_update struct {
ChannelStatusOption_essential `json:",inline"`
}
type HttpRsp_ManagedChannel_ChannelStatusOption struct {
ChannelStatusOption `json:",inline"`
}
type HttpRsp_ManagedChannel_ChannelStatus struct {
ChannelStatus `json:",inline"`
}