Documentation ¶
Overview ¶
Package lstspeacker 包含零售通小店智能设备相关结构体
Index ¶
- type AlibabalstspeakerconfigureAPIRequest
- func (r AlibabalstspeakerconfigureAPIRequest) GetApiMethodName() string
- func (r AlibabalstspeakerconfigureAPIRequest) GetApiParams(params url.Values)
- func (r AlibabalstspeakerconfigureAPIRequest) GetCommand() string
- func (r AlibabalstspeakerconfigureAPIRequest) GetDeviceCode() string
- func (r AlibabalstspeakerconfigureAPIRequest) GetParams() string
- func (r AlibabalstspeakerconfigureAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetDeviceCode() string
- func (r AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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(params url.Values)
- func (r AlibabalstspeakerconfiguresyncaudioAPIRequest) GetDeviceCode() string
- func (r AlibabalstspeakerconfiguresyncaudioAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetDeviceCode() string
- func (r AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetRawParams() model.Params
- 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(params 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) GetRawParams() model.Params
- 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
- func (r AlibabalstspeakerstatusgetAPIRequest) GetApiMethodName() string
- func (r AlibabalstspeakerstatusgetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabalstspeakerstatusgetAPIRequest) GetDeviceCode() string
- func (r AlibabalstspeakerstatusgetAPIRequest) GetRawParams() model.Params
- func (r *AlibabalstspeakerstatusgetAPIRequest) SetDeviceCode(_deviceCode string) error
- 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.3.1
type AlibabalstspeakerconfigureAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalstspeakerconfigureAPIRequest 零售通音箱配置通用泛化调用接口 API请求 alibaba.lst.speaker.configure
零售通音箱配置通用泛化调用接口,包括内容、音量、音频等内容
func NewAlibabalstspeakerconfigureRequest ¶ added in v1.3.1
func NewAlibabalstspeakerconfigureRequest() *AlibabalstspeakerconfigureAPIRequest
NewAlibabalstspeakerconfigureRequest 初始化AlibabalstspeakerconfigureAPIRequest对象
func (AlibabalstspeakerconfigureAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstspeakerconfigureAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstspeakerconfigureAPIRequest) GetCommand ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureAPIRequest) GetCommand() string
GetCommand Command Getter
func (AlibabalstspeakerconfigureAPIRequest) GetDeviceCode ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabalstspeakerconfigureAPIRequest) GetParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureAPIRequest) GetParams() string
GetParams Params Getter
func (AlibabalstspeakerconfigureAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabalstspeakerconfigureAPIRequest) SetCommand ¶ added in v1.3.1
func (r *AlibabalstspeakerconfigureAPIRequest) SetCommand(_command string) error
SetCommand is Command Setter 命令类型setPayTime,adjustVolume,syncAudio,syncAudioAdvert
func (*AlibabalstspeakerconfigureAPIRequest) SetDeviceCode ¶ added in v1.3.1
func (r *AlibabalstspeakerconfigureAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabalstspeakerconfigureAPIRequest) SetParams ¶ added in v1.3.1
func (r *AlibabalstspeakerconfigureAPIRequest) SetParams(_params string) error
SetParams is Params Setter 数据体,根据命令不同而不同
type AlibabalstspeakerconfigureAPIResponse ¶ added in v1.3.1
type AlibabalstspeakerconfigureAPIResponse struct { model.CommonResponse AlibabalstspeakerconfigureAPIResponseModel }
AlibabalstspeakerconfigureAPIResponse 零售通音箱配置通用泛化调用接口 API返回值 alibaba.lst.speaker.configure
零售通音箱配置通用泛化调用接口,包括内容、音量、音频等内容
type AlibabalstspeakerconfigureAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabalstspeakerconfigureadjustvolumeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalstspeakerconfigureadjustvolumeAPIRequest 音箱音量调节 API请求 alibaba.lst.speaker.configure.adjustvolume
音箱音量调节
func NewAlibabalstspeakerconfigureadjustvolumeRequest ¶ added in v1.3.1
func NewAlibabalstspeakerconfigureadjustvolumeRequest() *AlibabalstspeakerconfigureadjustvolumeAPIRequest
NewAlibabalstspeakerconfigureadjustvolumeRequest 初始化AlibabalstspeakerconfigureadjustvolumeAPIRequest对象
func (AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetDeviceCode ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetValueType ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetValueType() string
GetValueType ValueType Getter
func (AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetVolume ¶ added in v1.3.1
func (r AlibabalstspeakerconfigureadjustvolumeAPIRequest) GetVolume() string
GetVolume Volume Getter
func (*AlibabalstspeakerconfigureadjustvolumeAPIRequest) SetDeviceCode ¶ added in v1.3.1
func (r *AlibabalstspeakerconfigureadjustvolumeAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabalstspeakerconfigureadjustvolumeAPIRequest) SetValueType ¶ added in v1.3.1
func (r *AlibabalstspeakerconfigureadjustvolumeAPIRequest) SetValueType(_valueType string) error
SetValueType is ValueType Setter 音量类型,val:固定值, percent:百分比
func (*AlibabalstspeakerconfigureadjustvolumeAPIRequest) SetVolume ¶ added in v1.3.1
func (r *AlibabalstspeakerconfigureadjustvolumeAPIRequest) SetVolume(_volume string) error
SetVolume is Volume Setter 音量直
type AlibabalstspeakerconfigureadjustvolumeAPIResponse ¶ added in v1.3.1
type AlibabalstspeakerconfigureadjustvolumeAPIResponse struct { model.CommonResponse AlibabalstspeakerconfigureadjustvolumeAPIResponseModel }
AlibabalstspeakerconfigureadjustvolumeAPIResponse 音箱音量调节 API返回值 alibaba.lst.speaker.configure.adjustvolume
音箱音量调节
type AlibabalstspeakerconfigureadjustvolumeAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabalstspeakerconfiguresetpaytimeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalstspeakerconfiguresetpaytimeAPIRequest 音箱播放配置 API请求 alibaba.lst.speaker.configure.setpaytime
音箱播放配置
func NewAlibabalstspeakerconfiguresetpaytimeRequest ¶ added in v1.3.1
func NewAlibabalstspeakerconfiguresetpaytimeRequest() *AlibabalstspeakerconfiguresetpaytimeAPIRequest
NewAlibabalstspeakerconfiguresetpaytimeRequest 初始化AlibabalstspeakerconfiguresetpaytimeAPIRequest对象
func (AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetDeviceCode ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetIsOnlyPlayAdvert ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetIsOnlyPlayAdvert() bool
GetIsOnlyPlayAdvert IsOnlyPlayAdvert Getter
func (AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetIsSetPlayTime ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetIsSetPlayTime() bool
GetIsSetPlayTime IsSetPlayTime Getter
func (AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetPlayEndTime ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetPlayEndTime() string
GetPlayEndTime PlayEndTime Getter
func (AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetPlayStartTime ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetPlayStartTime() string
GetPlayStartTime PlayStartTime Getter
func (AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresetpaytimeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetDeviceCode ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetIsOnlyPlayAdvert ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetIsOnlyPlayAdvert(_isOnlyPlayAdvert bool) error
SetIsOnlyPlayAdvert is IsOnlyPlayAdvert Setter 是否播放广告
func (*AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetIsSetPlayTime ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetIsSetPlayTime(_isSetPlayTime bool) error
SetIsSetPlayTime is IsSetPlayTime Setter 是否设置播放时间
func (*AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetPlayEndTime ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetPlayEndTime(_playEndTime string) error
SetPlayEndTime is PlayEndTime Setter 结束时间
func (*AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetPlayStartTime ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresetpaytimeAPIRequest) SetPlayStartTime(_playStartTime string) error
SetPlayStartTime is PlayStartTime Setter 开始时间
type AlibabalstspeakerconfiguresetpaytimeAPIResponse ¶ added in v1.3.1
type AlibabalstspeakerconfiguresetpaytimeAPIResponse struct { model.CommonResponse AlibabalstspeakerconfiguresetpaytimeAPIResponseModel }
AlibabalstspeakerconfiguresetpaytimeAPIResponse 音箱播放配置 API返回值 alibaba.lst.speaker.configure.setpaytime
音箱播放配置
type AlibabalstspeakerconfiguresetpaytimeAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabalstspeakerconfiguresyncaudioAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalstspeakerconfiguresyncaudioAPIRequest 音频同步 API请求 alibaba.lst.speaker.configure.syncaudio
音频同步
func NewAlibabalstspeakerconfiguresyncaudioRequest ¶ added in v1.3.1
func NewAlibabalstspeakerconfiguresyncaudioRequest() *AlibabalstspeakerconfiguresyncaudioAPIRequest
NewAlibabalstspeakerconfiguresyncaudioRequest 初始化AlibabalstspeakerconfiguresyncaudioAPIRequest对象
func (AlibabalstspeakerconfiguresyncaudioAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstspeakerconfiguresyncaudioAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstspeakerconfiguresyncaudioAPIRequest) GetDeviceCode ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabalstspeakerconfiguresyncaudioAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabalstspeakerconfiguresyncaudioAPIRequest) GetSpeakerConfigParam4SyncAudio ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioAPIRequest) GetSpeakerConfigParam4SyncAudio() *SpeakerConfigParam4syncAudio
GetSpeakerConfigParam4SyncAudio SpeakerConfigParam4SyncAudio Getter
func (*AlibabalstspeakerconfiguresyncaudioAPIRequest) SetDeviceCode ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresyncaudioAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabalstspeakerconfiguresyncaudioAPIRequest) SetSpeakerConfigParam4SyncAudio ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresyncaudioAPIRequest) SetSpeakerConfigParam4SyncAudio(_speakerConfigParam4SyncAudio *SpeakerConfigParam4syncAudio) error
SetSpeakerConfigParam4SyncAudio is SpeakerConfigParam4SyncAudio Setter 参数
type AlibabalstspeakerconfiguresyncaudioAPIResponse ¶ added in v1.3.1
type AlibabalstspeakerconfiguresyncaudioAPIResponse struct { model.CommonResponse AlibabalstspeakerconfiguresyncaudioAPIResponseModel }
AlibabalstspeakerconfiguresyncaudioAPIResponse 音频同步 API返回值 alibaba.lst.speaker.configure.syncaudio
音频同步
type AlibabalstspeakerconfiguresyncaudioAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabalstspeakerconfiguresyncaudioadvertAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalstspeakerconfiguresyncaudioadvertAPIRequest 同步广告 API请求 alibaba.lst.speaker.configure.syncaudioadvert
如意音箱广告同步
func NewAlibabalstspeakerconfiguresyncaudioadvertRequest ¶ added in v1.3.1
func NewAlibabalstspeakerconfiguresyncaudioadvertRequest() *AlibabalstspeakerconfiguresyncaudioadvertAPIRequest
NewAlibabalstspeakerconfiguresyncaudioadvertRequest 初始化AlibabalstspeakerconfiguresyncaudioadvertAPIRequest对象
func (AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetDeviceCode ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetSpeakerConfigParam4SyncAudioAdvert ¶ added in v1.3.1
func (r AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) GetSpeakerConfigParam4SyncAudioAdvert() *SpeakerConfigParam4syncAudioAdvert
GetSpeakerConfigParam4SyncAudioAdvert SpeakerConfigParam4SyncAudioAdvert Getter
func (*AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) SetDeviceCode ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) SetSpeakerConfigParam4SyncAudioAdvert ¶ added in v1.3.1
func (r *AlibabalstspeakerconfiguresyncaudioadvertAPIRequest) SetSpeakerConfigParam4SyncAudioAdvert(_speakerConfigParam4SyncAudioAdvert *SpeakerConfigParam4syncAudioAdvert) error
SetSpeakerConfigParam4SyncAudioAdvert is SpeakerConfigParam4SyncAudioAdvert Setter 音频参数
type AlibabalstspeakerconfiguresyncaudioadvertAPIResponse ¶ added in v1.3.1
type AlibabalstspeakerconfiguresyncaudioadvertAPIResponse struct { model.CommonResponse AlibabalstspeakerconfiguresyncaudioadvertAPIResponseModel }
AlibabalstspeakerconfiguresyncaudioadvertAPIResponse 同步广告 API返回值 alibaba.lst.speaker.configure.syncaudioadvert
如意音箱广告同步
type AlibabalstspeakerconfiguresyncaudioadvertAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabalstspeakerfileuploadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalstspeakerfileuploadAPIRequest 如意音箱音频文件长传 API请求 alibaba.lst.speaker.file.upload
如意音箱音频文件长传
func NewAlibabalstspeakerfileuploadRequest ¶ added in v1.3.1
func NewAlibabalstspeakerfileuploadRequest() *AlibabalstspeakerfileuploadAPIRequest
NewAlibabalstspeakerfileuploadRequest 初始化AlibabalstspeakerfileuploadAPIRequest对象
func (AlibabalstspeakerfileuploadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstspeakerfileuploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstspeakerfileuploadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstspeakerfileuploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstspeakerfileuploadAPIRequest) GetFileBytes ¶ added in v1.3.1
func (r AlibabalstspeakerfileuploadAPIRequest) GetFileBytes() *model.File
GetFileBytes FileBytes Getter
func (AlibabalstspeakerfileuploadAPIRequest) GetFileId ¶ added in v1.3.1
func (r AlibabalstspeakerfileuploadAPIRequest) GetFileId() string
GetFileId FileId Getter
func (AlibabalstspeakerfileuploadAPIRequest) GetFileType ¶ added in v1.3.1
func (r AlibabalstspeakerfileuploadAPIRequest) GetFileType() string
GetFileType FileType Getter
func (AlibabalstspeakerfileuploadAPIRequest) GetMd5 ¶ added in v1.3.1
func (r AlibabalstspeakerfileuploadAPIRequest) GetMd5() string
GetMd5 Md5 Getter
func (AlibabalstspeakerfileuploadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstspeakerfileuploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabalstspeakerfileuploadAPIRequest) SetFileBytes ¶ added in v1.3.1
func (r *AlibabalstspeakerfileuploadAPIRequest) SetFileBytes(_fileBytes *model.File) error
SetFileBytes is FileBytes Setter 数据流
func (*AlibabalstspeakerfileuploadAPIRequest) SetFileId ¶ added in v1.3.1
func (r *AlibabalstspeakerfileuploadAPIRequest) SetFileId(_fileId string) error
SetFileId is FileId Setter 文件ID
func (*AlibabalstspeakerfileuploadAPIRequest) SetFileType ¶ added in v1.3.1
func (r *AlibabalstspeakerfileuploadAPIRequest) SetFileType(_fileType string) error
SetFileType is FileType Setter 文件类型,audio:音频,advert:广告
func (*AlibabalstspeakerfileuploadAPIRequest) SetMd5 ¶ added in v1.3.1
func (r *AlibabalstspeakerfileuploadAPIRequest) SetMd5(_md5 string) error
SetMd5 is Md5 Setter md5直
type AlibabalstspeakerfileuploadAPIResponse ¶ added in v1.3.1
type AlibabalstspeakerfileuploadAPIResponse struct { model.CommonResponse AlibabalstspeakerfileuploadAPIResponseModel }
AlibabalstspeakerfileuploadAPIResponse 如意音箱音频文件长传 API返回值 alibaba.lst.speaker.file.upload
如意音箱音频文件长传
type AlibabalstspeakerfileuploadAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
type AlibabalstspeakerstatusgetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabalstspeakerstatusgetAPIRequest 音箱设备在线状态 API请求 alibaba.lst.speaker.status.get
音箱设备在线状态查询
func NewAlibabalstspeakerstatusgetRequest ¶ added in v1.3.1
func NewAlibabalstspeakerstatusgetRequest() *AlibabalstspeakerstatusgetAPIRequest
NewAlibabalstspeakerstatusgetRequest 初始化AlibabalstspeakerstatusgetAPIRequest对象
func (AlibabalstspeakerstatusgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabalstspeakerstatusgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabalstspeakerstatusgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabalstspeakerstatusgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabalstspeakerstatusgetAPIRequest) GetDeviceCode ¶ added in v1.3.1
func (r AlibabalstspeakerstatusgetAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabalstspeakerstatusgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabalstspeakerstatusgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabalstspeakerstatusgetAPIRequest) SetDeviceCode ¶ added in v1.3.1
func (r *AlibabalstspeakerstatusgetAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
type AlibabalstspeakerstatusgetAPIResponse ¶ added in v1.3.1
type AlibabalstspeakerstatusgetAPIResponse struct { model.CommonResponse AlibabalstspeakerstatusgetAPIResponseModel }
AlibabalstspeakerstatusgetAPIResponse 音箱设备在线状态 API返回值 alibaba.lst.speaker.status.get
音箱设备在线状态查询
type AlibabalstspeakerstatusgetAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
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