Documentation ¶
Overview ¶
Package taotv 包含虚拟院线API相关结构体
Index ¶
- type CarouselChannelRbo
- type CarouselCurrentPlayRbo
- type CarouselPlaylistVideoRbo
- type Channels
- type PlayListNavRbo
- type Playlist
- type TaobaoTaotvCarouselCategoryListAPIRequest
- func (r TaobaoTaotvCarouselCategoryListAPIRequest) GetApiMethodName() string
- func (r TaobaoTaotvCarouselCategoryListAPIRequest) GetApiParams() url.Values
- func (r TaobaoTaotvCarouselCategoryListAPIRequest) GetSystemInfo() string
- func (r *TaobaoTaotvCarouselCategoryListAPIRequest) SetSystemInfo(_systemInfo string) error
- type TaobaoTaotvCarouselCategoryListAPIResponse
- type TaobaoTaotvCarouselCategoryListAPIResponseModel
- type TaobaoTaotvCarouselCategoryListModel
- type TaobaoTaotvCarouselCategoryListResult
- type TaobaoTaotvCarouselChannelAllAPIRequest
- func (r TaobaoTaotvCarouselChannelAllAPIRequest) GetApiMethodName() string
- func (r TaobaoTaotvCarouselChannelAllAPIRequest) GetApiParams() url.Values
- func (r TaobaoTaotvCarouselChannelAllAPIRequest) GetSystemInfo() string
- func (r *TaobaoTaotvCarouselChannelAllAPIRequest) SetSystemInfo(_systemInfo string) error
- type TaobaoTaotvCarouselChannelAllAPIResponse
- type TaobaoTaotvCarouselChannelAllAPIResponseModel
- type TaobaoTaotvCarouselChannelAllModel
- type TaobaoTaotvCarouselChannelAllResult
- type TaobaoTaotvCarouselPlaylistGetAPIRequest
- func (r TaobaoTaotvCarouselPlaylistGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTaotvCarouselPlaylistGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTaotvCarouselPlaylistGetAPIRequest) GetChannelId() int64
- func (r TaobaoTaotvCarouselPlaylistGetAPIRequest) GetSystemInfo() string
- func (r *TaobaoTaotvCarouselPlaylistGetAPIRequest) SetChannelId(_channelId int64) error
- func (r *TaobaoTaotvCarouselPlaylistGetAPIRequest) SetSystemInfo(_systemInfo string) error
- type TaobaoTaotvCarouselPlaylistGetAPIResponse
- type TaobaoTaotvCarouselPlaylistGetAPIResponseModel
- type TaobaoTaotvCarouselPlaylistGetResult
- type TaobaoTaotvVideoPlaylistAllAPIRequest
- func (r TaobaoTaotvVideoPlaylistAllAPIRequest) GetApiMethodName() string
- func (r TaobaoTaotvVideoPlaylistAllAPIRequest) GetApiParams() url.Values
- func (r TaobaoTaotvVideoPlaylistAllAPIRequest) GetSystemInfo() string
- func (r *TaobaoTaotvVideoPlaylistAllAPIRequest) SetSystemInfo(_systemInfo string) error
- type TaobaoTaotvVideoPlaylistAllAPIResponse
- type TaobaoTaotvVideoPlaylistAllAPIResponseModel
- type TaobaoTaotvVideoPlaylistAllModel
- type TaobaoTaotvVideoPlaylistAllResult
- type TaobaoTaotvVideoPlaylistGetAPIRequest
- func (r TaobaoTaotvVideoPlaylistGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTaotvVideoPlaylistGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTaotvVideoPlaylistGetAPIRequest) GetPlayListId() int64
- func (r TaobaoTaotvVideoPlaylistGetAPIRequest) GetSystemInfo() string
- func (r *TaobaoTaotvVideoPlaylistGetAPIRequest) SetPlayListId(_playListId int64) error
- func (r *TaobaoTaotvVideoPlaylistGetAPIRequest) SetSystemInfo(_systemInfo string) error
- type TaobaoTaotvVideoPlaylistGetAPIResponse
- type TaobaoTaotvVideoPlaylistGetAPIResponseModel
- type TaobaoTaotvVideoPlaylistGetModel
- type TaobaoTaotvVideoPlaylistGetResult
- type TaobaoTaotvVideoPlaylistOttnavGetAPIRequest
- func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetPlayListId() int64
- func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetPlayListNav() []string
- func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetSystemInfo() string
- func (r *TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetPlayListId(_playListId int64) error
- func (r *TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetPlayListNav(_playListNav []string) error
- func (r *TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetSystemInfo(_systemInfo string) error
- type TaobaoTaotvVideoPlaylistOttnavGetAPIResponse
- type TaobaoTaotvVideoPlaylistOttnavGetAPIResponseModel
- type TaobaoTaotvVideoPlaylistOttnavGetResult
- type TaobaoTaotvVideoPlaylistPageAPIRequest
- func (r TaobaoTaotvVideoPlaylistPageAPIRequest) GetApiMethodName() string
- func (r TaobaoTaotvVideoPlaylistPageAPIRequest) GetApiParams() url.Values
- func (r TaobaoTaotvVideoPlaylistPageAPIRequest) GetPageNo() int64
- func (r TaobaoTaotvVideoPlaylistPageAPIRequest) GetSystemInfo() string
- func (r *TaobaoTaotvVideoPlaylistPageAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTaotvVideoPlaylistPageAPIRequest) SetSystemInfo(_systemInfo string) error
- type TaobaoTaotvVideoPlaylistPageAPIResponse
- type TaobaoTaotvVideoPlaylistPageAPIResponseModel
- type TaobaoTaotvVideoPlaylistPageData
- type TaobaoTaotvVideoPlaylistPageModel
- type TaobaoTaotvVideoPlaylistPageResult
- type V5BaseItemRbo
- type Videolist
- type Videos
- type YoukuTvDesktopToyouRecommendAPIRequest
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetApiMethodName() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetApiParams() url.Values
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetBcp() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetChargeType() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetDeviceMedia() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetDeviceModel() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetFrom() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetIp() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetMac() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetMaxSize() int64
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetSw() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetToken() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetUuid() string
- func (r YoukuTvDesktopToyouRecommendAPIRequest) GetVersionCode() int64
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetBcp(_bcp string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetChargeType(_chargeType string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetDeviceMedia(_deviceMedia string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetDeviceModel(_deviceModel string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetFrom(_from string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetIp(_ip string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetMac(_mac string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetMaxSize(_maxSize int64) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetSw(_sw string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetToken(_token string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetUuid(_uuid string) error
- func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetVersionCode(_versionCode int64) error
- type YoukuTvDesktopToyouRecommendAPIResponse
- type YoukuTvDesktopToyouRecommendAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CarouselChannelRbo ¶
type CarouselChannelRbo struct { // 频道所有的视频列表 VideoList []Videolist `json:"video_list,omitempty" xml:"video_list>videolist,omitempty"` // 频道描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // 频道图标 Pic string `json:"pic,omitempty" xml:"pic,omitempty"` // 频道名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 频道固定的编号 SerialNumber int64 `json:"serial_number,omitempty" xml:"serial_number,omitempty"` // 频道当前播放视频 CurrentVideo *CarouselCurrentPlayRbo `json:"current_video,omitempty" xml:"current_video,omitempty"` // 牌照方 Bcp int64 `json:"bcp,omitempty" xml:"bcp,omitempty"` // 频道ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
CarouselChannelRbo 结构体
type CarouselCurrentPlayRbo ¶
type CarouselCurrentPlayRbo struct { // 当前轮播视频信息 Video *CarouselPlaylistVideoRbo `json:"video,omitempty" xml:"video,omitempty"` // 当前视频正在播放的时间点(单位秒) Point int64 `json:"point,omitempty" xml:"point,omitempty"` }
CarouselCurrentPlayRbo 结构体
type CarouselPlaylistVideoRbo ¶
type CarouselPlaylistVideoRbo struct { // 视频ID信息 VideoId string `json:"video_id,omitempty" xml:"video_id,omitempty"` // 视频名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 视频图片 Pic string `json:"pic,omitempty" xml:"pic,omitempty"` // 视频的来源类型,来源这个视频所在节目单的视频来源类型 VideoExtType int64 `json:"video_ext_type,omitempty" xml:"video_ext_type,omitempty"` // 当前视频的播单ID PlayListId int64 `json:"play_list_id,omitempty" xml:"play_list_id,omitempty"` // 当前视频的节目ID ProgramId int64 `json:"program_id,omitempty" xml:"program_id,omitempty"` // 当前视频的排序 Sort int64 `json:"sort,omitempty" xml:"sort,omitempty"` // 视频时长(单位秒) Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"` // 主键ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
CarouselPlaylistVideoRbo 结构体
type Channels ¶
type Channels struct { // 频道所有的视频列表 VideoList []Videolist `json:"video_list,omitempty" xml:"video_list>videolist,omitempty"` // 频道描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // 频道图标 Pic string `json:"pic,omitempty" xml:"pic,omitempty"` // 频道名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 频道ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 频道固定的编号 SerialNumber int64 `json:"serial_number,omitempty" xml:"serial_number,omitempty"` // 频道当前播放视频 CurrentVideo *CarouselCurrentPlayRbo `json:"current_video,omitempty" xml:"current_video,omitempty"` // 牌照方 Bcp int64 `json:"bcp,omitempty" xml:"bcp,omitempty"` }
Channels 结构体
type PlayListNavRbo ¶
type PlayListNavRbo struct { Videos `json:"videos,omitempty" xml:"videos>videos,omitempty"` PlayList []Playlist `json:"play_list,omitempty" xml:"play_list>playlist,omitempty"` CurPlayListId string `json:"cur_play_list_id,omitempty" xml:"cur_play_list_id,omitempty"` }Videos []
PlayListNavRbo 结构体
type Playlist ¶
type Playlist struct { // 播单名称 PlayListName string `json:"play_list_name,omitempty" xml:"play_list_name,omitempty"` // 背景图 BgPic string `json:"bg_pic,omitempty" xml:"bg_pic,omitempty"` // icon图标 IconPic string `json:"icon_pic,omitempty" xml:"icon_pic,omitempty"` // 播单ID PlayListId int64 `json:"play_list_id,omitempty" xml:"play_list_id,omitempty"` // 是否开启视频推荐功能:1开启0关闭(null或无字段均关闭) HasRecommend int64 `json:"has_recommend,omitempty" xml:"has_recommend,omitempty"` }
Playlist 结构体
type TaobaoTaotvCarouselCategoryListAPIRequest ¶ added in v1.2.0
type TaobaoTaotvCarouselCategoryListAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTaotvCarouselCategoryListAPIRequest 获取轮播分类列表 API请求 taobao.taotv.carousel.category.list
获取轮播分类列表
func NewTaobaoTaotvCarouselCategoryListRequest ¶
func NewTaobaoTaotvCarouselCategoryListRequest() *TaobaoTaotvCarouselCategoryListAPIRequest
NewTaobaoTaotvCarouselCategoryListRequest 初始化TaobaoTaotvCarouselCategoryListAPIRequest对象
func (TaobaoTaotvCarouselCategoryListAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTaotvCarouselCategoryListAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTaotvCarouselCategoryListAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTaotvCarouselCategoryListAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTaotvCarouselCategoryListAPIRequest) GetSystemInfo ¶ added in v1.2.0
func (r TaobaoTaotvCarouselCategoryListAPIRequest) GetSystemInfo() string
GetSystemInfo SystemInfo Getter
func (*TaobaoTaotvCarouselCategoryListAPIRequest) SetSystemInfo ¶ added in v1.2.0
func (r *TaobaoTaotvCarouselCategoryListAPIRequest) SetSystemInfo(_systemInfo string) error
SetSystemInfo is SystemInfo Setter 设备信息
type TaobaoTaotvCarouselCategoryListAPIResponse ¶
type TaobaoTaotvCarouselCategoryListAPIResponse struct { model.CommonResponse TaobaoTaotvCarouselCategoryListAPIResponseModel }
TaobaoTaotvCarouselCategoryListAPIResponse 获取轮播分类列表 API返回值 taobao.taotv.carousel.category.list
获取轮播分类列表
type TaobaoTaotvCarouselCategoryListAPIResponseModel ¶ added in v1.2.0
type TaobaoTaotvCarouselCategoryListAPIResponseModel struct { XMLName xml.Name `xml:"taotv_carousel_category_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTaotvCarouselCategoryListResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTaotvCarouselCategoryListAPIResponseModel is 获取轮播分类列表 成功返回结果
type TaobaoTaotvCarouselCategoryListModel ¶
type TaobaoTaotvCarouselCategoryListModel struct { // 分类频道列表 ChannelList []Channels `json:"channel_list,omitempty" xml:"channel_list>channels,omitempty"` // 分类图片 Pic string `json:"pic,omitempty" xml:"pic,omitempty"` // 分类名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 分类排序 Sort int64 `json:"sort,omitempty" xml:"sort,omitempty"` // 分类牌照方 Bcp int64 `json:"bcp,omitempty" xml:"bcp,omitempty"` // 分类ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
TaobaoTaotvCarouselCategoryListModel 结构体
type TaobaoTaotvCarouselCategoryListResult ¶
type TaobaoTaotvCarouselCategoryListResult struct { // 数据列表 ModelList []TaobaoTaotvCarouselCategoryListModel `json:"model_list,omitempty" xml:"model_list>taobao_taotv_carousel_category_list_model,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // httpStatusCode HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTaotvCarouselCategoryListResult 结构体
type TaobaoTaotvCarouselChannelAllAPIRequest ¶ added in v1.2.0
type TaobaoTaotvCarouselChannelAllAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTaotvCarouselChannelAllAPIRequest 获取所有频道列表 API请求 taobao.taotv.carousel.channel.all
获取所有频道列表,按照序号升序
func NewTaobaoTaotvCarouselChannelAllRequest ¶
func NewTaobaoTaotvCarouselChannelAllRequest() *TaobaoTaotvCarouselChannelAllAPIRequest
NewTaobaoTaotvCarouselChannelAllRequest 初始化TaobaoTaotvCarouselChannelAllAPIRequest对象
func (TaobaoTaotvCarouselChannelAllAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTaotvCarouselChannelAllAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTaotvCarouselChannelAllAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTaotvCarouselChannelAllAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTaotvCarouselChannelAllAPIRequest) GetSystemInfo ¶ added in v1.2.0
func (r TaobaoTaotvCarouselChannelAllAPIRequest) GetSystemInfo() string
GetSystemInfo SystemInfo Getter
func (*TaobaoTaotvCarouselChannelAllAPIRequest) SetSystemInfo ¶ added in v1.2.0
func (r *TaobaoTaotvCarouselChannelAllAPIRequest) SetSystemInfo(_systemInfo string) error
SetSystemInfo is SystemInfo Setter 系统信息
type TaobaoTaotvCarouselChannelAllAPIResponse ¶
type TaobaoTaotvCarouselChannelAllAPIResponse struct { model.CommonResponse TaobaoTaotvCarouselChannelAllAPIResponseModel }
TaobaoTaotvCarouselChannelAllAPIResponse 获取所有频道列表 API返回值 taobao.taotv.carousel.channel.all
获取所有频道列表,按照序号升序
type TaobaoTaotvCarouselChannelAllAPIResponseModel ¶ added in v1.2.0
type TaobaoTaotvCarouselChannelAllAPIResponseModel struct { XMLName xml.Name `xml:"taotv_carousel_channel_all_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTaotvCarouselChannelAllResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTaotvCarouselChannelAllAPIResponseModel is 获取所有频道列表 成功返回结果
type TaobaoTaotvCarouselChannelAllModel ¶
type TaobaoTaotvCarouselChannelAllModel struct { // 频道所有的视频列表 VideoList []Videolist `json:"video_list,omitempty" xml:"video_list>videolist,omitempty"` // 频道描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // 频道图标 Pic string `json:"pic,omitempty" xml:"pic,omitempty"` // 频道名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 频道固定的编号 SerialNumber int64 `json:"serial_number,omitempty" xml:"serial_number,omitempty"` // 频道当前播放视频 CurrentVideo *CarouselCurrentPlayRbo `json:"current_video,omitempty" xml:"current_video,omitempty"` // 牌照方 Bcp int64 `json:"bcp,omitempty" xml:"bcp,omitempty"` // 频道ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 切换时间点 SwitchTime int64 `json:"switch_time,omitempty" xml:"switch_time,omitempty"` }
TaobaoTaotvCarouselChannelAllModel 结构体
type TaobaoTaotvCarouselChannelAllResult ¶
type TaobaoTaotvCarouselChannelAllResult struct { // 频道列表 ModelList []TaobaoTaotvCarouselChannelAllModel `json:"model_list,omitempty" xml:"model_list>taobao_taotv_carousel_channel_all_model,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // httpStatusCode HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTaotvCarouselChannelAllResult 结构体
type TaobaoTaotvCarouselPlaylistGetAPIRequest ¶ added in v1.2.0
type TaobaoTaotvCarouselPlaylistGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTaotvCarouselPlaylistGetAPIRequest 根据频道ID获取频道下节目单以及当前播放 API请求 taobao.taotv.carousel.playlist.get
根据频道ID获取频道下节目单以及当前播放,包括所有视频源的视频
func NewTaobaoTaotvCarouselPlaylistGetRequest ¶
func NewTaobaoTaotvCarouselPlaylistGetRequest() *TaobaoTaotvCarouselPlaylistGetAPIRequest
NewTaobaoTaotvCarouselPlaylistGetRequest 初始化TaobaoTaotvCarouselPlaylistGetAPIRequest对象
func (TaobaoTaotvCarouselPlaylistGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTaotvCarouselPlaylistGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTaotvCarouselPlaylistGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTaotvCarouselPlaylistGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTaotvCarouselPlaylistGetAPIRequest) GetChannelId ¶ added in v1.2.0
func (r TaobaoTaotvCarouselPlaylistGetAPIRequest) GetChannelId() int64
GetChannelId ChannelId Getter
func (TaobaoTaotvCarouselPlaylistGetAPIRequest) GetSystemInfo ¶ added in v1.2.0
func (r TaobaoTaotvCarouselPlaylistGetAPIRequest) GetSystemInfo() string
GetSystemInfo SystemInfo Getter
func (*TaobaoTaotvCarouselPlaylistGetAPIRequest) SetChannelId ¶ added in v1.2.0
func (r *TaobaoTaotvCarouselPlaylistGetAPIRequest) SetChannelId(_channelId int64) error
SetChannelId is ChannelId Setter 频道ID
func (*TaobaoTaotvCarouselPlaylistGetAPIRequest) SetSystemInfo ¶ added in v1.2.0
func (r *TaobaoTaotvCarouselPlaylistGetAPIRequest) SetSystemInfo(_systemInfo string) error
SetSystemInfo is SystemInfo Setter 设备信息
type TaobaoTaotvCarouselPlaylistGetAPIResponse ¶
type TaobaoTaotvCarouselPlaylistGetAPIResponse struct { model.CommonResponse TaobaoTaotvCarouselPlaylistGetAPIResponseModel }
TaobaoTaotvCarouselPlaylistGetAPIResponse 根据频道ID获取频道下节目单以及当前播放 API返回值 taobao.taotv.carousel.playlist.get
根据频道ID获取频道下节目单以及当前播放,包括所有视频源的视频
type TaobaoTaotvCarouselPlaylistGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTaotvCarouselPlaylistGetAPIResponseModel struct { XMLName xml.Name `xml:"taotv_carousel_playlist_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTaotvCarouselPlaylistGetResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTaotvCarouselPlaylistGetAPIResponseModel is 根据频道ID获取频道下节目单以及当前播放 成功返回结果
type TaobaoTaotvCarouselPlaylistGetResult ¶
type TaobaoTaotvCarouselPlaylistGetResult struct { // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // 返回数据 Model *CarouselChannelRbo `json:"model,omitempty" xml:"model,omitempty"` // httpStatusCode HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTaotvCarouselPlaylistGetResult 结构体
type TaobaoTaotvVideoPlaylistAllAPIRequest ¶ added in v1.2.0
type TaobaoTaotvVideoPlaylistAllAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTaotvVideoPlaylistAllAPIRequest 获取播单列表 API请求 taobao.taotv.video.playlist.all
根据牌照和视频源等获取播单列表
func NewTaobaoTaotvVideoPlaylistAllRequest ¶
func NewTaobaoTaotvVideoPlaylistAllRequest() *TaobaoTaotvVideoPlaylistAllAPIRequest
NewTaobaoTaotvVideoPlaylistAllRequest 初始化TaobaoTaotvVideoPlaylistAllAPIRequest对象
func (TaobaoTaotvVideoPlaylistAllAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistAllAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTaotvVideoPlaylistAllAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistAllAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTaotvVideoPlaylistAllAPIRequest) GetSystemInfo ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistAllAPIRequest) GetSystemInfo() string
GetSystemInfo SystemInfo Getter
func (*TaobaoTaotvVideoPlaylistAllAPIRequest) SetSystemInfo ¶ added in v1.2.0
func (r *TaobaoTaotvVideoPlaylistAllAPIRequest) SetSystemInfo(_systemInfo string) error
SetSystemInfo is SystemInfo Setter 系统信息
type TaobaoTaotvVideoPlaylistAllAPIResponse ¶
type TaobaoTaotvVideoPlaylistAllAPIResponse struct { model.CommonResponse TaobaoTaotvVideoPlaylistAllAPIResponseModel }
TaobaoTaotvVideoPlaylistAllAPIResponse 获取播单列表 API返回值 taobao.taotv.video.playlist.all
根据牌照和视频源等获取播单列表
type TaobaoTaotvVideoPlaylistAllAPIResponseModel ¶ added in v1.2.0
type TaobaoTaotvVideoPlaylistAllAPIResponseModel struct { XMLName xml.Name `xml:"taotv_video_playlist_all_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTaotvVideoPlaylistAllResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTaotvVideoPlaylistAllAPIResponseModel is 获取播单列表 成功返回结果
type TaobaoTaotvVideoPlaylistAllModel ¶
type TaobaoTaotvVideoPlaylistAllModel struct { // playListName PlayListName string `json:"play_list_name,omitempty" xml:"play_list_name,omitempty"` // bgPic BgPic string `json:"bg_pic,omitempty" xml:"bg_pic,omitempty"` // modifyTime ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"` // createTime CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // playListId PlayListId int64 `json:"play_list_id,omitempty" xml:"play_list_id,omitempty"` }
TaobaoTaotvVideoPlaylistAllModel 结构体
type TaobaoTaotvVideoPlaylistAllResult ¶
type TaobaoTaotvVideoPlaylistAllResult struct { // model ModelList []TaobaoTaotvVideoPlaylistAllModel `json:"model_list,omitempty" xml:"model_list>taobao_taotv_video_playlist_all_model,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // httpStatusCode HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTaotvVideoPlaylistAllResult 结构体
type TaobaoTaotvVideoPlaylistGetAPIRequest ¶ added in v1.2.0
type TaobaoTaotvVideoPlaylistGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTaotvVideoPlaylistGetAPIRequest 根据频道ID获取频道下节目单以及当前播放 API请求 taobao.taotv.video.playlist.get
根据频道ID获取频道下节目单以及当前播放
func NewTaobaoTaotvVideoPlaylistGetRequest ¶
func NewTaobaoTaotvVideoPlaylistGetRequest() *TaobaoTaotvVideoPlaylistGetAPIRequest
NewTaobaoTaotvVideoPlaylistGetRequest 初始化TaobaoTaotvVideoPlaylistGetAPIRequest对象
func (TaobaoTaotvVideoPlaylistGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTaotvVideoPlaylistGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTaotvVideoPlaylistGetAPIRequest) GetPlayListId ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistGetAPIRequest) GetPlayListId() int64
GetPlayListId PlayListId Getter
func (TaobaoTaotvVideoPlaylistGetAPIRequest) GetSystemInfo ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistGetAPIRequest) GetSystemInfo() string
GetSystemInfo SystemInfo Getter
func (*TaobaoTaotvVideoPlaylistGetAPIRequest) SetPlayListId ¶ added in v1.2.0
func (r *TaobaoTaotvVideoPlaylistGetAPIRequest) SetPlayListId(_playListId int64) error
SetPlayListId is PlayListId Setter 播单id
func (*TaobaoTaotvVideoPlaylistGetAPIRequest) SetSystemInfo ¶ added in v1.2.0
func (r *TaobaoTaotvVideoPlaylistGetAPIRequest) SetSystemInfo(_systemInfo string) error
SetSystemInfo is SystemInfo Setter 系统信息
type TaobaoTaotvVideoPlaylistGetAPIResponse ¶
type TaobaoTaotvVideoPlaylistGetAPIResponse struct { model.CommonResponse TaobaoTaotvVideoPlaylistGetAPIResponseModel }
TaobaoTaotvVideoPlaylistGetAPIResponse 根据频道ID获取频道下节目单以及当前播放 API返回值 taobao.taotv.video.playlist.get
根据频道ID获取频道下节目单以及当前播放
type TaobaoTaotvVideoPlaylistGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTaotvVideoPlaylistGetAPIResponseModel struct { XMLName xml.Name `xml:"taotv_video_playlist_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTaotvVideoPlaylistGetResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTaotvVideoPlaylistGetAPIResponseModel is 根据频道ID获取频道下节目单以及当前播放 成功返回结果
type TaobaoTaotvVideoPlaylistGetModel ¶
type TaobaoTaotvVideoPlaylistGetModel struct { // 视频图片 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 视频ID VideoId string `json:"video_id,omitempty" xml:"video_id,omitempty"` // 视频标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 时长,单位秒 Seconds string `json:"seconds,omitempty" xml:"seconds,omitempty"` // ott测更新时间 OttUpdateTime string `json:"ott_update_time,omitempty" xml:"ott_update_time,omitempty"` // 视频来源 From int64 `json:"from,omitempty" xml:"from,omitempty"` // id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
TaobaoTaotvVideoPlaylistGetModel 结构体
type TaobaoTaotvVideoPlaylistGetResult ¶
type TaobaoTaotvVideoPlaylistGetResult struct { // 数据列表 ModelList []TaobaoTaotvVideoPlaylistGetModel `json:"model_list,omitempty" xml:"model_list>taobao_taotv_video_playlist_get_model,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // httpStatusCode HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTaotvVideoPlaylistGetResult 结构体
type TaobaoTaotvVideoPlaylistOttnavGetAPIRequest ¶ added in v1.2.0
type TaobaoTaotvVideoPlaylistOttnavGetAPIRequest struct { // contains filtered or unexported fields }
TaobaoTaotvVideoPlaylistOttnavGetAPIRequest ott播单 API请求 taobao.taotv.video.playlist.ottnav.get
根据聚焦播单ID拿到下面播单视频,根据左侧播单ID列表批量拿到播单信息
func NewTaobaoTaotvVideoPlaylistOttnavGetRequest ¶
func NewTaobaoTaotvVideoPlaylistOttnavGetRequest() *TaobaoTaotvVideoPlaylistOttnavGetAPIRequest
NewTaobaoTaotvVideoPlaylistOttnavGetRequest 初始化TaobaoTaotvVideoPlaylistOttnavGetAPIRequest对象
func (TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetPlayListId ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetPlayListId() int64
GetPlayListId PlayListId Getter
func (TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetPlayListNav ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetPlayListNav() []string
GetPlayListNav PlayListNav Getter
func (TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetSystemInfo ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) GetSystemInfo() string
GetSystemInfo SystemInfo Getter
func (*TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetPlayListId ¶ added in v1.2.0
func (r *TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetPlayListId(_playListId int64) error
SetPlayListId is PlayListId Setter 播单id
func (*TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetPlayListNav ¶ added in v1.2.0
func (r *TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetPlayListNav(_playListNav []string) error
SetPlayListNav is PlayListNav Setter 播单列表
func (*TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetSystemInfo ¶ added in v1.2.0
func (r *TaobaoTaotvVideoPlaylistOttnavGetAPIRequest) SetSystemInfo(_systemInfo string) error
SetSystemInfo is SystemInfo Setter 系统信息
type TaobaoTaotvVideoPlaylistOttnavGetAPIResponse ¶
type TaobaoTaotvVideoPlaylistOttnavGetAPIResponse struct {}
TaobaoTaotvVideoPlaylistOttnavGetAPIResponse ott播单 API返回值 taobao.taotv.video.playlist.ottnav.get
根据聚焦播单ID拿到下面播单视频,根据左侧播单ID列表批量拿到播单信息
type TaobaoTaotvVideoPlaylistOttnavGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTaotvVideoPlaylistOttnavGetAPIResponseModel struct { string `json:"request_id,omitempty" xml:"request_id,omitempty"` Result *TaobaoTaotvVideoPlaylistOttnavGetResult `json:"result,omitempty" xml:"result,omitempty"` }RequestId
TaobaoTaotvVideoPlaylistOttnavGetAPIResponseModel is ott播单 成功返回结果
type TaobaoTaotvVideoPlaylistOttnavGetResult ¶
type TaobaoTaotvVideoPlaylistOttnavGetResult struct { string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` Model *PlayListNavRbo `json:"model,omitempty" xml:"model,omitempty"` HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` Success bool `json:"success,omitempty" xml:"success,omitempty"` }MsgCode
TaobaoTaotvVideoPlaylistOttnavGetResult 结构体
type TaobaoTaotvVideoPlaylistPageAPIRequest ¶ added in v1.2.0
type TaobaoTaotvVideoPlaylistPageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTaotvVideoPlaylistPageAPIRequest 分页获取所有播单 API请求 taobao.taotv.video.playlist.page
获取所有播单信息(分页)
func NewTaobaoTaotvVideoPlaylistPageRequest ¶
func NewTaobaoTaotvVideoPlaylistPageRequest() *TaobaoTaotvVideoPlaylistPageAPIRequest
NewTaobaoTaotvVideoPlaylistPageRequest 初始化TaobaoTaotvVideoPlaylistPageAPIRequest对象
func (TaobaoTaotvVideoPlaylistPageAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistPageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTaotvVideoPlaylistPageAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistPageAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTaotvVideoPlaylistPageAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistPageAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTaotvVideoPlaylistPageAPIRequest) GetSystemInfo ¶ added in v1.2.0
func (r TaobaoTaotvVideoPlaylistPageAPIRequest) GetSystemInfo() string
GetSystemInfo SystemInfo Getter
func (*TaobaoTaotvVideoPlaylistPageAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTaotvVideoPlaylistPageAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 当前页(从1开始)
func (*TaobaoTaotvVideoPlaylistPageAPIRequest) SetSystemInfo ¶ added in v1.2.0
func (r *TaobaoTaotvVideoPlaylistPageAPIRequest) SetSystemInfo(_systemInfo string) error
SetSystemInfo is SystemInfo Setter 客户端信息
type TaobaoTaotvVideoPlaylistPageAPIResponse ¶
type TaobaoTaotvVideoPlaylistPageAPIResponse struct { model.CommonResponse TaobaoTaotvVideoPlaylistPageAPIResponseModel }
TaobaoTaotvVideoPlaylistPageAPIResponse 分页获取所有播单 API返回值 taobao.taotv.video.playlist.page
获取所有播单信息(分页)
type TaobaoTaotvVideoPlaylistPageAPIResponseModel ¶ added in v1.2.0
type TaobaoTaotvVideoPlaylistPageAPIResponseModel struct { XMLName xml.Name `xml:"taotv_video_playlist_page_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoTaotvVideoPlaylistPageResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTaotvVideoPlaylistPageAPIResponseModel is 分页获取所有播单 成功返回结果
type TaobaoTaotvVideoPlaylistPageData ¶
type TaobaoTaotvVideoPlaylistPageData struct { // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 创建时间 ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"` // 图片 BgPic string `json:"bg_pic,omitempty" xml:"bg_pic,omitempty"` // 播单名称 PlayListName string `json:"play_list_name,omitempty" xml:"play_list_name,omitempty"` // 播单id PlayListId int64 `json:"play_list_id,omitempty" xml:"play_list_id,omitempty"` }
TaobaoTaotvVideoPlaylistPageData 结构体
type TaobaoTaotvVideoPlaylistPageModel ¶
type TaobaoTaotvVideoPlaylistPageModel struct { // 播单对象 DataList []TaobaoTaotvVideoPlaylistPageData `json:"data_list,omitempty" xml:"data_list>taobao_taotv_video_playlist_page_data,omitempty"` // 当前页 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 此接口默认每次获取100条 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 播单总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 总共页数 TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"` }
TaobaoTaotvVideoPlaylistPageModel 结构体
type TaobaoTaotvVideoPlaylistPageResult ¶
type TaobaoTaotvVideoPlaylistPageResult struct { // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 状态码 HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // 播单信息分页信息 Model *TaobaoTaotvVideoPlaylistPageModel `json:"model,omitempty" xml:"model,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTaotvVideoPlaylistPageResult 结构体
type V5BaseItemRbo ¶
type V5BaseItemRbo struct { // 坑位标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 坑位子标题 Subtitle string `json:"subtitle,omitempty" xml:"subtitle,omitempty"` // 中间图片 CenterPic string `json:"center_pic,omitempty" xml:"center_pic,omitempty"` // 背景图片 BgPic string `json:"bg_pic,omitempty" xml:"bg_pic,omitempty"` // 背景动图(高配) BgPicGif string `json:"bg_pic_gif,omitempty" xml:"bg_pic_gif,omitempty"` // 跳转行为 BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 扩展字段 Extra string `json:"extra,omitempty" xml:"extra,omitempty"` // 未解析的扩展字段 ExtraStr string `json:"extra_str,omitempty" xml:"extra_str,omitempty"` // 坑位类型 ItemType string `json:"item_type,omitempty" xml:"item_type,omitempty"` // 评分 Score string `json:"score,omitempty" xml:"score,omitempty"` // 推荐理由 RecommendReason string `json:"recommend_reason,omitempty" xml:"recommend_reason,omitempty"` // 坑位ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 推荐主题ID RecommendRuleId int64 `json:"recommend_rule_id,omitempty" xml:"recommend_rule_id,omitempty"` }
V5BaseItemRbo 结构体
type Videolist ¶
type Videolist struct { // 视频ID信息 VideoId string `json:"video_id,omitempty" xml:"video_id,omitempty"` // 视频名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 视频图片 Pic string `json:"pic,omitempty" xml:"pic,omitempty"` // 视频的来源类型,来源这个视频所在节目单的视频来源类型 VideoExtType int64 `json:"video_ext_type,omitempty" xml:"video_ext_type,omitempty"` // 当前视频的播单ID PlayListId int64 `json:"play_list_id,omitempty" xml:"play_list_id,omitempty"` // 当前视频的节目ID ProgramId int64 `json:"program_id,omitempty" xml:"program_id,omitempty"` // 当前视频的排序 Sort int64 `json:"sort,omitempty" xml:"sort,omitempty"` // 视频时长(单位秒) Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"` // 主键ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
Videolist 结构体
type Videos ¶
type Videos struct { // 视频标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 视频ID VideoId string `json:"video_id,omitempty" xml:"video_id,omitempty"` // 视频图片 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 视频来源 From string `json:"from,omitempty" xml:"from,omitempty"` // id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
Videos 结构体
type YoukuTvDesktopToyouRecommendAPIRequest ¶ added in v1.2.0
type YoukuTvDesktopToyouRecommendAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuTvDesktopToyouRecommendAPIRequest TV桌面为你推荐接口 API请求 youku.tv.desktop.toyou.recommend
提供为你推荐数据
func NewYoukuTvDesktopToyouRecommendRequest ¶
func NewYoukuTvDesktopToyouRecommendRequest() *YoukuTvDesktopToyouRecommendAPIRequest
NewYoukuTvDesktopToyouRecommendRequest 初始化YoukuTvDesktopToyouRecommendAPIRequest对象
func (YoukuTvDesktopToyouRecommendAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuTvDesktopToyouRecommendAPIRequest) GetApiParams ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuTvDesktopToyouRecommendAPIRequest) GetBcp ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetBcp() string
GetBcp Bcp Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetChargeType ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetChargeType() string
GetChargeType ChargeType Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetDeviceMedia ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetDeviceMedia() string
GetDeviceMedia DeviceMedia Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetDeviceModel ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetDeviceModel() string
GetDeviceModel DeviceModel Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetFrom ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetFrom() string
GetFrom From Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetIp ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetIp() string
GetIp Ip Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetMac ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetMac() string
GetMac Mac Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetMaxSize ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetMaxSize() int64
GetMaxSize MaxSize Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetSw ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetSw() string
GetSw Sw Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetToken ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetToken() string
GetToken Token Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetUuid ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetUuid() string
GetUuid Uuid Getter
func (YoukuTvDesktopToyouRecommendAPIRequest) GetVersionCode ¶ added in v1.2.0
func (r YoukuTvDesktopToyouRecommendAPIRequest) GetVersionCode() int64
GetVersionCode VersionCode Getter
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetBcp ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetBcp(_bcp string) error
SetBcp is Bcp Setter 播控方,1:华数 7:CIBN
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetChargeType ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetChargeType(_chargeType string) error
SetChargeType is ChargeType Setter 支持收费方式,0-免费 1-限免 2-单点 3-包月 4-红包 5-单包,多项用“,”隔开
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetDeviceMedia ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetDeviceMedia(_deviceMedia string) error
SetDeviceMedia is DeviceMedia Setter 支持媒体类型,dts,drm,dolby,h265
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetDeviceModel ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetDeviceModel(_deviceModel string) error
SetDeviceModel is DeviceModel Setter 终端设备型号
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetFrom ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetFrom(_from string) error
SetFrom is From Setter 影视来源,0-淘tv 7-优酷免费 9-优酷付费 多项用“,”隔开
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetIp ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter 请求IP
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetMac ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetMac(_mac string) error
SetMac is Mac Setter 终端设备mac
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetMaxSize ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetMaxSize(_maxSize int64) error
SetMaxSize is MaxSize Setter 获取的最大节目数
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetSw ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetSw(_sw string) error
SetSw is Sw Setter 分辨率,sw720 sw1080
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetToken ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetToken(_token string) error
SetToken is Token Setter 用户登陆token
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetUuid ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetUuid(_uuid string) error
SetUuid is Uuid Setter 终端设备uuid
func (*YoukuTvDesktopToyouRecommendAPIRequest) SetVersionCode ¶ added in v1.2.0
func (r *YoukuTvDesktopToyouRecommendAPIRequest) SetVersionCode(_versionCode int64) error
SetVersionCode is VersionCode Setter 桌面版本号
type YoukuTvDesktopToyouRecommendAPIResponse ¶
type YoukuTvDesktopToyouRecommendAPIResponse struct { model.CommonResponse YoukuTvDesktopToyouRecommendAPIResponseModel }
YoukuTvDesktopToyouRecommendAPIResponse TV桌面为你推荐接口 API返回值 youku.tv.desktop.toyou.recommend
提供为你推荐数据
type YoukuTvDesktopToyouRecommendAPIResponseModel ¶ added in v1.2.0
type YoukuTvDesktopToyouRecommendAPIResponseModel struct { XMLName xml.Name `xml:"youku_tv_desktop_toyou_recommend_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 响应的结果列表 Results []V5BaseItemRbo `json:"results,omitempty" xml:"results>v5base_item_rbo,omitempty"` }
YoukuTvDesktopToyouRecommendAPIResponseModel is TV桌面为你推荐接口 成功返回结果
Source Files ¶
- CarouselChannelRbo.go
- CarouselCurrentPlayRbo.go
- CarouselPlaylistVideoRbo.go
- Channels.go
- PlayListNavRbo.go
- Playlist.go
- TaobaoTaotvCarouselCategoryListAPIRequest.go
- TaobaoTaotvCarouselCategoryListAPIResponse.go
- TaobaoTaotvCarouselCategoryListModel.go
- TaobaoTaotvCarouselCategoryListResult.go
- TaobaoTaotvCarouselChannelAllAPIRequest.go
- TaobaoTaotvCarouselChannelAllAPIResponse.go
- TaobaoTaotvCarouselChannelAllModel.go
- TaobaoTaotvCarouselChannelAllResult.go
- TaobaoTaotvCarouselPlaylistGetAPIRequest.go
- TaobaoTaotvCarouselPlaylistGetAPIResponse.go
- TaobaoTaotvCarouselPlaylistGetResult.go
- TaobaoTaotvVideoPlaylistAllAPIRequest.go
- TaobaoTaotvVideoPlaylistAllAPIResponse.go
- TaobaoTaotvVideoPlaylistAllModel.go
- TaobaoTaotvVideoPlaylistAllResult.go
- TaobaoTaotvVideoPlaylistGetAPIRequest.go
- TaobaoTaotvVideoPlaylistGetAPIResponse.go
- TaobaoTaotvVideoPlaylistGetModel.go
- TaobaoTaotvVideoPlaylistGetResult.go
- TaobaoTaotvVideoPlaylistOttnavGetAPIRequest.go
- TaobaoTaotvVideoPlaylistOttnavGetAPIResponse.go
- TaobaoTaotvVideoPlaylistOttnavGetResult.go
- TaobaoTaotvVideoPlaylistPageAPIRequest.go
- TaobaoTaotvVideoPlaylistPageAPIResponse.go
- TaobaoTaotvVideoPlaylistPageData.go
- TaobaoTaotvVideoPlaylistPageModel.go
- TaobaoTaotvVideoPlaylistPageResult.go
- V5BaseItemRbo.go
- Videolist.go
- Videos.go
- YoukuTvDesktopToyouRecommendAPIRequest.go
- YoukuTvDesktopToyouRecommendAPIResponse.go
- doc.go