models

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {

	// attribute
	Attribute string `json:"attribute,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// expression
	Expression string `json:"expression,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// String|Number|Boolean
	Type string `json:"type,omitempty"`
}

Attribute attribute

swagger:model Attribute

func (*Attribute) ContextValidate

func (m *Attribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attribute based on context it is used

func (*Attribute) MarshalBinary

func (m *Attribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Attribute) UnmarshalBinary

func (m *Attribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Attribute) Validate

func (m *Attribute) Validate(formats strfmt.Registry) error

Validate validates this attribute

type Calendar

type Calendar struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// base64 encoded in iCalendar format
	Data string `json:"data,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

Calendar calendar

swagger:model Calendar

func (*Calendar) ContextValidate

func (m *Calendar) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this calendar based on context it is used

func (*Calendar) MarshalBinary

func (m *Calendar) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Calendar) UnmarshalBinary

func (m *Calendar) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Calendar) Validate

func (m *Calendar) Validate(formats strfmt.Registry) error

Validate validates this calendar

type Command

type Command struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// device Id
	DeviceID int64 `json:"deviceId,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

Command command

swagger:model Command

func (*Command) ContextValidate

func (m *Command) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this command based on context it is used

func (*Command) MarshalBinary

func (m *Command) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Command) UnmarshalBinary

func (m *Command) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Command) Validate

func (m *Command) Validate(formats strfmt.Registry) error

Validate validates this command

type CommandType

type CommandType struct {

	// type
	Type string `json:"type,omitempty"`
}

CommandType command type

swagger:model CommandType

func (*CommandType) ContextValidate

func (m *CommandType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this command type based on context it is used

func (*CommandType) MarshalBinary

func (m *CommandType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommandType) UnmarshalBinary

func (m *CommandType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommandType) Validate

func (m *CommandType) Validate(formats strfmt.Registry) error

Validate validates this command type

type Device

type Device struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// category
	Category string `json:"category,omitempty"`

	// contact
	Contact string `json:"contact,omitempty"`

	// disabled
	Disabled bool `json:"disabled,omitempty"`

	// geofence ids
	GeofenceIds []int64 `json:"geofenceIds"`

	// group Id
	GroupID int64 `json:"groupId,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"`

	// model
	Model string `json:"model,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// phone
	Phone string `json:"phone,omitempty"`

	// position Id
	PositionID int64 `json:"positionId,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// unique Id
	UniqueID string `json:"uniqueId,omitempty"`
}

Device device

swagger:model Device

func (*Device) ContextValidate

func (m *Device) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device based on context it is used

func (*Device) MarshalBinary

func (m *Device) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Device) UnmarshalBinary

func (m *Device) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Device) Validate

func (m *Device) Validate(formats strfmt.Registry) error

Validate validates this device

type DeviceAccumulators

type DeviceAccumulators struct {

	// device Id
	DeviceID int64 `json:"deviceId,omitempty"`

	// hours
	Hours float64 `json:"hours,omitempty"`

	// in meters
	TotalDistance float64 `json:"totalDistance,omitempty"`
}

DeviceAccumulators device accumulators

swagger:model DeviceAccumulators

func (*DeviceAccumulators) ContextValidate

func (m *DeviceAccumulators) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device accumulators based on context it is used

func (*DeviceAccumulators) MarshalBinary

func (m *DeviceAccumulators) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceAccumulators) UnmarshalBinary

func (m *DeviceAccumulators) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceAccumulators) Validate

func (m *DeviceAccumulators) Validate(formats strfmt.Registry) error

Validate validates this device accumulators

type Driver

type Driver struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// unique Id
	UniqueID string `json:"uniqueId,omitempty"`
}

Driver driver

swagger:model Driver

func (*Driver) ContextValidate

func (m *Driver) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this driver based on context it is used

func (*Driver) MarshalBinary

func (m *Driver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Driver) UnmarshalBinary

func (m *Driver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Driver) Validate

func (m *Driver) Validate(formats strfmt.Registry) error

Validate validates this driver

type Event

type Event struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// device Id
	DeviceID int64 `json:"deviceId,omitempty"`

	// geofence Id
	GeofenceID int64 `json:"geofenceId,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// maintenance Id
	MaintenanceID int64 `json:"maintenanceId,omitempty"`

	// position Id
	PositionID int64 `json:"positionId,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	ServerTime strfmt.DateTime `json:"serverTime,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

Event event

swagger:model Event

func (*Event) ContextValidate

func (m *Event) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this event based on context it is used

func (*Event) MarshalBinary

func (m *Event) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

func (m *Event) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Event) Validate

func (m *Event) Validate(formats strfmt.Registry) error

Validate validates this event

type Geofence

type Geofence struct {

	// area
	Area string `json:"area,omitempty"`

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// calendar Id
	CalendarID int64 `json:"calendarId,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

Geofence geofence

swagger:model Geofence

func (*Geofence) ContextValidate

func (m *Geofence) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this geofence based on context it is used

func (*Geofence) MarshalBinary

func (m *Geofence) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Geofence) UnmarshalBinary

func (m *Geofence) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Geofence) Validate

func (m *Geofence) Validate(formats strfmt.Registry) error

Validate validates this geofence

type Group

type Group struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// group Id
	GroupID int64 `json:"groupId,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

Group group

swagger:model Group

func (*Group) ContextValidate

func (m *Group) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group based on context it is used

func (*Group) MarshalBinary

func (m *Group) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Group) UnmarshalBinary

func (m *Group) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Group) Validate

func (m *Group) Validate(formats strfmt.Registry) error

Validate validates this group

type Maintenance

type Maintenance struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// period
	Period float64 `json:"period,omitempty"`

	// start
	Start float64 `json:"start,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

Maintenance maintenance

swagger:model Maintenance

func (*Maintenance) ContextValidate

func (m *Maintenance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this maintenance based on context it is used

func (*Maintenance) MarshalBinary

func (m *Maintenance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Maintenance) UnmarshalBinary

func (m *Maintenance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Maintenance) Validate

func (m *Maintenance) Validate(formats strfmt.Registry) error

Validate validates this maintenance

type Notification

type Notification struct {

	// always
	Always bool `json:"always,omitempty"`

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// calendar Id
	CalendarID int64 `json:"calendarId,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// mail
	Mail bool `json:"mail,omitempty"`

	// sms
	Sms bool `json:"sms,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// web
	Web bool `json:"web,omitempty"`
}

Notification notification

swagger:model Notification

func (*Notification) ContextValidate

func (m *Notification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this notification based on context it is used

func (*Notification) MarshalBinary

func (m *Notification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Notification) UnmarshalBinary

func (m *Notification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Notification) Validate

func (m *Notification) Validate(formats strfmt.Registry) error

Validate validates this notification

type NotificationType

type NotificationType struct {

	// type
	Type string `json:"type,omitempty"`
}

NotificationType notification type

swagger:model NotificationType

func (*NotificationType) ContextValidate

func (m *NotificationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this notification type based on context it is used

func (*NotificationType) MarshalBinary

func (m *NotificationType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotificationType) UnmarshalBinary

func (m *NotificationType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotificationType) Validate

func (m *NotificationType) Validate(formats strfmt.Registry) error

Validate validates this notification type

type Permission

type Permission struct {

	// Computed Attribute Id, can be second parameter only
	AttributeID int64 `json:"attributeId,omitempty"`

	// Calendar Id, can be second parameter only and only in combination with userId
	CalendarID int64 `json:"calendarId,omitempty"`

	// Device Id, can be first parameter or second only in combination with userId
	DeviceID int64 `json:"deviceId,omitempty"`

	// Driver Id, can be second parameter only
	DriverID int64 `json:"driverId,omitempty"`

	// Geofence Id, can be second parameter only
	GeofenceID int64 `json:"geofenceId,omitempty"`

	// Group Id, can be first parameter or second only in combination with userId
	GroupID int64 `json:"groupId,omitempty"`

	// User Id, can be second parameter only and only in combination with userId
	ManagedUserID int64 `json:"managedUserId,omitempty"`

	// User Id, can be only first parameter
	UserID int64 `json:"userId,omitempty"`
}

Permission This is a permission map that contain two object indexes. It is used to link/unlink objects. Order is important. Example: { deviceId:8, geofenceId: 16 }

swagger:model Permission

func (*Permission) ContextValidate

func (m *Permission) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this permission based on context it is used

func (*Permission) MarshalBinary

func (m *Permission) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Permission) UnmarshalBinary

func (m *Permission) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Permission) Validate

func (m *Permission) Validate(formats strfmt.Registry) error

Validate validates this permission

type Position

type Position struct {

	// accuracy
	Accuracy float64 `json:"accuracy,omitempty"`

	// address
	Address string `json:"address,omitempty"`

	// altitude
	Altitude float64 `json:"altitude,omitempty"`

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// course
	Course float64 `json:"course,omitempty"`

	// device Id
	DeviceID int64 `json:"deviceId,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	DeviceTime strfmt.DateTime `json:"deviceTime,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	FixTime strfmt.DateTime `json:"fixTime,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// latitude
	Latitude float64 `json:"latitude,omitempty"`

	// longitude
	Longitude float64 `json:"longitude,omitempty"`

	// network
	Network interface{} `json:"network,omitempty"`

	// outdated
	Outdated bool `json:"outdated,omitempty"`

	// protocol
	Protocol string `json:"protocol,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	ServerTime strfmt.DateTime `json:"serverTime,omitempty"`

	// in knots
	Speed float64 `json:"speed,omitempty"`

	// valid
	Valid bool `json:"valid,omitempty"`
}

Position position

swagger:model Position

func (*Position) ContextValidate

func (m *Position) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this position based on context it is used

func (*Position) MarshalBinary

func (m *Position) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Position) UnmarshalBinary

func (m *Position) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Position) Validate

func (m *Position) Validate(formats strfmt.Registry) error

Validate validates this position

type ReportStops

type ReportStops struct {

	// address
	Address string `json:"address,omitempty"`

	// device Id
	DeviceID int64 `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// duration
	Duration int64 `json:"duration,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// engine hours
	EngineHours int64 `json:"engineHours,omitempty"`

	// lat
	Lat float64 `json:"lat,omitempty"`

	// lon
	Lon float64 `json:"lon,omitempty"`

	// in liters
	SpentFuel float64 `json:"spentFuel,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`
}

ReportStops report stops

swagger:model ReportStops

func (*ReportStops) ContextValidate

func (m *ReportStops) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this report stops based on context it is used

func (*ReportStops) MarshalBinary

func (m *ReportStops) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportStops) UnmarshalBinary

func (m *ReportStops) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportStops) Validate

func (m *ReportStops) Validate(formats strfmt.Registry) error

Validate validates this report stops

type ReportSummary

type ReportSummary struct {

	// in knots
	AverageSpeed float64 `json:"averageSpeed,omitempty"`

	// device Id
	DeviceID int64 `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// in meters
	Distance float64 `json:"distance,omitempty"`

	// engine hours
	EngineHours int64 `json:"engineHours,omitempty"`

	// in knots
	MaxSpeed float64 `json:"maxSpeed,omitempty"`

	// in liters
	SpentFuel float64 `json:"spentFuel,omitempty"`
}

ReportSummary report summary

swagger:model ReportSummary

func (*ReportSummary) ContextValidate

func (m *ReportSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this report summary based on context it is used

func (*ReportSummary) MarshalBinary

func (m *ReportSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportSummary) UnmarshalBinary

func (m *ReportSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportSummary) Validate

func (m *ReportSummary) Validate(formats strfmt.Registry) error

Validate validates this report summary

type ReportTrips

type ReportTrips struct {

	// in knots
	AverageSpeed float64 `json:"averageSpeed,omitempty"`

	// device Id
	DeviceID int64 `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// in meters
	Distance float64 `json:"distance,omitempty"`

	// driver name
	DriverName string `json:"driverName,omitempty"`

	// driver unique Id
	DriverUniqueID int64 `json:"driverUniqueId,omitempty"`

	// duration
	Duration int64 `json:"duration,omitempty"`

	// end address
	EndAddress string `json:"endAddress,omitempty"`

	// end lat
	EndLat float64 `json:"endLat,omitempty"`

	// end lon
	EndLon float64 `json:"endLon,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// in knots
	MaxSpeed float64 `json:"maxSpeed,omitempty"`

	// in liters
	SpentFuel float64 `json:"spentFuel,omitempty"`

	// start address
	StartAddress string `json:"startAddress,omitempty"`

	// start lat
	StartLat float64 `json:"startLat,omitempty"`

	// start lon
	StartLon float64 `json:"startLon,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`
}

ReportTrips report trips

swagger:model ReportTrips

func (*ReportTrips) ContextValidate

func (m *ReportTrips) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this report trips based on context it is used

func (*ReportTrips) MarshalBinary

func (m *ReportTrips) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportTrips) UnmarshalBinary

func (m *ReportTrips) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportTrips) Validate

func (m *ReportTrips) Validate(formats strfmt.Registry) error

Validate validates this report trips

type Server

type Server struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// bing key
	BingKey string `json:"bingKey,omitempty"`

	// coordinate format
	CoordinateFormat string `json:"coordinateFormat,omitempty"`

	// device readonly
	DeviceReadonly bool `json:"deviceReadonly,omitempty"`

	// force settings
	ForceSettings bool `json:"forceSettings,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// latitude
	Latitude float64 `json:"latitude,omitempty"`

	// limit commands
	LimitCommands bool `json:"limitCommands,omitempty"`

	// longitude
	Longitude float64 `json:"longitude,omitempty"`

	// map
	Map string `json:"map,omitempty"`

	// map Url
	MapURL string `json:"mapUrl,omitempty"`

	// poi layer
	PoiLayer string `json:"poiLayer,omitempty"`

	// readonly
	Readonly bool `json:"readonly,omitempty"`

	// registration
	Registration bool `json:"registration,omitempty"`

	// twelve hour format
	TwelveHourFormat bool `json:"twelveHourFormat,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// zoom
	Zoom int64 `json:"zoom,omitempty"`
}

Server server

swagger:model Server

func (*Server) ContextValidate

func (m *Server) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server based on context it is used

func (*Server) MarshalBinary

func (m *Server) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Server) UnmarshalBinary

func (m *Server) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Server) Validate

func (m *Server) Validate(formats strfmt.Registry) error

Validate validates this server

type Statistics

type Statistics struct {

	// active devices
	ActiveDevices int64 `json:"activeDevices,omitempty"`

	// active users
	ActiveUsers int64 `json:"activeUsers,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	CaptureTime strfmt.DateTime `json:"captureTime,omitempty"`

	// messages received
	MessagesReceived int64 `json:"messagesReceived,omitempty"`

	// messages stored
	MessagesStored int64 `json:"messagesStored,omitempty"`

	// requests
	Requests int64 `json:"requests,omitempty"`
}

Statistics statistics

swagger:model Statistics

func (*Statistics) ContextValidate

func (m *Statistics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this statistics based on context it is used

func (*Statistics) MarshalBinary

func (m *Statistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Statistics) UnmarshalBinary

func (m *Statistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Statistics) Validate

func (m *Statistics) Validate(formats strfmt.Registry) error

Validate validates this statistics

type User

type User struct {

	// administrator
	Administrator bool `json:"administrator,omitempty"`

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// coordinate format
	CoordinateFormat string `json:"coordinateFormat,omitempty"`

	// device limit
	DeviceLimit int64 `json:"deviceLimit,omitempty"`

	// device readonly
	DeviceReadonly bool `json:"deviceReadonly,omitempty"`

	// disabled
	Disabled bool `json:"disabled,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// in IS0 8601 format. eg. `1963-11-22T18:30:00Z`
	// Format: date-time
	ExpirationTime strfmt.DateTime `json:"expirationTime,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// latitude
	Latitude float64 `json:"latitude,omitempty"`

	// limit commands
	LimitCommands bool `json:"limitCommands,omitempty"`

	// longitude
	Longitude float64 `json:"longitude,omitempty"`

	// map
	Map string `json:"map,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// phone
	Phone string `json:"phone,omitempty"`

	// poi layer
	PoiLayer string `json:"poiLayer,omitempty"`

	// readonly
	Readonly bool `json:"readonly,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// twelve hour format
	TwelveHourFormat bool `json:"twelveHourFormat,omitempty"`

	// user limit
	UserLimit int64 `json:"userLimit,omitempty"`

	// zoom
	Zoom int64 `json:"zoom,omitempty"`
}

User user

swagger:model User

func (*User) ContextValidate

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user based on context it is used

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL