ioti

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ioti 包含IoTI API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=46348

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaItAlbumDeviceSendimageAPIRequest added in v1.3.4

func ReleaseAlibabaItAlbumDeviceSendimageAPIRequest(v *AlibabaItAlbumDeviceSendimageAPIRequest)

ReleaseAlibabaItAlbumDeviceSendimageAPIRequest 将 AlibabaItAlbumDeviceSendimageAPIRequest 放入 sync.Pool

func ReleaseAlibabaItAlbumDeviceSendimageAPIResponse added in v1.3.4

func ReleaseAlibabaItAlbumDeviceSendimageAPIResponse(v *AlibabaItAlbumDeviceSendimageAPIResponse)

ReleaseAlibabaItAlbumDeviceSendimageAPIResponse 将 AlibabaItAlbumDeviceSendimageAPIResponse 保存到 sync.Pool

func ReleaseAlibabaItEslEslimageSendimageAPIRequest added in v1.3.4

func ReleaseAlibabaItEslEslimageSendimageAPIRequest(v *AlibabaItEslEslimageSendimageAPIRequest)

ReleaseAlibabaItEslEslimageSendimageAPIRequest 将 AlibabaItEslEslimageSendimageAPIRequest 放入 sync.Pool

func ReleaseAlibabaItEslEslimageSendimageAPIResponse added in v1.3.4

func ReleaseAlibabaItEslEslimageSendimageAPIResponse(v *AlibabaItEslEslimageSendimageAPIResponse)

ReleaseAlibabaItEslEslimageSendimageAPIResponse 将 AlibabaItEslEslimageSendimageAPIResponse 保存到 sync.Pool

func ReleaseAlibabaItEslEslimageShowimagecommonAPIRequest added in v1.3.4

func ReleaseAlibabaItEslEslimageShowimagecommonAPIRequest(v *AlibabaItEslEslimageShowimagecommonAPIRequest)

ReleaseAlibabaItEslEslimageShowimagecommonAPIRequest 将 AlibabaItEslEslimageShowimagecommonAPIRequest 放入 sync.Pool

func ReleaseAlibabaItEslEslimageShowimagecommonAPIResponse added in v1.3.4

func ReleaseAlibabaItEslEslimageShowimagecommonAPIResponse(v *AlibabaItEslEslimageShowimagecommonAPIResponse)

ReleaseAlibabaItEslEslimageShowimagecommonAPIResponse 将 AlibabaItEslEslimageShowimagecommonAPIResponse 保存到 sync.Pool

func ReleaseAlibabaItEslEslinfoGeteslinfoAPIRequest added in v1.3.4

func ReleaseAlibabaItEslEslinfoGeteslinfoAPIRequest(v *AlibabaItEslEslinfoGeteslinfoAPIRequest)

ReleaseAlibabaItEslEslinfoGeteslinfoAPIRequest 将 AlibabaItEslEslinfoGeteslinfoAPIRequest 放入 sync.Pool

func ReleaseAlibabaItEslEslinfoGeteslinfoAPIResponse added in v1.3.4

func ReleaseAlibabaItEslEslinfoGeteslinfoAPIResponse(v *AlibabaItEslEslinfoGeteslinfoAPIResponse)

ReleaseAlibabaItEslEslinfoGeteslinfoAPIResponse 将 AlibabaItEslEslinfoGeteslinfoAPIResponse 保存到 sync.Pool

func ReleaseAlibabaItEslSendledAPIRequest added in v1.3.4

func ReleaseAlibabaItEslSendledAPIRequest(v *AlibabaItEslSendledAPIRequest)

ReleaseAlibabaItEslSendledAPIRequest 将 AlibabaItEslSendledAPIRequest 放入 sync.Pool

func ReleaseAlibabaItEslSendledAPIResponse added in v1.3.4

func ReleaseAlibabaItEslSendledAPIResponse(v *AlibabaItEslSendledAPIResponse)

ReleaseAlibabaItEslSendledAPIResponse 将 AlibabaItEslSendledAPIResponse 保存到 sync.Pool

func ReleaseAlibabaItEslSendotaAPIRequest added in v1.3.4

func ReleaseAlibabaItEslSendotaAPIRequest(v *AlibabaItEslSendotaAPIRequest)

ReleaseAlibabaItEslSendotaAPIRequest 将 AlibabaItEslSendotaAPIRequest 放入 sync.Pool

func ReleaseAlibabaItEslSendotaAPIResponse added in v1.3.4

func ReleaseAlibabaItEslSendotaAPIResponse(v *AlibabaItEslSendotaAPIResponse)

ReleaseAlibabaItEslSendotaAPIResponse 将 AlibabaItEslSendotaAPIResponse 保存到 sync.Pool

func ReleaseEslTopEngineAssetsDo added in v1.3.4

func ReleaseEslTopEngineAssetsDo(v *EslTopEngineAssetsDo)

ReleaseEslTopEngineAssetsDo 释放EslTopEngineAssetsDo

Types

type AlibabaItAlbumDeviceSendimageAPIRequest

type AlibabaItAlbumDeviceSendimageAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaItAlbumDeviceSendimageAPIRequest 相框设备厂测刷图接口 API请求 alibaba.it.album.device.sendimage

提供传入电子相框设备mac,mac需属于厂测白名单设备,将设备刷新为系统默认的厂测图片

func GetAlibabaItAlbumDeviceSendimageAPIRequest added in v1.3.4

func GetAlibabaItAlbumDeviceSendimageAPIRequest() *AlibabaItAlbumDeviceSendimageAPIRequest

GetAlibabaItAlbumDeviceSendimageRequest 从 sync.Pool 获取 AlibabaItAlbumDeviceSendimageAPIRequest

func NewAlibabaItAlbumDeviceSendimageRequest

func NewAlibabaItAlbumDeviceSendimageRequest() *AlibabaItAlbumDeviceSendimageAPIRequest

NewAlibabaItAlbumDeviceSendimageRequest 初始化AlibabaItAlbumDeviceSendimageAPIRequest对象

func (AlibabaItAlbumDeviceSendimageAPIRequest) GetApiMethodName

func (r AlibabaItAlbumDeviceSendimageAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaItAlbumDeviceSendimageAPIRequest) GetApiParams

func (r AlibabaItAlbumDeviceSendimageAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaItAlbumDeviceSendimageAPIRequest) GetMac

GetMac Mac Getter

func (AlibabaItAlbumDeviceSendimageAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaItAlbumDeviceSendimageAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaItAlbumDeviceSendimageAPIRequest) SetMac

SetMac is Mac Setter 下发图片mac地址

type AlibabaItAlbumDeviceSendimageAPIResponse

type AlibabaItAlbumDeviceSendimageAPIResponse struct {
	model.CommonResponse
	AlibabaItAlbumDeviceSendimageAPIResponseModel
}

AlibabaItAlbumDeviceSendimageAPIResponse 相框设备厂测刷图接口 API返回值 alibaba.it.album.device.sendimage

提供传入电子相框设备mac,mac需属于厂测白名单设备,将设备刷新为系统默认的厂测图片

func GetAlibabaItAlbumDeviceSendimageAPIResponse added in v1.3.4

func GetAlibabaItAlbumDeviceSendimageAPIResponse() *AlibabaItAlbumDeviceSendimageAPIResponse

GetAlibabaItAlbumDeviceSendimageAPIResponse 从 sync.Pool 获取 AlibabaItAlbumDeviceSendimageAPIResponse

func (*AlibabaItAlbumDeviceSendimageAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItAlbumDeviceSendimageAPIResponseModel

type AlibabaItAlbumDeviceSendimageAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_it_album_device_sendimage_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回错误码与参数
	Resultmsg string `json:"resultmsg,omitempty" xml:"resultmsg,omitempty"`
}

AlibabaItAlbumDeviceSendimageAPIResponseModel is 相框设备厂测刷图接口 成功返回结果

func (*AlibabaItAlbumDeviceSendimageAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItEslEslimageSendimageAPIRequest

type AlibabaItEslEslimageSendimageAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaItEslEslimageSendimageAPIRequest 下发厂测初始化图片 API请求 alibaba.it.esl.eslimage.sendimage

工厂对生产出的电子价签进行全流程功能测试,能将出场图片通过ESL系统初始化到电子价签中

func GetAlibabaItEslEslimageSendimageAPIRequest added in v1.3.4

func GetAlibabaItEslEslimageSendimageAPIRequest() *AlibabaItEslEslimageSendimageAPIRequest

GetAlibabaItEslEslimageSendimageRequest 从 sync.Pool 获取 AlibabaItEslEslimageSendimageAPIRequest

func NewAlibabaItEslEslimageSendimageRequest

func NewAlibabaItEslEslimageSendimageRequest() *AlibabaItEslEslimageSendimageAPIRequest

NewAlibabaItEslEslimageSendimageRequest 初始化AlibabaItEslEslimageSendimageAPIRequest对象

func (AlibabaItEslEslimageSendimageAPIRequest) GetApiMethodName

func (r AlibabaItEslEslimageSendimageAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaItEslEslimageSendimageAPIRequest) GetApiParams

func (r AlibabaItEslEslimageSendimageAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaItEslEslimageSendimageAPIRequest) GetMac

GetMac Mac Getter

func (AlibabaItEslEslimageSendimageAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaItEslEslimageSendimageAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaItEslEslimageSendimageAPIRequest) SetMac

SetMac is Mac Setter 价签地址

type AlibabaItEslEslimageSendimageAPIResponse

type AlibabaItEslEslimageSendimageAPIResponse struct {
	model.CommonResponse
	AlibabaItEslEslimageSendimageAPIResponseModel
}

AlibabaItEslEslimageSendimageAPIResponse 下发厂测初始化图片 API返回值 alibaba.it.esl.eslimage.sendimage

工厂对生产出的电子价签进行全流程功能测试,能将出场图片通过ESL系统初始化到电子价签中

func GetAlibabaItEslEslimageSendimageAPIResponse added in v1.3.4

func GetAlibabaItEslEslimageSendimageAPIResponse() *AlibabaItEslEslimageSendimageAPIResponse

GetAlibabaItEslEslimageSendimageAPIResponse 从 sync.Pool 获取 AlibabaItEslEslimageSendimageAPIResponse

func (*AlibabaItEslEslimageSendimageAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItEslEslimageSendimageAPIResponseModel

type AlibabaItEslEslimageSendimageAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_it_esl_eslimage_sendimage_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultmsg
	Resultmsg string `json:"resultmsg,omitempty" xml:"resultmsg,omitempty"`
}

AlibabaItEslEslimageSendimageAPIResponseModel is 下发厂测初始化图片 成功返回结果

func (*AlibabaItEslEslimageSendimageAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItEslEslimageShowimagecommonAPIRequest

type AlibabaItEslEslimageShowimagecommonAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaItEslEslimageShowimagecommonAPIRequest 对混合云提供的刷图接口 API请求 alibaba.it.esl.eslimage.showimagecommon

混合云使用,提供给isv和我们混合云环境部署的应用刷图

func GetAlibabaItEslEslimageShowimagecommonAPIRequest added in v1.3.4

func GetAlibabaItEslEslimageShowimagecommonAPIRequest() *AlibabaItEslEslimageShowimagecommonAPIRequest

GetAlibabaItEslEslimageShowimagecommonRequest 从 sync.Pool 获取 AlibabaItEslEslimageShowimagecommonAPIRequest

func NewAlibabaItEslEslimageShowimagecommonRequest

func NewAlibabaItEslEslimageShowimagecommonRequest() *AlibabaItEslEslimageShowimagecommonAPIRequest

NewAlibabaItEslEslimageShowimagecommonRequest 初始化AlibabaItEslEslimageShowimagecommonAPIRequest对象

func (AlibabaItEslEslimageShowimagecommonAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaItEslEslimageShowimagecommonAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaItEslEslimageShowimagecommonAPIRequest) GetContent

GetContent Content Getter

func (AlibabaItEslEslimageShowimagecommonAPIRequest) GetContent2

GetContent2 Content2 Getter

func (AlibabaItEslEslimageShowimagecommonAPIRequest) GetIsCompress

GetIsCompress IsCompress Getter

func (AlibabaItEslEslimageShowimagecommonAPIRequest) GetIsManual

GetIsManual IsManual Getter

func (AlibabaItEslEslimageShowimagecommonAPIRequest) GetMac

GetMac Mac Getter

func (AlibabaItEslEslimageShowimagecommonAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaItEslEslimageShowimagecommonAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaItEslEslimageShowimagecommonAPIRequest) SetContent

SetContent is Content Setter 图片2的base64编码,图片要和价签大小一致

func (*AlibabaItEslEslimageShowimagecommonAPIRequest) SetContent2

SetContent2 is Content2 Setter 图片的base64编码,图片要和价签大小一致

func (*AlibabaItEslEslimageShowimagecommonAPIRequest) SetIsCompress

func (r *AlibabaItEslEslimageShowimagecommonAPIRequest) SetIsCompress(_isCompress string) error

SetIsCompress is IsCompress Setter 是否压缩,默认不传,字符串:yes,no

func (*AlibabaItEslEslimageShowimagecommonAPIRequest) SetIsManual

SetIsManual is IsManual Setter 是否手动刷图,默认不传,字符串:true,false

func (*AlibabaItEslEslimageShowimagecommonAPIRequest) SetMac

SetMac is Mac Setter ma地址

type AlibabaItEslEslimageShowimagecommonAPIResponse

type AlibabaItEslEslimageShowimagecommonAPIResponse struct {
	model.CommonResponse
	AlibabaItEslEslimageShowimagecommonAPIResponseModel
}

AlibabaItEslEslimageShowimagecommonAPIResponse 对混合云提供的刷图接口 API返回值 alibaba.it.esl.eslimage.showimagecommon

混合云使用,提供给isv和我们混合云环境部署的应用刷图

func GetAlibabaItEslEslimageShowimagecommonAPIResponse added in v1.3.4

func GetAlibabaItEslEslimageShowimagecommonAPIResponse() *AlibabaItEslEslimageShowimagecommonAPIResponse

GetAlibabaItEslEslimageShowimagecommonAPIResponse 从 sync.Pool 获取 AlibabaItEslEslimageShowimagecommonAPIResponse

func (*AlibabaItEslEslimageShowimagecommonAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItEslEslimageShowimagecommonAPIResponseModel

type AlibabaItEslEslimageShowimagecommonAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_it_esl_eslimage_showimagecommon_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultmsg
	Resultmsg string `json:"resultmsg,omitempty" xml:"resultmsg,omitempty"`
}

AlibabaItEslEslimageShowimagecommonAPIResponseModel is 对混合云提供的刷图接口 成功返回结果

func (*AlibabaItEslEslimageShowimagecommonAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItEslEslinfoGeteslinfoAPIRequest added in v1.2.8

type AlibabaItEslEslinfoGeteslinfoAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaItEslEslinfoGeteslinfoAPIRequest 厂测查询价签当前信息 API请求 alibaba.it.esl.eslinfo.geteslinfo

工厂对生产出的电子价签进行全流程功能测试,查询价签当前上报的信息

func GetAlibabaItEslEslinfoGeteslinfoAPIRequest added in v1.3.4

func GetAlibabaItEslEslinfoGeteslinfoAPIRequest() *AlibabaItEslEslinfoGeteslinfoAPIRequest

GetAlibabaItEslEslinfoGeteslinfoRequest 从 sync.Pool 获取 AlibabaItEslEslinfoGeteslinfoAPIRequest

func NewAlibabaItEslEslinfoGeteslinfoRequest added in v1.2.8

func NewAlibabaItEslEslinfoGeteslinfoRequest() *AlibabaItEslEslinfoGeteslinfoAPIRequest

NewAlibabaItEslEslinfoGeteslinfoRequest 初始化AlibabaItEslEslinfoGeteslinfoAPIRequest对象

func (AlibabaItEslEslinfoGeteslinfoAPIRequest) GetApiMethodName added in v1.2.8

func (r AlibabaItEslEslinfoGeteslinfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaItEslEslinfoGeteslinfoAPIRequest) GetApiParams added in v1.2.8

func (r AlibabaItEslEslinfoGeteslinfoAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaItEslEslinfoGeteslinfoAPIRequest) GetMac added in v1.2.8

GetMac Mac Getter

func (AlibabaItEslEslinfoGeteslinfoAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaItEslEslinfoGeteslinfoAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaItEslEslinfoGeteslinfoAPIRequest) SetMac added in v1.2.8

SetMac is Mac Setter mac

type AlibabaItEslEslinfoGeteslinfoAPIResponse added in v1.2.8

type AlibabaItEslEslinfoGeteslinfoAPIResponse struct {
	model.CommonResponse
	AlibabaItEslEslinfoGeteslinfoAPIResponseModel
}

AlibabaItEslEslinfoGeteslinfoAPIResponse 厂测查询价签当前信息 API返回值 alibaba.it.esl.eslinfo.geteslinfo

工厂对生产出的电子价签进行全流程功能测试,查询价签当前上报的信息

func GetAlibabaItEslEslinfoGeteslinfoAPIResponse added in v1.3.4

func GetAlibabaItEslEslinfoGeteslinfoAPIResponse() *AlibabaItEslEslinfoGeteslinfoAPIResponse

GetAlibabaItEslEslinfoGeteslinfoAPIResponse 从 sync.Pool 获取 AlibabaItEslEslinfoGeteslinfoAPIResponse

func (*AlibabaItEslEslinfoGeteslinfoAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItEslEslinfoGeteslinfoAPIResponseModel added in v1.2.8

type AlibabaItEslEslinfoGeteslinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_it_esl_eslinfo_geteslinfo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	EslErrorCode string `json:"esl_error_code,omitempty" xml:"esl_error_code,omitempty"`
	// 错误信息
	EslErrorMsg string `json:"esl_error_msg,omitempty" xml:"esl_error_msg,omitempty"`
	// 数据
	Content *EslTopEngineAssetsDo `json:"content,omitempty" xml:"content,omitempty"`
	// 成功标识
	EslSuccess bool `json:"esl_success,omitempty" xml:"esl_success,omitempty"`
}

AlibabaItEslEslinfoGeteslinfoAPIResponseModel is 厂测查询价签当前信息 成功返回结果

func (*AlibabaItEslEslinfoGeteslinfoAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItEslSendledAPIRequest

type AlibabaItEslSendledAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaItEslSendledAPIRequest 厂测LED控制 API请求 alibaba.it.esl.sendled

针对厂测生产的的价签,增加led闪灯的接口,进行led 闪灯测试

func GetAlibabaItEslSendledAPIRequest added in v1.3.4

func GetAlibabaItEslSendledAPIRequest() *AlibabaItEslSendledAPIRequest

GetAlibabaItEslSendledRequest 从 sync.Pool 获取 AlibabaItEslSendledAPIRequest

func NewAlibabaItEslSendledRequest

func NewAlibabaItEslSendledRequest() *AlibabaItEslSendledAPIRequest

NewAlibabaItEslSendledRequest 初始化AlibabaItEslSendledAPIRequest对象

func (AlibabaItEslSendledAPIRequest) GetApiMethodName

func (r AlibabaItEslSendledAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaItEslSendledAPIRequest) GetApiParams

func (r AlibabaItEslSendledAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaItEslSendledAPIRequest) GetMacAp

GetMacAp MacAp Getter

func (AlibabaItEslSendledAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaItEslSendledAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaItEslSendledAPIRequest) GetType

GetType Type Getter

func (*AlibabaItEslSendledAPIRequest) Reset added in v1.3.4

func (r *AlibabaItEslSendledAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*AlibabaItEslSendledAPIRequest) SetMacAp

func (r *AlibabaItEslSendledAPIRequest) SetMacAp(_macAp string) error

SetMacAp is MacAp Setter mac

func (*AlibabaItEslSendledAPIRequest) SetType

func (r *AlibabaItEslSendledAPIRequest) SetType(_type string) error

SetType is Type Setter 0、1、2、3:关蓝绿红

type AlibabaItEslSendledAPIResponse

type AlibabaItEslSendledAPIResponse struct {
	model.CommonResponse
	AlibabaItEslSendledAPIResponseModel
}

AlibabaItEslSendledAPIResponse 厂测LED控制 API返回值 alibaba.it.esl.sendled

针对厂测生产的的价签,增加led闪灯的接口,进行led 闪灯测试

func GetAlibabaItEslSendledAPIResponse added in v1.3.4

func GetAlibabaItEslSendledAPIResponse() *AlibabaItEslSendledAPIResponse

GetAlibabaItEslSendledAPIResponse 从 sync.Pool 获取 AlibabaItEslSendledAPIResponse

func (*AlibabaItEslSendledAPIResponse) Reset added in v1.3.4

func (m *AlibabaItEslSendledAPIResponse) Reset()

Reset 清空结构体

type AlibabaItEslSendledAPIResponseModel

type AlibabaItEslSendledAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_it_esl_sendled_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Can not find Corresponding AP MAC with ESL
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaItEslSendledAPIResponseModel is 厂测LED控制 成功返回结果

func (*AlibabaItEslSendledAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaItEslSendotaAPIRequest

type AlibabaItEslSendotaAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaItEslSendotaAPIRequest 电子价签ota接口 API请求 alibaba.it.esl.sendota

厂测接口,电子价签ota接口

func GetAlibabaItEslSendotaAPIRequest added in v1.3.4

func GetAlibabaItEslSendotaAPIRequest() *AlibabaItEslSendotaAPIRequest

GetAlibabaItEslSendotaRequest 从 sync.Pool 获取 AlibabaItEslSendotaAPIRequest

func NewAlibabaItEslSendotaRequest

func NewAlibabaItEslSendotaRequest() *AlibabaItEslSendotaAPIRequest

NewAlibabaItEslSendotaRequest 初始化AlibabaItEslSendotaAPIRequest对象

func (AlibabaItEslSendotaAPIRequest) GetApiMethodName

func (r AlibabaItEslSendotaAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaItEslSendotaAPIRequest) GetApiParams

func (r AlibabaItEslSendotaAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaItEslSendotaAPIRequest) GetMacAp

GetMacAp MacAp Getter

func (AlibabaItEslSendotaAPIRequest) GetOtaDataBase64String

func (r AlibabaItEslSendotaAPIRequest) GetOtaDataBase64String() string

GetOtaDataBase64String OtaDataBase64String Getter

func (AlibabaItEslSendotaAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaItEslSendotaAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaItEslSendotaAPIRequest) Reset added in v1.3.4

func (r *AlibabaItEslSendotaAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*AlibabaItEslSendotaAPIRequest) SetMacAp

func (r *AlibabaItEslSendotaAPIRequest) SetMacAp(_macAp string) error

SetMacAp is MacAp Setter mac

func (*AlibabaItEslSendotaAPIRequest) SetOtaDataBase64String

func (r *AlibabaItEslSendotaAPIRequest) SetOtaDataBase64String(_otaDataBase64String string) error

SetOtaDataBase64String is OtaDataBase64String Setter base64的ota包

type AlibabaItEslSendotaAPIResponse

type AlibabaItEslSendotaAPIResponse struct {
	model.CommonResponse
	AlibabaItEslSendotaAPIResponseModel
}

AlibabaItEslSendotaAPIResponse 电子价签ota接口 API返回值 alibaba.it.esl.sendota

厂测接口,电子价签ota接口

func GetAlibabaItEslSendotaAPIResponse added in v1.3.4

func GetAlibabaItEslSendotaAPIResponse() *AlibabaItEslSendotaAPIResponse

GetAlibabaItEslSendotaAPIResponse 从 sync.Pool 获取 AlibabaItEslSendotaAPIResponse

func (*AlibabaItEslSendotaAPIResponse) Reset added in v1.3.4

func (m *AlibabaItEslSendotaAPIResponse) Reset()

Reset 清空结构体

type AlibabaItEslSendotaAPIResponseModel

type AlibabaItEslSendotaAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_it_esl_sendota_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Can not find Corresponding AP MAC with ESL
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaItEslSendotaAPIResponseModel is 电子价签ota接口 成功返回结果

func (*AlibabaItEslSendotaAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type EslTopEngineAssetsDo added in v1.2.8

type EslTopEngineAssetsDo struct {
	// mac
	EslMac string `json:"esl_mac,omitempty" xml:"esl_mac,omitempty"`
	// 价签型号
	EslModelName string `json:"esl_model_name,omitempty" xml:"esl_model_name,omitempty"`
	// 上传来的ap
	ApMac string `json:"ap_mac,omitempty" xml:"ap_mac,omitempty"`
	// 最后上报时间
	Lastseen int64 `json:"lastseen,omitempty" xml:"lastseen,omitempty"`
	// 固件型号
	FirmwareVersion int64 `json:"firmware_version,omitempty" xml:"firmware_version,omitempty"`
	// 电池电量
	BatteryLevel int64 `json:"battery_level,omitempty" xml:"battery_level,omitempty"`
	// 电池电压
	BatteryVoltage int64 `json:"battery_voltage,omitempty" xml:"battery_voltage,omitempty"`
	// ap上次上报的最强rssi值
	ApRssi int64 `json:"ap_rssi,omitempty" xml:"ap_rssi,omitempty"`
}

EslTopEngineAssetsDo 结构体

func GetEslTopEngineAssetsDo added in v1.3.4

func GetEslTopEngineAssetsDo() *EslTopEngineAssetsDo

GetEslTopEngineAssetsDo() 从对象池中获取EslTopEngineAssetsDo

Jump to

Keyboard shortcuts

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