Documentation ¶
Overview ¶
人工智能实验室开放平台API model
Index ¶
- type AlibabaAilabTbUserSkillOauthAPIRequest
- func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetExpireIn() int64
- func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetOauthAccessToken() string
- func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetRefreshToken() string
- func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetTaobaoId() string
- func (r *AlibabaAilabTbUserSkillOauthAPIRequest) SetExpireIn(_expireIn int64) error
- func (r *AlibabaAilabTbUserSkillOauthAPIRequest) SetOauthAccessToken(_oauthAccessToken string) error
- func (r *AlibabaAilabTbUserSkillOauthAPIRequest) SetRefreshToken(_refreshToken string) error
- func (r *AlibabaAilabTbUserSkillOauthAPIRequest) SetTaobaoId(_taobaoId string) error
- type AlibabaAilabTbUserSkillOauthAPIResponse
- type AlibabaAilabTbUserSkillOauthAPIResponseModel
- type AlibabaAilabUserAuthorizedCancelAPIRequest
- func (r AlibabaAilabUserAuthorizedCancelAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabUserAuthorizedCancelAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabUserAuthorizedCancelAPIRequest) GetMerchantUserId() string
- func (r AlibabaAilabUserAuthorizedCancelAPIRequest) GetSchemaKey() string
- func (r *AlibabaAilabUserAuthorizedCancelAPIRequest) SetMerchantUserId(_merchantUserId string) error
- func (r *AlibabaAilabUserAuthorizedCancelAPIRequest) SetSchemaKey(_schemaKey string) error
- type AlibabaAilabUserAuthorizedCancelAPIResponse
- type AlibabaAilabUserAuthorizedCancelAPIResponseModel
- type AlibabaAilabUserAuthorizedQueryAPIRequest
- func (r AlibabaAilabUserAuthorizedQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabUserAuthorizedQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabUserAuthorizedQueryAPIRequest) GetMerchantUserId() string
- func (r AlibabaAilabUserAuthorizedQueryAPIRequest) GetSchemaKey() string
- func (r *AlibabaAilabUserAuthorizedQueryAPIRequest) SetMerchantUserId(_merchantUserId string) error
- func (r *AlibabaAilabUserAuthorizedQueryAPIRequest) SetSchemaKey(_schemaKey string) error
- type AlibabaAilabUserAuthorizedQueryAPIResponse
- type AlibabaAilabUserAuthorizedQueryAPIResponseModel
- type AlibabaAilabUserOpenUidGetAPIRequest
- func (r AlibabaAilabUserOpenUidGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabUserOpenUidGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabUserOpenUidGetAPIRequest) GetSkillAccessToken() string
- func (r AlibabaAilabUserOpenUidGetAPIRequest) GetSkillId() int64
- func (r *AlibabaAilabUserOpenUidGetAPIRequest) SetSkillAccessToken(_skillAccessToken string) error
- func (r *AlibabaAilabUserOpenUidGetAPIRequest) SetSkillId(_skillId int64) error
- type AlibabaAilabUserOpenUidGetAPIResponse
- type AlibabaAilabUserOpenUidGetAPIResponseModel
- type AlibabaAilabUserProfileGetAPIRequest
- func (r AlibabaAilabUserProfileGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabUserProfileGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabUserProfileGetAPIRequest) GetClientId() string
- func (r AlibabaAilabUserProfileGetAPIRequest) GetOpenUid() string
- func (r *AlibabaAilabUserProfileGetAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabUserProfileGetAPIRequest) SetOpenUid(_openUid string) error
- type AlibabaAilabUserProfileGetAPIResponse
- type AlibabaAilabUserProfileGetAPIResponseModel
- type AlibabaAilabUserProfileGetResult
- type AlibabaAilabUserTokenGetAPIRequest
- func (r AlibabaAilabUserTokenGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabUserTokenGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabUserTokenGetAPIRequest) GetCallBackUrl() string
- func (r AlibabaAilabUserTokenGetAPIRequest) GetMerchantUserId() string
- func (r AlibabaAilabUserTokenGetAPIRequest) GetSchemaKey() string
- func (r *AlibabaAilabUserTokenGetAPIRequest) SetCallBackUrl(_callBackUrl string) error
- func (r *AlibabaAilabUserTokenGetAPIRequest) SetMerchantUserId(_merchantUserId string) error
- func (r *AlibabaAilabUserTokenGetAPIRequest) SetSchemaKey(_schemaKey string) error
- type AlibabaAilabUserTokenGetAPIResponse
- type AlibabaAilabUserTokenGetAPIResponseModel
- type AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest
- func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetSkillId() string
- func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetToken() string
- func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetType() string
- func (r *AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetSkillId(_skillId string) error
- func (r *AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetToken(_token string) error
- func (r *AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetType(_type string) error
- type AlibabaAilabsIotDeviceListUpdateNotifyAPIResponse
- type AlibabaAilabsIotDeviceListUpdateNotifyAPIResponseModel
- type AlibabaAilabsIotDeviceListUpdateNotifyResult
- type AlibabaAilabsIotDeviceStatusUpdateAPIRequest
- func (r AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetDeviceStatusDTO() *DeviceStatusDto
- func (r *AlibabaAilabsIotDeviceStatusUpdateAPIRequest) SetDeviceStatusDTO(_deviceStatusDTO *DeviceStatusDto) error
- type AlibabaAilabsIotDeviceStatusUpdateAPIResponse
- type AlibabaAilabsIotDeviceStatusUpdateAPIResponseModel
- type AlibabaAilabsIotDeviceStatusUpdateResult
- type AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest
- func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetClientId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetUserOpenId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetUuid() string
- func (r *AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetUserOpenId(_userOpenId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetUuid(_uuid string) error
- type AlibabaAilabsTmallgenieAuthDeviceGetAPIResponse
- type AlibabaAilabsTmallgenieAuthDeviceGetAPIResponseModel
- type AlibabaAilabsTmallgenieAuthDeviceGetResult
- type AlibabaAilabsTmallgenieAuthDeviceListAPIRequest
- func (r AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetClientId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetUserOpenId() string
- func (r *AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) SetUserOpenId(_userOpenId string) error
- type AlibabaAilabsTmallgenieAuthDeviceListAPIResponse
- type AlibabaAilabsTmallgenieAuthDeviceListAPIResponseModel
- type AlibabaAilabsTmallgenieAuthDeviceListResult
- type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest
- func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetClientId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetCode() string
- func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetExtInfo() string
- func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetTaobaoUserOpenid() string
- func (r *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetCode(_code string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetExtInfo(_extInfo string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetTaobaoUserOpenid(_taobaoUserOpenid string) error
- type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponse
- type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponseModel
- type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest
- func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetClientId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetUserOpenId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetUuid() string
- func (r *AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetUserOpenId(_userOpenId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetUuid(_uuid string) error
- type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponse
- type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponseModel
- type AlibabaAilabsTmallgenieAuthDeviceStatusGetResult
- type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest
- func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetClientId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetUserOpenId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetUuid() string
- func (r *AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetUserOpenId(_userOpenId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetUuid(_uuid string) error
- type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponse
- type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponseModel
- type AlibabaAilabsTmallgenieAuthDeviceUnbindResult
- type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest
- func (r AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetClientId() string
- func (r AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetMac() string
- func (r *AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) SetMac(_mac string) error
- type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponse
- type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponseModel
- type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetResult
- type AlibabaAilabsTmallgenieAuthGetcodeAPIRequest
- func (r AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetAuthParam() *TopAuthReqDto
- func (r AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetDeviceParam() *TopDeviceReqDto
- func (r *AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) SetAuthParam(_authParam *TopAuthReqDto) error
- func (r *AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) SetDeviceParam(_deviceParam *TopDeviceReqDto) error
- type AlibabaAilabsTmallgenieAuthGetcodeAPIResponse
- type AlibabaAilabsTmallgenieAuthGetcodeAPIResponseModel
- type AlibabaAilabsTmallgenieAuthGettokenAPIRequest
- func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetAuthCode() string
- func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetClientId() string
- func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetGrantType() string
- func (r *AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetAuthCode(_authCode string) error
- func (r *AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetGrantType(_grantType string) error
- type AlibabaAilabsTmallgenieAuthGettokenAPIResponse
- type AlibabaAilabsTmallgenieAuthGettokenAPIResponseModel
- type AlibabaAilabsTmallgenieAuthRefreshAPIRequest
- func (r AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetRefreshTokenRequest() *TopRefreshReqDto
- func (r *AlibabaAilabsTmallgenieAuthRefreshAPIRequest) SetRefreshTokenRequest(_refreshTokenRequest *TopRefreshReqDto) error
- type AlibabaAilabsTmallgenieAuthRefreshAPIResponse
- type AlibabaAilabsTmallgenieAuthRefreshAPIResponseModel
- type AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest
- func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetClientId() string
- func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetNewUserOpenId() string
- func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetOldUserOpenId() string
- func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetUuid() string
- func (r *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetClientId(_clientId string) error
- func (r *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetNewUserOpenId(_newUserOpenId string) error
- func (r *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetOldUserOpenId(_oldUserOpenId string) error
- func (r *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetUuid(_uuid string) error
- type AlibabaAilabsTmallgenieAuthSwitchuserAPIResponse
- type AlibabaAilabsTmallgenieAuthSwitchuserAPIResponseModel
- type AlibabaAilabsTmallgenieAuthSwitchuserResult
- type AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest
- func (r AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetApiMethodName() string
- func (r AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetApiParams() url.Values
- func (r AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetAuthParam() *TopAuthReqDto
- func (r AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetDeviceParam() *TopDeviceReqDto
- func (r *AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) SetAuthParam(_authParam *TopAuthReqDto) error
- func (r *AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) SetDeviceParam(_deviceParam *TopDeviceReqDto) error
- type AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponse
- type AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponseModel
- type AlibabaAilabsTvsDeviceListAPIRequest
- type AlibabaAilabsTvsDeviceListAPIResponse
- type AlibabaAilabsTvsDeviceListAPIResponseModel
- type AlibabaAilabsTvsDeviceListData
- type BaseResult
- type BasicUserInfo
- type DeviceInfo
- type DeviceSkillDetailInfo
- type DeviceStatusDto
- type DeviceTokenVo
- type HotWordsContent
- type IotCommonHeader
- type PageResult
- type Payload
- type RegisterInfoVo
- type SCanQrCodeResultVo
- type ServiceProvider
- type Status
- type TaobaoAilabAicloudTopHotwordsGetAPIRequest
- func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetBizClass() string
- func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetSchema() string
- func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetUserId() string
- func (r *TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetBizClass(_bizClass string) error
- func (r *TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetSchema(_schema string) error
- func (r *TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetUserId(_userId string) error
- type TaobaoAilabAicloudTopHotwordsGetAPIResponse
- type TaobaoAilabAicloudTopHotwordsGetAPIResponseModel
- type TaobaoAilabAicloudTopHotwordsUpdateAPIRequest
- func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetBizClass() string
- func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetContent() *HotWordsContent
- func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetOpType() string
- func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetSchema() string
- func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetUserId() string
- func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetBizClass(_bizClass string) error
- func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetContent(_content *HotWordsContent) error
- func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetOpType(_opType string) error
- func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetSchema(_schema string) error
- func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetUserId(_userId string) error
- type TaobaoAilabAicloudTopHotwordsUpdateAPIResponse
- type TaobaoAilabAicloudTopHotwordsUpdateAPIResponseModel
- type TaobaoAilabAicloudTopSkilsListNewAPIRequest
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetApiMethodName() string
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetApiParams() url.Values
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetExt() string
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetPageNo() int64
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetPageSize() int64
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetQuery() string
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetSchema() string
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetType() string
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetUserId() string
- func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetUtdId() string
- func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetExt(_ext string) error
- func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetQuery(_query string) error
- func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetSchema(_schema string) error
- func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetType(_type string) error
- func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetUserId(_userId string) error
- func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetUtdId(_utdId string) error
- type TaobaoAilabAicloudTopSkilsListNewAPIResponse
- type TaobaoAilabAicloudTopSkilsListNewAPIResponseModel
- type TopAuthReqDto
- type TopDeviceReqDto
- type TopRefreshReqDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaAilabTbUserSkillOauthAPIRequest ¶
type AlibabaAilabTbUserSkillOauthAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabTbUserSkillOauthAPIRequest
用户技能 Oauth 授权(淘宝 openId) API请求 alibaba.ailab.tb.user.skill.oauth
定制机厂商,在用户配网完成后,厂商调用此接口,写入特定技能的 Oauth 信息
func NewAlibabaAilabTbUserSkillOauthRequest ¶
func NewAlibabaAilabTbUserSkillOauthRequest() *AlibabaAilabTbUserSkillOauthAPIRequest
NewAlibabaAilabTbUserSkillOauthRequest 初始化AlibabaAilabTbUserSkillOauthAPIRequest对象
func (AlibabaAilabTbUserSkillOauthAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabTbUserSkillOauthAPIRequest) GetApiParams ¶
func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabTbUserSkillOauthAPIRequest) GetExpireIn ¶
func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetExpireIn() int64
Get ExpireIn Getter
func (AlibabaAilabTbUserSkillOauthAPIRequest) GetOauthAccessToken ¶
func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetOauthAccessToken() string
Get OauthAccessToken Getter
func (AlibabaAilabTbUserSkillOauthAPIRequest) GetRefreshToken ¶
func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetRefreshToken() string
Get RefreshToken Getter
func (AlibabaAilabTbUserSkillOauthAPIRequest) GetTaobaoId ¶
func (r AlibabaAilabTbUserSkillOauthAPIRequest) GetTaobaoId() string
Get TaobaoId Getter
func (*AlibabaAilabTbUserSkillOauthAPIRequest) SetExpireIn ¶
func (r *AlibabaAilabTbUserSkillOauthAPIRequest) SetExpireIn(_expireIn int64) error
Set is ExpireIn Setter access token 过期时间,单位:秒
func (*AlibabaAilabTbUserSkillOauthAPIRequest) SetOauthAccessToken ¶
func (r *AlibabaAilabTbUserSkillOauthAPIRequest) SetOauthAccessToken(_oauthAccessToken string) error
Set is OauthAccessToken Setter access token
func (*AlibabaAilabTbUserSkillOauthAPIRequest) SetRefreshToken ¶
func (r *AlibabaAilabTbUserSkillOauthAPIRequest) SetRefreshToken(_refreshToken string) error
Set is RefreshToken Setter refresh token
func (*AlibabaAilabTbUserSkillOauthAPIRequest) SetTaobaoId ¶
func (r *AlibabaAilabTbUserSkillOauthAPIRequest) SetTaobaoId(_taobaoId string) error
Set is TaobaoId Setter taobao open id
type AlibabaAilabTbUserSkillOauthAPIResponse ¶
type AlibabaAilabTbUserSkillOauthAPIResponse struct { model.CommonResponse AlibabaAilabTbUserSkillOauthAPIResponseModel }
AlibabaAilabTbUserSkillOauthAPIResponse
用户技能 Oauth 授权(淘宝 openId) API返回值 alibaba.ailab.tb.user.skill.oauth
定制机厂商,在用户配网完成后,厂商调用此接口,写入特定技能的 Oauth 信息
type AlibabaAilabTbUserSkillOauthAPIResponseModel ¶
type AlibabaAilabTbUserSkillOauthAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailab_tb_user_skill_oauth_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回码,200 代表成功 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` }
AlibabaAilabTbUserSkillOauthAPIResponseModel is 用户技能 Oauth 授权(淘宝 openId) 成功返回结果
type AlibabaAilabUserAuthorizedCancelAPIRequest ¶
type AlibabaAilabUserAuthorizedCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabUserAuthorizedCancelAPIRequest
取消账号授权 API请求 alibaba.ailab.user.authorized.cancel
三方用户取消授权给天猫精灵用户
func NewAlibabaAilabUserAuthorizedCancelRequest ¶
func NewAlibabaAilabUserAuthorizedCancelRequest() *AlibabaAilabUserAuthorizedCancelAPIRequest
NewAlibabaAilabUserAuthorizedCancelRequest 初始化AlibabaAilabUserAuthorizedCancelAPIRequest对象
func (AlibabaAilabUserAuthorizedCancelAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabUserAuthorizedCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabUserAuthorizedCancelAPIRequest) GetApiParams ¶
func (r AlibabaAilabUserAuthorizedCancelAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabUserAuthorizedCancelAPIRequest) GetMerchantUserId ¶
func (r AlibabaAilabUserAuthorizedCancelAPIRequest) GetMerchantUserId() string
Get MerchantUserId Getter
func (AlibabaAilabUserAuthorizedCancelAPIRequest) GetSchemaKey ¶
func (r AlibabaAilabUserAuthorizedCancelAPIRequest) GetSchemaKey() string
Get SchemaKey Getter
func (*AlibabaAilabUserAuthorizedCancelAPIRequest) SetMerchantUserId ¶
func (r *AlibabaAilabUserAuthorizedCancelAPIRequest) SetMerchantUserId(_merchantUserId string) error
Set is MerchantUserId Setter 三方用户的唯一ID
func (*AlibabaAilabUserAuthorizedCancelAPIRequest) SetSchemaKey ¶
func (r *AlibabaAilabUserAuthorizedCancelAPIRequest) SetSchemaKey(_schemaKey string) error
Set is SchemaKey Setter 开放平台申请的schema
type AlibabaAilabUserAuthorizedCancelAPIResponse ¶
type AlibabaAilabUserAuthorizedCancelAPIResponse struct { model.CommonResponse AlibabaAilabUserAuthorizedCancelAPIResponseModel }
AlibabaAilabUserAuthorizedCancelAPIResponse
取消账号授权 API返回值 alibaba.ailab.user.authorized.cancel
三方用户取消授权给天猫精灵用户
type AlibabaAilabUserAuthorizedCancelAPIResponseModel ¶
type AlibabaAilabUserAuthorizedCancelAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailab_user_authorized_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回码 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` // 错误中文描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` }
AlibabaAilabUserAuthorizedCancelAPIResponseModel is 取消账号授权 成功返回结果
type AlibabaAilabUserAuthorizedQueryAPIRequest ¶
type AlibabaAilabUserAuthorizedQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabUserAuthorizedQueryAPIRequest
查询授权状态接口 API请求 alibaba.ailab.user.authorized.query
查询三方用户授权状态
func NewAlibabaAilabUserAuthorizedQueryRequest ¶
func NewAlibabaAilabUserAuthorizedQueryRequest() *AlibabaAilabUserAuthorizedQueryAPIRequest
NewAlibabaAilabUserAuthorizedQueryRequest 初始化AlibabaAilabUserAuthorizedQueryAPIRequest对象
func (AlibabaAilabUserAuthorizedQueryAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabUserAuthorizedQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabUserAuthorizedQueryAPIRequest) GetApiParams ¶
func (r AlibabaAilabUserAuthorizedQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabUserAuthorizedQueryAPIRequest) GetMerchantUserId ¶
func (r AlibabaAilabUserAuthorizedQueryAPIRequest) GetMerchantUserId() string
Get MerchantUserId Getter
func (AlibabaAilabUserAuthorizedQueryAPIRequest) GetSchemaKey ¶
func (r AlibabaAilabUserAuthorizedQueryAPIRequest) GetSchemaKey() string
Get SchemaKey Getter
func (*AlibabaAilabUserAuthorizedQueryAPIRequest) SetMerchantUserId ¶
func (r *AlibabaAilabUserAuthorizedQueryAPIRequest) SetMerchantUserId(_merchantUserId string) error
Set is MerchantUserId Setter 三方用户的唯一ID
func (*AlibabaAilabUserAuthorizedQueryAPIRequest) SetSchemaKey ¶
func (r *AlibabaAilabUserAuthorizedQueryAPIRequest) SetSchemaKey(_schemaKey string) error
Set is SchemaKey Setter 开放平台申请的schema
type AlibabaAilabUserAuthorizedQueryAPIResponse ¶
type AlibabaAilabUserAuthorizedQueryAPIResponse struct { model.CommonResponse AlibabaAilabUserAuthorizedQueryAPIResponseModel }
AlibabaAilabUserAuthorizedQueryAPIResponse
查询授权状态接口 API返回值 alibaba.ailab.user.authorized.query
查询三方用户授权状态
type AlibabaAilabUserAuthorizedQueryAPIResponseModel ¶
type AlibabaAilabUserAuthorizedQueryAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailab_user_authorized_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 200 成功,其他失败 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` // 是否已授权 Result bool `json:"result,omitempty" xml:"result,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` }
AlibabaAilabUserAuthorizedQueryAPIResponseModel is 查询授权状态接口 成功返回结果
type AlibabaAilabUserOpenUidGetAPIRequest ¶
type AlibabaAilabUserOpenUidGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabUserOpenUidGetAPIRequest
access token 获取精灵用户 id API请求 alibaba.ailab.user.open.uid.get
access token 获取精灵用户 id
func NewAlibabaAilabUserOpenUidGetRequest ¶
func NewAlibabaAilabUserOpenUidGetRequest() *AlibabaAilabUserOpenUidGetAPIRequest
NewAlibabaAilabUserOpenUidGetRequest 初始化AlibabaAilabUserOpenUidGetAPIRequest对象
func (AlibabaAilabUserOpenUidGetAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabUserOpenUidGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabUserOpenUidGetAPIRequest) GetApiParams ¶
func (r AlibabaAilabUserOpenUidGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabUserOpenUidGetAPIRequest) GetSkillAccessToken ¶
func (r AlibabaAilabUserOpenUidGetAPIRequest) GetSkillAccessToken() string
Get SkillAccessToken Getter
func (AlibabaAilabUserOpenUidGetAPIRequest) GetSkillId ¶
func (r AlibabaAilabUserOpenUidGetAPIRequest) GetSkillId() int64
Get SkillId Getter
func (*AlibabaAilabUserOpenUidGetAPIRequest) SetSkillAccessToken ¶
func (r *AlibabaAilabUserOpenUidGetAPIRequest) SetSkillAccessToken(_skillAccessToken string) error
Set is SkillAccessToken Setter access token
func (*AlibabaAilabUserOpenUidGetAPIRequest) SetSkillId ¶
func (r *AlibabaAilabUserOpenUidGetAPIRequest) SetSkillId(_skillId int64) error
Set is SkillId Setter skill id
type AlibabaAilabUserOpenUidGetAPIResponse ¶
type AlibabaAilabUserOpenUidGetAPIResponse struct { model.CommonResponse AlibabaAilabUserOpenUidGetAPIResponseModel }
AlibabaAilabUserOpenUidGetAPIResponse
access token 获取精灵用户 id API返回值 alibaba.ailab.user.open.uid.get
access token 获取精灵用户 id
type AlibabaAilabUserOpenUidGetAPIResponseModel ¶
type AlibabaAilabUserOpenUidGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailab_user_open_uid_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 详细信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // user id Result string `json:"result,omitempty" xml:"result,omitempty"` // 状态码,200 成功,其他失败 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` }
AlibabaAilabUserOpenUidGetAPIResponseModel is access token 获取精灵用户 id 成功返回结果
type AlibabaAilabUserProfileGetAPIRequest ¶
type AlibabaAilabUserProfileGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabUserProfileGetAPIRequest
查询用户信息 API请求 alibaba.ailab.user.profile.get
提供天猫精灵用户头像、昵称的查询接口,供本田车载天猫精灵使用
func NewAlibabaAilabUserProfileGetRequest ¶
func NewAlibabaAilabUserProfileGetRequest() *AlibabaAilabUserProfileGetAPIRequest
NewAlibabaAilabUserProfileGetRequest 初始化AlibabaAilabUserProfileGetAPIRequest对象
func (AlibabaAilabUserProfileGetAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabUserProfileGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabUserProfileGetAPIRequest) GetApiParams ¶
func (r AlibabaAilabUserProfileGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabUserProfileGetAPIRequest) GetClientId ¶
func (r AlibabaAilabUserProfileGetAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabUserProfileGetAPIRequest) GetOpenUid ¶
func (r AlibabaAilabUserProfileGetAPIRequest) GetOpenUid() string
Get OpenUid Getter
func (*AlibabaAilabUserProfileGetAPIRequest) SetClientId ¶
func (r *AlibabaAilabUserProfileGetAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter client id
func (*AlibabaAilabUserProfileGetAPIRequest) SetOpenUid ¶
func (r *AlibabaAilabUserProfileGetAPIRequest) SetOpenUid(_openUid string) error
Set is OpenUid Setter open uid
type AlibabaAilabUserProfileGetAPIResponse ¶
type AlibabaAilabUserProfileGetAPIResponse struct { model.CommonResponse AlibabaAilabUserProfileGetAPIResponseModel }
AlibabaAilabUserProfileGetAPIResponse
查询用户信息 API返回值 alibaba.ailab.user.profile.get
提供天猫精灵用户头像、昵称的查询接口,供本田车载天猫精灵使用
type AlibabaAilabUserProfileGetAPIResponseModel ¶
type AlibabaAilabUserProfileGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailab_user_profile_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口model Result *AlibabaAilabUserProfileGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAilabUserProfileGetAPIResponseModel is 查询用户信息 成功返回结果
type AlibabaAilabUserProfileGetResult ¶
type AlibabaAilabUserProfileGetResult struct { // 数据model Result *BasicUserInfo `json:"result,omitempty" xml:"result,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 200 成功,其他 失败 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` }
AlibabaAilabUserProfileGetResult 结构体
type AlibabaAilabUserTokenGetAPIRequest ¶
type AlibabaAilabUserTokenGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabUserTokenGetAPIRequest
三方账号获取 token API请求 alibaba.ailab.user.token.get
inside 设备的三方 app,通过 extId、schema 生成 token
func NewAlibabaAilabUserTokenGetRequest ¶
func NewAlibabaAilabUserTokenGetRequest() *AlibabaAilabUserTokenGetAPIRequest
NewAlibabaAilabUserTokenGetRequest 初始化AlibabaAilabUserTokenGetAPIRequest对象
func (AlibabaAilabUserTokenGetAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabUserTokenGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabUserTokenGetAPIRequest) GetApiParams ¶
func (r AlibabaAilabUserTokenGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabUserTokenGetAPIRequest) GetCallBackUrl ¶
func (r AlibabaAilabUserTokenGetAPIRequest) GetCallBackUrl() string
Get CallBackUrl Getter
func (AlibabaAilabUserTokenGetAPIRequest) GetMerchantUserId ¶
func (r AlibabaAilabUserTokenGetAPIRequest) GetMerchantUserId() string
Get MerchantUserId Getter
func (AlibabaAilabUserTokenGetAPIRequest) GetSchemaKey ¶
func (r AlibabaAilabUserTokenGetAPIRequest) GetSchemaKey() string
Get SchemaKey Getter
func (*AlibabaAilabUserTokenGetAPIRequest) SetCallBackUrl ¶
func (r *AlibabaAilabUserTokenGetAPIRequest) SetCallBackUrl(_callBackUrl string) error
Set is CallBackUrl Setter 用户点击同意授权,则会有授权结果:success/fail,此结果通过 callBackUrl 回调给三方 如果授权账号重复授权给已授权的淘宝账号,幂等返回成功 url 的调用是 表单 post 的方式, request body success example: merchantUserId=xxx&result=success request body fail example: merchantUserId=xxx&result=fail
func (*AlibabaAilabUserTokenGetAPIRequest) SetMerchantUserId ¶
func (r *AlibabaAilabUserTokenGetAPIRequest) SetMerchantUserId(_merchantUserId string) error
Set is MerchantUserId Setter 三方用户的唯一ID
func (*AlibabaAilabUserTokenGetAPIRequest) SetSchemaKey ¶
func (r *AlibabaAilabUserTokenGetAPIRequest) SetSchemaKey(_schemaKey string) error
Set is SchemaKey Setter 开放平台申请的schema
type AlibabaAilabUserTokenGetAPIResponse ¶
type AlibabaAilabUserTokenGetAPIResponse struct { model.CommonResponse AlibabaAilabUserTokenGetAPIResponseModel }
AlibabaAilabUserTokenGetAPIResponse
三方账号获取 token API返回值 alibaba.ailab.user.token.get
inside 设备的三方 app,通过 extId、schema 生成 token
type AlibabaAilabUserTokenGetAPIResponseModel ¶
type AlibabaAilabUserTokenGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailab_user_token_get_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"` // 随机 uuid,token 在5分钟后失效,token 在授权成功后失效;建议每次调用 api 获取最新 token Token string `json:"token,omitempty" xml:"token,omitempty"` }
AlibabaAilabUserTokenGetAPIResponseModel is 三方账号获取 token 成功返回结果
type AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest ¶
type AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest
设备列表更新通知 API请求 alibaba.ailabs.iot.device.list.update.notify
用于人工智能实验室IoT合作厂商上报三方接入IoT设备列表更新时的通知
func NewAlibabaAilabsIotDeviceListUpdateNotifyRequest ¶
func NewAlibabaAilabsIotDeviceListUpdateNotifyRequest() *AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest
NewAlibabaAilabsIotDeviceListUpdateNotifyRequest 初始化AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest对象
func (AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetApiParams ¶
func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetSkillId ¶
func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetSkillId() string
Get SkillId Getter
func (AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetToken ¶
func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetToken() string
Get Token Getter
func (AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetType ¶
func (r AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) GetType() string
Get Type Getter
func (*AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetSkillId ¶
func (r *AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetSkillId(_skillId string) error
Set is SkillId Setter 厂商在天猫精灵开放平台申请的技能id
func (*AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetToken ¶
func (r *AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetToken(_token string) error
Set is Token Setter 用户OAuth授权后的token
func (*AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetType ¶
func (r *AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest) SetType(_type string) error
Set is Type Setter 更新类型 1:设备更新 2:场景更新
type AlibabaAilabsIotDeviceListUpdateNotifyAPIResponse ¶
type AlibabaAilabsIotDeviceListUpdateNotifyAPIResponse struct { model.CommonResponse AlibabaAilabsIotDeviceListUpdateNotifyAPIResponseModel }
AlibabaAilabsIotDeviceListUpdateNotifyAPIResponse
设备列表更新通知 API返回值 alibaba.ailabs.iot.device.list.update.notify
用于人工智能实验室IoT合作厂商上报三方接入IoT设备列表更新时的通知
type AlibabaAilabsIotDeviceListUpdateNotifyAPIResponseModel ¶
type AlibabaAilabsIotDeviceListUpdateNotifyAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_iot_device_list_update_notify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaAilabsIotDeviceListUpdateNotifyResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAilabsIotDeviceListUpdateNotifyAPIResponseModel is 设备列表更新通知 成功返回结果
type AlibabaAilabsIotDeviceListUpdateNotifyResult ¶
type AlibabaAilabsIotDeviceListUpdateNotifyResult struct { // 附加信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 请求响应码,200代表成功 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` // 设备列表更新通知是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAilabsIotDeviceListUpdateNotifyResult 结构体
type AlibabaAilabsIotDeviceStatusUpdateAPIRequest ¶
type AlibabaAilabsIotDeviceStatusUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsIotDeviceStatusUpdateAPIRequest
ailabs iot 设备状态更新 API请求 alibaba.ailabs.iot.device.status.update
用于人工智能实验室IoT合作厂商上报三方接入IoT设备状态更新时的设备状态上报
func NewAlibabaAilabsIotDeviceStatusUpdateRequest ¶
func NewAlibabaAilabsIotDeviceStatusUpdateRequest() *AlibabaAilabsIotDeviceStatusUpdateAPIRequest
NewAlibabaAilabsIotDeviceStatusUpdateRequest 初始化AlibabaAilabsIotDeviceStatusUpdateAPIRequest对象
func (AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetApiParams ¶
func (r AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetDeviceStatusDTO ¶
func (r AlibabaAilabsIotDeviceStatusUpdateAPIRequest) GetDeviceStatusDTO() *DeviceStatusDto
Get DeviceStatusDTO Getter
func (*AlibabaAilabsIotDeviceStatusUpdateAPIRequest) SetDeviceStatusDTO ¶
func (r *AlibabaAilabsIotDeviceStatusUpdateAPIRequest) SetDeviceStatusDTO(_deviceStatusDTO *DeviceStatusDto) error
Set is DeviceStatusDTO Setter 入参设备信息
type AlibabaAilabsIotDeviceStatusUpdateAPIResponse ¶
type AlibabaAilabsIotDeviceStatusUpdateAPIResponse struct { model.CommonResponse AlibabaAilabsIotDeviceStatusUpdateAPIResponseModel }
AlibabaAilabsIotDeviceStatusUpdateAPIResponse
ailabs iot 设备状态更新 API返回值 alibaba.ailabs.iot.device.status.update
用于人工智能实验室IoT合作厂商上报三方接入IoT设备状态更新时的设备状态上报
type AlibabaAilabsIotDeviceStatusUpdateAPIResponseModel ¶
type AlibabaAilabsIotDeviceStatusUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_iot_device_status_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 设备状态更新是否成功 Result *AlibabaAilabsIotDeviceStatusUpdateResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAilabsIotDeviceStatusUpdateAPIResponseModel is ailabs iot 设备状态更新 成功返回结果
type AlibabaAilabsIotDeviceStatusUpdateResult ¶
type AlibabaAilabsIotDeviceStatusUpdateResult struct { // 附加信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 请求响应码,200代表成功 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` // 设备状态是否更新成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` // 异常 Exception string `json:"exception,omitempty" xml:"exception,omitempty"` }
AlibabaAilabsIotDeviceStatusUpdateResult 结构体
type AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest ¶
type AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest
获取设备详情 API请求 alibaba.ailabs.tmallgenie.auth.device.get
通过此接口获取设备详情
func NewAlibabaAilabsTmallgenieAuthDeviceGetRequest ¶
func NewAlibabaAilabsTmallgenieAuthDeviceGetRequest() *AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest
NewAlibabaAilabsTmallgenieAuthDeviceGetRequest 初始化AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest对象
func (AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetClientId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetUserOpenId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetUserOpenId() string
Get UserOpenId Getter
func (AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetUuid ¶
func (r AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) GetUuid() string
Get Uuid Getter
func (*AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetClientId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter 客户id
func (*AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetUserOpenId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetUserOpenId(_userOpenId string) error
Set is UserOpenId Setter 用户开放id
func (*AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetUuid ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest) SetUuid(_uuid string) error
Set is Uuid Setter 设备uuid
type AlibabaAilabsTmallgenieAuthDeviceGetAPIResponse ¶
type AlibabaAilabsTmallgenieAuthDeviceGetAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthDeviceGetAPIResponseModel }
AlibabaAilabsTmallgenieAuthDeviceGetAPIResponse
获取设备详情 API返回值 alibaba.ailabs.tmallgenie.auth.device.get
通过此接口获取设备详情
type AlibabaAilabsTmallgenieAuthDeviceGetAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthDeviceGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_device_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 设备信息 DeviceInfo *AlibabaAilabsTmallgenieAuthDeviceGetResult `json:"device_info,omitempty" xml:"device_info,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceGetAPIResponseModel is 获取设备详情 成功返回结果
type AlibabaAilabsTmallgenieAuthDeviceGetResult ¶
type AlibabaAilabsTmallgenieAuthDeviceGetResult struct { // 拓展信息 Extensions string `json:"extensions,omitempty" xml:"extensions,omitempty"` // 设备名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 设备三方唯一id DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"` // 设备uuid Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceGetResult 结构体
type AlibabaAilabsTmallgenieAuthDeviceListAPIRequest ¶
type AlibabaAilabsTmallgenieAuthDeviceListAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthDeviceListAPIRequest
获取用户设备列表 API请求 alibaba.ailabs.tmallgenie.auth.device.list
通过此接口获取用户绑定的设备信息列表
func NewAlibabaAilabsTmallgenieAuthDeviceListRequest ¶
func NewAlibabaAilabsTmallgenieAuthDeviceListRequest() *AlibabaAilabsTmallgenieAuthDeviceListAPIRequest
NewAlibabaAilabsTmallgenieAuthDeviceListRequest 初始化AlibabaAilabsTmallgenieAuthDeviceListAPIRequest对象
func (AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetClientId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetUserOpenId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) GetUserOpenId() string
Get UserOpenId Getter
func (*AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) SetClientId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter 客户id
func (*AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) SetUserOpenId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceListAPIRequest) SetUserOpenId(_userOpenId string) error
Set is UserOpenId Setter 用户开放id
type AlibabaAilabsTmallgenieAuthDeviceListAPIResponse ¶
type AlibabaAilabsTmallgenieAuthDeviceListAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthDeviceListAPIResponseModel }
AlibabaAilabsTmallgenieAuthDeviceListAPIResponse
获取用户设备列表 API返回值 alibaba.ailabs.tmallgenie.auth.device.list
通过此接口获取用户绑定的设备信息列表
type AlibabaAilabsTmallgenieAuthDeviceListAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthDeviceListAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_device_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 设备列表 Devices []AlibabaAilabsTmallgenieAuthDeviceListResult `json:"devices,omitempty" xml:"devices>alibaba_ailabs_tmallgenie_auth_device_list_result,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceListAPIResponseModel is 获取用户设备列表 成功返回结果
type AlibabaAilabsTmallgenieAuthDeviceListResult ¶
type AlibabaAilabsTmallgenieAuthDeviceListResult struct { // 拓展信息 Extensions string `json:"extensions,omitempty" xml:"extensions,omitempty"` // 设备名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 设备唯一id DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"` // 设备UUID Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceListResult 结构体
type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest ¶
type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest
扫码激活设备 API请求 alibaba.ailabs.tmallgenie.auth.device.qrcode.activate
三方带屏设备显示二维码(从天猫精灵云获取),使用三方APP扫码,将扫码到的安全code,通过TOP接口请求天猫精灵云,精灵云解析安全code的数据并激活对应的设备。
func NewAlibabaAilabsTmallgenieAuthDeviceQrcodeActivateRequest ¶
func NewAlibabaAilabsTmallgenieAuthDeviceQrcodeActivateRequest() *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest
NewAlibabaAilabsTmallgenieAuthDeviceQrcodeActivateRequest 初始化AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest对象
func (AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetClientId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetCode ¶
func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetCode() string
Get Code Getter
func (AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetExtInfo ¶
func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetExtInfo() string
Get ExtInfo Getter
func (AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetTaobaoUserOpenid ¶
func (r AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) GetTaobaoUserOpenid() string
Get TaobaoUserOpenid Getter
func (*AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetClientId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter 产品终端ID
func (*AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetCode ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetCode(_code string) error
Set is Code Setter OAUTH authcode码
func (*AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetExtInfo ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetExtInfo(_extInfo string) error
Set is ExtInfo Setter 扩展数据
func (*AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetTaobaoUserOpenid ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest) SetTaobaoUserOpenid(_taobaoUserOpenid string) error
Set is TaobaoUserOpenid Setter 淘宝授权ID
type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponse ¶
type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponseModel }
AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponse
扫码激活设备 API返回值 alibaba.ailabs.tmallgenie.auth.device.qrcode.activate
三方带屏设备显示二维码(从天猫精灵云获取),使用三方APP扫码,将扫码到的安全code,通过TOP接口请求天猫精灵云,精灵云解析安全code的数据并激活对应的设备。
type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_device_qrcode_activate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果对象 Result *SCanQrCodeResultVo `json:"result,omitempty" xml:"result,omitempty"` // 结果码 RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"` // 结果消息 RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponseModel is 扫码激活设备 成功返回结果
type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest ¶
type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest
设备状态查询 API请求 alibaba.ailabs.tmallgenie.auth.device.status.get
提供给天猫精灵定制机厂商 查询设备在线状态值
func NewAlibabaAilabsTmallgenieAuthDeviceStatusGetRequest ¶
func NewAlibabaAilabsTmallgenieAuthDeviceStatusGetRequest() *AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest
NewAlibabaAilabsTmallgenieAuthDeviceStatusGetRequest 初始化AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest对象
func (AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetClientId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetUserOpenId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetUserOpenId() string
Get UserOpenId Getter
func (AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetUuid ¶
func (r AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) GetUuid() string
Get Uuid Getter
func (*AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetClientId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter 给产品分配的唯一ID(22位)
func (*AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetUserOpenId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetUserOpenId(_userOpenId string) error
Set is UserOpenId Setter 精灵用户的唯一外部ID
func (*AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetUuid ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest) SetUuid(_uuid string) error
Set is Uuid Setter 精灵设备的唯一ID
type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponse ¶
type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponseModel }
AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponse
设备状态查询 API返回值 alibaba.ailabs.tmallgenie.auth.device.status.get
提供给天猫精灵定制机厂商 查询设备在线状态值
type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_device_status_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口对象封装 Result *AlibabaAilabsTmallgenieAuthDeviceStatusGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponseModel is 设备状态查询 成功返回结果
type AlibabaAilabsTmallgenieAuthDeviceStatusGetResult ¶
type AlibabaAilabsTmallgenieAuthDeviceStatusGetResult struct { // 接口返回model Result *AlibabaAilabsTmallgenieAuthDeviceStatusGetResult `json:"result,omitempty" xml:"result,omitempty"` // 状态码(200:成功,其他:失败) Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 结果描述 Message string `json:"message,omitempty" xml:"message,omitempty"` // IP地址 DeviceIp string `json:"device_ip,omitempty" xml:"device_ip,omitempty"` // 扩展返回,保留使用 Extensions string `json:"extensions,omitempty" xml:"extensions,omitempty"` // 在线状态(0:离线,1:在线) OnlineStatus string `json:"online_status,omitempty" xml:"online_status,omitempty"` // 设备ID Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceStatusGetResult 结构体
type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest ¶
type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest
解绑设备 API请求 alibaba.ailabs.tmallgenie.auth.device.unbind
通过此接口解绑天猫精灵设备
func NewAlibabaAilabsTmallgenieAuthDeviceUnbindRequest ¶
func NewAlibabaAilabsTmallgenieAuthDeviceUnbindRequest() *AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest
NewAlibabaAilabsTmallgenieAuthDeviceUnbindRequest 初始化AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest对象
func (AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetClientId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetUserOpenId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetUserOpenId() string
Get UserOpenId Getter
func (AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetUuid ¶
func (r AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) GetUuid() string
Get Uuid Getter
func (*AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetClientId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter 客户id
func (*AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetUserOpenId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetUserOpenId(_userOpenId string) error
Set is UserOpenId Setter 用户开放id
func (*AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetUuid ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest) SetUuid(_uuid string) error
Set is Uuid Setter 设备uuid
type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponse ¶
type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponseModel }
AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponse
解绑设备 API返回值 alibaba.ailabs.tmallgenie.auth.device.unbind
通过此接口解绑天猫精灵设备
type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_device_unbind_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回包装类 Result *AlibabaAilabsTmallgenieAuthDeviceUnbindResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponseModel is 解绑设备 成功返回结果
type AlibabaAilabsTmallgenieAuthDeviceUnbindResult ¶
type AlibabaAilabsTmallgenieAuthDeviceUnbindResult struct { // 是否执行成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 系统自动生成 Result string `json:"result,omitempty" xml:"result,omitempty"` // 系统自动生成 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 系统自动生成 Message string `json:"message,omitempty" xml:"message,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceUnbindResult 结构体
type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest ¶
type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest
根据三方ID查询设备注册激活信息 API请求 alibaba.ailabs.tmallgenie.auth.device.withdeviceid.get
根据三方ID查询设备注册激活信息
func NewAlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetRequest ¶
func NewAlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetRequest() *AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest
NewAlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetRequest 初始化AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest对象
func (AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetClientId ¶
func (r AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetMac ¶
func (r AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) GetMac() string
Get Mac Getter
func (*AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) SetClientId ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter 设备产品ID
func (*AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) SetMac ¶
func (r *AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest) SetMac(_mac string) error
Set is Mac Setter mac地址
type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponse ¶
type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponseModel }
AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponse
根据三方ID查询设备注册激活信息 API返回值 alibaba.ailabs.tmallgenie.auth.device.withdeviceid.get
根据三方ID查询设备注册激活信息
type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_device_withdeviceid_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponseModel is 根据三方ID查询设备注册激活信息 成功返回结果
type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetResult ¶
type AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetResult struct { // 结果 Result *AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetResult `json:"result,omitempty" xml:"result,omitempty"` // code Code int64 `json:"code,omitempty" xml:"code,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 用户安全ID UserOpenId string `json:"user_open_id,omitempty" xml:"user_open_id,omitempty"` // 设备名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 天猫精灵设备唯一ID Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` // 设备Mac地址 DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"` }
AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetResult 结构体
type AlibabaAilabsTmallgenieAuthGetcodeAPIRequest ¶
type AlibabaAilabsTmallgenieAuthGetcodeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthGetcodeAPIRequest
获取token API请求 alibaba.ailabs.tmallgenie.auth.getcode
获取天猫精灵authCode
func NewAlibabaAilabsTmallgenieAuthGetcodeRequest ¶
func NewAlibabaAilabsTmallgenieAuthGetcodeRequest() *AlibabaAilabsTmallgenieAuthGetcodeAPIRequest
NewAlibabaAilabsTmallgenieAuthGetcodeRequest 初始化AlibabaAilabsTmallgenieAuthGetcodeAPIRequest对象
func (AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetAuthParam ¶
func (r AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetAuthParam() *TopAuthReqDto
Get AuthParam Getter
func (AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetDeviceParam ¶
func (r AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) GetDeviceParam() *TopDeviceReqDto
Get DeviceParam Getter
func (*AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) SetAuthParam ¶
func (r *AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) SetAuthParam(_authParam *TopAuthReqDto) error
Set is AuthParam Setter 授权参数
func (*AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) SetDeviceParam ¶
func (r *AlibabaAilabsTmallgenieAuthGetcodeAPIRequest) SetDeviceParam(_deviceParam *TopDeviceReqDto) error
Set is DeviceParam Setter 设备参数
type AlibabaAilabsTmallgenieAuthGetcodeAPIResponse ¶
type AlibabaAilabsTmallgenieAuthGetcodeAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthGetcodeAPIResponseModel }
AlibabaAilabsTmallgenieAuthGetcodeAPIResponse
获取token API返回值 alibaba.ailabs.tmallgenie.auth.getcode
获取天猫精灵authCode
type AlibabaAilabsTmallgenieAuthGetcodeAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthGetcodeAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_getcode_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 授权码 json 串,包含授权码和二维码URL AuthCode string `json:"auth_code,omitempty" xml:"auth_code,omitempty"` }
AlibabaAilabsTmallgenieAuthGetcodeAPIResponseModel is 获取token 成功返回结果
type AlibabaAilabsTmallgenieAuthGettokenAPIRequest ¶
type AlibabaAilabsTmallgenieAuthGettokenAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthGettokenAPIRequest
设备授权 API请求 alibaba.ailabs.tmallgenie.auth.gettoken
获取设备授权码
func NewAlibabaAilabsTmallgenieAuthGettokenRequest ¶
func NewAlibabaAilabsTmallgenieAuthGettokenRequest() *AlibabaAilabsTmallgenieAuthGettokenAPIRequest
NewAlibabaAilabsTmallgenieAuthGettokenRequest 初始化AlibabaAilabsTmallgenieAuthGettokenAPIRequest对象
func (AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetAuthCode ¶
func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetAuthCode() string
Get AuthCode Getter
func (AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetClientId ¶
func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetGrantType ¶
func (r AlibabaAilabsTmallgenieAuthGettokenAPIRequest) GetGrantType() string
Get GrantType Getter
func (*AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetAuthCode ¶
func (r *AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetAuthCode(_authCode string) error
Set is AuthCode Setter 授权码
func (*AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetClientId ¶
func (r *AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter clientId
func (*AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetGrantType ¶
func (r *AlibabaAilabsTmallgenieAuthGettokenAPIRequest) SetGrantType(_grantType string) error
Set is GrantType Setter 授权类型,只支持authorization_code
type AlibabaAilabsTmallgenieAuthGettokenAPIResponse ¶
type AlibabaAilabsTmallgenieAuthGettokenAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthGettokenAPIResponseModel }
AlibabaAilabsTmallgenieAuthGettokenAPIResponse
设备授权 API返回值 alibaba.ailabs.tmallgenie.auth.gettoken
获取设备授权码
type AlibabaAilabsTmallgenieAuthGettokenAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthGettokenAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_gettoken_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 设备注册结果 RegisterResult *RegisterInfoVo `json:"register_result,omitempty" xml:"register_result,omitempty"` // 授权结果 AuthResult *DeviceTokenVo `json:"auth_result,omitempty" xml:"auth_result,omitempty"` }
AlibabaAilabsTmallgenieAuthGettokenAPIResponseModel is 设备授权 成功返回结果
type AlibabaAilabsTmallgenieAuthRefreshAPIRequest ¶
type AlibabaAilabsTmallgenieAuthRefreshAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthRefreshAPIRequest
刷新token API请求 alibaba.ailabs.tmallgenie.auth.refresh
通过此接口刷新天猫精灵授权token
func NewAlibabaAilabsTmallgenieAuthRefreshRequest ¶
func NewAlibabaAilabsTmallgenieAuthRefreshRequest() *AlibabaAilabsTmallgenieAuthRefreshAPIRequest
NewAlibabaAilabsTmallgenieAuthRefreshRequest 初始化AlibabaAilabsTmallgenieAuthRefreshAPIRequest对象
func (AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetRefreshTokenRequest ¶
func (r AlibabaAilabsTmallgenieAuthRefreshAPIRequest) GetRefreshTokenRequest() *TopRefreshReqDto
Get RefreshTokenRequest Getter
func (*AlibabaAilabsTmallgenieAuthRefreshAPIRequest) SetRefreshTokenRequest ¶
func (r *AlibabaAilabsTmallgenieAuthRefreshAPIRequest) SetRefreshTokenRequest(_refreshTokenRequest *TopRefreshReqDto) error
Set is RefreshTokenRequest Setter refresh_token_request
type AlibabaAilabsTmallgenieAuthRefreshAPIResponse ¶
type AlibabaAilabsTmallgenieAuthRefreshAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthRefreshAPIResponseModel }
AlibabaAilabsTmallgenieAuthRefreshAPIResponse
刷新token API返回值 alibaba.ailabs.tmallgenie.auth.refresh
通过此接口刷新天猫精灵授权token
type AlibabaAilabsTmallgenieAuthRefreshAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthRefreshAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_refresh_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // access token过期时间,相对时间,单位为秒 AccessExpiresIn int64 `json:"access_expires_in,omitempty" xml:"access_expires_in,omitempty"` // access_token AccessToken string `json:"access_token,omitempty" xml:"access_token,omitempty"` // refresh token过期时间,相对时间,单位为秒 RefreshExpiresIn int64 `json:"refresh_expires_in,omitempty" xml:"refresh_expires_in,omitempty"` // refresh_token RefreshToken string `json:"refresh_token,omitempty" xml:"refresh_token,omitempty"` }
AlibabaAilabsTmallgenieAuthRefreshAPIResponseModel is 刷新token 成功返回结果
type AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest ¶
type AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest
切换用户 API请求 alibaba.ailabs.tmallgenie.auth.switchuser
设备切换授权用户
func NewAlibabaAilabsTmallgenieAuthSwitchuserRequest ¶
func NewAlibabaAilabsTmallgenieAuthSwitchuserRequest() *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest
NewAlibabaAilabsTmallgenieAuthSwitchuserRequest 初始化AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest对象
func (AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetClientId ¶
func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetClientId() string
Get ClientId Getter
func (AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetNewUserOpenId ¶
func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetNewUserOpenId() string
Get NewUserOpenId Getter
func (AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetOldUserOpenId ¶
func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetOldUserOpenId() string
Get OldUserOpenId Getter
func (AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetUuid ¶
func (r AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) GetUuid() string
Get Uuid Getter
func (*AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetClientId ¶
func (r *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetClientId(_clientId string) error
Set is ClientId Setter client_id
func (*AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetNewUserOpenId ¶
func (r *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetNewUserOpenId(_newUserOpenId string) error
Set is NewUserOpenId Setter 目标用户openId
func (*AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetOldUserOpenId ¶
func (r *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetOldUserOpenId(_oldUserOpenId string) error
Set is OldUserOpenId Setter 当前拥有设备权限的用户openId
func (*AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetUuid ¶
func (r *AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest) SetUuid(_uuid string) error
Set is Uuid Setter 设备uuid
type AlibabaAilabsTmallgenieAuthSwitchuserAPIResponse ¶
type AlibabaAilabsTmallgenieAuthSwitchuserAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthSwitchuserAPIResponseModel }
AlibabaAilabsTmallgenieAuthSwitchuserAPIResponse
切换用户 API返回值 alibaba.ailabs.tmallgenie.auth.switchuser
设备切换授权用户
type AlibabaAilabsTmallgenieAuthSwitchuserAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthSwitchuserAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_switchuser_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *AlibabaAilabsTmallgenieAuthSwitchuserResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAilabsTmallgenieAuthSwitchuserAPIResponseModel is 切换用户 成功返回结果
type AlibabaAilabsTmallgenieAuthSwitchuserResult ¶
type AlibabaAilabsTmallgenieAuthSwitchuserResult struct { // 扩展信息 Extension string `json:"extension,omitempty" xml:"extension,omitempty"` // 注册结果 RegisterInfoVO *RegisterInfoVo `json:"register_info_v_o,omitempty" xml:"register_info_v_o,omitempty"` // 授权结果 DeviceTokenVO *DeviceTokenVo `json:"device_token_v_o,omitempty" xml:"device_token_v_o,omitempty"` }
AlibabaAilabsTmallgenieAuthSwitchuserResult 结构体
type AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest ¶
type AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest
天猫精灵淘宝登录授权绑定接口 API请求 alibaba.ailabs.tmallgenie.auth.taobaoauth
厂商获取用户淘宝授权之后,通过此接口获取天猫精灵授权,并绑定一台设备
func NewAlibabaAilabsTmallgenieAuthTaobaoauthRequest ¶
func NewAlibabaAilabsTmallgenieAuthTaobaoauthRequest() *AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest
NewAlibabaAilabsTmallgenieAuthTaobaoauthRequest 初始化AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest对象
func (AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetAuthParam ¶
func (r AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetAuthParam() *TopAuthReqDto
Get AuthParam Getter
func (AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetDeviceParam ¶
func (r AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) GetDeviceParam() *TopDeviceReqDto
Get DeviceParam Getter
func (*AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) SetAuthParam ¶
func (r *AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) SetAuthParam(_authParam *TopAuthReqDto) error
Set is AuthParam Setter 授权信息
func (*AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) SetDeviceParam ¶
func (r *AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest) SetDeviceParam(_deviceParam *TopDeviceReqDto) error
Set is DeviceParam Setter 设备信息
type AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponse ¶
type AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponse struct { model.CommonResponse AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponseModel }
AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponse
天猫精灵淘宝登录授权绑定接口 API返回值 alibaba.ailabs.tmallgenie.auth.taobaoauth
厂商获取用户淘宝授权之后,通过此接口获取天猫精灵授权,并绑定一台设备
type AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponseModel ¶
type AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tmallgenie_auth_taobaoauth_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 注册结果 RegisterResult *RegisterInfoVo `json:"register_result,omitempty" xml:"register_result,omitempty"` // 授权结果 AuthResult *DeviceTokenVo `json:"auth_result,omitempty" xml:"auth_result,omitempty"` }
AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponseModel is 天猫精灵淘宝登录授权绑定接口 成功返回结果
type AlibabaAilabsTvsDeviceListAPIRequest ¶
AlibabaAilabsTvsDeviceListAPIRequest
获取TVS设备列表 API请求 alibaba.ailabs.tvs.device.list
获取用户所绑定的TVS设备列表
func NewAlibabaAilabsTvsDeviceListRequest ¶
func NewAlibabaAilabsTvsDeviceListRequest() *AlibabaAilabsTvsDeviceListAPIRequest
NewAlibabaAilabsTvsDeviceListRequest 初始化AlibabaAilabsTvsDeviceListAPIRequest对象
func (AlibabaAilabsTvsDeviceListAPIRequest) GetApiMethodName ¶
func (r AlibabaAilabsTvsDeviceListAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAilabsTvsDeviceListAPIRequest) GetApiParams ¶
func (r AlibabaAilabsTvsDeviceListAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type AlibabaAilabsTvsDeviceListAPIResponse ¶
type AlibabaAilabsTvsDeviceListAPIResponse struct { model.CommonResponse AlibabaAilabsTvsDeviceListAPIResponseModel }
AlibabaAilabsTvsDeviceListAPIResponse
获取TVS设备列表 API返回值 alibaba.ailabs.tvs.device.list
获取用户所绑定的TVS设备列表
type AlibabaAilabsTvsDeviceListAPIResponseModel ¶
type AlibabaAilabsTvsDeviceListAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ailabs_tvs_device_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 设备信息列表 Devices []AlibabaAilabsTvsDeviceListData `json:"devices,omitempty" xml:"devices>alibaba_ailabs_tvs_device_list_data,omitempty"` // 接口调用结果代码,200代表调用成功。 StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"` // 接口调用错误时给出的错误相关信息。 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 服务请求是否成功。 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlibabaAilabsTvsDeviceListAPIResponseModel is 获取TVS设备列表 成功返回结果
type AlibabaAilabsTvsDeviceListData ¶
type AlibabaAilabsTvsDeviceListData struct { // 设备名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 设备激活时间 ActivateTime string `json:"activate_time,omitempty" xml:"activate_time,omitempty"` // TVS服务给予设备的唯一标识 Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` // 厂商给定的设备硬件标识 Dsn string `json:"dsn,omitempty" xml:"dsn,omitempty"` }
AlibabaAilabsTvsDeviceListData 结构体
type BaseResult ¶
type BaseResult struct { // ret_msg RetMsg string `json:"ret_msg,omitempty" xml:"ret_msg,omitempty"` // ret_code RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"` // ret_value RetValue *HotWordsContent `json:"ret_value,omitempty" xml:"ret_value,omitempty"` }
BaseResult 结构体
type BasicUserInfo ¶
type BasicUserInfo struct { // 头像 url AvatarUrl string `json:"avatar_url,omitempty" xml:"avatar_url,omitempty"` // 昵称 NickName string `json:"nick_name,omitempty" xml:"nick_name,omitempty"` }
BasicUserInfo 结构体
type DeviceInfo ¶
type DeviceInfo struct { // 设备唯一id DevId string `json:"dev_id,omitempty" xml:"dev_id,omitempty"` // 设备状态Map,key和value均为String Status *Status `json:"status,omitempty" xml:"status,omitempty"` }
DeviceInfo 结构体
type DeviceSkillDetailInfo ¶
type DeviceSkillDetailInfo struct { // 技能Id SkillId int64 `json:"skill_id,omitempty" xml:"skill_id,omitempty"` // 唤醒词 InvocationName string `json:"invocation_name,omitempty" xml:"invocation_name,omitempty"` // 技能名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 提供商集合 ServiceProviders []ServiceProvider `json:"service_providers,omitempty" xml:"service_providers>service_provider,omitempty"` // 类别 Category string `json:"category,omitempty" xml:"category,omitempty"` // 技能图片地址 IcoinImageUrl string `json:"icoin_image_url,omitempty" xml:"icoin_image_url,omitempty"` // 技能描述信息 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 典型例句(多个,以\t分隔) Sample string `json:"sample,omitempty" xml:"sample,omitempty"` }
DeviceSkillDetailInfo 结构体
type DeviceStatusDto ¶
type DeviceStatusDto struct { // payload Payload *Payload `json:"payload,omitempty" xml:"payload,omitempty"` // header Header *IotCommonHeader `json:"header,omitempty" xml:"header,omitempty"` }
DeviceStatusDto 结构体
type DeviceTokenVo ¶
type DeviceTokenVo struct { // accessToken超时时间,单位为秒 AccessExpiresIn int64 `json:"access_expires_in,omitempty" xml:"access_expires_in,omitempty"` // accessToken AccessToken string `json:"access_token,omitempty" xml:"access_token,omitempty"` // refreshToken超时时间,单位为秒 RefreshExpiresIn int64 `json:"refresh_expires_in,omitempty" xml:"refresh_expires_in,omitempty"` // refreshToken RefreshToken string `json:"refresh_token,omitempty" xml:"refresh_token,omitempty"` // state State string `json:"state,omitempty" xml:"state,omitempty"` }
DeviceTokenVo 结构体
type HotWordsContent ¶
type HotWordsContent struct { // 热词列表 Words []string `json:"words,omitempty" xml:"words>string,omitempty"` }
HotWordsContent 结构体
type IotCommonHeader ¶
type IotCommonHeader struct { // payLoadVersion PayLoadVersion int64 `json:"pay_load_version,omitempty" xml:"pay_load_version,omitempty"` // name Name string `json:"name,omitempty" xml:"name,omitempty"` // messageId,区分请求使用 MessageId string `json:"message_id,omitempty" xml:"message_id,omitempty"` // namespace Namespace string `json:"namespace,omitempty" xml:"namespace,omitempty"` }
IotCommonHeader 结构体
type PageResult ¶
type PageResult struct { // 当前页 CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"` // 分页数量 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 总页数 PageCount int64 `json:"page_count,omitempty" xml:"page_count,omitempty"` // 总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 结果集 ResultList []DeviceSkillDetailInfo `json:"result_list,omitempty" xml:"result_list>device_skill_detail_info,omitempty"` }
PageResult 结构体
type Payload ¶
type Payload struct { // 用户token,云云接入设备必填 Token string `json:"token,omitempty" xml:"token,omitempty"` // 设备信息列表 DeviceInfoList []DeviceInfo `json:"device_info_list,omitempty" xml:"device_info_list>device_info,omitempty"` // 云云对接的技能id SkillId string `json:"skill_id,omitempty" xml:"skill_id,omitempty"` // 设备接入类型,1: 表示零配 2:表示 云云 Type string `json:"type,omitempty" xml:"type,omitempty"` }
Payload 结构体
type RegisterInfoVo ¶
type RegisterInfoVo struct { // 用户开放id UserOpenId string `json:"user_open_id,omitempty" xml:"user_open_id,omitempty"` // 设备uuid Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` }
RegisterInfoVo 结构体
type SCanQrCodeResultVo ¶
type SCanQrCodeResultVo struct { // 天猫精灵设备ID Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` // 天猫精灵用户ID UserOpenId string `json:"user_open_id,omitempty" xml:"user_open_id,omitempty"` }
SCanQrCodeResultVo 结构体
type ServiceProvider ¶
type ServiceProvider struct { // 图片地址 Icon string `json:"icon,omitempty" xml:"icon,omitempty"` // 提供商名 Name string `json:"name,omitempty" xml:"name,omitempty"` }
ServiceProvider 结构体
type Status ¶
type Status struct { // 开关状态 Powerstate string `json:"powerstate,omitempty" xml:"powerstate,omitempty"` // 模式 Mode string `json:"mode,omitempty" xml:"mode,omitempty"` // 温度 Temperature string `json:"temperature,omitempty" xml:"temperature,omitempty"` // 亮度 Brightness string `json:"brightness,omitempty" xml:"brightness,omitempty"` // 风速 Windspeed string `json:"windspeed,omitempty" xml:"windspeed,omitempty"` }
Status 结构体
type TaobaoAilabAicloudTopHotwordsGetAPIRequest ¶
type TaobaoAilabAicloudTopHotwordsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAilabAicloudTopHotwordsGetAPIRequest
获取热词 API请求 taobao.ailab.aicloud.top.hotwords.get
获取ASR热词
func NewTaobaoAilabAicloudTopHotwordsGetRequest ¶
func NewTaobaoAilabAicloudTopHotwordsGetRequest() *TaobaoAilabAicloudTopHotwordsGetAPIRequest
NewTaobaoAilabAicloudTopHotwordsGetRequest 初始化TaobaoAilabAicloudTopHotwordsGetAPIRequest对象
func (TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetApiParams ¶
func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetBizClass ¶
func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetBizClass() string
Get BizClass Getter
func (TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetSchema ¶
func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetSchema() string
Get Schema Getter
func (TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetUserId ¶
func (r TaobaoAilabAicloudTopHotwordsGetAPIRequest) GetUserId() string
Get UserId Getter
func (*TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetBizClass ¶
func (r *TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetBizClass(_bizClass string) error
Set is BizClass Setter 业务类型
func (*TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetSchema ¶
func (r *TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetSchema(_schema string) error
Set is Schema Setter schemeKey
func (*TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetUserId ¶
func (r *TaobaoAilabAicloudTopHotwordsGetAPIRequest) SetUserId(_userId string) error
Set is UserId Setter 三方用户id
type TaobaoAilabAicloudTopHotwordsGetAPIResponse ¶
type TaobaoAilabAicloudTopHotwordsGetAPIResponse struct { model.CommonResponse TaobaoAilabAicloudTopHotwordsGetAPIResponseModel }
TaobaoAilabAicloudTopHotwordsGetAPIResponse
获取热词 API返回值 taobao.ailab.aicloud.top.hotwords.get
获取ASR热词
type TaobaoAilabAicloudTopHotwordsGetAPIResponseModel ¶
type TaobaoAilabAicloudTopHotwordsGetAPIResponseModel struct { XMLName xml.Name `xml:"ailab_aicloud_top_hotwords_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // baseresult Baseresult *BaseResult `json:"baseresult,omitempty" xml:"baseresult,omitempty"` }
TaobaoAilabAicloudTopHotwordsGetAPIResponseModel is 获取热词 成功返回结果
type TaobaoAilabAicloudTopHotwordsUpdateAPIRequest ¶
type TaobaoAilabAicloudTopHotwordsUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAilabAicloudTopHotwordsUpdateAPIRequest
更新热词 API请求 taobao.ailab.aicloud.top.hotwords.update
更新ASR热词
func NewTaobaoAilabAicloudTopHotwordsUpdateRequest ¶
func NewTaobaoAilabAicloudTopHotwordsUpdateRequest() *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest
NewTaobaoAilabAicloudTopHotwordsUpdateRequest 初始化TaobaoAilabAicloudTopHotwordsUpdateAPIRequest对象
func (TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetApiParams ¶
func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetBizClass ¶
func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetBizClass() string
Get BizClass Getter
func (TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetContent ¶
func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetContent() *HotWordsContent
Get Content Getter
func (TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetOpType ¶
func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetOpType() string
Get OpType Getter
func (TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetSchema ¶
func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetSchema() string
Get Schema Getter
func (TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetUserId ¶
func (r TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) GetUserId() string
Get UserId Getter
func (*TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetBizClass ¶
func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetBizClass(_bizClass string) error
Set is BizClass Setter 业务类型
func (*TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetContent ¶
func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetContent(_content *HotWordsContent) error
Set is Content Setter 热词内容
func (*TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetOpType ¶
func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetOpType(_opType string) error
Set is OpType Setter 操作类型
func (*TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetSchema ¶
func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetSchema(_schema string) error
Set is Schema Setter schemaKey
func (*TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetUserId ¶
func (r *TaobaoAilabAicloudTopHotwordsUpdateAPIRequest) SetUserId(_userId string) error
Set is UserId Setter 三方用户id
type TaobaoAilabAicloudTopHotwordsUpdateAPIResponse ¶
type TaobaoAilabAicloudTopHotwordsUpdateAPIResponse struct { model.CommonResponse TaobaoAilabAicloudTopHotwordsUpdateAPIResponseModel }
TaobaoAilabAicloudTopHotwordsUpdateAPIResponse
更新热词 API返回值 taobao.ailab.aicloud.top.hotwords.update
更新ASR热词
type TaobaoAilabAicloudTopHotwordsUpdateAPIResponseModel ¶
type TaobaoAilabAicloudTopHotwordsUpdateAPIResponseModel struct { XMLName xml.Name `xml:"ailab_aicloud_top_hotwords_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // baseresult Baseresult *BaseResult `json:"baseresult,omitempty" xml:"baseresult,omitempty"` }
TaobaoAilabAicloudTopHotwordsUpdateAPIResponseModel is 更新热词 成功返回结果
type TaobaoAilabAicloudTopSkilsListNewAPIRequest ¶
type TaobaoAilabAicloudTopSkilsListNewAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAilabAicloudTopSkilsListNewAPIRequest
获取产品下挂载的技能列表 API请求 taobao.ailab.aicloud.top.skils.list.new
星空平台提供的获取产品下挂载的技能列表新接口
func NewTaobaoAilabAicloudTopSkilsListNewRequest ¶
func NewTaobaoAilabAicloudTopSkilsListNewRequest() *TaobaoAilabAicloudTopSkilsListNewAPIRequest
NewTaobaoAilabAicloudTopSkilsListNewRequest 初始化TaobaoAilabAicloudTopSkilsListNewAPIRequest对象
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetApiMethodName ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetApiParams ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetExt ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetExt() string
Get Ext Getter
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetPageNo ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetPageNo() int64
Get PageNo Getter
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetPageSize ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetPageSize() int64
Get PageSize Getter
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetQuery ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetQuery() string
Get Query Getter
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetSchema ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetSchema() string
Get Schema Getter
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetType ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetType() string
Get Type Getter
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetUserId ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetUserId() string
Get UserId Getter
func (TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetUtdId ¶
func (r TaobaoAilabAicloudTopSkilsListNewAPIRequest) GetUtdId() string
Get UtdId Getter
func (*TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetExt ¶
func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetExt(_ext string) error
Set is Ext Setter 扩展信息,用于存放APP类型等
func (*TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetPageNo ¶
func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetPageNo(_pageNo int64) error
Set is PageNo Setter pageNo
func (*TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetPageSize ¶
func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetPageSize(_pageSize int64) error
Set is PageSize Setter pageSize
func (*TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetQuery ¶
func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetQuery(_query string) error
Set is Query Setter query(模糊匹配skillName)
func (*TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetSchema ¶
func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetSchema(_schema string) error
Set is Schema Setter 账户体系隔离
func (*TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetType ¶
func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetType(_type string) error
Set is Type Setter type(1000代表内容技能,3000代表自定义技能,4000代表官方技能)
func (*TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetUserId ¶
func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetUserId(_userId string) error
Set is UserId Setter 用户ID,此处传入第三方账户体系的用户id
func (*TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetUtdId ¶
func (r *TaobaoAilabAicloudTopSkilsListNewAPIRequest) SetUtdId(_utdId string) error
Set is UtdId Setter 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数
type TaobaoAilabAicloudTopSkilsListNewAPIResponse ¶
type TaobaoAilabAicloudTopSkilsListNewAPIResponse struct { model.CommonResponse TaobaoAilabAicloudTopSkilsListNewAPIResponseModel }
TaobaoAilabAicloudTopSkilsListNewAPIResponse
获取产品下挂载的技能列表 API返回值 taobao.ailab.aicloud.top.skils.list.new
星空平台提供的获取产品下挂载的技能列表新接口
type TaobaoAilabAicloudTopSkilsListNewAPIResponseModel ¶
type TaobaoAilabAicloudTopSkilsListNewAPIResponseModel struct { XMLName xml.Name `xml:"ailab_aicloud_top_skils_list_new_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回包装类 Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoAilabAicloudTopSkilsListNewAPIResponseModel is 获取产品下挂载的技能列表 成功返回结果
type TopAuthReqDto ¶
type TopAuthReqDto struct { // 二维码授权 只支持qrcode ResponseType string `json:"response_type,omitempty" xml:"response_type,omitempty"` // 天猫精灵分配的clientId ClientId string `json:"client_id,omitempty" xml:"client_id,omitempty"` // OAUTH2 scope 只支持basic Scope string `json:"scope,omitempty" xml:"scope,omitempty"` // OAUTH2 state 随意填写 State string `json:"state,omitempty" xml:"state,omitempty"` }
TopAuthReqDto 结构体
type TopDeviceReqDto ¶
type TopDeviceReqDto struct { // 设备签名 DeviceSignature string `json:"device_signature,omitempty" xml:"device_signature,omitempty"` // 三方设备id DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"` }
TopDeviceReqDto 结构体
type TopRefreshReqDto ¶
type TopRefreshReqDto struct { // clientId ClientId string `json:"client_id,omitempty" xml:"client_id,omitempty"` // 只支持“basic” Scope string `json:"scope,omitempty" xml:"scope,omitempty"` // 只支持“refresh_token” GrantType string `json:"grant_type,omitempty" xml:"grant_type,omitempty"` // refreshToken RefreshToken string `json:"refresh_token,omitempty" xml:"refresh_token,omitempty"` }
TopRefreshReqDto 结构体
Source Files ¶
- AlibabaAilabTbUserSkillOauthAPIRequest.go
- AlibabaAilabTbUserSkillOauthAPIResponse.go
- AlibabaAilabUserAuthorizedCancelAPIRequest.go
- AlibabaAilabUserAuthorizedCancelAPIResponse.go
- AlibabaAilabUserAuthorizedQueryAPIRequest.go
- AlibabaAilabUserAuthorizedQueryAPIResponse.go
- AlibabaAilabUserOpenUidGetAPIRequest.go
- AlibabaAilabUserOpenUidGetAPIResponse.go
- AlibabaAilabUserProfileGetAPIRequest.go
- AlibabaAilabUserProfileGetAPIResponse.go
- AlibabaAilabUserProfileGetResult.go
- AlibabaAilabUserTokenGetAPIRequest.go
- AlibabaAilabUserTokenGetAPIResponse.go
- AlibabaAilabsIotDeviceListUpdateNotifyAPIRequest.go
- AlibabaAilabsIotDeviceListUpdateNotifyAPIResponse.go
- AlibabaAilabsIotDeviceListUpdateNotifyResult.go
- AlibabaAilabsIotDeviceStatusUpdateAPIRequest.go
- AlibabaAilabsIotDeviceStatusUpdateAPIResponse.go
- AlibabaAilabsIotDeviceStatusUpdateResult.go
- AlibabaAilabsTmallgenieAuthDeviceGetAPIRequest.go
- AlibabaAilabsTmallgenieAuthDeviceGetAPIResponse.go
- AlibabaAilabsTmallgenieAuthDeviceGetResult.go
- AlibabaAilabsTmallgenieAuthDeviceListAPIRequest.go
- AlibabaAilabsTmallgenieAuthDeviceListAPIResponse.go
- AlibabaAilabsTmallgenieAuthDeviceListResult.go
- AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIRequest.go
- AlibabaAilabsTmallgenieAuthDeviceQrcodeActivateAPIResponse.go
- AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIRequest.go
- AlibabaAilabsTmallgenieAuthDeviceStatusGetAPIResponse.go
- AlibabaAilabsTmallgenieAuthDeviceStatusGetResult.go
- AlibabaAilabsTmallgenieAuthDeviceUnbindAPIRequest.go
- AlibabaAilabsTmallgenieAuthDeviceUnbindAPIResponse.go
- AlibabaAilabsTmallgenieAuthDeviceUnbindResult.go
- AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIRequest.go
- AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetAPIResponse.go
- AlibabaAilabsTmallgenieAuthDeviceWithdeviceidGetResult.go
- AlibabaAilabsTmallgenieAuthGetcodeAPIRequest.go
- AlibabaAilabsTmallgenieAuthGetcodeAPIResponse.go
- AlibabaAilabsTmallgenieAuthGettokenAPIRequest.go
- AlibabaAilabsTmallgenieAuthGettokenAPIResponse.go
- AlibabaAilabsTmallgenieAuthRefreshAPIRequest.go
- AlibabaAilabsTmallgenieAuthRefreshAPIResponse.go
- AlibabaAilabsTmallgenieAuthSwitchuserAPIRequest.go
- AlibabaAilabsTmallgenieAuthSwitchuserAPIResponse.go
- AlibabaAilabsTmallgenieAuthSwitchuserResult.go
- AlibabaAilabsTmallgenieAuthTaobaoauthAPIRequest.go
- AlibabaAilabsTmallgenieAuthTaobaoauthAPIResponse.go
- AlibabaAilabsTvsDeviceListAPIRequest.go
- AlibabaAilabsTvsDeviceListAPIResponse.go
- AlibabaAilabsTvsDeviceListData.go
- BaseResult.go
- BasicUserInfo.go
- DeviceInfo.go
- DeviceSkillDetailInfo.go
- DeviceStatusDto.go
- DeviceTokenVo.go
- HotWordsContent.go
- IotCommonHeader.go
- PageResult.go
- Payload.go
- RegisterInfoVo.go
- SCanQrCodeResultVo.go
- ServiceProvider.go
- Status.go
- TaobaoAilabAicloudTopHotwordsGetAPIRequest.go
- TaobaoAilabAicloudTopHotwordsGetAPIResponse.go
- TaobaoAilabAicloudTopHotwordsUpdateAPIRequest.go
- TaobaoAilabAicloudTopHotwordsUpdateAPIResponse.go
- TaobaoAilabAicloudTopSkilsListNewAPIRequest.go
- TaobaoAilabAicloudTopSkilsListNewAPIResponse.go
- TopAuthReqDto.go
- TopDeviceReqDto.go
- TopRefreshReqDto.go
- doc.go