model

package
v0.0.0-...-cddc4b4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceInfo

type DeviceInfo struct {
	DeviceId   string `dynamodbav:"deviceid" json:"deviceid"`
	DeviceName string `dynamodbav:"deviceName" json:"deviceName"`
	Mac        string `dynamodbav:"mac" json:"mac"`
	DeviceType string `dynamodbav:"deviceType" json:"deviceType"`
	HomeId     string `dynamodbav:"homeId" json:"homeId"`
	CreateAt   int64  `dynamodbav:"createdAt" json:"createdAt"`
	UpdatedAt  int64  `dynamodbav:"updatedAt" json:"updateAt"`
}

func (DeviceInfo) GetKey

func (deviceInfo DeviceInfo) GetKey() map[string]types.AttributeValue

type DeviceInfoResponse

type DeviceInfoResponse struct {
	Data string
}

type DeviceInfoSQSMessage

type DeviceInfoSQSMessage struct {
	DeviceId string `json:"deviceId"`
	HomeId   string `json:"homeId"`
}

Jump to

Keyboard shortcuts

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