-
Notifications
You must be signed in to change notification settings - Fork 1
/
site.go
25 lines (23 loc) · 944 Bytes
/
site.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
package domain
type Sites struct {
Count int32 `json:"count"`
Sites []*Site `json:"sites"`
}
type Site struct {
Name string `json:"name,omitempty"`
Ref string `json:"ref,omitempty"`
Id int32 `json:"id,omitempty"`
Equips *[]Equip `json:"equips,omitempty"`
Profile *Profile `json:"profile,omitempty"`
Latitude float64 `json:"latitude,omitempty"`
Longitude float64 `json:"longitude,omitempty"`
Enabled bool `json:"enabled,omitempty"`
Description string `json:"description,omitempty"`
GeoCity string `json:"geoCity,omitempty"`
GeoStateCode string `json:"geoStateCode,omitempty"`
GeoAddress1 string `json:"geoAddress1,omitempty"`
GeoAddress2 string `json:"geoAddress2,omitempty"`
GeoPostalCode string `json:"geoPostalCode,omitempty"`
Audit *Audit `json:"audit,omitempty"`
Conn *Conn `json:"conn,omitempty"`
}