alink

package
v1.3.3 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: 3 Imported by: 0

Documentation

Overview

Package alink 包含物联API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAlinkDeviceBindAPIRequest

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

AlibabaAlinkDeviceBindAPIRequest 绑定设备 API请求 alibaba.alink.device.bind

阿里智能解绑设备

func NewAlibabaAlinkDeviceBindRequest

func NewAlibabaAlinkDeviceBindRequest() *AlibabaAlinkDeviceBindAPIRequest

NewAlibabaAlinkDeviceBindRequest 初始化AlibabaAlinkDeviceBindAPIRequest对象

func (AlibabaAlinkDeviceBindAPIRequest) GetApiMethodName

func (r AlibabaAlinkDeviceBindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkDeviceBindAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkDeviceBindAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkDeviceBindAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkDeviceBindAPIRequest) SetUuid

func (r *AlibabaAlinkDeviceBindAPIRequest) SetUuid(_uuid string) error

SetUuid is Uuid Setter 设备id

type AlibabaAlinkDeviceBindAPIResponse

type AlibabaAlinkDeviceBindAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkDeviceBindAPIResponseModel
}

AlibabaAlinkDeviceBindAPIResponse 绑定设备 API返回值 alibaba.alink.device.bind

阿里智能解绑设备

type AlibabaAlinkDeviceBindAPIResponseModel

type AlibabaAlinkDeviceBindAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_device_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkDeviceBindAPIResponseModel is 绑定设备 成功返回结果

type AlibabaAlinkDeviceDetailGetAPIRequest

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

AlibabaAlinkDeviceDetailGetAPIRequest 获取设备详情 API请求 alibaba.alink.device.detail.get

阿里智能获取设备详情

func NewAlibabaAlinkDeviceDetailGetRequest

func NewAlibabaAlinkDeviceDetailGetRequest() *AlibabaAlinkDeviceDetailGetAPIRequest

NewAlibabaAlinkDeviceDetailGetRequest 初始化AlibabaAlinkDeviceDetailGetAPIRequest对象

func (AlibabaAlinkDeviceDetailGetAPIRequest) GetApiMethodName

func (r AlibabaAlinkDeviceDetailGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkDeviceDetailGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkDeviceDetailGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkDeviceDetailGetAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkDeviceDetailGetAPIRequest) SetUuid

SetUuid is Uuid Setter 设备id

type AlibabaAlinkDeviceDetailGetAPIResponse

type AlibabaAlinkDeviceDetailGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkDeviceDetailGetAPIResponseModel
}

AlibabaAlinkDeviceDetailGetAPIResponse 获取设备详情 API返回值 alibaba.alink.device.detail.get

阿里智能获取设备详情

type AlibabaAlinkDeviceDetailGetAPIResponseModel

type AlibabaAlinkDeviceDetailGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_device_detail_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkDeviceDetailGetAPIResponseModel is 获取设备详情 成功返回结果

type AlibabaAlinkDeviceInfoUpdateAPIRequest

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

AlibabaAlinkDeviceInfoUpdateAPIRequest 更新设备昵称等信息 API请求 alibaba.alink.device.info.update

更新设备昵称等信息

func NewAlibabaAlinkDeviceInfoUpdateRequest

func NewAlibabaAlinkDeviceInfoUpdateRequest() *AlibabaAlinkDeviceInfoUpdateAPIRequest

NewAlibabaAlinkDeviceInfoUpdateRequest 初始化AlibabaAlinkDeviceInfoUpdateAPIRequest对象

func (AlibabaAlinkDeviceInfoUpdateAPIRequest) GetApiMethodName

func (r AlibabaAlinkDeviceInfoUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkDeviceInfoUpdateAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkDeviceInfoUpdateAPIRequest) GetNickName

GetNickName NickName Getter

func (AlibabaAlinkDeviceInfoUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkDeviceInfoUpdateAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkDeviceInfoUpdateAPIRequest) SetNickName

func (r *AlibabaAlinkDeviceInfoUpdateAPIRequest) SetNickName(_nickName string) error

SetNickName is NickName Setter 设备昵称

func (*AlibabaAlinkDeviceInfoUpdateAPIRequest) SetUuid

SetUuid is Uuid Setter 设备id

type AlibabaAlinkDeviceInfoUpdateAPIResponse

type AlibabaAlinkDeviceInfoUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkDeviceInfoUpdateAPIResponseModel
}

AlibabaAlinkDeviceInfoUpdateAPIResponse 更新设备昵称等信息 API返回值 alibaba.alink.device.info.update

更新设备昵称等信息

type AlibabaAlinkDeviceInfoUpdateAPIResponseModel

type AlibabaAlinkDeviceInfoUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_device_info_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkDeviceInfoUpdateAPIResponseModel is 更新设备昵称等信息 成功返回结果

type AlibabaAlinkDeviceUnbindAPIRequest

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

AlibabaAlinkDeviceUnbindAPIRequest 解绑设备 API请求 alibaba.alink.device.unbind

阿里智能解绑设备

func NewAlibabaAlinkDeviceUnbindRequest

func NewAlibabaAlinkDeviceUnbindRequest() *AlibabaAlinkDeviceUnbindAPIRequest

NewAlibabaAlinkDeviceUnbindRequest 初始化AlibabaAlinkDeviceUnbindAPIRequest对象

func (AlibabaAlinkDeviceUnbindAPIRequest) GetApiMethodName

func (r AlibabaAlinkDeviceUnbindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkDeviceUnbindAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkDeviceUnbindAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkDeviceUnbindAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkDeviceUnbindAPIRequest) SetUuid

SetUuid is Uuid Setter 设备id

type AlibabaAlinkDeviceUnbindAPIResponse

type AlibabaAlinkDeviceUnbindAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkDeviceUnbindAPIResponseModel
}

AlibabaAlinkDeviceUnbindAPIResponse 解绑设备 API返回值 alibaba.alink.device.unbind

阿里智能解绑设备

type AlibabaAlinkDeviceUnbindAPIResponseModel

type AlibabaAlinkDeviceUnbindAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_device_unbind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkDeviceUnbindAPIResponseModel is 解绑设备 成功返回结果

type AlibabaAlinkDeviceUnifyStatusGetAPIRequest

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

AlibabaAlinkDeviceUnifyStatusGetAPIRequest 查询设备标准属性最新状态 API请求 alibaba.alink.device.unify.status.get

查询设备最新标准属性状态

func NewAlibabaAlinkDeviceUnifyStatusGetRequest

func NewAlibabaAlinkDeviceUnifyStatusGetRequest() *AlibabaAlinkDeviceUnifyStatusGetAPIRequest

NewAlibabaAlinkDeviceUnifyStatusGetRequest 初始化AlibabaAlinkDeviceUnifyStatusGetAPIRequest对象

func (AlibabaAlinkDeviceUnifyStatusGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkDeviceUnifyStatusGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkDeviceUnifyStatusGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkDeviceUnifyStatusGetAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkDeviceUnifyStatusGetAPIRequest) SetUuid

SetUuid is Uuid Setter 设备id

type AlibabaAlinkDeviceUnifyStatusGetAPIResponse

type AlibabaAlinkDeviceUnifyStatusGetAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkDeviceUnifyStatusGetAPIResponseModel
}

AlibabaAlinkDeviceUnifyStatusGetAPIResponse 查询设备标准属性最新状态 API返回值 alibaba.alink.device.unify.status.get

查询设备最新标准属性状态

type AlibabaAlinkDeviceUnifyStatusGetAPIResponseModel

type AlibabaAlinkDeviceUnifyStatusGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_device_unify_status_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkDeviceUnifyStatusGetAPIResponseModel is 查询设备标准属性最新状态 成功返回结果

type AlibabaAlinkDeviceUnifyStatusSetAPIRequest

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

AlibabaAlinkDeviceUnifyStatusSetAPIRequest 设置设备标准属性状态 API请求 alibaba.alink.device.unify.status.set

操作用户绑定的设备

func NewAlibabaAlinkDeviceUnifyStatusSetRequest

func NewAlibabaAlinkDeviceUnifyStatusSetRequest() *AlibabaAlinkDeviceUnifyStatusSetAPIRequest

NewAlibabaAlinkDeviceUnifyStatusSetRequest 初始化AlibabaAlinkDeviceUnifyStatusSetAPIRequest对象

func (AlibabaAlinkDeviceUnifyStatusSetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkDeviceUnifyStatusSetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkDeviceUnifyStatusSetAPIRequest) GetInstructions

GetInstructions Instructions Getter

func (AlibabaAlinkDeviceUnifyStatusSetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkDeviceUnifyStatusSetAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkDeviceUnifyStatusSetAPIRequest) SetInstructions

func (r *AlibabaAlinkDeviceUnifyStatusSetAPIRequest) SetInstructions(_instructions string) error

SetInstructions is Instructions Setter 设备的设置参数数据

func (*AlibabaAlinkDeviceUnifyStatusSetAPIRequest) SetUuid

SetUuid is Uuid Setter uuid

type AlibabaAlinkDeviceUnifyStatusSetAPIResponse

type AlibabaAlinkDeviceUnifyStatusSetAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkDeviceUnifyStatusSetAPIResponseModel
}

AlibabaAlinkDeviceUnifyStatusSetAPIResponse 设置设备标准属性状态 API返回值 alibaba.alink.device.unify.status.set

操作用户绑定的设备

type AlibabaAlinkDeviceUnifyStatusSetAPIResponseModel

type AlibabaAlinkDeviceUnifyStatusSetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_device_unify_status_set_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkDeviceUnifyStatusSetAPIResponseModel is 设置设备标准属性状态 成功返回结果

type AlibabaAlinkMessageConfigListAPIRequest

type AlibabaAlinkMessageConfigListAPIRequest struct {
	model.Params
}

AlibabaAlinkMessageConfigListAPIRequest 查询消息开关配置列表 API请求 alibaba.alink.message.config.list

阿里智能获取消息开关配置列表

func NewAlibabaAlinkMessageConfigListRequest

func NewAlibabaAlinkMessageConfigListRequest() *AlibabaAlinkMessageConfigListAPIRequest

NewAlibabaAlinkMessageConfigListRequest 初始化AlibabaAlinkMessageConfigListAPIRequest对象

func (AlibabaAlinkMessageConfigListAPIRequest) GetApiMethodName

func (r AlibabaAlinkMessageConfigListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkMessageConfigListAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkMessageConfigListAPIRequest) GetRawParams added in v1.2.8

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

type AlibabaAlinkMessageConfigListAPIResponse

type AlibabaAlinkMessageConfigListAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkMessageConfigListAPIResponseModel
}

AlibabaAlinkMessageConfigListAPIResponse 查询消息开关配置列表 API返回值 alibaba.alink.message.config.list

阿里智能获取消息开关配置列表

type AlibabaAlinkMessageConfigListAPIResponseModel

type AlibabaAlinkMessageConfigListAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_message_config_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkMessageConfigListAPIResponseModel is 查询消息开关配置列表 成功返回结果

type AlibabaAlinkMessageConfigSetAPIRequest

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

AlibabaAlinkMessageConfigSetAPIRequest 消息提醒开关 API请求 alibaba.alink.message.config.set

阿里智能消息开关

func NewAlibabaAlinkMessageConfigSetRequest

func NewAlibabaAlinkMessageConfigSetRequest() *AlibabaAlinkMessageConfigSetAPIRequest

NewAlibabaAlinkMessageConfigSetRequest 初始化AlibabaAlinkMessageConfigSetAPIRequest对象

func (AlibabaAlinkMessageConfigSetAPIRequest) GetApiMethodName

func (r AlibabaAlinkMessageConfigSetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkMessageConfigSetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkMessageConfigSetAPIRequest) GetPushDisabled

func (r AlibabaAlinkMessageConfigSetAPIRequest) GetPushDisabled() string

GetPushDisabled PushDisabled Getter

func (AlibabaAlinkMessageConfigSetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkMessageConfigSetAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkMessageConfigSetAPIRequest) SetPushDisabled

func (r *AlibabaAlinkMessageConfigSetAPIRequest) SetPushDisabled(_pushDisabled string) error

SetPushDisabled is PushDisabled Setter 0:开启,1:关闭

func (*AlibabaAlinkMessageConfigSetAPIRequest) SetUuid

SetUuid is Uuid Setter 设备id

type AlibabaAlinkMessageConfigSetAPIResponse

type AlibabaAlinkMessageConfigSetAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkMessageConfigSetAPIResponseModel
}

AlibabaAlinkMessageConfigSetAPIResponse 消息提醒开关 API返回值 alibaba.alink.message.config.set

阿里智能消息开关

type AlibabaAlinkMessageConfigSetAPIResponseModel

type AlibabaAlinkMessageConfigSetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_message_config_set_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkMessageConfigSetAPIResponseModel is 消息提醒开关 成功返回结果

type AlibabaAlinkMessageHistoryCountAPIRequest

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

AlibabaAlinkMessageHistoryCountAPIRequest 查询消息总数 API请求 alibaba.alink.message.history.count

查询消息总数

func NewAlibabaAlinkMessageHistoryCountRequest

func NewAlibabaAlinkMessageHistoryCountRequest() *AlibabaAlinkMessageHistoryCountAPIRequest

NewAlibabaAlinkMessageHistoryCountRequest 初始化AlibabaAlinkMessageHistoryCountAPIRequest对象

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetLevel

GetLevel Level Getter

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetLimit

GetLimit Limit Getter

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetOffset

GetOffset Offset Getter

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetStatus

GetStatus Status Getter

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetType

GetType Type Getter

func (AlibabaAlinkMessageHistoryCountAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkMessageHistoryCountAPIRequest) SetLevel

SetLevel is Level Setter 消息级别 1:普通;2:重要消息

func (*AlibabaAlinkMessageHistoryCountAPIRequest) SetLimit

SetLimit is Limit Setter 查询多少条数据

func (*AlibabaAlinkMessageHistoryCountAPIRequest) SetOffset

SetOffset is Offset Setter 偏移量

func (*AlibabaAlinkMessageHistoryCountAPIRequest) SetStatus

SetStatus is Status Setter 消息状态,0:未读;1:已读

func (*AlibabaAlinkMessageHistoryCountAPIRequest) SetType

SetType is Type Setter 消息类型 1:通知, 2:报警, 3:运营,5:语音控制机器人响应,6:语音控

func (*AlibabaAlinkMessageHistoryCountAPIRequest) SetUuid

SetUuid is Uuid Setter 设备id

type AlibabaAlinkMessageHistoryCountAPIResponse

type AlibabaAlinkMessageHistoryCountAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkMessageHistoryCountAPIResponseModel
}

AlibabaAlinkMessageHistoryCountAPIResponse 查询消息总数 API返回值 alibaba.alink.message.history.count

查询消息总数

type AlibabaAlinkMessageHistoryCountAPIResponseModel

type AlibabaAlinkMessageHistoryCountAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_message_history_count_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkMessageHistoryCountAPIResponseModel is 查询消息总数 成功返回结果

type AlibabaAlinkMessageHistoryListAPIRequest

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

AlibabaAlinkMessageHistoryListAPIRequest 查询消息列表 API请求 alibaba.alink.message.history.list

查询消息列表

func NewAlibabaAlinkMessageHistoryListRequest

func NewAlibabaAlinkMessageHistoryListRequest() *AlibabaAlinkMessageHistoryListAPIRequest

NewAlibabaAlinkMessageHistoryListRequest 初始化AlibabaAlinkMessageHistoryListAPIRequest对象

func (AlibabaAlinkMessageHistoryListAPIRequest) GetApiMethodName

func (r AlibabaAlinkMessageHistoryListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkMessageHistoryListAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkMessageHistoryListAPIRequest) GetLevel

GetLevel Level Getter

func (AlibabaAlinkMessageHistoryListAPIRequest) GetLimit

GetLimit Limit Getter

func (AlibabaAlinkMessageHistoryListAPIRequest) GetOffset

GetOffset Offset Getter

func (AlibabaAlinkMessageHistoryListAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAlinkMessageHistoryListAPIRequest) GetStatus

GetStatus Status Getter

func (AlibabaAlinkMessageHistoryListAPIRequest) GetType

GetType Type Getter

func (AlibabaAlinkMessageHistoryListAPIRequest) GetUuid

GetUuid Uuid Getter

func (*AlibabaAlinkMessageHistoryListAPIRequest) SetLevel

SetLevel is Level Setter 消息级别 1:普通;2:重要消息

func (*AlibabaAlinkMessageHistoryListAPIRequest) SetLimit

SetLimit is Limit Setter 查询多少条数据

func (*AlibabaAlinkMessageHistoryListAPIRequest) SetOffset

SetOffset is Offset Setter 偏移量

func (*AlibabaAlinkMessageHistoryListAPIRequest) SetStatus

SetStatus is Status Setter 消息状态,0:未读;1:已读

func (*AlibabaAlinkMessageHistoryListAPIRequest) SetType

SetType is Type Setter 消息类型 1:通知, 2:报警, 3:运营,5:语音控制机器人响应,6:语音控

func (*AlibabaAlinkMessageHistoryListAPIRequest) SetUuid

SetUuid is Uuid Setter 设备id

type AlibabaAlinkMessageHistoryListAPIResponse

type AlibabaAlinkMessageHistoryListAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkMessageHistoryListAPIResponseModel
}

AlibabaAlinkMessageHistoryListAPIResponse 查询消息列表 API返回值 alibaba.alink.message.history.list

查询消息列表

type AlibabaAlinkMessageHistoryListAPIResponseModel

type AlibabaAlinkMessageHistoryListAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_message_history_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkMessageHistoryListAPIResponseModel is 查询消息列表 成功返回结果

type AliyunAlinkDataStatReportAPIRequest

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

AliyunAlinkDataStatReportAPIRequest 外部离线统计数据上报 API请求 aliyun.alink.data.stat.report

外部合作厂商上报设备的明细数据,或者离线统计数据。

func NewAliyunAlinkDataStatReportRequest

func NewAliyunAlinkDataStatReportRequest() *AliyunAlinkDataStatReportAPIRequest

NewAliyunAlinkDataStatReportRequest 初始化AliyunAlinkDataStatReportAPIRequest对象

func (AliyunAlinkDataStatReportAPIRequest) GetApiMethodName

func (r AliyunAlinkDataStatReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliyunAlinkDataStatReportAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliyunAlinkDataStatReportAPIRequest) GetParamBean

GetParamBean ParamBean Getter

func (AliyunAlinkDataStatReportAPIRequest) GetRawParams added in v1.2.8

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

func (*AliyunAlinkDataStatReportAPIRequest) SetParamBean

func (r *AliyunAlinkDataStatReportAPIRequest) SetParamBean(_paramBean *OuterDataBean) error

SetParamBean is ParamBean Setter 入参对象

type AliyunAlinkDataStatReportAPIResponse

type AliyunAlinkDataStatReportAPIResponse struct {
	model.CommonResponse
	AliyunAlinkDataStatReportAPIResponseModel
}

AliyunAlinkDataStatReportAPIResponse 外部离线统计数据上报 API返回值 aliyun.alink.data.stat.report

外部合作厂商上报设备的明细数据,或者离线统计数据。

type AliyunAlinkDataStatReportAPIResponseModel

type AliyunAlinkDataStatReportAPIResponseModel struct {
	XMLName xml.Name `xml:"aliyun_alink_data_stat_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误消息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 数据入库状态
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// 调用是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AliyunAlinkDataStatReportAPIResponseModel is 外部离线统计数据上报 成功返回结果

type AliyunAlinkOpendataUrlQueryAPIRequest

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

AliyunAlinkOpendataUrlQueryAPIRequest 开放数据授权访问URL查询 API请求 aliyun.alink.opendata.url.query

厂商数据授权访问URL查询

func NewAliyunAlinkOpendataUrlQueryRequest

func NewAliyunAlinkOpendataUrlQueryRequest() *AliyunAlinkOpendataUrlQueryAPIRequest

NewAliyunAlinkOpendataUrlQueryRequest 初始化AliyunAlinkOpendataUrlQueryAPIRequest对象

func (AliyunAlinkOpendataUrlQueryAPIRequest) GetAccessKey

GetAccessKey AccessKey Getter

func (AliyunAlinkOpendataUrlQueryAPIRequest) GetApiMethodName

func (r AliyunAlinkOpendataUrlQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliyunAlinkOpendataUrlQueryAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliyunAlinkOpendataUrlQueryAPIRequest) GetBizDay

GetBizDay BizDay Getter

func (AliyunAlinkOpendataUrlQueryAPIRequest) GetBizHour

GetBizHour BizHour Getter

func (AliyunAlinkOpendataUrlQueryAPIRequest) GetDataType

GetDataType DataType Getter

func (AliyunAlinkOpendataUrlQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AliyunAlinkOpendataUrlQueryAPIRequest) SetAccessKey

func (r *AliyunAlinkOpendataUrlQueryAPIRequest) SetAccessKey(_accessKey string) error

SetAccessKey is AccessKey Setter 授权key,厂家在物联平台申请的云端授权key

func (*AliyunAlinkOpendataUrlQueryAPIRequest) SetBizDay

func (r *AliyunAlinkOpendataUrlQueryAPIRequest) SetBizDay(_bizDay string) error

SetBizDay is BizDay Setter 数据日期,格式:yyyyMMdd

func (*AliyunAlinkOpendataUrlQueryAPIRequest) SetBizHour

func (r *AliyunAlinkOpendataUrlQueryAPIRequest) SetBizHour(_bizHour int64) error

SetBizHour is BizHour Setter 数据时点,范围[0,23]

func (*AliyunAlinkOpendataUrlQueryAPIRequest) SetDataType

func (r *AliyunAlinkOpendataUrlQueryAPIRequest) SetDataType(_dataType int64) error

SetDataType is DataType Setter 数据类型,1:设备数据,2:用户操作数据

type AliyunAlinkOpendataUrlQueryAPIResponse

type AliyunAlinkOpendataUrlQueryAPIResponse struct {
	model.CommonResponse
	AliyunAlinkOpendataUrlQueryAPIResponseModel
}

AliyunAlinkOpendataUrlQueryAPIResponse 开放数据授权访问URL查询 API返回值 aliyun.alink.opendata.url.query

厂商数据授权访问URL查询

type AliyunAlinkOpendataUrlQueryAPIResponseModel

type AliyunAlinkOpendataUrlQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliyun_alink_opendata_url_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 授权url
	Module []string `json:"module,omitempty" xml:"module>string,omitempty"`
	// 接口描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 调用是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AliyunAlinkOpendataUrlQueryAPIResponseModel is 开放数据授权访问URL查询 成功返回结果

type OuterDataBean

type OuterDataBean struct {
	// 上报内容,可以是数字,或者json格式文本
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 产品型号,在入驻时生成的
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 数据类型,detail:明细数据,stat:统计数据
	DataType string `json:"data_type,omitempty" xml:"data_type,omitempty"`
	// 产品型号key,和model对应,在注册产品型号时分配
	ModelKey string `json:"model_key,omitempty" xml:"model_key,omitempty"`
	// 数据产生的时间
	StatTime string `json:"stat_time,omitempty" xml:"stat_time,omitempty"`
	// 外部数据的唯一id,比如:设备mac、sn等表示设备唯一性的数据,或者表示该统计数据的自定义id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
}

OuterDataBean 结构体

type TopServiceResult

type TopServiceResult struct {
	// 接口返回数据
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// message
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 详细描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TopServiceResult 结构体

Jump to

Keyboard shortcuts

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