2019-02-28 18:48:25 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
2020-05-03 12:04:08 +00:00
|
|
|
// Device represent a device with all his settings.
|
2019-02-28 18:48:25 +00:00
|
|
|
type Device struct {
|
2020-05-31 22:52:54 +00:00
|
|
|
ID string `json:"id" xml:"id"`
|
|
|
|
Name string `json:"name" xml:"name"`
|
|
|
|
Location *string `json:"location" xml:"location"`
|
|
|
|
CreationDate time.Time `json:"creation_date" xml:"creation_date"`
|
2019-02-28 18:48:25 +00:00
|
|
|
}
|