blob: cf70abc6a335a47817c38c83387649f8093e8b03 (
plain)
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
|
package v1
import "github.com/icinga/icingadb/pkg/contracts"
type ActionUrl struct {
EntityWithoutChecksum `json:",inline"`
EnvironmentMeta `json:",inline"`
ActionUrl string `json:"action_url"`
}
type NotesUrl struct {
EntityWithoutChecksum `json:",inline"`
EnvironmentMeta `json:",inline"`
NotesUrl string `json:"notes_url"`
}
type IconImage struct {
EntityWithoutChecksum `json:",inline"`
EnvironmentMeta `json:",inline"`
IconImage string `json:"icon_image"`
}
func NewActionUrl() contracts.Entity {
return &ActionUrl{}
}
func NewNotesUrl() contracts.Entity {
return &NotesUrl{}
}
func NewIconImage() contracts.Entity {
return &IconImage{}
}
|