PKGBUILD/pkg/types/device.go

13 lines
355 B
Go
Raw Normal View History

2019-02-28 18:48:25 +00:00
package types
import "time"
// Device ...
type Device struct {
ID string `json:"id" xml:"id"`
Name string `json:"name" xml:"name"`
Location *string `json:"location" xml:"location"`
LastContact *time.Time `json:"last_contact" xml:"last_contact"`
CreationDate time.Time `json:"creation_date" xml:"creation_date"`
2019-02-28 18:48:25 +00:00
}