Versions in this module Expand all Collapse all v0 v0.0.1 May 29, 2021 Changes in this version + type Attribute struct + Attribute string + Description string + Expression string + ID int64 + Type string + func (m *Attribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Attribute) MarshalBinary() ([]byte, error) + func (m *Attribute) UnmarshalBinary(b []byte) error + func (m *Attribute) Validate(formats strfmt.Registry) error + type Calendar struct + Attributes interface{} + Data string + ID int64 + Name string + func (m *Calendar) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Calendar) MarshalBinary() ([]byte, error) + func (m *Calendar) UnmarshalBinary(b []byte) error + func (m *Calendar) Validate(formats strfmt.Registry) error + type Command struct + Attributes interface{} + Description string + DeviceID int64 + ID int64 + Type string + func (m *Command) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Command) MarshalBinary() ([]byte, error) + func (m *Command) UnmarshalBinary(b []byte) error + func (m *Command) Validate(formats strfmt.Registry) error + type CommandType struct + Type string + func (m *CommandType) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *CommandType) MarshalBinary() ([]byte, error) + func (m *CommandType) UnmarshalBinary(b []byte) error + func (m *CommandType) Validate(formats strfmt.Registry) error + type Device struct + Attributes interface{} + Category string + Contact string + Disabled bool + GeofenceIds []int64 + GroupID int64 + ID int64 + LastUpdate strfmt.DateTime + Model string + Name string + Phone string + PositionID int64 + Status string + UniqueID string + func (m *Device) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Device) MarshalBinary() ([]byte, error) + func (m *Device) UnmarshalBinary(b []byte) error + func (m *Device) Validate(formats strfmt.Registry) error + type DeviceAccumulators struct + DeviceID int64 + Hours float64 + TotalDistance float64 + func (m *DeviceAccumulators) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *DeviceAccumulators) MarshalBinary() ([]byte, error) + func (m *DeviceAccumulators) UnmarshalBinary(b []byte) error + func (m *DeviceAccumulators) Validate(formats strfmt.Registry) error + type Driver struct + Attributes interface{} + ID int64 + Name string + UniqueID string + func (m *Driver) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Driver) MarshalBinary() ([]byte, error) + func (m *Driver) UnmarshalBinary(b []byte) error + func (m *Driver) Validate(formats strfmt.Registry) error + type Event struct + Attributes interface{} + DeviceID int64 + GeofenceID int64 + ID int64 + MaintenanceID int64 + PositionID int64 + ServerTime strfmt.DateTime + Type string + func (m *Event) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Event) MarshalBinary() ([]byte, error) + func (m *Event) UnmarshalBinary(b []byte) error + func (m *Event) Validate(formats strfmt.Registry) error + type Geofence struct + Area string + Attributes interface{} + CalendarID int64 + Description string + ID int64 + Name string + func (m *Geofence) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Geofence) MarshalBinary() ([]byte, error) + func (m *Geofence) UnmarshalBinary(b []byte) error + func (m *Geofence) Validate(formats strfmt.Registry) error + type Group struct + Attributes interface{} + GroupID int64 + ID int64 + Name string + func (m *Group) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Group) MarshalBinary() ([]byte, error) + func (m *Group) UnmarshalBinary(b []byte) error + func (m *Group) Validate(formats strfmt.Registry) error + type Maintenance struct + Attributes interface{} + ID int64 + Name string + Period float64 + Start float64 + Type string + func (m *Maintenance) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Maintenance) MarshalBinary() ([]byte, error) + func (m *Maintenance) UnmarshalBinary(b []byte) error + func (m *Maintenance) Validate(formats strfmt.Registry) error + type Notification struct + Always bool + Attributes interface{} + CalendarID int64 + ID int64 + Mail bool + Sms bool + Type string + Web bool + func (m *Notification) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Notification) MarshalBinary() ([]byte, error) + func (m *Notification) UnmarshalBinary(b []byte) error + func (m *Notification) Validate(formats strfmt.Registry) error + type NotificationType struct + Type string + func (m *NotificationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *NotificationType) MarshalBinary() ([]byte, error) + func (m *NotificationType) UnmarshalBinary(b []byte) error + func (m *NotificationType) Validate(formats strfmt.Registry) error + type Permission struct + AttributeID int64 + CalendarID int64 + DeviceID int64 + DriverID int64 + GeofenceID int64 + GroupID int64 + ManagedUserID int64 + UserID int64 + func (m *Permission) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Permission) MarshalBinary() ([]byte, error) + func (m *Permission) UnmarshalBinary(b []byte) error + func (m *Permission) Validate(formats strfmt.Registry) error + type Position struct + Accuracy float64 + Address string + Altitude float64 + Attributes interface{} + Course float64 + DeviceID int64 + DeviceTime strfmt.DateTime + FixTime strfmt.DateTime + ID int64 + Latitude float64 + Longitude float64 + Network interface{} + Outdated bool + Protocol string + ServerTime strfmt.DateTime + Speed float64 + Valid bool + func (m *Position) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Position) MarshalBinary() ([]byte, error) + func (m *Position) UnmarshalBinary(b []byte) error + func (m *Position) Validate(formats strfmt.Registry) error + type ReportStops struct + Address string + DeviceID int64 + DeviceName string + Duration int64 + EndTime strfmt.DateTime + EngineHours int64 + Lat float64 + Lon float64 + SpentFuel float64 + StartTime strfmt.DateTime + func (m *ReportStops) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *ReportStops) MarshalBinary() ([]byte, error) + func (m *ReportStops) UnmarshalBinary(b []byte) error + func (m *ReportStops) Validate(formats strfmt.Registry) error + type ReportSummary struct + AverageSpeed float64 + DeviceID int64 + DeviceName string + Distance float64 + EngineHours int64 + MaxSpeed float64 + SpentFuel float64 + func (m *ReportSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *ReportSummary) MarshalBinary() ([]byte, error) + func (m *ReportSummary) UnmarshalBinary(b []byte) error + func (m *ReportSummary) Validate(formats strfmt.Registry) error + type ReportTrips struct + AverageSpeed float64 + DeviceID int64 + DeviceName string + Distance float64 + DriverName string + DriverUniqueID int64 + Duration int64 + EndAddress string + EndLat float64 + EndLon float64 + EndTime strfmt.DateTime + MaxSpeed float64 + SpentFuel float64 + StartAddress string + StartLat float64 + StartLon float64 + StartTime strfmt.DateTime + func (m *ReportTrips) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *ReportTrips) MarshalBinary() ([]byte, error) + func (m *ReportTrips) UnmarshalBinary(b []byte) error + func (m *ReportTrips) Validate(formats strfmt.Registry) error + type Server struct + Attributes interface{} + BingKey string + CoordinateFormat string + DeviceReadonly bool + ForceSettings bool + ID int64 + Latitude float64 + LimitCommands bool + Longitude float64 + Map string + MapURL string + PoiLayer string + Readonly bool + Registration bool + TwelveHourFormat bool + Version string + Zoom int64 + func (m *Server) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Server) MarshalBinary() ([]byte, error) + func (m *Server) UnmarshalBinary(b []byte) error + func (m *Server) Validate(formats strfmt.Registry) error + type Statistics struct + ActiveDevices int64 + ActiveUsers int64 + CaptureTime strfmt.DateTime + MessagesReceived int64 + MessagesStored int64 + Requests int64 + func (m *Statistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *Statistics) MarshalBinary() ([]byte, error) + func (m *Statistics) UnmarshalBinary(b []byte) error + func (m *Statistics) Validate(formats strfmt.Registry) error + type User struct + Administrator bool + Attributes interface{} + CoordinateFormat string + DeviceLimit int64 + DeviceReadonly bool + Disabled bool + Email string + ExpirationTime strfmt.DateTime + ID int64 + Latitude float64 + LimitCommands bool + Longitude float64 + Map string + Name string + Password string + Phone string + PoiLayer string + Readonly bool + Token string + TwelveHourFormat bool + UserLimit int64 + Zoom int64 + func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error + func (m *User) MarshalBinary() ([]byte, error) + func (m *User) UnmarshalBinary(b []byte) error + func (m *User) Validate(formats strfmt.Registry) error