request

package
v3.4.31 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data map[string]struct {
	Value string `json:"value"`
}

type RequestActiveLicenseDevice

type RequestActiveLicenseDevice struct {
	PkgType    int               `json:"pkg_type"`
	DeviceList []response.Device `json:"device_list"`
}

type RequestAddIotGroupDevice

type RequestAddIotGroupDevice struct {
	GroupId    string `json:"group_id"`
	DeviceList []struct {
		ModelId string `json:"model_id"`
		Sn      string `json:"sn"`
	} `json:"device_list"`
}

type RequestCreateIotGroupId

type RequestCreateIotGroupId struct {
	GroupName string `json:"group_name"`
	ModelId   string `json:"model_id"`
}

type RequestGetIotGroupInfo

type RequestGetIotGroupInfo struct {
	GroupId string `json:"group_id"`
}

type RequestGetLicenseDeviceInfo

type RequestGetLicenseDeviceInfo struct {
	DeviceList []response.Device `json:"device_list"`
}

type RequestGetLicensePkgList

type RequestGetLicensePkgList struct {
	PkgType int `json:"pkg_type"`
}

type RequestGetSnTicket

type RequestGetSnTicket struct {
	ModelId string `json:"model_id"`
	Sn      string `json:"sn"`
}

type RequestRemoveIotGroupDevice

type RequestRemoveIotGroupDevice struct {
	GroupId    string            `json:"group_id"`
	DeviceList []response.Device `json:"device_list"`
}

type RequestSendHardwareDeviceMessage

type RequestSendHardwareDeviceMessage struct {
	ToOpenidList     []string `json:"to_openid_list"`
	Sn               string   `json:"sn"`
	TemplateId       string   `json:"template_id"`
	Page             string   `json:"page"`
	MiniProgramState string   `json:"miniprogram_state"`
	Lang             string   `json:"lang"`
	Data             Data     `json:"data"`
}

Jump to

Keyboard shortcuts

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