iot

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 iot 包含智能设备相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AiCloudResult

type AiCloudResult struct {
	// uuid 32位
	Uuids []string `json:"uuids,omitempty" xml:"uuids>string,omitempty"`
	// 对话流列表数据
	Models []string `json:"models,omitempty" xml:"models>string,omitempty"`
	// List<Map<String, Object>>数据结构,List中的每一个条目是一个Map对象,key为属性名称,value为对应的值
	ModelList []string `json:"model_list,omitempty" xml:"model_list>string,omitempty"`
	// model
	Likes []Like `json:"likes,omitempty" xml:"likes>like,omitempty"`
	// List数据结构,List中的每一个条目是一个Map对象,key为属性名称,value为对应的值
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 返回码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 返回信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 额外扩展信息,JSON串,不一定有
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
	// auth信息
	AuthInfo string `json:"auth_info,omitempty" xml:"auth_info,omitempty"`
	// 总共符合数据的个数(目前由于底层引擎限制,实际最多能查5000个,超过5000返回为空)
	RecordCount int64 `json:"record_count,omitempty" xml:"record_count,omitempty"`
	// 请求是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否操作成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AiCloudResult 结构体

type AlibabaAilabsAligenieAlbumsGetAPIRequest

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

AlibabaAilabsAligenieAlbumsGetAPIRequest 专辑详情 API请求 alibaba.ailabs.aligenie.albums.get

给予厂商查询专辑下的音频详情

func NewAlibabaAilabsAligenieAlbumsGetRequest

func NewAlibabaAilabsAligenieAlbumsGetRequest() *AlibabaAilabsAligenieAlbumsGetAPIRequest

NewAlibabaAilabsAligenieAlbumsGetRequest 初始化AlibabaAilabsAligenieAlbumsGetAPIRequest对象

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetApiMethodName

func (r AlibabaAilabsAligenieAlbumsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetExt

GetExt Ext Getter

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetParam1

GetParam1 Param1 Getter

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetParam2

GetParam2 Param2 Getter

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetParam3

GetParam3 Param3 Getter

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetSchema

GetSchema Schema Getter

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetUserId

GetUserId UserId Getter

func (AlibabaAilabsAligenieAlbumsGetAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*AlibabaAilabsAligenieAlbumsGetAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*AlibabaAilabsAligenieAlbumsGetAPIRequest) SetParam1

SetParam1 is Param1 Setter 专辑 id

func (*AlibabaAilabsAligenieAlbumsGetAPIRequest) SetParam2

SetParam2 is Param2 Setter 当前页(从1开始, 目前由于底层引擎限制,实际最多能查5000个,超过5000返回为空,请确保页码*分页大小不超过5000)

func (*AlibabaAilabsAligenieAlbumsGetAPIRequest) SetParam3

SetParam3 is Param3 Setter 每页数量(不超过50)

func (*AlibabaAilabsAligenieAlbumsGetAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*AlibabaAilabsAligenieAlbumsGetAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*AlibabaAilabsAligenieAlbumsGetAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type AlibabaAilabsAligenieAlbumsGetAPIResponse

type AlibabaAilabsAligenieAlbumsGetAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsAligenieAlbumsGetAPIResponseModel
}

AlibabaAilabsAligenieAlbumsGetAPIResponse 专辑详情 API返回值 alibaba.ailabs.aligenie.albums.get

给予厂商查询专辑下的音频详情

type AlibabaAilabsAligenieAlbumsGetAPIResponseModel

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

AlibabaAilabsAligenieAlbumsGetAPIResponseModel is 专辑详情 成功返回结果

type AlibabaAilabsAligenieAlbumsSearchAPIRequest

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

AlibabaAilabsAligenieAlbumsSearchAPIRequest 查询专辑 API请求 alibaba.ailabs.aligenie.albums.search

搜索类目下的专辑信息

func NewAlibabaAilabsAligenieAlbumsSearchRequest

func NewAlibabaAilabsAligenieAlbumsSearchRequest() *AlibabaAilabsAligenieAlbumsSearchAPIRequest

NewAlibabaAilabsAligenieAlbumsSearchRequest 初始化AlibabaAilabsAligenieAlbumsSearchAPIRequest对象

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetExt

GetExt Ext Getter

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetParam1

GetParam1 Param1 Getter

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetParam2

GetParam2 Param2 Getter

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetParam3

GetParam3 Param3 Getter

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetParam4

GetParam4 Param4 Getter

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetParam5

GetParam5 Param5 Getter

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetSchema

GetSchema Schema Getter

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetUserId

GetUserId UserId Getter

func (AlibabaAilabsAligenieAlbumsSearchAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetParam1

SetParam1 is Param1 Setter 一级类目,如:儿童、新闻、商业财经有声书等

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetParam2

SetParam2 is Param2 Setter 二级类目,如儿童下有:儿歌、童谣、国学等

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetParam3

SetParam3 is Param3 Setter 搜索的单个专辑名称

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetParam4

SetParam4 is Param4 Setter 当前页(从1开始, 目前由于底层引擎限制,实际最多能查5000个,超过5000返回为空,请确保页码*分页大小不超过5000)

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetParam5

SetParam5 is Param5 Setter 每页数量(不超过50)

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*AlibabaAilabsAligenieAlbumsSearchAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type AlibabaAilabsAligenieAlbumsSearchAPIResponse

type AlibabaAilabsAligenieAlbumsSearchAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsAligenieAlbumsSearchAPIResponseModel
}

AlibabaAilabsAligenieAlbumsSearchAPIResponse 查询专辑 API返回值 alibaba.ailabs.aligenie.albums.search

搜索类目下的专辑信息

type AlibabaAilabsAligenieAlbumsSearchAPIResponseModel

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

AlibabaAilabsAligenieAlbumsSearchAPIResponseModel is 查询专辑 成功返回结果

type AlibabaAilabsAligenieIotDeviceControlResultAPIRequest

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

AlibabaAilabsAligenieIotDeviceControlResultAPIRequest 设备控制结果 API请求 alibaba.ailabs.aligenie.iot.device.control.result

智能IOT解决外部厂商在云云模式在用户通过天猫精灵下发设备指令过程中,厂商指令完成,回调结果通知

func NewAlibabaAilabsAligenieIotDeviceControlResultRequest

func NewAlibabaAilabsAligenieIotDeviceControlResultRequest() *AlibabaAilabsAligenieIotDeviceControlResultAPIRequest

NewAlibabaAilabsAligenieIotDeviceControlResultRequest 初始化AlibabaAilabsAligenieIotDeviceControlResultAPIRequest对象

func (AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) GetAckCode

GetAckCode AckCode Getter

func (AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) GetControl

GetControl Control Getter

func (AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) GetDeviceId

GetDeviceId DeviceId Getter

func (AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) GetRequestToken

GetRequestToken RequestToken Getter

func (AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) GetType

GetType Type Getter

func (*AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) SetAckCode

SetAckCode is AckCode Setter 厂商执行返回ackCode

func (*AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) SetControl

SetControl is Control Setter 控制成功

func (*AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) SetDeviceId

SetDeviceId is DeviceId Setter 设备ID

func (*AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) SetRequestToken

func (r *AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) SetRequestToken(_requestToken string) error

SetRequestToken is RequestToken Setter 请求token

func (*AlibabaAilabsAligenieIotDeviceControlResultAPIRequest) SetType

SetType is Type Setter 操作类型 1:控制操作 0:查询

type AlibabaAilabsAligenieIotDeviceControlResultAPIResponse

type AlibabaAilabsAligenieIotDeviceControlResultAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsAligenieIotDeviceControlResultAPIResponseModel
}

AlibabaAilabsAligenieIotDeviceControlResultAPIResponse 设备控制结果 API返回值 alibaba.ailabs.aligenie.iot.device.control.result

智能IOT解决外部厂商在云云模式在用户通过天猫精灵下发设备指令过程中,厂商指令完成,回调结果通知

type AlibabaAilabsAligenieIotDeviceControlResultAPIResponseModel

type AlibabaAilabsAligenieIotDeviceControlResultAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ailabs_aligenie_iot_device_control_result_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// statusCode
	StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"`
	// result
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAilabsAligenieIotDeviceControlResultAPIResponseModel is 设备控制结果 成功返回结果

type AlibabaAilabsAligenieTracksSearchAPIRequest

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

AlibabaAilabsAligenieTracksSearchAPIRequest 查询音频 API请求 alibaba.ailabs.aligenie.tracks.search

搜索类目下的音频信息

func NewAlibabaAilabsAligenieTracksSearchRequest

func NewAlibabaAilabsAligenieTracksSearchRequest() *AlibabaAilabsAligenieTracksSearchAPIRequest

NewAlibabaAilabsAligenieTracksSearchRequest 初始化AlibabaAilabsAligenieTracksSearchAPIRequest对象

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetExt

GetExt Ext Getter

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetParam1

GetParam1 Param1 Getter

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetParam2

GetParam2 Param2 Getter

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetParam3

GetParam3 Param3 Getter

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetParam4

GetParam4 Param4 Getter

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetParam5

GetParam5 Param5 Getter

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetSchema

GetSchema Schema Getter

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetUserId

GetUserId UserId Getter

func (AlibabaAilabsAligenieTracksSearchAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetParam1

SetParam1 is Param1 Setter 一级类目,如:儿童、新闻、商业财经有声书等

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetParam2

SetParam2 is Param2 Setter 二级类目,如儿童下有:儿歌、童谣、国学等

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetParam3

SetParam3 is Param3 Setter 搜索的单个音频名称

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetParam4

SetParam4 is Param4 Setter 当前页(从1开始, 目前由于底层引擎限制,实际最多能查5000个,超过5000返回为空,请确保页码*分页大小不超过5000)

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetParam5

SetParam5 is Param5 Setter 每页数量(不超过50)

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*AlibabaAilabsAligenieTracksSearchAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type AlibabaAilabsAligenieTracksSearchAPIResponse

type AlibabaAilabsAligenieTracksSearchAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsAligenieTracksSearchAPIResponseModel
}

AlibabaAilabsAligenieTracksSearchAPIResponse 查询音频 API返回值 alibaba.ailabs.aligenie.tracks.search

搜索类目下的音频信息

type AlibabaAilabsAligenieTracksSearchAPIResponseModel

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

AlibabaAilabsAligenieTracksSearchAPIResponseModel is 查询音频 成功返回结果

type AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest

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

AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest 获取食谱详情 API请求 alibaba.ailabs.iot.business.recipe.getdetail

获取食谱详情接口,获取ISV自己的食谱详情数据

func NewAlibabaAilabsIotBusinessRecipeGetdetailRequest

func NewAlibabaAilabsIotBusinessRecipeGetdetailRequest() *AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest

NewAlibabaAilabsIotBusinessRecipeGetdetailRequest 初始化AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest对象

func (AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) GetBusinessRecipeId

GetBusinessRecipeId BusinessRecipeId Getter

func (AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) GetOpenAccountId

GetOpenAccountId OpenAccountId Getter

func (AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) SetBusinessRecipeId

func (r *AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) SetBusinessRecipeId(_businessRecipeId int64) error

SetBusinessRecipeId is BusinessRecipeId Setter 行业食谱id

func (*AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) SetOpenAccountId

func (r *AlibabaAilabsIotBusinessRecipeGetdetailAPIRequest) SetOpenAccountId(_openAccountId string) error

SetOpenAccountId is OpenAccountId Setter 开放账号id

type AlibabaAilabsIotBusinessRecipeGetdetailAPIResponse

type AlibabaAilabsIotBusinessRecipeGetdetailAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsIotBusinessRecipeGetdetailAPIResponseModel
}

AlibabaAilabsIotBusinessRecipeGetdetailAPIResponse 获取食谱详情 API返回值 alibaba.ailabs.iot.business.recipe.getdetail

获取食谱详情接口,获取ISV自己的食谱详情数据

type AlibabaAilabsIotBusinessRecipeGetdetailAPIResponseModel

type AlibabaAilabsIotBusinessRecipeGetdetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ailabs_iot_business_recipe_getdetail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回包装类
	Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAilabsIotBusinessRecipeGetdetailAPIResponseModel is 获取食谱详情 成功返回结果

type AlibabaAilabsIotBusinessRecipeGetpageAPIRequest

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

AlibabaAilabsIotBusinessRecipeGetpageAPIRequest 分页查询食谱 API请求 alibaba.ailabs.iot.business.recipe.getpage

分页查询食谱数据

func NewAlibabaAilabsIotBusinessRecipeGetpageRequest

func NewAlibabaAilabsIotBusinessRecipeGetpageRequest() *AlibabaAilabsIotBusinessRecipeGetpageAPIRequest

NewAlibabaAilabsIotBusinessRecipeGetpageRequest 初始化AlibabaAilabsIotBusinessRecipeGetpageAPIRequest对象

func (AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) GetOpenAccountId

GetOpenAccountId OpenAccountId Getter

func (AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) GetPageNum

GetPageNum PageNum Getter

func (AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) GetPageSize

GetPageSize PageSize Getter

func (AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) SetOpenAccountId

func (r *AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) SetOpenAccountId(_openAccountId string) error

SetOpenAccountId is OpenAccountId Setter 开放账号id

func (*AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) SetPageNum

SetPageNum is PageNum Setter 分页页码

func (*AlibabaAilabsIotBusinessRecipeGetpageAPIRequest) SetPageSize

SetPageSize is PageSize Setter 分页大小

type AlibabaAilabsIotBusinessRecipeGetpageAPIResponse

type AlibabaAilabsIotBusinessRecipeGetpageAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsIotBusinessRecipeGetpageAPIResponseModel
}

AlibabaAilabsIotBusinessRecipeGetpageAPIResponse 分页查询食谱 API返回值 alibaba.ailabs.iot.business.recipe.getpage

分页查询食谱数据

type AlibabaAilabsIotBusinessRecipeGetpageAPIResponseModel

type AlibabaAilabsIotBusinessRecipeGetpageAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ailabs_iot_business_recipe_getpage_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回包装类
	Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAilabsIotBusinessRecipeGetpageAPIResponseModel is 分页查询食谱 成功返回结果

type AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest

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

AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest 插入和更新食谱 API请求 alibaba.ailabs.iot.business.recipe.insertorupdate

插入和更新食谱,将isv的食谱添加到云端进行存储

func NewAlibabaAilabsIotBusinessRecipeInsertorupdateRequest

func NewAlibabaAilabsIotBusinessRecipeInsertorupdateRequest() *AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest

NewAlibabaAilabsIotBusinessRecipeInsertorupdateRequest 初始化AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest对象

func (AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest) GetParamBusinessRecipeOpenParam

GetParamBusinessRecipeOpenParam ParamBusinessRecipeOpenParam Getter

func (AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest) SetParamBusinessRecipeOpenParam

func (r *AlibabaAilabsIotBusinessRecipeInsertorupdateAPIRequest) SetParamBusinessRecipeOpenParam(_paramBusinessRecipeOpenParam *BusinessRecipeOpenParam) error

SetParamBusinessRecipeOpenParam is ParamBusinessRecipeOpenParam Setter 行业食谱开放参数

type AlibabaAilabsIotBusinessRecipeInsertorupdateAPIResponse

type AlibabaAilabsIotBusinessRecipeInsertorupdateAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsIotBusinessRecipeInsertorupdateAPIResponseModel
}

AlibabaAilabsIotBusinessRecipeInsertorupdateAPIResponse 插入和更新食谱 API返回值 alibaba.ailabs.iot.business.recipe.insertorupdate

插入和更新食谱,将isv的食谱添加到云端进行存储

type AlibabaAilabsIotBusinessRecipeInsertorupdateAPIResponseModel

type AlibabaAilabsIotBusinessRecipeInsertorupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ailabs_iot_business_recipe_insertorupdate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 追踪id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 响应code
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 返回结果,行业食谱Id
	RetValue int64 `json:"ret_value,omitempty" xml:"ret_value,omitempty"`
}

AlibabaAilabsIotBusinessRecipeInsertorupdateAPIResponseModel is 插入和更新食谱 成功返回结果

type AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest

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

AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest 插入或更新食谱步骤 API请求 alibaba.ailabs.iot.business.recipestep.insertorupdate

插入或更新食谱步骤

func NewAlibabaAilabsIotBusinessRecipestepInsertorupdateRequest

func NewAlibabaAilabsIotBusinessRecipestepInsertorupdateRequest() *AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest

NewAlibabaAilabsIotBusinessRecipestepInsertorupdateRequest 初始化AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest对象

func (AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest) GetParamBusinessRecipeStepOpenParam

GetParamBusinessRecipeStepOpenParam ParamBusinessRecipeStepOpenParam Getter

func (AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest) SetParamBusinessRecipeStepOpenParam

func (r *AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIRequest) SetParamBusinessRecipeStepOpenParam(_paramBusinessRecipeStepOpenParam *BusinessRecipeStepOpenParam) error

SetParamBusinessRecipeStepOpenParam is ParamBusinessRecipeStepOpenParam Setter 食谱步骤开放参数

type AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIResponse

type AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIResponse struct {
	model.CommonResponse
	AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIResponseModel
}

AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIResponse 插入或更新食谱步骤 API返回值 alibaba.ailabs.iot.business.recipestep.insertorupdate

插入或更新食谱步骤

type AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIResponseModel

type AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ailabs_iot_business_recipestep_insertorupdate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 追踪id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 响应code
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 返回结果
	RetValue int64 `json:"ret_value,omitempty" xml:"ret_value,omitempty"`
}

AlibabaAilabsIotBusinessRecipestepInsertorupdateAPIResponseModel is 插入或更新食谱步骤 成功返回结果

type AlibabaRetailDevicePayUrlGetAPIRequest

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

AlibabaRetailDevicePayUrlGetAPIRequest 贩卖机支付二维链接获取 API请求 alibaba.retail.device.payUrl.get

贩卖机支付二维链接获取

func NewAlibabaRetailDevicePayUrlGetRequest

func NewAlibabaRetailDevicePayUrlGetRequest() *AlibabaRetailDevicePayUrlGetAPIRequest

NewAlibabaRetailDevicePayUrlGetRequest 初始化AlibabaRetailDevicePayUrlGetAPIRequest对象

func (AlibabaRetailDevicePayUrlGetAPIRequest) GetApiMethodName

func (r AlibabaRetailDevicePayUrlGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailDevicePayUrlGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailDevicePayUrlGetAPIRequest) GetBizName

GetBizName BizName Getter

func (AlibabaRetailDevicePayUrlGetAPIRequest) GetDeviceId

GetDeviceId DeviceId Getter

func (AlibabaRetailDevicePayUrlGetAPIRequest) GetIsvOrderId

GetIsvOrderId IsvOrderId Getter

func (AlibabaRetailDevicePayUrlGetAPIRequest) GetItemId

GetItemId ItemId Getter

func (AlibabaRetailDevicePayUrlGetAPIRequest) GetItemType

GetItemType ItemType Getter

func (AlibabaRetailDevicePayUrlGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaRetailDevicePayUrlGetAPIRequest) SetBizName

func (r *AlibabaRetailDevicePayUrlGetAPIRequest) SetBizName(_bizName string) error

SetBizName is BizName Setter 业务名称

func (*AlibabaRetailDevicePayUrlGetAPIRequest) SetDeviceId

func (r *AlibabaRetailDevicePayUrlGetAPIRequest) SetDeviceId(_deviceId string) error

SetDeviceId is DeviceId Setter 设备sn

func (*AlibabaRetailDevicePayUrlGetAPIRequest) SetIsvOrderId

func (r *AlibabaRetailDevicePayUrlGetAPIRequest) SetIsvOrderId(_isvOrderId string) error

SetIsvOrderId is IsvOrderId Setter 外部订单id

func (*AlibabaRetailDevicePayUrlGetAPIRequest) SetItemId

func (r *AlibabaRetailDevicePayUrlGetAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品id

func (*AlibabaRetailDevicePayUrlGetAPIRequest) SetItemType

func (r *AlibabaRetailDevicePayUrlGetAPIRequest) SetItemType(_itemType int64) error

SetItemType is ItemType Setter 1表示商品box,0或者为空表示普通商品

type AlibabaRetailDevicePayUrlGetAPIResponse

type AlibabaRetailDevicePayUrlGetAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDevicePayUrlGetAPIResponseModel
}

AlibabaRetailDevicePayUrlGetAPIResponse 贩卖机支付二维链接获取 API返回值 alibaba.retail.device.payUrl.get

贩卖机支付二维链接获取

type AlibabaRetailDevicePayUrlGetAPIResponseModel

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

AlibabaRetailDevicePayUrlGetAPIResponseModel is 贩卖机支付二维链接获取 成功返回结果

type AlibabaRetailDevicePayUrlGetResult

type AlibabaRetailDevicePayUrlGetResult struct {
	// errorInfos
	ErrorInfos []ErrorInfo `json:"error_infos,omitempty" xml:"error_infos>error_info,omitempty"`
	// module
	Module string `json:"module,omitempty" xml:"module,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaRetailDevicePayUrlGetResult 结构体

type BaseResult

type BaseResult struct {
	// 信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 追踪id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 响应code
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 返回结果
	RetValue *BusinessRecipeOpenDto `json:"ret_value,omitempty" xml:"ret_value,omitempty"`
}

BaseResult 结构体

type BusinessRecipeOpenDto

type BusinessRecipeOpenDto struct {
	// 食谱食材参数列表
	RecipeIngredientList []RecipeIngredientDto `json:"recipe_ingredient_list,omitempty" xml:"recipe_ingredient_list>recipe_ingredient_dto,omitempty"`
	// 食谱步骤列表
	RecipeStepList []BusinessRecipeStepOpenDto `json:"recipe_step_list,omitempty" xml:"recipe_step_list>business_recipe_step_open_dto,omitempty"`
	// 标签列表
	TagList []ContentTagDto `json:"tag_list,omitempty" xml:"tag_list>content_tag_dto,omitempty"`
	// 菜谱描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 食谱中文名
	RecipeNameCn string `json:"recipe_name_cn,omitempty" xml:"recipe_name_cn,omitempty"`
	// 食谱提示信息
	Tips string `json:"tips,omitempty" xml:"tips,omitempty"`
	// 食谱类型 0视频菜谱 1图文菜谱
	RecipeType string `json:"recipe_type,omitempty" xml:"recipe_type,omitempty"`
	// 行业食谱id
	BusinessRecipeId int64 `json:"business_recipe_id,omitempty" xml:"business_recipe_id,omitempty"`
	// 菜谱功能类型 1 普通食谱 2 智能食谱
	FunctionType int64 `json:"function_type,omitempty" xml:"function_type,omitempty"`
	// 食谱图片
	RecipeImage *ImageUrlDto `json:"recipe_image,omitempty" xml:"recipe_image,omitempty"`
	// 食谱时间,单位秒
	RecipeTime int64 `json:"recipe_time,omitempty" xml:"recipe_time,omitempty"`
	// 食谱视频
	RecipeVideo *VideoUrlDto `json:"recipe_video,omitempty" xml:"recipe_video,omitempty"`
}

BusinessRecipeOpenDto 结构体

type BusinessRecipeOpenParam

type BusinessRecipeOpenParam struct {
	// 重量及单位
	RecipeIngredientList []RecipeIngredientParam `json:"recipe_ingredient_list,omitempty" xml:"recipe_ingredient_list>recipe_ingredient_param,omitempty"`
	// 标签列表
	TagIdList []int64 `json:"tag_id_list,omitempty" xml:"tag_id_list>int64,omitempty"`
	// 菜谱描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 开放账号id
	OpenAccountId string `json:"open_account_id,omitempty" xml:"open_account_id,omitempty"`
	// 食谱中文名
	RecipeNameCn string `json:"recipe_name_cn,omitempty" xml:"recipe_name_cn,omitempty"`
	// 菜谱提示信息
	Tips string `json:"tips,omitempty" xml:"tips,omitempty"`
	// 品类Id
	DevTypeId int64 `json:"dev_type_id,omitempty" xml:"dev_type_id,omitempty"`
	// 食谱id
	RecipeId int64 `json:"recipe_id,omitempty" xml:"recipe_id,omitempty"`
	// 食谱图片
	RecipeImage *ImageUrlParam `json:"recipe_image,omitempty" xml:"recipe_image,omitempty"`
	// 食谱类型 0视频菜谱 1图文菜谱
	RecipeType int64 `json:"recipe_type,omitempty" xml:"recipe_type,omitempty"`
	// 食谱视频
	RecipeVideo *VideoUrlParam `json:"recipe_video,omitempty" xml:"recipe_video,omitempty"`
}

BusinessRecipeOpenParam 结构体

type BusinessRecipeStepActionOpenDto

type BusinessRecipeStepActionOpenDto struct {
	// 指令名
	ActionName string `json:"action_name,omitempty" xml:"action_name,omitempty"`
	// 指令值
	ActionValue string `json:"action_value,omitempty" xml:"action_value,omitempty"`
	// 指令类型:0:整数型,1:枚举类型,2:浮点类型,3:布尔型,4:字符串,5:时间型,6:JSON对象
	ActionType int64 `json:"action_type,omitempty" xml:"action_type,omitempty"`
	// 指令顺序号
	Sequence int64 `json:"sequence,omitempty" xml:"sequence,omitempty"`
}

BusinessRecipeStepActionOpenDto 结构体

type BusinessRecipeStepActionOpenParam

type BusinessRecipeStepActionOpenParam struct {
	// 指令名称
	ActionName string `json:"action_name,omitempty" xml:"action_name,omitempty"`
	// 指令值
	ActionValue string `json:"action_value,omitempty" xml:"action_value,omitempty"`
	// 指令顺序号
	Sequence int64 `json:"sequence,omitempty" xml:"sequence,omitempty"`
}

BusinessRecipeStepActionOpenParam 结构体

type BusinessRecipeStepOpenDto

type BusinessRecipeStepOpenDto struct {
	// 食谱步骤指令列表
	RecipeStepActionList []BusinessRecipeStepActionOpenDto `json:"recipe_step_action_list,omitempty" xml:"recipe_step_action_list>business_recipe_step_action_open_dto,omitempty"`
	// 步骤详细描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 食谱步骤名
	RecipeStepName string `json:"recipe_step_name,omitempty" xml:"recipe_step_name,omitempty"`
	// 食谱步骤提示
	Tips string `json:"tips,omitempty" xml:"tips,omitempty"`
	// 行业食谱id
	BusinessRecipeId int64 `json:"business_recipe_id,omitempty" xml:"business_recipe_id,omitempty"`
	// 行业食谱步骤id
	BusinessRecipeStepId int64 `json:"business_recipe_step_id,omitempty" xml:"business_recipe_step_id,omitempty"`
	// 食谱步骤图url
	ImageUrl *ImageUrlDto `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 食谱步骤时间
	RecipeStepTime int64 `json:"recipe_step_time,omitempty" xml:"recipe_step_time,omitempty"`
	// 顺序号
	Sequence int64 `json:"sequence,omitempty" xml:"sequence,omitempty"`
	// 食谱步骤视频
	VideoUrl *VideoUrlDto `json:"video_url,omitempty" xml:"video_url,omitempty"`
}

BusinessRecipeStepOpenDto 结构体

type BusinessRecipeStepOpenParam

type BusinessRecipeStepOpenParam struct {
	// 步骤指令列表
	RecipeStepActionList []BusinessRecipeStepActionOpenParam `json:"recipe_step_action_list,omitempty" xml:"recipe_step_action_list>business_recipe_step_action_open_param,omitempty"`
	// 食谱步骤描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 开放账号Id
	OpenAccountId string `json:"open_account_id,omitempty" xml:"open_account_id,omitempty"`
	// 食谱步骤中文名
	RecipeStepNameCn string `json:"recipe_step_name_cn,omitempty" xml:"recipe_step_name_cn,omitempty"`
	// 食谱步骤提示
	Tips string `json:"tips,omitempty" xml:"tips,omitempty"`
	// 行业食谱id
	BusinessRecipeId int64 `json:"business_recipe_id,omitempty" xml:"business_recipe_id,omitempty"`
	// 行业食谱步骤id
	BusinessRecipeStepId int64 `json:"business_recipe_step_id,omitempty" xml:"business_recipe_step_id,omitempty"`
	// 食谱步骤图片
	ImageUrl *ImageUrlParam `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 食谱步骤时间
	RecipeStepTime int64 `json:"recipe_step_time,omitempty" xml:"recipe_step_time,omitempty"`
	// 食谱步骤顺序号
	Sequence int64 `json:"sequence,omitempty" xml:"sequence,omitempty"`
	// 食谱步骤视频
	VideoUrl *VideoUrlParam `json:"video_url,omitempty" xml:"video_url,omitempty"`
	// 指令标识:0不支持指令,1支持指令
	ActionFlag int64 `json:"action_flag,omitempty" xml:"action_flag,omitempty"`
}

BusinessRecipeStepOpenParam 结构体

type ContentTagDto

type ContentTagDto struct {
	// 标签名称
	TagName string `json:"tag_name,omitempty" xml:"tag_name,omitempty"`
	// 标签id
	TagId int64 `json:"tag_id,omitempty" xml:"tag_id,omitempty"`
}

ContentTagDto 结构体

type ErrorInfo

type ErrorInfo struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// subErrorCode
	SubErrorCode string `json:"sub_error_code,omitempty" xml:"sub_error_code,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
}

ErrorInfo 结构体

type ImageUrlDto

type ImageUrlDto struct {
	// 默认图片
	Img string `json:"img,omitempty" xml:"img,omitempty"`
	// 大图
	Large string `json:"large,omitempty" xml:"large,omitempty"`
	// 中图
	Medium string `json:"medium,omitempty" xml:"medium,omitempty"`
	// 小图
	Small string `json:"small,omitempty" xml:"small,omitempty"`
}

ImageUrlDto 结构体

type ImageUrlParam

type ImageUrlParam struct {
	// 默认图片
	Img string `json:"img,omitempty" xml:"img,omitempty"`
	// 大图
	Large string `json:"large,omitempty" xml:"large,omitempty"`
	// 中图
	Medium string `json:"medium,omitempty" xml:"medium,omitempty"`
	// 小图
	Small string `json:"small,omitempty" xml:"small,omitempty"`
}

ImageUrlParam 结构体

type Like

type Like struct {
	// 收藏音频源
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// 收藏音频id
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 收藏音频专辑名
	Album string `json:"album,omitempty" xml:"album,omitempty"`
	// 收藏音频演唱者
	Author string `json:"author,omitempty" xml:"author,omitempty"`
	// 收藏音频名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

Like 结构体

type MediaItem

type MediaItem struct {
	// json格式附加信息
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 专辑id
	AlbumId string `json:"album_id,omitempty" xml:"album_id,omitempty"`
	// 歌曲源
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// 歌曲id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 扩展字段
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
	// 歌曲长度
	Length int64 `json:"length,omitempty" xml:"length,omitempty"`
	// 是否为专辑
	IsAlbum bool `json:"is_album,omitempty" xml:"is_album,omitempty"`
}

MediaItem 结构体

type OpenBaseInfo

type OpenBaseInfo struct {
	// 账户体系隔离
	Schema string `json:"schema,omitempty" xml:"schema,omitempty"`
	// 用户ID,此处传入第三方账户体系的用户id
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数
	UtdId string `json:"utd_id,omitempty" xml:"utd_id,omitempty"`
	// 扩展信息,用于存放APP类型等
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
}

OpenBaseInfo 结构体

type PageInfo

type PageInfo struct {
	// 数据集
	List []BusinessRecipeOpenDto `json:"list,omitempty" xml:"list>business_recipe_open_dto,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 分页页码
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
	// 总条数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
}

PageInfo 结构体

type PromotionDisplayTop

type PromotionDisplayTop struct {
	// 单品级优惠信息
	PromotionInItemList []PromotionInItem `json:"promotion_in_item_list,omitempty" xml:"promotion_in_item_list>promotion_in_item,omitempty"`
	// 店铺级优惠信息
	PromotionInShopList []PromotionInShop `json:"promotion_in_shop_list,omitempty" xml:"promotion_in_shop_list>promotion_in_shop,omitempty"`
}

PromotionDisplayTop 结构体

type PromotionInItem

type PromotionInItem struct {
	// sku价格对应的id(保证二者顺序相同)
	SkuIdList []string `json:"sku_id_list,omitempty" xml:"sku_id_list>string,omitempty"`
	// idValue的值
	PromotionId string `json:"promotion_id,omitempty" xml:"promotion_id,omitempty"`
	// 优惠展示名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 优惠折后价格
	ItemPromoPrice string `json:"item_promo_price,omitempty" xml:"item_promo_price,omitempty"`
	// sku价格列表
	SkuPriceList string `json:"sku_price_list,omitempty" xml:"sku_price_list,omitempty"`
	// 优惠描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 优惠开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 优惠结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 需要支付附加物,显示为+xxx。如:+20淘金币
	OtherNeed string `json:"other_need,omitempty" xml:"other_need,omitempty"`
	// 赠送东西。如:送10商城积分
	OtherSend string `json:"other_send,omitempty" xml:"other_send,omitempty"`
}

PromotionInItem 结构体

type PromotionInShop

type PromotionInShop struct {
	// 优惠活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// idValue值
	PromotionId string `json:"promotion_id,omitempty" xml:"promotion_id,omitempty"`
	// 优惠详情描述。
	PromotionDetailDesc string `json:"promotion_detail_desc,omitempty" xml:"promotion_detail_desc,omitempty"`
}

PromotionInShop 结构体

type RecipeIngredientDto

type RecipeIngredientDto struct {
	// 参数名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 重量及单位
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
}

RecipeIngredientDto 结构体

type RecipeIngredientParam

type RecipeIngredientParam struct {
	// 参数名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 重量及单位
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
}

RecipeIngredientParam 结构体

type TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest

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

TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest 零配方案上报设备 API请求 taobao.ailab.aicloud.smarthome.top.genielink.reportdevice

零配方案中设备联网成功之后上报设备

func NewTaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceRequest

func NewTaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceRequest() *TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest

NewTaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceRequest 初始化TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest对象

func (TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) GetDeviceId

GetDeviceId DeviceId Getter

func (TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) GetExtensions

GetExtensions Extensions Getter

func (TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) GetVendorId

GetVendorId VendorId Getter

func (*TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) SetDeviceId

SetDeviceId is DeviceId Setter 设备id

func (*TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) SetExtensions

SetExtensions is Extensions Setter 保留字段json字符串

func (*TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) SetStatus

SetStatus is Status Setter 设备状态,online上线,offline下线

func (*TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIRequest) SetVendorId

SetVendorId is VendorId Setter 供应商id

type TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIResponse

type TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIResponseModel
}

TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIResponse 零配方案上报设备 API返回值 taobao.ailab.aicloud.smarthome.top.genielink.reportdevice

零配方案中设备联网成功之后上报设备

type TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIResponseModel

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

TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceAPIResponseModel is 零配方案上报设备 成功返回结果

type TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceResult

type TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// exception
	Exception string `json:"exception,omitempty" xml:"exception,omitempty"`
	// statusCode
	StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"`
	// result
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudSmarthomeTopGenielinkReportdeviceResult 结构体

type TaobaoAilabAicloudTopAuthGetAPIRequest

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

TaobaoAilabAicloudTopAuthGetAPIRequest 登陆 API请求 taobao.ailab.aicloud.top.auth.get

登陆

func NewTaobaoAilabAicloudTopAuthGetRequest

func NewTaobaoAilabAicloudTopAuthGetRequest() *TaobaoAilabAicloudTopAuthGetAPIRequest

NewTaobaoAilabAicloudTopAuthGetRequest 初始化TaobaoAilabAicloudTopAuthGetAPIRequest对象

func (TaobaoAilabAicloudTopAuthGetAPIRequest) GetApiMethodName

func (r TaobaoAilabAicloudTopAuthGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopAuthGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopAuthGetAPIRequest) GetAppType

GetAppType AppType Getter

func (TaobaoAilabAicloudTopAuthGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopAuthGetAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopAuthGetAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopAuthGetAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopAuthGetAPIRequest) SetAppType

func (r *TaobaoAilabAicloudTopAuthGetAPIRequest) SetAppType(_appType string) error

SetAppType is AppType Setter app类型

func (*TaobaoAilabAicloudTopAuthGetAPIRequest) SetSchema

func (r *TaobaoAilabAicloudTopAuthGetAPIRequest) SetSchema(_schema string) error

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopAuthGetAPIRequest) SetUserId

func (r *TaobaoAilabAicloudTopAuthGetAPIRequest) SetUserId(_userId string) error

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopAuthGetAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopAuthGetAPIResponse

type TaobaoAilabAicloudTopAuthGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopAuthGetAPIResponseModel
}

TaobaoAilabAicloudTopAuthGetAPIResponse 登陆 API返回值 taobao.ailab.aicloud.top.auth.get

登陆

type TaobaoAilabAicloudTopAuthGetAPIResponseModel

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

TaobaoAilabAicloudTopAuthGetAPIResponseModel is 登陆 成功返回结果

type TaobaoAilabAicloudTopAuthLogoutAPIRequest

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

TaobaoAilabAicloudTopAuthLogoutAPIRequest 登出 API请求 taobao.ailab.aicloud.top.auth.logout

登出

func NewTaobaoAilabAicloudTopAuthLogoutRequest

func NewTaobaoAilabAicloudTopAuthLogoutRequest() *TaobaoAilabAicloudTopAuthLogoutAPIRequest

NewTaobaoAilabAicloudTopAuthLogoutRequest 初始化TaobaoAilabAicloudTopAuthLogoutAPIRequest对象

func (TaobaoAilabAicloudTopAuthLogoutAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopAuthLogoutAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopAuthLogoutAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopAuthLogoutAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopAuthLogoutAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopAuthLogoutAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopAuthLogoutAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离,建议传入设备uuid

func (*TaobaoAilabAicloudTopAuthLogoutAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopAuthLogoutAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopAuthLogoutAPIResponse

type TaobaoAilabAicloudTopAuthLogoutAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopAuthLogoutAPIResponseModel
}

TaobaoAilabAicloudTopAuthLogoutAPIResponse 登出 API返回值 taobao.ailab.aicloud.top.auth.logout

登出

type TaobaoAilabAicloudTopAuthLogoutAPIResponseModel

type TaobaoAilabAicloudTopAuthLogoutAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_auth_logout_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgInfo错误码信息,成功返回null
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopAuthLogoutAPIResponseModel is 登出 成功返回结果

type TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest

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

TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest 获取设备授权码 API请求 taobao.ailab.aicloud.top.device.authcode.get

获取设备授权码

func NewTaobaoAilabAicloudTopDeviceAuthcodeGetRequest

func NewTaobaoAilabAicloudTopDeviceAuthcodeGetRequest() *TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest

NewTaobaoAilabAicloudTopDeviceAuthcodeGetRequest 初始化TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest对象

func (TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离,即硬件接入平台中取得的schema key。

func (*TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id,由开发者或厂商自行定义,每一schema key下唯一即可

func (*TaobaoAilabAicloudTopDeviceAuthcodeGetAPIRequest) SetUtdId

SetUtdId is UtdId Setter (废弃) 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopDeviceAuthcodeGetAPIResponse

type TaobaoAilabAicloudTopDeviceAuthcodeGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceAuthcodeGetAPIResponseModel
}

TaobaoAilabAicloudTopDeviceAuthcodeGetAPIResponse 获取设备授权码 API返回值 taobao.ailab.aicloud.top.device.authcode.get

获取设备授权码

type TaobaoAilabAicloudTopDeviceAuthcodeGetAPIResponseModel

type TaobaoAilabAicloudTopDeviceAuthcodeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_authcode_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 设备授权码,后续流程中所述的auth code
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// msgInfo错误码信息,成功返回null
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopDeviceAuthcodeGetAPIResponseModel is 获取设备授权码 成功返回结果

type TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest

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

TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest 获取设备授权码验证结果 API请求 taobao.ailab.aicloud.top.device.authresult.get

获取设备授权码验证结果

func NewTaobaoAilabAicloudTopDeviceAuthresultGetRequest

func NewTaobaoAilabAicloudTopDeviceAuthresultGetRequest() *TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest

NewTaobaoAilabAicloudTopDeviceAuthresultGetRequest 初始化TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest对象

func (TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) GetAuthCodes

GetAuthCodes AuthCodes Getter

func (TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) SetAuthCodes

func (r *TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) SetAuthCodes(_authCodes []string) error

SetAuthCodes is AuthCodes Setter authCodes信息

func (*TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopDeviceAuthresultGetAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopDeviceAuthresultGetAPIResponse

type TaobaoAilabAicloudTopDeviceAuthresultGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceAuthresultGetAPIResponseModel
}

TaobaoAilabAicloudTopDeviceAuthresultGetAPIResponse 获取设备授权码验证结果 API返回值 taobao.ailab.aicloud.top.device.authresult.get

获取设备授权码验证结果

type TaobaoAilabAicloudTopDeviceAuthresultGetAPIResponseModel

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

TaobaoAilabAicloudTopDeviceAuthresultGetAPIResponseModel is 获取设备授权码验证结果 成功返回结果

type TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest

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

TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest 设备儿童锁 API请求 taobao.ailab.aicloud.top.device.control.childlock

设备儿童锁

func NewTaobaoAilabAicloudTopDeviceControlChildlockRequest

func NewTaobaoAilabAicloudTopDeviceControlChildlockRequest() *TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest

NewTaobaoAilabAicloudTopDeviceControlChildlockRequest 初始化TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest对象

func (TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceControlChildlockAPIRequest) SetParam2

SetParam2 is Param2 Setter 是否打开

type TaobaoAilabAicloudTopDeviceControlChildlockAPIResponse

type TaobaoAilabAicloudTopDeviceControlChildlockAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceControlChildlockAPIResponseModel
}

TaobaoAilabAicloudTopDeviceControlChildlockAPIResponse 设备儿童锁 API返回值 taobao.ailab.aicloud.top.device.control.childlock

设备儿童锁

type TaobaoAilabAicloudTopDeviceControlChildlockAPIResponseModel

type TaobaoAilabAicloudTopDeviceControlChildlockAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_control_childlock_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 业务请求是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
	// 网络请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopDeviceControlChildlockAPIResponseModel is 设备儿童锁 成功返回结果

type TaobaoAilabAicloudTopDeviceControlCustomAPIRequest

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

TaobaoAilabAicloudTopDeviceControlCustomAPIRequest 设备控制自定义扩展接口 API请求 taobao.ailab.aicloud.top.device.control.custom

设备控制自定义扩展接口

func NewTaobaoAilabAicloudTopDeviceControlCustomRequest

func NewTaobaoAilabAicloudTopDeviceControlCustomRequest() *TaobaoAilabAicloudTopDeviceControlCustomAPIRequest

NewTaobaoAilabAicloudTopDeviceControlCustomRequest 初始化TaobaoAilabAicloudTopDeviceControlCustomAPIRequest对象

func (TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceControlCustomAPIRequest) SetParam2

SetParam2 is Param2 Setter 参数key-value列表

type TaobaoAilabAicloudTopDeviceControlCustomAPIResponse

type TaobaoAilabAicloudTopDeviceControlCustomAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceControlCustomAPIResponseModel
}

TaobaoAilabAicloudTopDeviceControlCustomAPIResponse 设备控制自定义扩展接口 API返回值 taobao.ailab.aicloud.top.device.control.custom

设备控制自定义扩展接口

type TaobaoAilabAicloudTopDeviceControlCustomAPIResponseModel

type TaobaoAilabAicloudTopDeviceControlCustomAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_control_custom_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 业务请求是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
	// 网络请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopDeviceControlCustomAPIResponseModel is 设备控制自定义扩展接口 成功返回结果

type TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest

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

TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest 定时休眠 API请求 taobao.ailab.aicloud.top.device.control.hibernation

定时休眠

func NewTaobaoAilabAicloudTopDeviceControlHibernationRequest

func NewTaobaoAilabAicloudTopDeviceControlHibernationRequest() *TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest

NewTaobaoAilabAicloudTopDeviceControlHibernationRequest 初始化TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest对象

func (TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceControlHibernationAPIRequest) SetParam2

SetParam2 is Param2 Setter N秒后休眠

type TaobaoAilabAicloudTopDeviceControlHibernationAPIResponse

type TaobaoAilabAicloudTopDeviceControlHibernationAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceControlHibernationAPIResponseModel
}

TaobaoAilabAicloudTopDeviceControlHibernationAPIResponse 定时休眠 API返回值 taobao.ailab.aicloud.top.device.control.hibernation

定时休眠

type TaobaoAilabAicloudTopDeviceControlHibernationAPIResponseModel

type TaobaoAilabAicloudTopDeviceControlHibernationAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_control_hibernation_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 业务请求是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
	// 网络请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopDeviceControlHibernationAPIResponseModel is 定时休眠 成功返回结果

type TaobaoAilabAicloudTopDeviceControlLampAPIRequest

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

TaobaoAilabAicloudTopDeviceControlLampAPIRequest 台灯控制 API请求 taobao.ailab.aicloud.top.device.control.lamp

台灯控制

func NewTaobaoAilabAicloudTopDeviceControlLampRequest

func NewTaobaoAilabAicloudTopDeviceControlLampRequest() *TaobaoAilabAicloudTopDeviceControlLampAPIRequest

NewTaobaoAilabAicloudTopDeviceControlLampRequest 初始化TaobaoAilabAicloudTopDeviceControlLampAPIRequest对象

func (TaobaoAilabAicloudTopDeviceControlLampAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceControlLampAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceControlLampAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceControlLampAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceControlLampAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopDeviceControlLampAPIRequest) GetParam3

GetParam3 Param3 Getter

func (TaobaoAilabAicloudTopDeviceControlLampAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceControlLampAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceControlLampAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceControlLampAPIRequest) SetParam2

SetParam2 is Param2 Setter 是否打开

func (*TaobaoAilabAicloudTopDeviceControlLampAPIRequest) SetParam3

SetParam3 is Param3 Setter 目标名称

type TaobaoAilabAicloudTopDeviceControlLampAPIResponse

type TaobaoAilabAicloudTopDeviceControlLampAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceControlLampAPIResponseModel
}

TaobaoAilabAicloudTopDeviceControlLampAPIResponse 台灯控制 API返回值 taobao.ailab.aicloud.top.device.control.lamp

台灯控制

type TaobaoAilabAicloudTopDeviceControlLampAPIResponseModel

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

TaobaoAilabAicloudTopDeviceControlLampAPIResponseModel is 台灯控制 成功返回结果

type TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest

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

TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest 设备播放暂停 API请求 taobao.ailab.aicloud.top.device.control.pauseandresume

设备播放暂停

func NewTaobaoAilabAicloudTopDeviceControlPauseandresumeRequest

func NewTaobaoAilabAicloudTopDeviceControlPauseandresumeRequest() *TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest

NewTaobaoAilabAicloudTopDeviceControlPauseandresumeRequest 初始化TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest对象

func (TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIRequest) SetParam2

SetParam2 is Param2 Setter 是暂停还是继续

type TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIResponse

type TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIResponseModel
}

TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIResponse 设备播放暂停 API返回值 taobao.ailab.aicloud.top.device.control.pauseandresume

设备播放暂停

type TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIResponseModel

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

TaobaoAilabAicloudTopDeviceControlPauseandresumeAPIResponseModel is 设备播放暂停 成功返回结果

type TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest

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

TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest 通过id播放歌曲 API请求 taobao.ailab.aicloud.top.device.control.playbyid

通过id播放歌曲

func NewTaobaoAilabAicloudTopDeviceControlPlaybyidRequest

func NewTaobaoAilabAicloudTopDeviceControlPlaybyidRequest() *TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest

NewTaobaoAilabAicloudTopDeviceControlPlaybyidRequest 初始化TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest对象

func (TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) GetParam3

GetParam3 Param3 Getter

func (TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) GetParam4

GetParam4 Param4 Getter

func (TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) SetParam2

SetParam2 is Param2 Setter 音频id

func (*TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) SetParam3

SetParam3 is Param3 Setter 音频来源

func (*TaobaoAilabAicloudTopDeviceControlPlaybyidAPIRequest) SetParam4

SetParam4 is Param4 Setter 音频类型,如果没有音频类型默认填children_song

type TaobaoAilabAicloudTopDeviceControlPlaybyidAPIResponse

type TaobaoAilabAicloudTopDeviceControlPlaybyidAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceControlPlaybyidAPIResponseModel
}

TaobaoAilabAicloudTopDeviceControlPlaybyidAPIResponse 通过id播放歌曲 API返回值 taobao.ailab.aicloud.top.device.control.playbyid

通过id播放歌曲

type TaobaoAilabAicloudTopDeviceControlPlaybyidAPIResponseModel

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

TaobaoAilabAicloudTopDeviceControlPlaybyidAPIResponseModel is 通过id播放歌曲 成功返回结果

type TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest

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

TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest 点播url API请求 taobao.ailab.aicloud.top.device.control.playurl

点播url

func NewTaobaoAilabAicloudTopDeviceControlPlayurlRequest

func NewTaobaoAilabAicloudTopDeviceControlPlayurlRequest() *TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest

NewTaobaoAilabAicloudTopDeviceControlPlayurlRequest 初始化TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest对象

func (TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceControlPlayurlAPIRequest) SetParam2

SetParam2 is Param2 Setter url

type TaobaoAilabAicloudTopDeviceControlPlayurlAPIResponse

type TaobaoAilabAicloudTopDeviceControlPlayurlAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceControlPlayurlAPIResponseModel
}

TaobaoAilabAicloudTopDeviceControlPlayurlAPIResponse 点播url API返回值 taobao.ailab.aicloud.top.device.control.playurl

点播url

type TaobaoAilabAicloudTopDeviceControlPlayurlAPIResponseModel

type TaobaoAilabAicloudTopDeviceControlPlayurlAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_control_playurl_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 业务请求是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
	// 网络请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopDeviceControlPlayurlAPIResponseModel is 点播url 成功返回结果

type TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest

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

TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest 设备音量 API请求 taobao.ailab.aicloud.top.device.control.volume

设备音量

func NewTaobaoAilabAicloudTopDeviceControlVolumeRequest

func NewTaobaoAilabAicloudTopDeviceControlVolumeRequest() *TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest

NewTaobaoAilabAicloudTopDeviceControlVolumeRequest 初始化TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest对象

func (TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceControlVolumeAPIRequest) SetParam2

SetParam2 is Param2 Setter 音量0-100

type TaobaoAilabAicloudTopDeviceControlVolumeAPIResponse

type TaobaoAilabAicloudTopDeviceControlVolumeAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceControlVolumeAPIResponseModel
}

TaobaoAilabAicloudTopDeviceControlVolumeAPIResponse 设备音量 API返回值 taobao.ailab.aicloud.top.device.control.volume

设备音量

type TaobaoAilabAicloudTopDeviceControlVolumeAPIResponseModel

type TaobaoAilabAicloudTopDeviceControlVolumeAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_control_volume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 业务请求是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
	// 网络请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopDeviceControlVolumeAPIResponseModel is 设备音量 成功返回结果

type TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest

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

TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest 获取设备详细信息 API请求 taobao.ailab.aicloud.top.device.detailinfo.get

获取设备详细信息

func NewTaobaoAilabAicloudTopDeviceDetailinfoGetRequest

func NewTaobaoAilabAicloudTopDeviceDetailinfoGetRequest() *TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest

NewTaobaoAilabAicloudTopDeviceDetailinfoGetRequest 初始化TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest对象

func (TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) GetDeviceId

GetDeviceId DeviceId Getter

func (TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) GetOriginUserId

GetOriginUserId OriginUserId Getter

func (TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) GetSchemaKey

GetSchemaKey SchemaKey Getter

func (TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) GetUserType

GetUserType UserType Getter

func (*TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) SetDeviceId

SetDeviceId is DeviceId Setter 设备id

func (*TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) SetOriginUserId

func (r *TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) SetOriginUserId(_originUserId string) error

SetOriginUserId is OriginUserId Setter 三方用户id或淘宝openId

func (*TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) SetSchemaKey

SetSchemaKey is SchemaKey Setter 账号秘钥

func (*TaobaoAilabAicloudTopDeviceDetailinfoGetAPIRequest) SetUserType

SetUserType is UserType Setter 三方传extUser,淘宝传openTaoBaoUser

type TaobaoAilabAicloudTopDeviceDetailinfoGetAPIResponse

type TaobaoAilabAicloudTopDeviceDetailinfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceDetailinfoGetAPIResponseModel
}

TaobaoAilabAicloudTopDeviceDetailinfoGetAPIResponse 获取设备详细信息 API返回值 taobao.ailab.aicloud.top.device.detailinfo.get

获取设备详细信息

type TaobaoAilabAicloudTopDeviceDetailinfoGetAPIResponseModel

type TaobaoAilabAicloudTopDeviceDetailinfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_detailinfo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAilabAicloudTopDeviceDetailinfoGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudTopDeviceDetailinfoGetAPIResponseModel is 获取设备详细信息 成功返回结果

type TaobaoAilabAicloudTopDeviceDetailinfoGetResult

type TaobaoAilabAicloudTopDeviceDetailinfoGetResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 设备详细信息
	Result *TopDeviceDetailInfoDto `json:"result,omitempty" xml:"result,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAilabAicloudTopDeviceDetailinfoGetResult 结构体

type TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest

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

TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest 开放设备id转换内部设备id API请求 taobao.ailab.aicloud.top.device.deviceid.convert

将开放设备id转换为内部设备id

func NewTaobaoAilabAicloudTopDeviceDeviceidConvertRequest

func NewTaobaoAilabAicloudTopDeviceDeviceidConvertRequest() *TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest

NewTaobaoAilabAicloudTopDeviceDeviceidConvertRequest 初始化TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest对象

func (TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest) GetDeviceOpenId

GetDeviceOpenId DeviceOpenId Getter

func (TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest) GetSkillId

GetSkillId SkillId Getter

func (*TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest) SetDeviceOpenId

func (r *TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest) SetDeviceOpenId(_deviceOpenId string) error

SetDeviceOpenId is DeviceOpenId Setter 设备openId

func (*TaobaoAilabAicloudTopDeviceDeviceidConvertAPIRequest) SetSkillId

SetSkillId is SkillId Setter 技能id

type TaobaoAilabAicloudTopDeviceDeviceidConvertAPIResponse

type TaobaoAilabAicloudTopDeviceDeviceidConvertAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceDeviceidConvertAPIResponseModel
}

TaobaoAilabAicloudTopDeviceDeviceidConvertAPIResponse 开放设备id转换内部设备id API返回值 taobao.ailab.aicloud.top.device.deviceid.convert

将开放设备id转换为内部设备id

type TaobaoAilabAicloudTopDeviceDeviceidConvertAPIResponseModel

type TaobaoAilabAicloudTopDeviceDeviceidConvertAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_deviceid_convert_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAilabAicloudTopDeviceDeviceidConvertResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudTopDeviceDeviceidConvertAPIResponseModel is 开放设备id转换内部设备id 成功返回结果

type TaobaoAilabAicloudTopDeviceDeviceidConvertResult

type TaobaoAilabAicloudTopDeviceDeviceidConvertResult struct {
	// 描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回成功
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 结果详情
	Result *TopDeviceBaseInfoDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudTopDeviceDeviceidConvertResult 结构体

type TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest

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

TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest 获取设备扩展信息 API请求 taobao.ailab.aicloud.top.device.extinfo.get

获取设备扩展信息

func NewTaobaoAilabAicloudTopDeviceExtinfoGetRequest

func NewTaobaoAilabAicloudTopDeviceExtinfoGetRequest() *TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest

NewTaobaoAilabAicloudTopDeviceExtinfoGetRequest 初始化TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest对象

func (TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) GetDeviceId

GetDeviceId DeviceId Getter

func (TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) GetOriginUserId

GetOriginUserId OriginUserId Getter

func (TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) GetSchemaKey

GetSchemaKey SchemaKey Getter

func (TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) GetUserType

GetUserType UserType Getter

func (*TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) SetDeviceId

SetDeviceId is DeviceId Setter 设备id

func (*TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) SetOriginUserId

func (r *TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) SetOriginUserId(_originUserId string) error

SetOriginUserId is OriginUserId Setter 三方id、淘宝openId

func (*TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) SetSchemaKey

func (r *TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) SetSchemaKey(_schemaKey string) error

SetSchemaKey is SchemaKey Setter 账号秘钥

func (*TaobaoAilabAicloudTopDeviceExtinfoGetAPIRequest) SetUserType

SetUserType is UserType Setter 类型:openTaoBao, extUser

type TaobaoAilabAicloudTopDeviceExtinfoGetAPIResponse

type TaobaoAilabAicloudTopDeviceExtinfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceExtinfoGetAPIResponseModel
}

TaobaoAilabAicloudTopDeviceExtinfoGetAPIResponse 获取设备扩展信息 API返回值 taobao.ailab.aicloud.top.device.extinfo.get

获取设备扩展信息

type TaobaoAilabAicloudTopDeviceExtinfoGetAPIResponseModel

type TaobaoAilabAicloudTopDeviceExtinfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_extinfo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAilabAicloudTopDeviceExtinfoGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudTopDeviceExtinfoGetAPIResponseModel is 获取设备扩展信息 成功返回结果

type TaobaoAilabAicloudTopDeviceExtinfoGetResult

type TaobaoAilabAicloudTopDeviceExtinfoGetResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 三方设备信息
	Result *TopDeviceExtInfoDto `json:"result,omitempty" xml:"result,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

TaobaoAilabAicloudTopDeviceExtinfoGetResult 结构体

type TaobaoAilabAicloudTopDeviceGetstatusAPIRequest

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

TaobaoAilabAicloudTopDeviceGetstatusAPIRequest 获取设备状态 API请求 taobao.ailab.aicloud.top.device.getstatus

获取设备状态

func NewTaobaoAilabAicloudTopDeviceGetstatusRequest

func NewTaobaoAilabAicloudTopDeviceGetstatusRequest() *TaobaoAilabAicloudTopDeviceGetstatusAPIRequest

NewTaobaoAilabAicloudTopDeviceGetstatusRequest 初始化TaobaoAilabAicloudTopDeviceGetstatusAPIRequest对象

func (TaobaoAilabAicloudTopDeviceGetstatusAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceGetstatusAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceGetstatusAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopDeviceGetstatusAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceGetstatusAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopDeviceGetstatusAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopDeviceGetstatusAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

type TaobaoAilabAicloudTopDeviceGetstatusAPIResponse

type TaobaoAilabAicloudTopDeviceGetstatusAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceGetstatusAPIResponseModel
}

TaobaoAilabAicloudTopDeviceGetstatusAPIResponse 获取设备状态 API返回值 taobao.ailab.aicloud.top.device.getstatus

获取设备状态

type TaobaoAilabAicloudTopDeviceGetstatusAPIResponseModel

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

TaobaoAilabAicloudTopDeviceGetstatusAPIResponseModel is 获取设备状态 成功返回结果

type TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest

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

TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest 获取openid设备通用授权码 API请求 taobao.ailab.aicloud.top.device.openid.authcode.get

获取openid设备通用授权码

func NewTaobaoAilabAicloudTopDeviceOpenidAuthcodeGetRequest

func NewTaobaoAilabAicloudTopDeviceOpenidAuthcodeGetRequest() *TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest

NewTaobaoAilabAicloudTopDeviceOpenidAuthcodeGetRequest 初始化TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest对象

func (TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) GetOpenId

GetOpenId OpenId Getter

func (TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) SetOpenId

SetOpenId is OpenId Setter 淘宝openid

func (*TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离,即硬件接入平台中取得的schema key。

func (*TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIRequest) SetUtdId

SetUtdId is UtdId Setter (废弃) 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIResponse

type TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIResponseModel
}

TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIResponse 获取openid设备通用授权码 API返回值 taobao.ailab.aicloud.top.device.openid.authcode.get

获取openid设备通用授权码

type TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIResponseModel

type TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_openid_authcode_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AiCloudResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudTopDeviceOpenidAuthcodeGetAPIResponseModel is 获取openid设备通用授权码 成功返回结果

type TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest

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

TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest 获取openId设备授权码验证结果 API请求 taobao.ailab.aicloud.top.device.openid.authresult.get

获取openId设备授权码验证结果

func NewTaobaoAilabAicloudTopDeviceOpenidAuthresultGetRequest

func NewTaobaoAilabAicloudTopDeviceOpenidAuthresultGetRequest() *TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest

NewTaobaoAilabAicloudTopDeviceOpenidAuthresultGetRequest 初始化TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest对象

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetAuthCodes

GetAuthCodes AuthCodes Getter

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetOpenId

GetOpenId OpenId Getter

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) SetAuthCodes

SetAuthCodes is AuthCodes Setter authcode list

func (*TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) SetOpenId

SetOpenId is OpenId Setter 淘宝openid

func (*TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIResponse

type TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIResponseModel
}

TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIResponse 获取openId设备授权码验证结果 API返回值 taobao.ailab.aicloud.top.device.openid.authresult.get

获取openId设备授权码验证结果

type TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIResponseModel

type TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_openid_authresult_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AiCloudResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudTopDeviceOpenidAuthresultGetAPIResponseModel is 获取openId设备授权码验证结果 成功返回结果

type TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest

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

TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest openTaoBaoId解绑设备 API请求 taobao.ailab.aicloud.top.device.openid.unbind

openTaoBaoId解绑设备

func NewTaobaoAilabAicloudTopDeviceOpenidUnbindRequest

func NewTaobaoAilabAicloudTopDeviceOpenidUnbindRequest() *TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest

NewTaobaoAilabAicloudTopDeviceOpenidUnbindRequest 初始化TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest对象

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetOpenId

GetOpenId OpenId Getter

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) GetUuid

GetUuid Uuid Getter

func (*TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) SetOpenId

SetOpenId is OpenId Setter 淘宝openId

func (*TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

func (*TaobaoAilabAicloudTopDeviceOpenidUnbindAPIRequest) SetUuid

SetUuid is Uuid Setter 设备uuid

type TaobaoAilabAicloudTopDeviceOpenidUnbindAPIResponse

type TaobaoAilabAicloudTopDeviceOpenidUnbindAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceOpenidUnbindAPIResponseModel
}

TaobaoAilabAicloudTopDeviceOpenidUnbindAPIResponse openTaoBaoId解绑设备 API返回值 taobao.ailab.aicloud.top.device.openid.unbind

openTaoBaoId解绑设备

type TaobaoAilabAicloudTopDeviceOpenidUnbindAPIResponseModel

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

TaobaoAilabAicloudTopDeviceOpenidUnbindAPIResponseModel is openTaoBaoId解绑设备 成功返回结果

type TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest

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

TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest 重置设备个性化设置 API请求 taobao.ailab.aicloud.top.device.settings.reset

重置设备个性化设置

func NewTaobaoAilabAicloudTopDeviceSettingsResetRequest

func NewTaobaoAilabAicloudTopDeviceSettingsResetRequest() *TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest

NewTaobaoAilabAicloudTopDeviceSettingsResetRequest 初始化TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest对象

func (TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopDeviceSettingsResetAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopDeviceSettingsResetAPIResponse

type TaobaoAilabAicloudTopDeviceSettingsResetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceSettingsResetAPIResponseModel
}

TaobaoAilabAicloudTopDeviceSettingsResetAPIResponse 重置设备个性化设置 API返回值 taobao.ailab.aicloud.top.device.settings.reset

重置设备个性化设置

type TaobaoAilabAicloudTopDeviceSettingsResetAPIResponseModel

type TaobaoAilabAicloudTopDeviceSettingsResetAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_settings_reset_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 扩展字段
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
	// 业务结果是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
	// 网络请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopDeviceSettingsResetAPIResponseModel is 重置设备个性化设置 成功返回结果

type TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest

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

TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest 获取设备状态信息 API请求 taobao.ailab.aicloud.top.device.statusinfo.get

获取设备状态信息

func NewTaobaoAilabAicloudTopDeviceStatusinfoGetRequest

func NewTaobaoAilabAicloudTopDeviceStatusinfoGetRequest() *TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest

NewTaobaoAilabAicloudTopDeviceStatusinfoGetRequest 初始化TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest对象

func (TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) GetDeviceId

GetDeviceId DeviceId Getter

func (TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) GetOriginUserId

GetOriginUserId OriginUserId Getter

func (TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) GetSchemaKey

GetSchemaKey SchemaKey Getter

func (TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) GetUserType

GetUserType UserType Getter

func (*TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) SetDeviceId

SetDeviceId is DeviceId Setter 设备id

func (*TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) SetOriginUserId

func (r *TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) SetOriginUserId(_originUserId string) error

SetOriginUserId is OriginUserId Setter 三方用户id或淘宝openId

func (*TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) SetSchemaKey

SetSchemaKey is SchemaKey Setter 账号秘钥

func (*TaobaoAilabAicloudTopDeviceStatusinfoGetAPIRequest) SetUserType

SetUserType is UserType Setter 三方传extUser,淘宝传openTaoBaoUser

type TaobaoAilabAicloudTopDeviceStatusinfoGetAPIResponse

type TaobaoAilabAicloudTopDeviceStatusinfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceStatusinfoGetAPIResponseModel
}

TaobaoAilabAicloudTopDeviceStatusinfoGetAPIResponse 获取设备状态信息 API返回值 taobao.ailab.aicloud.top.device.statusinfo.get

获取设备状态信息

type TaobaoAilabAicloudTopDeviceStatusinfoGetAPIResponseModel

type TaobaoAilabAicloudTopDeviceStatusinfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_statusinfo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAilabAicloudTopDeviceStatusinfoGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudTopDeviceStatusinfoGetAPIResponseModel is 获取设备状态信息 成功返回结果

type TaobaoAilabAicloudTopDeviceStatusinfoGetResult

type TaobaoAilabAicloudTopDeviceStatusinfoGetResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 设备状态信息
	Result *TopDeviceStatusInfoDto `json:"result,omitempty" xml:"result,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAilabAicloudTopDeviceStatusinfoGetResult 结构体

type TaobaoAilabAicloudTopDeviceUnbindAPIRequest

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

TaobaoAilabAicloudTopDeviceUnbindAPIRequest 解绑设备 API请求 taobao.ailab.aicloud.top.device.unbind

解绑设备

func NewTaobaoAilabAicloudTopDeviceUnbindRequest

func NewTaobaoAilabAicloudTopDeviceUnbindRequest() *TaobaoAilabAicloudTopDeviceUnbindAPIRequest

NewTaobaoAilabAicloudTopDeviceUnbindRequest 初始化TaobaoAilabAicloudTopDeviceUnbindAPIRequest对象

func (TaobaoAilabAicloudTopDeviceUnbindAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopDeviceUnbindAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopDeviceUnbindAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopDeviceUnbindAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopDeviceUnbindAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopDeviceUnbindAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopDeviceUnbindAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopDeviceUnbindAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopDeviceUnbindAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopDeviceUnbindAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopDeviceUnbindAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopDeviceUnbindAPIResponse

type TaobaoAilabAicloudTopDeviceUnbindAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopDeviceUnbindAPIResponseModel
}

TaobaoAilabAicloudTopDeviceUnbindAPIResponse 解绑设备 API返回值 taobao.ailab.aicloud.top.device.unbind

解绑设备

type TaobaoAilabAicloudTopDeviceUnbindAPIResponseModel

type TaobaoAilabAicloudTopDeviceUnbindAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_device_unbind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgInfo错误码信息,成功返回null
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 解绑是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

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

type TaobaoAilabAicloudTopFeedlistDeleteAPIRequest

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

TaobaoAilabAicloudTopFeedlistDeleteAPIRequest 删除单条对话流信息 API请求 taobao.ailab.aicloud.top.feedlist.delete

删除指定的某一条对话流信息

func NewTaobaoAilabAicloudTopFeedlistDeleteRequest

func NewTaobaoAilabAicloudTopFeedlistDeleteRequest() *TaobaoAilabAicloudTopFeedlistDeleteAPIRequest

NewTaobaoAilabAicloudTopFeedlistDeleteRequest 初始化TaobaoAilabAicloudTopFeedlistDeleteAPIRequest对象

func (TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) GetSentenceId

GetSentenceId SentenceId Getter

func (TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) SetSentenceId

func (r *TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) SetSentenceId(_sentenceId string) error

SetSentenceId is SentenceId Setter 消息的唯一标识

func (*TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopFeedlistDeleteAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopFeedlistDeleteAPIResponse

type TaobaoAilabAicloudTopFeedlistDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopFeedlistDeleteAPIResponseModel
}

TaobaoAilabAicloudTopFeedlistDeleteAPIResponse 删除单条对话流信息 API返回值 taobao.ailab.aicloud.top.feedlist.delete

删除指定的某一条对话流信息

type TaobaoAilabAicloudTopFeedlistDeleteAPIResponseModel

type TaobaoAilabAicloudTopFeedlistDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_feedlist_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// success
	IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopFeedlistDeleteAPIResponseModel is 删除单条对话流信息 成功返回结果

type TaobaoAilabAicloudTopFeedlistGetAPIRequest

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

TaobaoAilabAicloudTopFeedlistGetAPIRequest 获取对话流列表 API请求 taobao.ailab.aicloud.top.feedlist.get

获取指定应用的对话流信息

func NewTaobaoAilabAicloudTopFeedlistGetRequest

func NewTaobaoAilabAicloudTopFeedlistGetRequest() *TaobaoAilabAicloudTopFeedlistGetAPIRequest

NewTaobaoAilabAicloudTopFeedlistGetRequest 初始化TaobaoAilabAicloudTopFeedlistGetAPIRequest对象

func (TaobaoAilabAicloudTopFeedlistGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopFeedlistGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopFeedlistGetAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopFeedlistGetAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopFeedlistGetAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopFeedlistGetAPIRequest) GetParam3

GetParam3 Param3 Getter

func (TaobaoAilabAicloudTopFeedlistGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopFeedlistGetAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopFeedlistGetAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopFeedlistGetAPIRequest) SetParam2

SetParam2 is Param2 Setter 最后一条对话的key

func (*TaobaoAilabAicloudTopFeedlistGetAPIRequest) SetParam3

SetParam3 is Param3 Setter 单页的条目数,注意,是String类型!

type TaobaoAilabAicloudTopFeedlistGetAPIResponse

type TaobaoAilabAicloudTopFeedlistGetAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopFeedlistGetAPIResponseModel
}

TaobaoAilabAicloudTopFeedlistGetAPIResponse 获取对话流列表 API返回值 taobao.ailab.aicloud.top.feedlist.get

获取指定应用的对话流信息

type TaobaoAilabAicloudTopFeedlistGetAPIResponseModel

type TaobaoAilabAicloudTopFeedlistGetAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_feedlist_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Result *AiCloudResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAilabAicloudTopFeedlistGetAPIResponseModel is 获取对话流列表 成功返回结果

type TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest

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

TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest 儿童音频列表 API请求 taobao.ailab.aicloud.top.freelisten.childrenalbum

儿童音频列表

func NewTaobaoAilabAicloudTopFreelistenChildrenalbumRequest

func NewTaobaoAilabAicloudTopFreelistenChildrenalbumRequest() *TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest

NewTaobaoAilabAicloudTopFreelistenChildrenalbumRequest 初始化TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest对象

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetParam3

GetParam3 Param3 Getter

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) SetParam1

SetParam1 is Param1 Setter 音频类型,目前只支持以下几种类型:英语儿歌 英语故事 双语故事 国学启蒙 古典名著 成语故事 寓言故事 神话故事 诗词朗读 诗词婉唱 谚语故事 胎教音乐 经典儿歌 摇篮曲 睡前故事 绘本故事 儿童故事 儿童百科 经典故事 公主故事 名人故事 胎教故事

func (*TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) SetParam2

SetParam2 is Param2 Setter 页数

func (*TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) SetParam3

SetParam3 is Param3 Setter 每页条目数

func (*TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopFreelistenChildrenalbumAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopFreelistenChildrenalbumAPIResponse

type TaobaoAilabAicloudTopFreelistenChildrenalbumAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopFreelistenChildrenalbumAPIResponseModel
}

TaobaoAilabAicloudTopFreelistenChildrenalbumAPIResponse 儿童音频列表 API返回值 taobao.ailab.aicloud.top.freelisten.childrenalbum

儿童音频列表

type TaobaoAilabAicloudTopFreelistenChildrenalbumAPIResponseModel

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

TaobaoAilabAicloudTopFreelistenChildrenalbumAPIResponseModel is 儿童音频列表 成功返回结果

type TaobaoAilabAicloudTopLikeAddAPIRequest

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

TaobaoAilabAicloudTopLikeAddAPIRequest 增加收藏 API请求 taobao.ailab.aicloud.top.like.add

将制定内容加入收藏

func NewTaobaoAilabAicloudTopLikeAddRequest

func NewTaobaoAilabAicloudTopLikeAddRequest() *TaobaoAilabAicloudTopLikeAddAPIRequest

NewTaobaoAilabAicloudTopLikeAddRequest 初始化TaobaoAilabAicloudTopLikeAddAPIRequest对象

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetApiMethodName

func (r TaobaoAilabAicloudTopLikeAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetContent

GetContent Content Getter

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetItemId

GetItemId ItemId Getter

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetSource

GetSource Source Getter

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetType

GetType Type Getter

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopLikeAddAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopLikeAddAPIRequest) SetContent

func (r *TaobaoAilabAicloudTopLikeAddAPIRequest) SetContent(_content string) error

SetContent is Content Setter 内容,必须要是一个json格式:{"song":"走过1999","singer":"张学友","album":"走过1999"}

func (*TaobaoAilabAicloudTopLikeAddAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopLikeAddAPIRequest) SetItemId

func (r *TaobaoAilabAicloudTopLikeAddAPIRequest) SetItemId(_itemId string) error

SetItemId is ItemId Setter 收藏的资源的ID

func (*TaobaoAilabAicloudTopLikeAddAPIRequest) SetSchema

func (r *TaobaoAilabAicloudTopLikeAddAPIRequest) SetSchema(_schema string) error

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopLikeAddAPIRequest) SetSource

func (r *TaobaoAilabAicloudTopLikeAddAPIRequest) SetSource(_source string) error

SetSource is Source Setter 来源

func (*TaobaoAilabAicloudTopLikeAddAPIRequest) SetType

SetType is Type Setter 收藏类型,目前支持四种:story,children_song,music,program,分别表示故事、儿童、音乐和节目

func (*TaobaoAilabAicloudTopLikeAddAPIRequest) SetUserId

func (r *TaobaoAilabAicloudTopLikeAddAPIRequest) SetUserId(_userId string) error

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopLikeAddAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopLikeAddAPIResponse

type TaobaoAilabAicloudTopLikeAddAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopLikeAddAPIResponseModel
}

TaobaoAilabAicloudTopLikeAddAPIResponse 增加收藏 API返回值 taobao.ailab.aicloud.top.like.add

将制定内容加入收藏

type TaobaoAilabAicloudTopLikeAddAPIResponseModel

type TaobaoAilabAicloudTopLikeAddAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_like_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 具体信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 标志是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 具体的结果值
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoAilabAicloudTopLikeAddAPIResponseModel is 增加收藏 成功返回结果

type TaobaoAilabAicloudTopLikeDeleteAPIRequest

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

TaobaoAilabAicloudTopLikeDeleteAPIRequest 取消收藏 API请求 taobao.ailab.aicloud.top.like.delete

取消收藏

func NewTaobaoAilabAicloudTopLikeDeleteRequest

func NewTaobaoAilabAicloudTopLikeDeleteRequest() *TaobaoAilabAicloudTopLikeDeleteAPIRequest

NewTaobaoAilabAicloudTopLikeDeleteRequest 初始化TaobaoAilabAicloudTopLikeDeleteAPIRequest对象

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetItemId

GetItemId ItemId Getter

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetSource

GetSource Source Getter

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetType

GetType Type Getter

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopLikeDeleteAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopLikeDeleteAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopLikeDeleteAPIRequest) SetItemId

SetItemId is ItemId Setter 资源的记录ID

func (*TaobaoAilabAicloudTopLikeDeleteAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopLikeDeleteAPIRequest) SetSource

SetSource is Source Setter 来源

func (*TaobaoAilabAicloudTopLikeDeleteAPIRequest) SetType

SetType is Type Setter 收藏类型,目前支持四种:story,children_song,music,program,分别表示故事、儿童、音乐和节目

func (*TaobaoAilabAicloudTopLikeDeleteAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopLikeDeleteAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopLikeDeleteAPIResponse

type TaobaoAilabAicloudTopLikeDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopLikeDeleteAPIResponseModel
}

TaobaoAilabAicloudTopLikeDeleteAPIResponse 取消收藏 API返回值 taobao.ailab.aicloud.top.like.delete

取消收藏

type TaobaoAilabAicloudTopLikeDeleteAPIResponseModel

type TaobaoAilabAicloudTopLikeDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_like_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 具体结果值
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoAilabAicloudTopLikeDeleteAPIResponseModel is 取消收藏 成功返回结果

type TaobaoAilabAicloudTopLikeFilterAPIRequest

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

TaobaoAilabAicloudTopLikeFilterAPIRequest 过滤列表歌曲存在于收藏列表的 API请求 taobao.ailab.aicloud.top.like.filter

过滤出传入列表歌曲存在于收藏列表的

func NewTaobaoAilabAicloudTopLikeFilterRequest

func NewTaobaoAilabAicloudTopLikeFilterRequest() *TaobaoAilabAicloudTopLikeFilterAPIRequest

NewTaobaoAilabAicloudTopLikeFilterRequest 初始化TaobaoAilabAicloudTopLikeFilterAPIRequest对象

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetMediaItems

GetMediaItems MediaItems Getter

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetType

GetType Type Getter

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopLikeFilterAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopLikeFilterAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopLikeFilterAPIRequest) SetMediaItems

func (r *TaobaoAilabAicloudTopLikeFilterAPIRequest) SetMediaItems(_mediaItems []MediaItem) error

SetMediaItems is MediaItems Setter 传入的歌曲列表

func (*TaobaoAilabAicloudTopLikeFilterAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopLikeFilterAPIRequest) SetType

SetType is Type Setter 音频收藏类型, 四种类型:music,children_song,program,story

func (*TaobaoAilabAicloudTopLikeFilterAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopLikeFilterAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopLikeFilterAPIResponse

type TaobaoAilabAicloudTopLikeFilterAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopLikeFilterAPIResponseModel
}

TaobaoAilabAicloudTopLikeFilterAPIResponse 过滤列表歌曲存在于收藏列表的 API返回值 taobao.ailab.aicloud.top.like.filter

过滤出传入列表歌曲存在于收藏列表的

type TaobaoAilabAicloudTopLikeFilterAPIResponseModel

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

TaobaoAilabAicloudTopLikeFilterAPIResponseModel is 过滤列表歌曲存在于收藏列表的 成功返回结果

type TaobaoAilabAicloudTopLikeListAPIRequest

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

TaobaoAilabAicloudTopLikeListAPIRequest 列出收藏列表 API请求 taobao.ailab.aicloud.top.like.list

列出收藏列表

func NewTaobaoAilabAicloudTopLikeListRequest

func NewTaobaoAilabAicloudTopLikeListRequest() *TaobaoAilabAicloudTopLikeListAPIRequest

NewTaobaoAilabAicloudTopLikeListRequest 初始化TaobaoAilabAicloudTopLikeListAPIRequest对象

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetApiMethodName

func (r TaobaoAilabAicloudTopLikeListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetParam3

GetParam3 Param3 Getter

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopLikeListAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopLikeListAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopLikeListAPIRequest) SetParam1

SetParam1 is Param1 Setter 收藏类型,目前支持四种:story,children_song,music,program,分别表示故事、儿童、音乐和节目

func (*TaobaoAilabAicloudTopLikeListAPIRequest) SetParam2

func (r *TaobaoAilabAicloudTopLikeListAPIRequest) SetParam2(_param2 int64) error

SetParam2 is Param2 Setter 页码 从0起

func (*TaobaoAilabAicloudTopLikeListAPIRequest) SetParam3

func (r *TaobaoAilabAicloudTopLikeListAPIRequest) SetParam3(_param3 int64) error

SetParam3 is Param3 Setter 每页条目个数

func (*TaobaoAilabAicloudTopLikeListAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopLikeListAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopLikeListAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopLikeListAPIResponse

type TaobaoAilabAicloudTopLikeListAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopLikeListAPIResponseModel
}

TaobaoAilabAicloudTopLikeListAPIResponse 列出收藏列表 API返回值 taobao.ailab.aicloud.top.like.list

列出收藏列表

type TaobaoAilabAicloudTopLikeListAPIResponseModel

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

TaobaoAilabAicloudTopLikeListAPIResponseModel is 列出收藏列表 成功返回结果

type TaobaoAilabAicloudTopMessageAddtextAPIRequest

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

TaobaoAilabAicloudTopMessageAddtextAPIRequest 精灵代说 API请求 taobao.ailab.aicloud.top.message.addtext

精灵代说

func NewTaobaoAilabAicloudTopMessageAddtextRequest

func NewTaobaoAilabAicloudTopMessageAddtextRequest() *TaobaoAilabAicloudTopMessageAddtextAPIRequest

NewTaobaoAilabAicloudTopMessageAddtextRequest 初始化TaobaoAilabAicloudTopMessageAddtextAPIRequest对象

func (TaobaoAilabAicloudTopMessageAddtextAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopMessageAddtextAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopMessageAddtextAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoAilabAicloudTopMessageAddtextAPIRequest) GetParam1

GetParam1 Param1 Getter

func (TaobaoAilabAicloudTopMessageAddtextAPIRequest) GetParam2

GetParam2 Param2 Getter

func (TaobaoAilabAicloudTopMessageAddtextAPIRequest) GetParam3

GetParam3 Param3 Getter

func (TaobaoAilabAicloudTopMessageAddtextAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoAilabAicloudTopMessageAddtextAPIRequest) SetParam0

SetParam0 is Param0 Setter 用户信息

func (*TaobaoAilabAicloudTopMessageAddtextAPIRequest) SetParam1

SetParam1 is Param1 Setter 设备id

func (*TaobaoAilabAicloudTopMessageAddtextAPIRequest) SetParam2

SetParam2 is Param2 Setter 代说文本

func (*TaobaoAilabAicloudTopMessageAddtextAPIRequest) SetParam3

SetParam3 is Param3 Setter 扩展信息,可以为空

type TaobaoAilabAicloudTopMessageAddtextAPIResponse

type TaobaoAilabAicloudTopMessageAddtextAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopMessageAddtextAPIResponseModel
}

TaobaoAilabAicloudTopMessageAddtextAPIResponse 精灵代说 API返回值 taobao.ailab.aicloud.top.message.addtext

精灵代说

type TaobaoAilabAicloudTopMessageAddtextAPIResponseModel

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

TaobaoAilabAicloudTopMessageAddtextAPIResponseModel is 精灵代说 成功返回结果

type TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest

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

TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest 获取未读的消息数量 API请求 taobao.ailab.aicloud.top.message.get.unread.count

开放获取未读留言数量的接口

func NewTaobaoAilabAicloudTopMessageGetUnreadCountRequest

func NewTaobaoAilabAicloudTopMessageGetUnreadCountRequest() *TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest

NewTaobaoAilabAicloudTopMessageGetUnreadCountRequest 初始化TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest对象

func (TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopMessageGetUnreadCountAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopMessageGetUnreadCountAPIResponse

type TaobaoAilabAicloudTopMessageGetUnreadCountAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopMessageGetUnreadCountAPIResponseModel
}

TaobaoAilabAicloudTopMessageGetUnreadCountAPIResponse 获取未读的消息数量 API返回值 taobao.ailab.aicloud.top.message.get.unread.count

开放获取未读留言数量的接口

type TaobaoAilabAicloudTopMessageGetUnreadCountAPIResponseModel

type TaobaoAilabAicloudTopMessageGetUnreadCountAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_message_get_unread_count_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异常描述
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 未读留言的数量
	Model int64 `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoAilabAicloudTopMessageGetUnreadCountAPIResponseModel is 获取未读的消息数量 成功返回结果

type TaobaoAilabAicloudTopMessageListAPIRequest

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

TaobaoAilabAicloudTopMessageListAPIRequest 获取留言列表 API请求 taobao.ailab.aicloud.top.message.list

根据指定参数获取留言列表

func NewTaobaoAilabAicloudTopMessageListRequest

func NewTaobaoAilabAicloudTopMessageListRequest() *TaobaoAilabAicloudTopMessageListAPIRequest

NewTaobaoAilabAicloudTopMessageListRequest 初始化TaobaoAilabAicloudTopMessageListAPIRequest对象

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetBeforeTime

GetBeforeTime BeforeTime Getter

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetLimit

GetLimit Limit Getter

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopMessageListAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopMessageListAPIRequest) SetBeforeTime

func (r *TaobaoAilabAicloudTopMessageListAPIRequest) SetBeforeTime(_beforeTime string) error

SetBeforeTime is BeforeTime Setter 截止时间,yyyy-MM-dd HH:mm:ss.SSS

func (*TaobaoAilabAicloudTopMessageListAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopMessageListAPIRequest) SetLimit

SetLimit is Limit Setter 一次性展示多少条信息

func (*TaobaoAilabAicloudTopMessageListAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopMessageListAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopMessageListAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopMessageListAPIResponse

type TaobaoAilabAicloudTopMessageListAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopMessageListAPIResponseModel
}

TaobaoAilabAicloudTopMessageListAPIResponse 获取留言列表 API返回值 taobao.ailab.aicloud.top.message.list

根据指定参数获取留言列表

type TaobaoAilabAicloudTopMessageListAPIResponseModel

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

TaobaoAilabAicloudTopMessageListAPIResponseModel is 获取留言列表 成功返回结果

type TaobaoAilabAicloudTopMessageListModel

type TaobaoAilabAicloudTopMessageListModel struct {
	// source
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// type
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// content
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// gmtCreate
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// gmtModified
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// status
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

TaobaoAilabAicloudTopMessageListModel 结构体

type TaobaoAilabAicloudTopMessageSendAPIRequest

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

TaobaoAilabAicloudTopMessageSendAPIRequest 发送留言 API请求 taobao.ailab.aicloud.top.message.send

供准入的外部用户实现发送留言功能,APP端发送,设备端读取

func NewTaobaoAilabAicloudTopMessageSendRequest

func NewTaobaoAilabAicloudTopMessageSendRequest() *TaobaoAilabAicloudTopMessageSendAPIRequest

NewTaobaoAilabAicloudTopMessageSendRequest 初始化TaobaoAilabAicloudTopMessageSendAPIRequest对象

func (TaobaoAilabAicloudTopMessageSendAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAilabAicloudTopMessageSendAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAilabAicloudTopMessageSendAPIRequest) GetAudioPath

GetAudioPath AudioPath Getter

func (TaobaoAilabAicloudTopMessageSendAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoAilabAicloudTopMessageSendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoAilabAicloudTopMessageSendAPIRequest) GetSchema

GetSchema Schema Getter

func (TaobaoAilabAicloudTopMessageSendAPIRequest) GetUserId

GetUserId UserId Getter

func (TaobaoAilabAicloudTopMessageSendAPIRequest) GetUtdId

GetUtdId UtdId Getter

func (*TaobaoAilabAicloudTopMessageSendAPIRequest) SetAudioPath

func (r *TaobaoAilabAicloudTopMessageSendAPIRequest) SetAudioPath(_audioPath string) error

SetAudioPath is AudioPath Setter 用户上传到OSS上的文件路径,不包含域名

func (*TaobaoAilabAicloudTopMessageSendAPIRequest) SetExt

SetExt is Ext Setter 扩展信息,用于存放APP类型等

func (*TaobaoAilabAicloudTopMessageSendAPIRequest) SetSchema

SetSchema is Schema Setter 账户体系隔离

func (*TaobaoAilabAicloudTopMessageSendAPIRequest) SetUserId

SetUserId is UserId Setter 用户ID,此处传入第三方账户体系的用户id

func (*TaobaoAilabAicloudTopMessageSendAPIRequest) SetUtdId

SetUtdId is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数

type TaobaoAilabAicloudTopMessageSendAPIResponse

type TaobaoAilabAicloudTopMessageSendAPIResponse struct {
	model.CommonResponse
	TaobaoAilabAicloudTopMessageSendAPIResponseModel
}

TaobaoAilabAicloudTopMessageSendAPIResponse 发送留言 API返回值 taobao.ailab.aicloud.top.message.send

供准入的外部用户实现发送留言功能,APP端发送,设备端读取

type TaobaoAilabAicloudTopMessageSendAPIResponseModel

type TaobaoAilabAicloudTopMessageSendAPIResponseModel struct {
	XMLName xml.Name `xml:"ailab_aicloud_top_message_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// model
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoAilabAicloudTopMessageSendAPIResponseModel is 发送留言 成功返回结果

type TmallDeviceCarturlGetAPIRequest

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

TmallDeviceCarturlGetAPIRequest 添加商品到购物车 API请求 tmall.device.carturl.get

获取二维码,支持添加商品到购物车

func NewTmallDeviceCarturlGetRequest

func NewTmallDeviceCarturlGetRequest() *TmallDeviceCarturlGetAPIRequest

NewTmallDeviceCarturlGetRequest 初始化TmallDeviceCarturlGetAPIRequest对象

func (TmallDeviceCarturlGetAPIRequest) GetApiMethodName

func (r TmallDeviceCarturlGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallDeviceCarturlGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallDeviceCarturlGetAPIRequest) GetDeviceCode

func (r TmallDeviceCarturlGetAPIRequest) GetDeviceCode() string

GetDeviceCode DeviceCode Getter

func (TmallDeviceCarturlGetAPIRequest) GetItemIds

func (r TmallDeviceCarturlGetAPIRequest) GetItemIds() []string

GetItemIds ItemIds Getter

func (TmallDeviceCarturlGetAPIRequest) GetLongterm

func (r TmallDeviceCarturlGetAPIRequest) GetLongterm() bool

GetLongterm Longterm Getter

func (TmallDeviceCarturlGetAPIRequest) GetRawParams added in v1.2.8

func (r TmallDeviceCarturlGetAPIRequest) GetRawParams() model.Params

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

func (*TmallDeviceCarturlGetAPIRequest) SetDeviceCode

func (r *TmallDeviceCarturlGetAPIRequest) SetDeviceCode(_deviceCode string) error

SetDeviceCode is DeviceCode Setter 设备业务编码

func (*TmallDeviceCarturlGetAPIRequest) SetItemIds

func (r *TmallDeviceCarturlGetAPIRequest) SetItemIds(_itemIds []string) error

SetItemIds is ItemIds Setter 商品信息,格式为 商品ID_SKU ID_数量,多条记录以逗号(,)分割

func (*TmallDeviceCarturlGetAPIRequest) SetLongterm

func (r *TmallDeviceCarturlGetAPIRequest) SetLongterm(_longterm bool) error

SetLongterm is Longterm Setter 是否申请长期链接

type TmallDeviceCarturlGetAPIResponse

type TmallDeviceCarturlGetAPIResponse struct {
	model.CommonResponse
	TmallDeviceCarturlGetAPIResponseModel
}

TmallDeviceCarturlGetAPIResponse 添加商品到购物车 API返回值 tmall.device.carturl.get

获取二维码,支持添加商品到购物车

type TmallDeviceCarturlGetAPIResponseModel

type TmallDeviceCarturlGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_device_carturl_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 二维码短链接地址
	ShortUrl string `json:"short_url,omitempty" xml:"short_url,omitempty"`
	// 二维码图片URL
	ShortImgUrl string `json:"short_img_url,omitempty" xml:"short_img_url,omitempty"`
}

TmallDeviceCarturlGetAPIResponseModel is 添加商品到购物车 成功返回结果

type TmallDeviceItemPromotionGetAPIRequest

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

TmallDeviceItemPromotionGetAPIRequest 智能硬件上商品优惠获取 API请求 tmall.device.item.promotion.get

商品优惠详情查询,可查询商品设置的详细优惠。包括限时折扣,满就送等官方优惠以及第三方优惠。

func NewTmallDeviceItemPromotionGetRequest

func NewTmallDeviceItemPromotionGetRequest() *TmallDeviceItemPromotionGetAPIRequest

NewTmallDeviceItemPromotionGetRequest 初始化TmallDeviceItemPromotionGetAPIRequest对象

func (TmallDeviceItemPromotionGetAPIRequest) GetApiMethodName

func (r TmallDeviceItemPromotionGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallDeviceItemPromotionGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallDeviceItemPromotionGetAPIRequest) GetItemId

GetItemId ItemId Getter

func (TmallDeviceItemPromotionGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallDeviceItemPromotionGetAPIRequest) SetItemId

func (r *TmallDeviceItemPromotionGetAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品id

type TmallDeviceItemPromotionGetAPIResponse

type TmallDeviceItemPromotionGetAPIResponse struct {
	model.CommonResponse
	TmallDeviceItemPromotionGetAPIResponseModel
}

TmallDeviceItemPromotionGetAPIResponse 智能硬件上商品优惠获取 API返回值 tmall.device.item.promotion.get

商品优惠详情查询,可查询商品设置的详细优惠。包括限时折扣,满就送等官方优惠以及第三方优惠。

type TmallDeviceItemPromotionGetAPIResponseModel

type TmallDeviceItemPromotionGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_device_item_promotion_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 优惠详细信息
	Promotions *PromotionDisplayTop `json:"promotions,omitempty" xml:"promotions,omitempty"`
}

TmallDeviceItemPromotionGetAPIResponseModel is 智能硬件上商品优惠获取 成功返回结果

type TmallDeviceStoreFollowurlGetAPIRequest

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

TmallDeviceStoreFollowurlGetAPIRequest 获取店铺关注链接 API请求 tmall.device.store.followurl.get

获取智能硬件上的关注店铺的URL

func NewTmallDeviceStoreFollowurlGetRequest

func NewTmallDeviceStoreFollowurlGetRequest() *TmallDeviceStoreFollowurlGetAPIRequest

NewTmallDeviceStoreFollowurlGetRequest 初始化TmallDeviceStoreFollowurlGetAPIRequest对象

func (TmallDeviceStoreFollowurlGetAPIRequest) GetApiMethodName

func (r TmallDeviceStoreFollowurlGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallDeviceStoreFollowurlGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallDeviceStoreFollowurlGetAPIRequest) GetBannerImg

GetBannerImg BannerImg Getter

func (TmallDeviceStoreFollowurlGetAPIRequest) GetCallbackUrl

GetCallbackUrl CallbackUrl Getter

func (TmallDeviceStoreFollowurlGetAPIRequest) GetDeviceCode

GetDeviceCode DeviceCode Getter

func (TmallDeviceStoreFollowurlGetAPIRequest) GetFollowRetailAccount

func (r TmallDeviceStoreFollowurlGetAPIRequest) GetFollowRetailAccount() bool

GetFollowRetailAccount FollowRetailAccount Getter

func (TmallDeviceStoreFollowurlGetAPIRequest) GetLongterm

GetLongterm Longterm Getter

func (TmallDeviceStoreFollowurlGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallDeviceStoreFollowurlGetAPIRequest) SetBannerImg

func (r *TmallDeviceStoreFollowurlGetAPIRequest) SetBannerImg(_bannerImg string) error

SetBannerImg is BannerImg Setter 页面banner的图片,如果没有传入,会使用系统默认图

func (*TmallDeviceStoreFollowurlGetAPIRequest) SetCallbackUrl

func (r *TmallDeviceStoreFollowurlGetAPIRequest) SetCallbackUrl(_callbackUrl string) error

SetCallbackUrl is CallbackUrl Setter 关注完成后的回调地址,需要是EWS地址

func (*TmallDeviceStoreFollowurlGetAPIRequest) SetDeviceCode

func (r *TmallDeviceStoreFollowurlGetAPIRequest) SetDeviceCode(_deviceCode string) error

SetDeviceCode is DeviceCode Setter 设备DeviceCode

func (*TmallDeviceStoreFollowurlGetAPIRequest) SetFollowRetailAccount

func (r *TmallDeviceStoreFollowurlGetAPIRequest) SetFollowRetailAccount(_followRetailAccount bool) error

SetFollowRetailAccount is FollowRetailAccount Setter 是否同时关注天猫理想站

func (*TmallDeviceStoreFollowurlGetAPIRequest) SetLongterm

func (r *TmallDeviceStoreFollowurlGetAPIRequest) SetLongterm(_longterm bool) error

SetLongterm is Longterm Setter 是否使用长期链接

type TmallDeviceStoreFollowurlGetAPIResponse

type TmallDeviceStoreFollowurlGetAPIResponse struct {
	model.CommonResponse
	TmallDeviceStoreFollowurlGetAPIResponseModel
}

TmallDeviceStoreFollowurlGetAPIResponse 获取店铺关注链接 API返回值 tmall.device.store.followurl.get

获取智能硬件上的关注店铺的URL

type TmallDeviceStoreFollowurlGetAPIResponseModel

type TmallDeviceStoreFollowurlGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_device_store_followurl_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 二维码短链接地址
	ShortUrl string `json:"short_url,omitempty" xml:"short_url,omitempty"`
	// 二维码图片URL
	ShortImgUrl string `json:"short_img_url,omitempty" xml:"short_img_url,omitempty"`
}

TmallDeviceStoreFollowurlGetAPIResponseModel is 获取店铺关注链接 成功返回结果

type TopDeviceBaseInfoDto

type TopDeviceBaseInfoDto struct {
	// 设备id
	DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"`
}

TopDeviceBaseInfoDto 结构体

type TopDeviceDetailInfoDto

type TopDeviceDetailInfoDto struct {
	// 设备id
	DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"`
	// 设备联网的ip地址
	DeviceIp string `json:"device_ip,omitempty" xml:"device_ip,omitempty"`
	// Mac地址
	DeviceMac string `json:"device_mac,omitempty" xml:"device_mac,omitempty"`
	// 外部设备id
	ExtDeviceId string `json:"ext_device_id,omitempty" xml:"ext_device_id,omitempty"`
	// 外部设备类型,chinaMobile:中国移动,chinaTelecom:上海电信,chinaUnicom:中国联通
	ExtDeviceType string `json:"ext_device_type,omitempty" xml:"ext_device_type,omitempty"`
	// 设备当前的固件版本
	FirmwareVersion string `json:"firmware_version,omitempty" xml:"firmware_version,omitempty"`
	// 设备序列号
	Sn string `json:"sn,omitempty" xml:"sn,omitempty"`
}

TopDeviceDetailInfoDto 结构体

type TopDeviceExtInfoDto

type TopDeviceExtInfoDto struct {
	// 设备id
	DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"`
	// 三方设备id
	ExtDeviceId string `json:"ext_device_id,omitempty" xml:"ext_device_id,omitempty"`
	// 三方设备类型
	ExtDeviceType string `json:"ext_device_type,omitempty" xml:"ext_device_type,omitempty"`
	// 设备mac
	DeviceMac string `json:"device_mac,omitempty" xml:"device_mac,omitempty"`
}

TopDeviceExtInfoDto 结构体

type TopDeviceStatusInfoDto

type TopDeviceStatusInfoDto struct {
	// 设备id
	DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"`
	// 设备联网的ip地址
	DeviceIp string `json:"device_ip,omitempty" xml:"device_ip,omitempty"`
	// 设备在线状态,0:离线 1:在线
	OnlineStatus int64 `json:"online_status,omitempty" xml:"online_status,omitempty"`
}

TopDeviceStatusInfoDto 结构体

type VideoUrlDto

type VideoUrlDto struct {
	// 默认播放链接
	DefaultUrl string `json:"default_url,omitempty" xml:"default_url,omitempty"`
	// 高清
	High string `json:"high,omitempty" xml:"high,omitempty"`
	// 标清
	Standard string `json:"standard,omitempty" xml:"standard,omitempty"`
	// 超清
	Ultra string `json:"ultra,omitempty" xml:"ultra,omitempty"`
	// 视频封面图
	Cover *ImageUrlDto `json:"cover,omitempty" xml:"cover,omitempty"`
	// 视频高度
	Height int64 `json:"height,omitempty" xml:"height,omitempty"`
	// 视频宽度
	Width int64 `json:"width,omitempty" xml:"width,omitempty"`
}

VideoUrlDto 结构体

type VideoUrlParam

type VideoUrlParam struct {
	// 默认播放链接
	DefaultUrl string `json:"default_url,omitempty" xml:"default_url,omitempty"`
	// 高清
	High string `json:"high,omitempty" xml:"high,omitempty"`
	// 标清
	Standard string `json:"standard,omitempty" xml:"standard,omitempty"`
	// 超清
	Ultra string `json:"ultra,omitempty" xml:"ultra,omitempty"`
	// 视频封面图
	Cover *ImageUrlParam `json:"cover,omitempty" xml:"cover,omitempty"`
	// 视频高度
	Height int64 `json:"height,omitempty" xml:"height,omitempty"`
	// 视频宽度
	Width int64 `json:"width,omitempty" xml:"width,omitempty"`
}

VideoUrlParam 结构体

Source Files

Jump to

Keyboard shortcuts

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