Documentation ¶
Overview ¶
Package lstspeacker 包含零售通小店智能设备相关结构体
Index ¶
- type AlibabaLstSpeakerConfigureAPIRequest
- func (r AlibabaLstSpeakerConfigureAPIRequest) GetApiMethodName() string
- func (r AlibabaLstSpeakerConfigureAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstSpeakerConfigureAPIRequest) GetCommand() string
- func (r AlibabaLstSpeakerConfigureAPIRequest) GetDeviceCode() string
- func (r AlibabaLstSpeakerConfigureAPIRequest) GetParams() string
- func (r *AlibabaLstSpeakerConfigureAPIRequest) SetCommand(_command string) error
- func (r *AlibabaLstSpeakerConfigureAPIRequest) SetDeviceCode(_deviceCode string) error
- func (r *AlibabaLstSpeakerConfigureAPIRequest) SetParams(_params string) error
- type AlibabaLstSpeakerConfigureAPIResponse
- type AlibabaLstSpeakerConfigureAPIResponseModel
- type AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest
- func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetApiMethodName() string
- func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetDeviceCode() string
- func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetValueType() string
- func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetVolume() string
- func (r *AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetDeviceCode(_deviceCode string) error
- func (r *AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetValueType(_valueType string) error
- func (r *AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetVolume(_volume string) error
- type AlibabaLstSpeakerConfigureAdjustvolumeAPIResponse
- type AlibabaLstSpeakerConfigureAdjustvolumeAPIResponseModel
- type AlibabaLstSpeakerConfigureSetpaytimeAPIRequest
- func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetApiMethodName() string
- func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetDeviceCode() string
- func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetIsOnlyPlayAdvert() bool
- func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetIsSetPlayTime() bool
- func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetPlayEndTime() string
- func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetPlayStartTime() string
- func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetDeviceCode(_deviceCode string) error
- func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetIsOnlyPlayAdvert(_isOnlyPlayAdvert bool) error
- func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetIsSetPlayTime(_isSetPlayTime bool) error
- func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetPlayEndTime(_playEndTime string) error
- func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetPlayStartTime(_playStartTime string) error
- type AlibabaLstSpeakerConfigureSetpaytimeAPIResponse
- type AlibabaLstSpeakerConfigureSetpaytimeAPIResponseModel
- type AlibabaLstSpeakerConfigureSyncaudioAPIRequest
- func (r AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetApiMethodName() string
- func (r AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetDeviceCode() string
- func (r AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetSpeakerConfigParam4SyncAudio() *SpeakerConfigParam4SyncAudio
- func (r *AlibabaLstSpeakerConfigureSyncaudioAPIRequest) SetDeviceCode(_deviceCode string) error
- func (r *AlibabaLstSpeakerConfigureSyncaudioAPIRequest) SetSpeakerConfigParam4SyncAudio(_speakerConfigParam4SyncAudio *SpeakerConfigParam4SyncAudio) error
- type AlibabaLstSpeakerConfigureSyncaudioAPIResponse
- type AlibabaLstSpeakerConfigureSyncaudioAPIResponseModel
- type AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest
- func (r AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetApiMethodName() string
- func (r AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetDeviceCode() string
- func (r AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetSpeakerConfigParam4SyncAudioAdvert() *SpeakerConfigParam4SyncAudioAdvert
- func (r *AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) SetDeviceCode(_deviceCode string) error
- func (r *AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) SetSpeakerConfigParam4SyncAudioAdvert(_speakerConfigParam4SyncAudioAdvert *SpeakerConfigParam4SyncAudioAdvert) error
- type AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponse
- type AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponseModel
- type AlibabaLstSpeakerFileUploadAPIRequest
- func (r AlibabaLstSpeakerFileUploadAPIRequest) GetApiMethodName() string
- func (r AlibabaLstSpeakerFileUploadAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstSpeakerFileUploadAPIRequest) GetFileBytes() *model.File
- func (r AlibabaLstSpeakerFileUploadAPIRequest) GetFileId() string
- func (r AlibabaLstSpeakerFileUploadAPIRequest) GetFileType() string
- func (r AlibabaLstSpeakerFileUploadAPIRequest) GetMd5() string
- func (r *AlibabaLstSpeakerFileUploadAPIRequest) SetFileBytes(_fileBytes *model.File) error
- func (r *AlibabaLstSpeakerFileUploadAPIRequest) SetFileId(_fileId string) error
- func (r *AlibabaLstSpeakerFileUploadAPIRequest) SetFileType(_fileType string) error
- func (r *AlibabaLstSpeakerFileUploadAPIRequest) SetMd5(_md5 string) error
- type AlibabaLstSpeakerFileUploadAPIResponse
- type AlibabaLstSpeakerFileUploadAPIResponseModel
- type AlibabaLstSpeakerFileUploadResultDto
- type AlibabaLstSpeakerStatusGetAPIRequest
- type AlibabaLstSpeakerStatusGetAPIResponse
- type AlibabaLstSpeakerStatusGetAPIResponseModel
- type AlibabaLstSpeakerStatusGetResultDto
- type SpeakerConfigAudioAdvert
- type SpeakerConfigAudioInfo
- type SpeakerConfigAudioList
- type SpeakerConfigParam4SyncAudio
- type SpeakerConfigParam4SyncAudioAdvert
- type SpeakerFileDto
- type SpeakerOnLineStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaLstSpeakerConfigureAPIRequest ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstSpeakerConfigureAPIRequest 零售通音箱配置通用泛化调用接口 API请求 alibaba.lst.speaker.configure
零售通音箱配置通用泛化调用接口,包括内容、音量、音频等内容
func NewAlibabaLstSpeakerConfigureRequest ¶
func NewAlibabaLstSpeakerConfigureRequest() *AlibabaLstSpeakerConfigureAPIRequest
NewAlibabaLstSpeakerConfigureRequest 初始化AlibabaLstSpeakerConfigureAPIRequest对象
func (AlibabaLstSpeakerConfigureAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstSpeakerConfigureAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstSpeakerConfigureAPIRequest) GetCommand ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAPIRequest) GetCommand() string
GetCommand Command Getter
func (AlibabaLstSpeakerConfigureAPIRequest) GetDeviceCode ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabaLstSpeakerConfigureAPIRequest) GetParams ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAPIRequest) GetParams() string
GetParams Params Getter
func (*AlibabaLstSpeakerConfigureAPIRequest) SetCommand ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureAPIRequest) SetCommand(_command string) error
SetCommand is Command Setter 命令类型setPayTime,adjustVolume,syncAudio,syncAudioAdvert
func (*AlibabaLstSpeakerConfigureAPIRequest) SetDeviceCode ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabaLstSpeakerConfigureAPIRequest) SetParams ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureAPIRequest) SetParams(_params string) error
SetParams is Params Setter 数据体,根据命令不同而不同
type AlibabaLstSpeakerConfigureAPIResponse ¶
type AlibabaLstSpeakerConfigureAPIResponse struct { model.CommonResponse AlibabaLstSpeakerConfigureAPIResponseModel }
AlibabaLstSpeakerConfigureAPIResponse 零售通音箱配置通用泛化调用接口 API返回值 alibaba.lst.speaker.configure
零售通音箱配置通用泛化调用接口,包括内容、音量、音频等内容
type AlibabaLstSpeakerConfigureAPIResponseModel ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_speaker_configure_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErroMessage string `json:"erro_message,omitempty" xml:"erro_message,omitempty"` // 错误码 ErroCode string `json:"erro_code,omitempty" xml:"erro_code,omitempty"` // 执行结果 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` // 执行结果标识 Module bool `json:"module,omitempty" xml:"module,omitempty"` }
AlibabaLstSpeakerConfigureAPIResponseModel is 零售通音箱配置通用泛化调用接口 成功返回结果
type AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest 音箱音量调节 API请求 alibaba.lst.speaker.configure.adjustvolume
音箱音量调节
func NewAlibabaLstSpeakerConfigureAdjustvolumeRequest ¶
func NewAlibabaLstSpeakerConfigureAdjustvolumeRequest() *AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest
NewAlibabaLstSpeakerConfigureAdjustvolumeRequest 初始化AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest对象
func (AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetDeviceCode ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetValueType ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetValueType() string
GetValueType ValueType Getter
func (AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetVolume ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) GetVolume() string
GetVolume Volume Getter
func (*AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetDeviceCode ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetValueType ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetValueType(_valueType string) error
SetValueType is ValueType Setter 音量类型,val:固定值, percent:百分比
func (*AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetVolume ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest) SetVolume(_volume string) error
SetVolume is Volume Setter 音量直
type AlibabaLstSpeakerConfigureAdjustvolumeAPIResponse ¶
type AlibabaLstSpeakerConfigureAdjustvolumeAPIResponse struct { model.CommonResponse AlibabaLstSpeakerConfigureAdjustvolumeAPIResponseModel }
AlibabaLstSpeakerConfigureAdjustvolumeAPIResponse 音箱音量调节 API返回值 alibaba.lst.speaker.configure.adjustvolume
音箱音量调节
type AlibabaLstSpeakerConfigureAdjustvolumeAPIResponseModel ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureAdjustvolumeAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_speaker_configure_adjustvolume_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErroMessage string `json:"erro_message,omitempty" xml:"erro_message,omitempty"` // 错误码 ErroCode string `json:"erro_code,omitempty" xml:"erro_code,omitempty"` // 执行结果 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` // 执行结果标识 Module bool `json:"module,omitempty" xml:"module,omitempty"` }
AlibabaLstSpeakerConfigureAdjustvolumeAPIResponseModel is 音箱音量调节 成功返回结果
type AlibabaLstSpeakerConfigureSetpaytimeAPIRequest ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureSetpaytimeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstSpeakerConfigureSetpaytimeAPIRequest 音箱播放配置 API请求 alibaba.lst.speaker.configure.setpaytime
音箱播放配置
func NewAlibabaLstSpeakerConfigureSetpaytimeRequest ¶
func NewAlibabaLstSpeakerConfigureSetpaytimeRequest() *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest
NewAlibabaLstSpeakerConfigureSetpaytimeRequest 初始化AlibabaLstSpeakerConfigureSetpaytimeAPIRequest对象
func (AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetDeviceCode ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetIsOnlyPlayAdvert ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetIsOnlyPlayAdvert() bool
GetIsOnlyPlayAdvert IsOnlyPlayAdvert Getter
func (AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetIsSetPlayTime ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetIsSetPlayTime() bool
GetIsSetPlayTime IsSetPlayTime Getter
func (AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetPlayEndTime ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetPlayEndTime() string
GetPlayEndTime PlayEndTime Getter
func (AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetPlayStartTime ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) GetPlayStartTime() string
GetPlayStartTime PlayStartTime Getter
func (*AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetDeviceCode ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetIsOnlyPlayAdvert ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetIsOnlyPlayAdvert(_isOnlyPlayAdvert bool) error
SetIsOnlyPlayAdvert is IsOnlyPlayAdvert Setter 是否播放广告
func (*AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetIsSetPlayTime ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetIsSetPlayTime(_isSetPlayTime bool) error
SetIsSetPlayTime is IsSetPlayTime Setter 是否设置播放时间
func (*AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetPlayEndTime ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetPlayEndTime(_playEndTime string) error
SetPlayEndTime is PlayEndTime Setter 结束时间
func (*AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetPlayStartTime ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSetpaytimeAPIRequest) SetPlayStartTime(_playStartTime string) error
SetPlayStartTime is PlayStartTime Setter 开始时间
type AlibabaLstSpeakerConfigureSetpaytimeAPIResponse ¶
type AlibabaLstSpeakerConfigureSetpaytimeAPIResponse struct { model.CommonResponse AlibabaLstSpeakerConfigureSetpaytimeAPIResponseModel }
AlibabaLstSpeakerConfigureSetpaytimeAPIResponse 音箱播放配置 API返回值 alibaba.lst.speaker.configure.setpaytime
音箱播放配置
type AlibabaLstSpeakerConfigureSetpaytimeAPIResponseModel ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureSetpaytimeAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_speaker_configure_setpaytime_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErroMessage string `json:"erro_message,omitempty" xml:"erro_message,omitempty"` // 错误码 ErroCode string `json:"erro_code,omitempty" xml:"erro_code,omitempty"` // 执行结果 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` // 执行结果标识 Module bool `json:"module,omitempty" xml:"module,omitempty"` }
AlibabaLstSpeakerConfigureSetpaytimeAPIResponseModel is 音箱播放配置 成功返回结果
type AlibabaLstSpeakerConfigureSyncaudioAPIRequest ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureSyncaudioAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstSpeakerConfigureSyncaudioAPIRequest 音频同步 API请求 alibaba.lst.speaker.configure.syncaudio
音频同步
func NewAlibabaLstSpeakerConfigureSyncaudioRequest ¶
func NewAlibabaLstSpeakerConfigureSyncaudioRequest() *AlibabaLstSpeakerConfigureSyncaudioAPIRequest
NewAlibabaLstSpeakerConfigureSyncaudioRequest 初始化AlibabaLstSpeakerConfigureSyncaudioAPIRequest对象
func (AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetDeviceCode ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetSpeakerConfigParam4SyncAudio ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSyncaudioAPIRequest) GetSpeakerConfigParam4SyncAudio() *SpeakerConfigParam4SyncAudio
GetSpeakerConfigParam4SyncAudio SpeakerConfigParam4SyncAudio Getter
func (*AlibabaLstSpeakerConfigureSyncaudioAPIRequest) SetDeviceCode ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSyncaudioAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabaLstSpeakerConfigureSyncaudioAPIRequest) SetSpeakerConfigParam4SyncAudio ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSyncaudioAPIRequest) SetSpeakerConfigParam4SyncAudio(_speakerConfigParam4SyncAudio *SpeakerConfigParam4SyncAudio) error
SetSpeakerConfigParam4SyncAudio is SpeakerConfigParam4SyncAudio Setter 参数
type AlibabaLstSpeakerConfigureSyncaudioAPIResponse ¶
type AlibabaLstSpeakerConfigureSyncaudioAPIResponse struct { model.CommonResponse AlibabaLstSpeakerConfigureSyncaudioAPIResponseModel }
AlibabaLstSpeakerConfigureSyncaudioAPIResponse 音频同步 API返回值 alibaba.lst.speaker.configure.syncaudio
音频同步
type AlibabaLstSpeakerConfigureSyncaudioAPIResponseModel ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureSyncaudioAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_speaker_configure_syncaudio_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErroMessage string `json:"erro_message,omitempty" xml:"erro_message,omitempty"` // 错误码 ErroCode string `json:"erro_code,omitempty" xml:"erro_code,omitempty"` // 执行结果 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` // 执行结果标识 Module bool `json:"module,omitempty" xml:"module,omitempty"` }
AlibabaLstSpeakerConfigureSyncaudioAPIResponseModel is 音频同步 成功返回结果
type AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest 同步广告 API请求 alibaba.lst.speaker.configure.syncaudioadvert
如意音箱广告同步
func NewAlibabaLstSpeakerConfigureSyncaudioadvertRequest ¶
func NewAlibabaLstSpeakerConfigureSyncaudioadvertRequest() *AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest
NewAlibabaLstSpeakerConfigureSyncaudioadvertRequest 初始化AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest对象
func (AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetDeviceCode ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetSpeakerConfigParam4SyncAudioAdvert ¶ added in v1.2.0
func (r AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) GetSpeakerConfigParam4SyncAudioAdvert() *SpeakerConfigParam4SyncAudioAdvert
GetSpeakerConfigParam4SyncAudioAdvert SpeakerConfigParam4SyncAudioAdvert Getter
func (*AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) SetDeviceCode ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) SetSpeakerConfigParam4SyncAudioAdvert ¶ added in v1.2.0
func (r *AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest) SetSpeakerConfigParam4SyncAudioAdvert(_speakerConfigParam4SyncAudioAdvert *SpeakerConfigParam4SyncAudioAdvert) error
SetSpeakerConfigParam4SyncAudioAdvert is SpeakerConfigParam4SyncAudioAdvert Setter 音频参数
type AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponse ¶
type AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponse struct { model.CommonResponse AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponseModel }
AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponse 同步广告 API返回值 alibaba.lst.speaker.configure.syncaudioadvert
如意音箱广告同步
type AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponseModel ¶ added in v1.2.0
type AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_speaker_configure_syncaudioadvert_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ErroMessage string `json:"erro_message,omitempty" xml:"erro_message,omitempty"` // 错误码 ErroCode string `json:"erro_code,omitempty" xml:"erro_code,omitempty"` // 执行结果 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` // 执行结果标识 Module bool `json:"module,omitempty" xml:"module,omitempty"` }
AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponseModel is 同步广告 成功返回结果
type AlibabaLstSpeakerFileUploadAPIRequest ¶ added in v1.2.0
type AlibabaLstSpeakerFileUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstSpeakerFileUploadAPIRequest 如意音箱音频文件长传 API请求 alibaba.lst.speaker.file.upload
如意音箱音频文件长传
func NewAlibabaLstSpeakerFileUploadRequest ¶
func NewAlibabaLstSpeakerFileUploadRequest() *AlibabaLstSpeakerFileUploadAPIRequest
NewAlibabaLstSpeakerFileUploadRequest 初始化AlibabaLstSpeakerFileUploadAPIRequest对象
func (AlibabaLstSpeakerFileUploadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstSpeakerFileUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstSpeakerFileUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstSpeakerFileUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstSpeakerFileUploadAPIRequest) GetFileBytes ¶ added in v1.2.0
func (r AlibabaLstSpeakerFileUploadAPIRequest) GetFileBytes() *model.File
GetFileBytes FileBytes Getter
func (AlibabaLstSpeakerFileUploadAPIRequest) GetFileId ¶ added in v1.2.0
func (r AlibabaLstSpeakerFileUploadAPIRequest) GetFileId() string
GetFileId FileId Getter
func (AlibabaLstSpeakerFileUploadAPIRequest) GetFileType ¶ added in v1.2.0
func (r AlibabaLstSpeakerFileUploadAPIRequest) GetFileType() string
GetFileType FileType Getter
func (AlibabaLstSpeakerFileUploadAPIRequest) GetMd5 ¶ added in v1.2.0
func (r AlibabaLstSpeakerFileUploadAPIRequest) GetMd5() string
GetMd5 Md5 Getter
func (*AlibabaLstSpeakerFileUploadAPIRequest) SetFileBytes ¶ added in v1.2.0
func (r *AlibabaLstSpeakerFileUploadAPIRequest) SetFileBytes(_fileBytes *model.File) error
SetFileBytes is FileBytes Setter 数据流
func (*AlibabaLstSpeakerFileUploadAPIRequest) SetFileId ¶ added in v1.2.0
func (r *AlibabaLstSpeakerFileUploadAPIRequest) SetFileId(_fileId string) error
SetFileId is FileId Setter 文件ID
func (*AlibabaLstSpeakerFileUploadAPIRequest) SetFileType ¶ added in v1.2.0
func (r *AlibabaLstSpeakerFileUploadAPIRequest) SetFileType(_fileType string) error
SetFileType is FileType Setter 文件类型,audio:音频,advert:广告
func (*AlibabaLstSpeakerFileUploadAPIRequest) SetMd5 ¶ added in v1.2.0
func (r *AlibabaLstSpeakerFileUploadAPIRequest) SetMd5(_md5 string) error
SetMd5 is Md5 Setter md5直
type AlibabaLstSpeakerFileUploadAPIResponse ¶
type AlibabaLstSpeakerFileUploadAPIResponse struct { model.CommonResponse AlibabaLstSpeakerFileUploadAPIResponseModel }
AlibabaLstSpeakerFileUploadAPIResponse 如意音箱音频文件长传 API返回值 alibaba.lst.speaker.file.upload
如意音箱音频文件长传
type AlibabaLstSpeakerFileUploadAPIResponseModel ¶ added in v1.2.0
type AlibabaLstSpeakerFileUploadAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_speaker_file_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *AlibabaLstSpeakerFileUploadResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstSpeakerFileUploadAPIResponseModel is 如意音箱音频文件长传 成功返回结果
type AlibabaLstSpeakerFileUploadResultDto ¶
type AlibabaLstSpeakerFileUploadResultDto struct { // 错误码 ErroMessage string `json:"erro_message,omitempty" xml:"erro_message,omitempty"` // 错误码 ErroCode string `json:"erro_code,omitempty" xml:"erro_code,omitempty"` // SpeakerFileDto Module *SpeakerFileDto `json:"module,omitempty" xml:"module,omitempty"` // 执行结果 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` }
AlibabaLstSpeakerFileUploadResultDto 结构体
type AlibabaLstSpeakerStatusGetAPIRequest ¶ added in v1.2.0
type AlibabaLstSpeakerStatusGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstSpeakerStatusGetAPIRequest 音箱设备在线状态 API请求 alibaba.lst.speaker.status.get
音箱设备在线状态查询
func NewAlibabaLstSpeakerStatusGetRequest ¶
func NewAlibabaLstSpeakerStatusGetRequest() *AlibabaLstSpeakerStatusGetAPIRequest
NewAlibabaLstSpeakerStatusGetRequest 初始化AlibabaLstSpeakerStatusGetAPIRequest对象
func (AlibabaLstSpeakerStatusGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstSpeakerStatusGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstSpeakerStatusGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstSpeakerStatusGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstSpeakerStatusGetAPIRequest) GetDeviceCode ¶ added in v1.2.0
func (r AlibabaLstSpeakerStatusGetAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (*AlibabaLstSpeakerStatusGetAPIRequest) SetDeviceCode ¶ added in v1.2.0
func (r *AlibabaLstSpeakerStatusGetAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
type AlibabaLstSpeakerStatusGetAPIResponse ¶
type AlibabaLstSpeakerStatusGetAPIResponse struct { model.CommonResponse AlibabaLstSpeakerStatusGetAPIResponseModel }
AlibabaLstSpeakerStatusGetAPIResponse 音箱设备在线状态 API返回值 alibaba.lst.speaker.status.get
音箱设备在线状态查询
type AlibabaLstSpeakerStatusGetAPIResponseModel ¶ added in v1.2.0
type AlibabaLstSpeakerStatusGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_speaker_status_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *AlibabaLstSpeakerStatusGetResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstSpeakerStatusGetAPIResponseModel is 音箱设备在线状态 成功返回结果
type AlibabaLstSpeakerStatusGetResultDto ¶
type AlibabaLstSpeakerStatusGetResultDto struct { // 错误码 ErroMessage string `json:"erro_message,omitempty" xml:"erro_message,omitempty"` // 错误码 ErroCode string `json:"erro_code,omitempty" xml:"erro_code,omitempty"` // 状态对象 Module *SpeakerOnLineStatus `json:"module,omitempty" xml:"module,omitempty"` // 执行结果 Succ bool `json:"succ,omitempty" xml:"succ,omitempty"` }
AlibabaLstSpeakerStatusGetResultDto 结构体
type SpeakerConfigAudioAdvert ¶
type SpeakerConfigAudioAdvert struct { // 广告ID Id string `json:"id,omitempty" xml:"id,omitempty"` // 订单ID OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"` // 名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // md5 Md5 string `json:"md5,omitempty" xml:"md5,omitempty"` // 单价元 UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"` // 折扣率 AdvertDiscountRatio string `json:"advert_discount_ratio,omitempty" xml:"advert_discount_ratio,omitempty"` // 门店折扣率 StoreDiscountRatio string `json:"store_discount_ratio,omitempty" xml:"store_discount_ratio,omitempty"` // 广告地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 播放时间戳 PlayScheduleTime int64 `json:"play_schedule_time,omitempty" xml:"play_schedule_time,omitempty"` // 文件大小kb FileSize int64 `json:"file_size,omitempty" xml:"file_size,omitempty"` // 播放时长 Length int64 `json:"length,omitempty" xml:"length,omitempty"` }
SpeakerConfigAudioAdvert 结构体
type SpeakerConfigAudioInfo ¶
type SpeakerConfigAudioInfo struct { // 音频集名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 音频集开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 音频集结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 描述 Describes string `json:"describes,omitempty" xml:"describes,omitempty"` // 音频封面 Url string `json:"url,omitempty" xml:"url,omitempty"` }
SpeakerConfigAudioInfo 结构体
type SpeakerConfigAudioList ¶
type SpeakerConfigAudioList struct { // 音频名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 音频播放地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 音频md5 Md5 string `json:"md5,omitempty" xml:"md5,omitempty"` // 音频播放时间秒 Length int64 `json:"length,omitempty" xml:"length,omitempty"` // 音频播放顺序 PlayPos int64 `json:"play_pos,omitempty" xml:"play_pos,omitempty"` // 音频播放开始时间 PlayStartDateTime int64 `json:"play_start_date_time,omitempty" xml:"play_start_date_time,omitempty"` // 音频播放结束时间 PlayEndDateTime int64 `json:"play_end_date_time,omitempty" xml:"play_end_date_time,omitempty"` }
SpeakerConfigAudioList 结构体
type SpeakerConfigParam4SyncAudio ¶
type SpeakerConfigParam4SyncAudio struct { // 音频列表 AudioList []SpeakerConfigAudioList `json:"audio_list,omitempty" xml:"audio_list>speaker_config_audio_list,omitempty"` // 音频集信息 AudioInfo *SpeakerConfigAudioInfo `json:"audio_info,omitempty" xml:"audio_info,omitempty"` }
SpeakerConfigParam4SyncAudio 结构体
type SpeakerConfigParam4SyncAudioAdvert ¶
type SpeakerConfigParam4SyncAudioAdvert struct { // 广告列表 AdvertList []SpeakerConfigAudioAdvert `json:"advert_list,omitempty" xml:"advert_list>speaker_config_audio_advert,omitempty"` }
SpeakerConfigParam4SyncAudioAdvert 结构体
type SpeakerFileDto ¶
type SpeakerFileDto struct { // md5 Md5 string `json:"md5,omitempty" xml:"md5,omitempty"` // url Url string `json:"url,omitempty" xml:"url,omitempty"` // fileId FileId string `json:"file_id,omitempty" xml:"file_id,omitempty"` }
SpeakerFileDto 结构体
type SpeakerOnLineStatus ¶
type SpeakerOnLineStatus struct { // 状态吗 Code string `json:"code,omitempty" xml:"code,omitempty"` // 状态名称 Name string `json:"name,omitempty" xml:"name,omitempty"` }
SpeakerOnLineStatus 结构体
Source Files ¶
- AlibabaLstSpeakerConfigureAPIRequest.go
- AlibabaLstSpeakerConfigureAPIResponse.go
- AlibabaLstSpeakerConfigureAdjustvolumeAPIRequest.go
- AlibabaLstSpeakerConfigureAdjustvolumeAPIResponse.go
- AlibabaLstSpeakerConfigureSetpaytimeAPIRequest.go
- AlibabaLstSpeakerConfigureSetpaytimeAPIResponse.go
- AlibabaLstSpeakerConfigureSyncaudioAPIRequest.go
- AlibabaLstSpeakerConfigureSyncaudioAPIResponse.go
- AlibabaLstSpeakerConfigureSyncaudioadvertAPIRequest.go
- AlibabaLstSpeakerConfigureSyncaudioadvertAPIResponse.go
- AlibabaLstSpeakerFileUploadAPIRequest.go
- AlibabaLstSpeakerFileUploadAPIResponse.go
- AlibabaLstSpeakerFileUploadResultDto.go
- AlibabaLstSpeakerStatusGetAPIRequest.go
- AlibabaLstSpeakerStatusGetAPIResponse.go
- AlibabaLstSpeakerStatusGetResultDto.go
- SpeakerConfigAudioAdvert.go
- SpeakerConfigAudioInfo.go
- SpeakerConfigAudioList.go
- SpeakerConfigParam4SyncAudio.go
- SpeakerConfigParam4SyncAudioAdvert.go
- SpeakerFileDto.go
- SpeakerOnLineStatus.go
- doc.go