Documentation
¶
Overview ¶
Package ott 包含桌面API相关结构体
Index ¶
- type AvailableLanguageDto
- type AvailableSubtitleDto
- type AwardSandFestivalDto
- type CertificationDto
- type ChannelDto
- type Entrylist
- type HttpDns
- type ImageDto
- type ItemDto
- type ItemEntryDo
- type Itemlist
- type Items
- type LauncherDo
- type MemberDto
- type MetaChartDo
- type Notebtns
- type PicCornerDo
- type PlayUrlV2vo
- type PropertyDo
- type RatingDto
- type SourceInfo
- type VersionDo
- type ViewingOptionDto
- type YoukuottalicbfacadeservicegetdataAPIRequest
- func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetApiMethodName() string
- func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetExtraInfoMap() string
- func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetPropertyMapJson() string
- func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetRawParams() model.Params
- func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetServiceList() []string
- func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetUuid() string
- func (r *YoukuottalicbfacadeservicegetdataAPIRequest) SetExtraInfoMap(_extraInfoMap string) error
- func (r *YoukuottalicbfacadeservicegetdataAPIRequest) SetPropertyMapJson(_propertyMapJson string) error
- func (r *YoukuottalicbfacadeservicegetdataAPIRequest) SetServiceList(_serviceList []string) error
- func (r *YoukuottalicbfacadeservicegetdataAPIRequest) SetUuid(_uuid string) error
- type YoukuottalicbfacadeservicegetdataAPIResponse
- type YoukuottalicbfacadeservicegetdataAPIResponseModel
- type YoukuottplayservicegetplayurlAPIRequest
- func (r YoukuottplayservicegetplayurlAPIRequest) GetApiMethodName() string
- func (r YoukuottplayservicegetplayurlAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottplayservicegetplayurlAPIRequest) GetHavanaToken() string
- func (r YoukuottplayservicegetplayurlAPIRequest) GetRawParams() model.Params
- func (r YoukuottplayservicegetplayurlAPIRequest) GetSystemInfo() string
- func (r YoukuottplayservicegetplayurlAPIRequest) GetVideoId() int64
- func (r YoukuottplayservicegetplayurlAPIRequest) GetYktk() string
- func (r *YoukuottplayservicegetplayurlAPIRequest) SetHavanaToken(_havanaToken string) error
- func (r *YoukuottplayservicegetplayurlAPIRequest) SetSystemInfo(_systemInfo string) error
- func (r *YoukuottplayservicegetplayurlAPIRequest) SetVideoId(_videoId int64) error
- func (r *YoukuottplayservicegetplayurlAPIRequest) SetYktk(_yktk string) error
- type YoukuottplayservicegetplayurlAPIResponse
- type YoukuottplayservicegetplayurlAPIResponseModel
- type YunostvscreenlaunchergetAPIRequest
- func (r YunostvscreenlaunchergetAPIRequest) GetApiMethodName() string
- func (r YunostvscreenlaunchergetAPIRequest) GetApiParams(params url.Values)
- func (r YunostvscreenlaunchergetAPIRequest) GetIp() string
- func (r YunostvscreenlaunchergetAPIRequest) GetProperty() string
- func (r YunostvscreenlaunchergetAPIRequest) GetRawParams() model.Params
- func (r *YunostvscreenlaunchergetAPIRequest) SetIp(_ip string) error
- func (r *YunostvscreenlaunchergetAPIRequest) SetProperty(_property string) error
- type YunostvscreenlaunchergetAPIResponse
- type YunostvscreenlaunchergetAPIResponseModel
- type YunostvscreenlgelaunchergetAPIRequest
- func (r YunostvscreenlgelaunchergetAPIRequest) GetApiMethodName() string
- func (r YunostvscreenlgelaunchergetAPIRequest) GetApiParams(params url.Values)
- func (r YunostvscreenlgelaunchergetAPIRequest) GetIp() string
- func (r YunostvscreenlgelaunchergetAPIRequest) GetProperty() string
- func (r YunostvscreenlgelaunchergetAPIRequest) GetRawParams() model.Params
- func (r *YunostvscreenlgelaunchergetAPIRequest) SetIp(_ip string) error
- func (r *YunostvscreenlgelaunchergetAPIRequest) SetProperty(_property string) error
- type YunostvscreenlgelaunchergetAPIResponse
- type YunostvscreenlgelaunchergetAPIResponseModel
- type YunostvscreenlgelaunchergetResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailableLanguageDto ¶ added in v1.2.8
type AvailableLanguageDto struct { // availableLanguage AvailableLanguage string `json:"available_language,omitempty" xml:"available_language,omitempty"` }
AvailableLanguageDto 结构体
type AvailableSubtitleDto ¶ added in v1.2.8
type AvailableSubtitleDto struct { // availableSubtitle AvailableSubtitle string `json:"available_subtitle,omitempty" xml:"available_subtitle,omitempty"` }
AvailableSubtitleDto 结构体
type AwardSandFestivalDto ¶ added in v1.2.8
type AwardSandFestivalDto struct { // awardSandFestival AwardSandFestival string `json:"award_sand_festival,omitempty" xml:"award_sand_festival,omitempty"` }
AwardSandFestivalDto 结构体
type CertificationDto ¶ added in v1.2.8
type CertificationDto struct { // code Code string `json:"code,omitempty" xml:"code,omitempty"` // value Value string `json:"value,omitempty" xml:"value,omitempty"` }
CertificationDto 结构体
type ChannelDto ¶ added in v1.2.8
type ChannelDto struct { // itemList ItemList []ItemDto `json:"item_list,omitempty" xml:"item_list>item_dto,omitempty"` // Description of Content Provider Description string `json:"description,omitempty" xml:"description,omitempty"` // Homepage URL of Content Provider Link string `json:"link,omitempty" xml:"link,omitempty"` // Last time the entry was modified PubDate string `json:"pub_date,omitempty" xml:"pub_date,omitempty"` // skip days for the channel SkipDays string `json:"skip_days,omitempty" xml:"skip_days,omitempty"` // skip hours for the channel SkipHours string `json:"skip_hours,omitempty" xml:"skip_hours,omitempty"` // Name of Content Provider Title string `json:"title,omitempty" xml:"title,omitempty"` }
ChannelDto 结构体
type Entrylist ¶
type Entrylist struct { // 入口名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 入口图标 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 跳转行为 Action string `json:"action,omitempty" xml:"action,omitempty"` // 行为扩展 Extra string `json:"extra,omitempty" xml:"extra,omitempty"` // 入口ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 排序 Sort int64 `json:"sort,omitempty" xml:"sort,omitempty"` }
Entrylist 结构体
type HttpDns ¶
type HttpDns struct { // method Method string `json:"method,omitempty" xml:"method,omitempty"` // tvHost TvHost string `json:"tv_host,omitempty" xml:"tv_host,omitempty"` // dnsAddress DnsAddress string `json:"dns_address,omitempty" xml:"dns_address,omitempty"` }
HttpDns 结构体
type ImageDto ¶ added in v1.2.8
type ImageDto struct { // imageUrl ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` // type Type string `json:"type,omitempty" xml:"type,omitempty"` }
ImageDto 结构体
type ItemDto ¶ added in v1.2.8
type ItemDto struct { // availablelanguages Availablelanguages []AvailableLanguageDto `json:"availablelanguages,omitempty" xml:"availablelanguages>available_language_dto,omitempty"` // availablesubtitles Availablesubtitles []AvailableSubtitleDto `json:"availablesubtitles,omitempty" xml:"availablesubtitles>available_subtitle_dto,omitempty"` // awardsandfestivals Awardsandfestivals []AwardSandFestivalDto `json:"awardsandfestivals,omitempty" xml:"awardsandfestivals>award_sand_festival_dto,omitempty"` // casts Casts []MemberDto `json:"casts,omitempty" xml:"casts>member_dto,omitempty"` // certifications Certifications []CertificationDto `json:"certifications,omitempty" xml:"certifications>certification_dto,omitempty"` // crews Crews []MemberDto `json:"crews,omitempty" xml:"crews>member_dto,omitempty"` // genres Genres []string `json:"genres,omitempty" xml:"genres>string,omitempty"` // images Images []ImageDto `json:"images,omitempty" xml:"images>image_dto,omitempty"` // ratings Ratings []RatingDto `json:"ratings,omitempty" xml:"ratings>rating_dto,omitempty"` // viewingoptions Viewingoptions []ViewingOptionDto `json:"viewingoptions,omitempty" xml:"viewingoptions>viewing_option_dto,omitempty"` // album Album string `json:"album,omitempty" xml:"album,omitempty"` // artist Artist string `json:"artist,omitempty" xml:"artist,omitempty"` // bitRate BitRate string `json:"bit_rate,omitempty" xml:"bit_rate,omitempty"` // description Description string `json:"description,omitempty" xml:"description,omitempty"` // duration Duration string `json:"duration,omitempty" xml:"duration,omitempty"` // procom Procom string `json:"procom,omitempty" xml:"procom,omitempty"` // programType ProgramType string `json:"program_type,omitempty" xml:"program_type,omitempty"` // resolution Resolution string `json:"resolution,omitempty" xml:"resolution,omitempty"` // seasonId SeasonId string `json:"season_id,omitempty" xml:"season_id,omitempty"` // seriesId SeriesId string `json:"series_id,omitempty" xml:"series_id,omitempty"` // subProgramType SubProgramType string `json:"sub_program_type,omitempty" xml:"sub_program_type,omitempty"` // subTitle SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"` // title Title string `json:"title,omitempty" xml:"title,omitempty"` // titleId TitleId string `json:"title_id,omitempty" xml:"title_id,omitempty"` // trailer Trailer string `json:"trailer,omitempty" xml:"trailer,omitempty"` // year Year string `json:"year,omitempty" xml:"year,omitempty"` // episodeNumber EpisodeNumber int64 `json:"episode_number,omitempty" xml:"episode_number,omitempty"` // seasonNumber SeasonNumber int64 `json:"season_number,omitempty" xml:"season_number,omitempty"` }
ItemDto 结构体
type ItemEntryDo ¶
type ItemEntryDo struct { // 行为扩展 Extra string `json:"extra,omitempty" xml:"extra,omitempty"` // 跳转行为 Action string `json:"action,omitempty" xml:"action,omitempty"` // 入口图标 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 入口名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 排序 Sort int64 `json:"sort,omitempty" xml:"sort,omitempty"` // 入口ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
ItemEntryDo 结构体
type Itemlist ¶
type Itemlist struct { // 爆米花图 PicPops []string `json:"pic_pops,omitempty" xml:"pic_pops>string,omitempty"` // 便签按钮 NoteBtns []Notebtns `json:"note_btns,omitempty" xml:"note_btns>notebtns,omitempty"` // 类目入口 EntryList []Entrylist `json:"entry_list,omitempty" xml:"entry_list>entrylist,omitempty"` // 副标题 SubTitles []string `json:"sub_titles,omitempty" xml:"sub_titles>string,omitempty"` // 待推荐主题 RuleIds []string `json:"rule_ids,omitempty" xml:"rule_ids>string,omitempty"` // 坑位名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 坑位类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 摘要看点 Summary string `json:"summary,omitempty" xml:"summary,omitempty"` // 背景图标 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 动画图标 PicUrl2 string `json:"pic_url2,omitempty" xml:"pic_url2,omitempty"` // 前景图标 PicUrl1 string `json:"pic_url1,omitempty" xml:"pic_url1,omitempty"` // 主标题 MainTitle string `json:"main_title,omitempty" xml:"main_title,omitempty"` // 动画类型 AnimeType string `json:"anime_type,omitempty" xml:"anime_type,omitempty"` // 行为扩展 Extra string `json:"extra,omitempty" xml:"extra,omitempty"` // 跳转行为 Action string `json:"action,omitempty" xml:"action,omitempty"` // picTitle PicTitle string `json:"pic_title,omitempty" xml:"pic_title,omitempty"` // 显示方式 ShowType string `json:"show_type,omitempty" xml:"show_type,omitempty"` // 展示方式 DisplayType string `json:"display_type,omitempty" xml:"display_type,omitempty"` // 坑位校验码 VerifyCode string `json:"verify_code,omitempty" xml:"verify_code,omitempty"` // 背景图标 PicMap string `json:"pic_map,omitempty" xml:"pic_map,omitempty"` // 坑位ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 角标图 PicCorner *PicCornerDo `json:"pic_corner,omitempty" xml:"pic_corner,omitempty"` // 功能入口 Entry *ItemEntryDo `json:"entry,omitempty" xml:"entry,omitempty"` // 排行榜 Chart *MetaChartDo `json:"chart,omitempty" xml:"chart,omitempty"` // 轮播频道ID ChannelId int64 `json:"channel_id,omitempty" xml:"channel_id,omitempty"` // 坑位号 Position int64 `json:"position,omitempty" xml:"position,omitempty"` // 桌面坑位ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 入口风格 EntryStyle int64 `json:"entry_style,omitempty" xml:"entry_style,omitempty"` // 推荐主题 RuleId int64 `json:"rule_id,omitempty" xml:"rule_id,omitempty"` // 推荐场景 RecAppId int64 `json:"rec_app_id,omitempty" xml:"rec_app_id,omitempty"` // 推荐类型,0:运营自主推荐,1:纯个性化推荐,2:主题个性化推荐 RecType int64 `json:"rec_type,omitempty" xml:"rec_type,omitempty"` }
Itemlist 结构体
type Items ¶
type Items struct { // 便签按钮 NoteBtns []Notebtns `json:"note_btns,omitempty" xml:"note_btns>notebtns,omitempty"` // 爆米花图 PicPops []string `json:"pic_pops,omitempty" xml:"pic_pops>string,omitempty"` // 坑位列表 ItemList []Itemlist `json:"item_list,omitempty" xml:"item_list>itemlist,omitempty"` // 类目入口 EntryList []Entrylist `json:"entry_list,omitempty" xml:"entry_list>entrylist,omitempty"` // 副标题 SubTitles []string `json:"sub_titles,omitempty" xml:"sub_titles>string,omitempty"` // 待推荐主题 RuleIds []string `json:"rule_ids,omitempty" xml:"rule_ids>string,omitempty"` // 动画类型 AnimeType string `json:"anime_type,omitempty" xml:"anime_type,omitempty"` // 主标题 MainTitle string `json:"main_title,omitempty" xml:"main_title,omitempty"` // 前景图标 PicUrl1 string `json:"pic_url1,omitempty" xml:"pic_url1,omitempty"` // 动画图标 PicUrl2 string `json:"pic_url2,omitempty" xml:"pic_url2,omitempty"` // 背景图标 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 摘要看点 Summary string `json:"summary,omitempty" xml:"summary,omitempty"` // 坑位类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 坑位名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 坑位校验码 VerifyCode string `json:"verify_code,omitempty" xml:"verify_code,omitempty"` // 展示方式 DisplayType string `json:"display_type,omitempty" xml:"display_type,omitempty"` // 标题图 PicTitle string `json:"pic_title,omitempty" xml:"pic_title,omitempty"` // 行为扩展 Extra string `json:"extra,omitempty" xml:"extra,omitempty"` // 跳转行为 Action string `json:"action,omitempty" xml:"action,omitempty"` // 显示方式 ShowType string `json:"show_type,omitempty" xml:"show_type,omitempty"` // 背景图标 PicMap string `json:"pic_map,omitempty" xml:"pic_map,omitempty"` // 坑位号 Position int64 `json:"position,omitempty" xml:"position,omitempty"` // 角标图 PicCorner *PicCornerDo `json:"pic_corner,omitempty" xml:"pic_corner,omitempty"` // 内容坑位ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 轮询时间 CycleTime int64 `json:"cycle_time,omitempty" xml:"cycle_time,omitempty"` // 桌面坑位ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 功能入口 Entry *ItemEntryDo `json:"entry,omitempty" xml:"entry,omitempty"` // 排行榜 Chart *MetaChartDo `json:"chart,omitempty" xml:"chart,omitempty"` // 轮播频道ID ChannelId int64 `json:"channel_id,omitempty" xml:"channel_id,omitempty"` // 入口风格 EntryStyle int64 `json:"entry_style,omitempty" xml:"entry_style,omitempty"` // 推荐主题 RuleId int64 `json:"rule_id,omitempty" xml:"rule_id,omitempty"` // 推荐场景 RecAppId int64 `json:"rec_app_id,omitempty" xml:"rec_app_id,omitempty"` // 推荐类型,0:运营自主推荐,1:纯个性化推荐,2:主题个性化推荐 RecType int64 `json:"rec_type,omitempty" xml:"rec_type,omitempty"` }
Items 结构体
type LauncherDo ¶
type LauncherDo struct { // 桌面坑位 Items []Items `json:"items,omitempty" xml:"items>items,omitempty"` // 设备属性 Property *PropertyDo `json:"property,omitempty" xml:"property,omitempty"` // 桌面配置 Version *VersionDo `json:"version,omitempty" xml:"version,omitempty"` }
LauncherDo 结构体
type MemberDto ¶ added in v1.2.8
type MemberDto struct { // characterName CharacterName string `json:"character_name,omitempty" xml:"character_name,omitempty"` // name Name string `json:"name,omitempty" xml:"name,omitempty"` // personId PersonId string `json:"person_id,omitempty" xml:"person_id,omitempty"` // role Role string `json:"role,omitempty" xml:"role,omitempty"` }
MemberDto 结构体
type MetaChartDo ¶
type MetaChartDo struct { // 排行标题 Titles []string `json:"titles,omitempty" xml:"titles>string,omitempty"` // 排行类型 Type string `json:"type,omitempty" xml:"type,omitempty"` }
MetaChartDo 结构体
type Notebtns ¶
type Notebtns struct { // 便签类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 便签名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 排序 Sort int64 `json:"sort,omitempty" xml:"sort,omitempty"` }
Notebtns 结构体
type PicCornerDo ¶
type PicCornerDo struct { // 角标类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 角标地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 角标文案 Text string `json:"text,omitempty" xml:"text,omitempty"` }
PicCornerDo 结构体
type PlayUrlV2vo ¶ added in v1.3.1
type PlayUrlV2vo struct { // hlsContent HlsContent string `json:"hls_content,omitempty" xml:"hls_content,omitempty"` // hlsContentUrl HlsContentUrl string `json:"hls_content_url,omitempty" xml:"hls_content_url,omitempty"` // dashContent DashContent string `json:"dash_content,omitempty" xml:"dash_content,omitempty"` // drmToken DrmToken string `json:"drm_token,omitempty" xml:"drm_token,omitempty"` // 订单状态 OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // ytid Ytid int64 `json:"ytid,omitempty" xml:"ytid,omitempty"` // errCode ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"` // duration Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"` // programId ProgramId int64 `json:"program_id,omitempty" xml:"program_id,omitempty"` // productType ProductType int64 `json:"product_type,omitempty" xml:"product_type,omitempty"` // sourceInfo SourceInfo *SourceInfo `json:"source_info,omitempty" xml:"source_info,omitempty"` // httpDns HttpDns *HttpDns `json:"http_dns,omitempty" xml:"http_dns,omitempty"` // 片头 StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"` // 片尾 EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"` // trial Trial bool `json:"trial,omitempty" xml:"trial,omitempty"` // tokenValid TokenValid bool `json:"token_valid,omitempty" xml:"token_valid,omitempty"` // free Free bool `json:"free,omitempty" xml:"free,omitempty"` // overDeviceLimit OverDeviceLimit bool `json:"over_device_limit,omitempty" xml:"over_device_limit,omitempty"` // live Live bool `json:"live,omitempty" xml:"live,omitempty"` // vr Vr bool `json:"vr,omitempty" xml:"vr,omitempty"` }
PlayUrlV2vo 结构体
type PropertyDo ¶
type PropertyDo struct { // 属性键值对 Data string `json:"data,omitempty" xml:"data,omitempty"` // 属性校验码 VerifyCode string `json:"verify_code,omitempty" xml:"verify_code,omitempty"` }
PropertyDo 结构体
type RatingDto ¶ added in v1.2.8
type RatingDto struct { // code Code string `json:"code,omitempty" xml:"code,omitempty"` // rating Rating string `json:"rating,omitempty" xml:"rating,omitempty"` }
RatingDto 结构体
type SourceInfo ¶
type SourceInfo struct { // v1080 V1080 string `json:"v1080,omitempty" xml:"v1080,omitempty"` // v720 V720 string `json:"v720,omitempty" xml:"v720,omitempty"` // v480 V480 string `json:"v480,omitempty" xml:"v480,omitempty"` // v320 V320 string `json:"v320,omitempty" xml:"v320,omitempty"` // v240 V240 string `json:"v240,omitempty" xml:"v240,omitempty"` // vBlueray4k VBlueray4k string `json:"v_blueray4k,omitempty" xml:"v_blueray4k,omitempty"` // hlsContentUrl HlsContentUrl string `json:"hls_content_url,omitempty" xml:"hls_content_url,omitempty"` // v2160tv V2160tv string `json:"v2160tv,omitempty" xml:"v2160tv,omitempty"` // v1080tv V1080tv string `json:"v1080tv,omitempty" xml:"v1080tv,omitempty"` // v720tv V720tv string `json:"v720tv,omitempty" xml:"v720tv,omitempty"` // v480tv V480tv string `json:"v480tv,omitempty" xml:"v480tv,omitempty"` // v320tv V320tv string `json:"v320tv,omitempty" xml:"v320tv,omitempty"` // v240tv V240tv string `json:"v240tv,omitempty" xml:"v240tv,omitempty"` }
SourceInfo 结构体
type VersionDo ¶
type VersionDo struct { // 桌面标识 LauncherCode string `json:"launcher_code,omitempty" xml:"launcher_code,omitempty"` // 桌面名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 图标规格 EntrySize int64 `json:"entry_size,omitempty" xml:"entry_size,omitempty"` // 桌面ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
VersionDo 结构体
type ViewingOptionDto ¶ added in v1.2.8
type ViewingOptionDto struct { // currency Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // license License string `json:"license,omitempty" xml:"license,omitempty"` // price Price string `json:"price,omitempty" xml:"price,omitempty"` // quality Quality string `json:"quality,omitempty" xml:"quality,omitempty"` }
ViewingOptionDto 结构体
type YoukuottalicbfacadeservicegetdataAPIRequest ¶ added in v1.3.1
type YoukuottalicbfacadeservicegetdataAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottalicbfacadeservicegetdataAPIRequest 影视SDK获取设备能力值 API请求 youku.ott.alicb.facadeservice.getdata
影视SDK获取设备能力值
func NewYoukuottalicbfacadeservicegetdataRequest ¶ added in v1.3.1
func NewYoukuottalicbfacadeservicegetdataRequest() *YoukuottalicbfacadeservicegetdataAPIRequest
NewYoukuottalicbfacadeservicegetdataRequest 初始化YoukuottalicbfacadeservicegetdataAPIRequest对象
func (YoukuottalicbfacadeservicegetdataAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottalicbfacadeservicegetdataAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottalicbfacadeservicegetdataAPIRequest) GetExtraInfoMap ¶ added in v1.3.1
func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetExtraInfoMap() string
GetExtraInfoMap ExtraInfoMap Getter
func (YoukuottalicbfacadeservicegetdataAPIRequest) GetPropertyMapJson ¶ added in v1.3.1
func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetPropertyMapJson() string
GetPropertyMapJson PropertyMapJson Getter
func (YoukuottalicbfacadeservicegetdataAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (YoukuottalicbfacadeservicegetdataAPIRequest) GetServiceList ¶ added in v1.3.1
func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetServiceList() []string
GetServiceList ServiceList Getter
func (YoukuottalicbfacadeservicegetdataAPIRequest) GetUuid ¶ added in v1.3.1
func (r YoukuottalicbfacadeservicegetdataAPIRequest) GetUuid() string
GetUuid Uuid Getter
func (*YoukuottalicbfacadeservicegetdataAPIRequest) SetExtraInfoMap ¶ added in v1.3.1
func (r *YoukuottalicbfacadeservicegetdataAPIRequest) SetExtraInfoMap(_extraInfoMap string) error
SetExtraInfoMap is ExtraInfoMap Setter 扩展属性
func (*YoukuottalicbfacadeservicegetdataAPIRequest) SetPropertyMapJson ¶ added in v1.3.1
func (r *YoukuottalicbfacadeservicegetdataAPIRequest) SetPropertyMapJson(_propertyMapJson string) error
SetPropertyMapJson is PropertyMapJson Setter 属性MAP JSON串
func (*YoukuottalicbfacadeservicegetdataAPIRequest) SetServiceList ¶ added in v1.3.1
func (r *YoukuottalicbfacadeservicegetdataAPIRequest) SetServiceList(_serviceList []string) error
SetServiceList is ServiceList Setter 能力维度
func (*YoukuottalicbfacadeservicegetdataAPIRequest) SetUuid ¶ added in v1.3.1
func (r *YoukuottalicbfacadeservicegetdataAPIRequest) SetUuid(_uuid string) error
SetUuid is Uuid Setter 设备唯一标识
type YoukuottalicbfacadeservicegetdataAPIResponse ¶ added in v1.3.1
type YoukuottalicbfacadeservicegetdataAPIResponse struct { model.CommonResponse YoukuottalicbfacadeservicegetdataAPIResponseModel }
YoukuottalicbfacadeservicegetdataAPIResponse 影视SDK获取设备能力值 API返回值 youku.ott.alicb.facadeservice.getdata
影视SDK获取设备能力值
type YoukuottalicbfacadeservicegetdataAPIResponseModel ¶ added in v1.3.1
type YoukuottalicbfacadeservicegetdataAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_alicb_facadeservice_getdata_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 设备能力JSON Model string `json:"model,omitempty" xml:"model,omitempty"` }
YoukuottalicbfacadeservicegetdataAPIResponseModel is 影视SDK获取设备能力值 成功返回结果
type YoukuottplayservicegetplayurlAPIRequest ¶ added in v1.3.1
type YoukuottplayservicegetplayurlAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottplayservicegetplayurlAPIRequest 获取播放串地址 API请求 youku.ott.playservice.getplayurl
获取播放串地址服务
func NewYoukuottplayservicegetplayurlRequest ¶ added in v1.3.1
func NewYoukuottplayservicegetplayurlRequest() *YoukuottplayservicegetplayurlAPIRequest
NewYoukuottplayservicegetplayurlRequest 初始化YoukuottplayservicegetplayurlAPIRequest对象
func (YoukuottplayservicegetplayurlAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottplayservicegetplayurlAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottplayservicegetplayurlAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottplayservicegetplayurlAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottplayservicegetplayurlAPIRequest) GetHavanaToken ¶ added in v1.3.1
func (r YoukuottplayservicegetplayurlAPIRequest) GetHavanaToken() string
GetHavanaToken HavanaToken Getter
func (YoukuottplayservicegetplayurlAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottplayservicegetplayurlAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (YoukuottplayservicegetplayurlAPIRequest) GetSystemInfo ¶ added in v1.3.1
func (r YoukuottplayservicegetplayurlAPIRequest) GetSystemInfo() string
GetSystemInfo SystemInfo Getter
func (YoukuottplayservicegetplayurlAPIRequest) GetVideoId ¶ added in v1.3.1
func (r YoukuottplayservicegetplayurlAPIRequest) GetVideoId() int64
GetVideoId VideoId Getter
func (YoukuottplayservicegetplayurlAPIRequest) GetYktk ¶ added in v1.3.1
func (r YoukuottplayservicegetplayurlAPIRequest) GetYktk() string
GetYktk Yktk Getter
func (*YoukuottplayservicegetplayurlAPIRequest) SetHavanaToken ¶ added in v1.3.1
func (r *YoukuottplayservicegetplayurlAPIRequest) SetHavanaToken(_havanaToken string) error
SetHavanaToken is HavanaToken Setter 账号登录态
func (*YoukuottplayservicegetplayurlAPIRequest) SetSystemInfo ¶ added in v1.3.1
func (r *YoukuottplayservicegetplayurlAPIRequest) SetSystemInfo(_systemInfo string) error
SetSystemInfo is SystemInfo Setter 系统信息
func (*YoukuottplayservicegetplayurlAPIRequest) SetVideoId ¶ added in v1.3.1
func (r *YoukuottplayservicegetplayurlAPIRequest) SetVideoId(_videoId int64) error
SetVideoId is VideoId Setter 视频ID
func (*YoukuottplayservicegetplayurlAPIRequest) SetYktk ¶ added in v1.3.1
func (r *YoukuottplayservicegetplayurlAPIRequest) SetYktk(_yktk string) error
SetYktk is Yktk Setter 优酷账号登录态
type YoukuottplayservicegetplayurlAPIResponse ¶ added in v1.3.1
type YoukuottplayservicegetplayurlAPIResponse struct { model.CommonResponse YoukuottplayservicegetplayurlAPIResponseModel }
YoukuottplayservicegetplayurlAPIResponse 获取播放串地址 API返回值 youku.ott.playservice.getplayurl
获取播放串地址服务
type YoukuottplayservicegetplayurlAPIResponseModel ¶ added in v1.3.1
type YoukuottplayservicegetplayurlAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_playservice_getplayurl_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *PlayUrlV2vo `json:"result,omitempty" xml:"result,omitempty"` }
YoukuottplayservicegetplayurlAPIResponseModel is 获取播放串地址 成功返回结果
type YunostvscreenlaunchergetAPIRequest ¶ added in v1.3.1
type YunostvscreenlaunchergetAPIRequest struct { model.Params // contains filtered or unexported fields }
YunostvscreenlaunchergetAPIRequest 一体机桌面 API请求 yunos.tvscreen.launcher.get
LCTS一体机桌面后台,提供基于运营坑位适配的桌面服务
func NewYunostvscreenlaunchergetRequest ¶ added in v1.3.1
func NewYunostvscreenlaunchergetRequest() *YunostvscreenlaunchergetAPIRequest
NewYunostvscreenlaunchergetRequest 初始化YunostvscreenlaunchergetAPIRequest对象
func (YunostvscreenlaunchergetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunostvscreenlaunchergetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunostvscreenlaunchergetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunostvscreenlaunchergetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunostvscreenlaunchergetAPIRequest) GetIp ¶ added in v1.3.1
func (r YunostvscreenlaunchergetAPIRequest) GetIp() string
GetIp Ip Getter
func (YunostvscreenlaunchergetAPIRequest) GetProperty ¶ added in v1.3.1
func (r YunostvscreenlaunchergetAPIRequest) GetProperty() string
GetProperty Property Getter
func (YunostvscreenlaunchergetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunostvscreenlaunchergetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunostvscreenlaunchergetAPIRequest) SetIp ¶ added in v1.3.1
func (r *YunostvscreenlaunchergetAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter IP来源
func (*YunostvscreenlaunchergetAPIRequest) SetProperty ¶ added in v1.3.1
func (r *YunostvscreenlaunchergetAPIRequest) SetProperty(_property string) error
SetProperty is Property Setter 设备属性
type YunostvscreenlaunchergetAPIResponse ¶ added in v1.3.1
type YunostvscreenlaunchergetAPIResponse struct { model.CommonResponse YunostvscreenlaunchergetAPIResponseModel }
YunostvscreenlaunchergetAPIResponse 一体机桌面 API返回值 yunos.tvscreen.launcher.get
LCTS一体机桌面后台,提供基于运营坑位适配的桌面服务
type YunostvscreenlaunchergetAPIResponseModel ¶ added in v1.3.1
type YunostvscreenlaunchergetAPIResponseModel struct { XMLName xml.Name `xml:"yunos_tvscreen_launcher_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // headers Headers string `json:"headers,omitempty" xml:"headers,omitempty"` // 业务扩展 BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"` // model Model *LauncherDo `json:"model,omitempty" xml:"model,omitempty"` // 状态码 HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` }
YunostvscreenlaunchergetAPIResponseModel is 一体机桌面 成功返回结果
type YunostvscreenlgelaunchergetAPIRequest ¶ added in v1.3.1
type YunostvscreenlgelaunchergetAPIRequest struct { model.Params // contains filtered or unexported fields }
YunostvscreenlgelaunchergetAPIRequest LG用桌面信息获取 API请求 yunos.tvscreen.lge.launcher.get
LCTS一体机桌面后台,提供基于运营坑位适配的桌面服务,根据LG的需求定制输出格式
func NewYunostvscreenlgelaunchergetRequest ¶ added in v1.3.1
func NewYunostvscreenlgelaunchergetRequest() *YunostvscreenlgelaunchergetAPIRequest
NewYunostvscreenlgelaunchergetRequest 初始化YunostvscreenlgelaunchergetAPIRequest对象
func (YunostvscreenlgelaunchergetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunostvscreenlgelaunchergetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunostvscreenlgelaunchergetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunostvscreenlgelaunchergetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunostvscreenlgelaunchergetAPIRequest) GetIp ¶ added in v1.3.1
func (r YunostvscreenlgelaunchergetAPIRequest) GetIp() string
GetIp Ip Getter
func (YunostvscreenlgelaunchergetAPIRequest) GetProperty ¶ added in v1.3.1
func (r YunostvscreenlgelaunchergetAPIRequest) GetProperty() string
GetProperty Property Getter
func (YunostvscreenlgelaunchergetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunostvscreenlgelaunchergetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunostvscreenlgelaunchergetAPIRequest) SetIp ¶ added in v1.3.1
func (r *YunostvscreenlgelaunchergetAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip of client
func (*YunostvscreenlgelaunchergetAPIRequest) SetProperty ¶ added in v1.3.1
func (r *YunostvscreenlgelaunchergetAPIRequest) SetProperty(_property string) error
SetProperty is Property Setter property of client
type YunostvscreenlgelaunchergetAPIResponse ¶ added in v1.3.1
type YunostvscreenlgelaunchergetAPIResponse struct { model.CommonResponse YunostvscreenlgelaunchergetAPIResponseModel }
YunostvscreenlgelaunchergetAPIResponse LG用桌面信息获取 API返回值 yunos.tvscreen.lge.launcher.get
LCTS一体机桌面后台,提供基于运营坑位适配的桌面服务,根据LG的需求定制输出格式
type YunostvscreenlgelaunchergetAPIResponseModel ¶ added in v1.3.1
type YunostvscreenlgelaunchergetAPIResponseModel struct { XMLName xml.Name `xml:"yunos_tvscreen_lge_launcher_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *YunostvscreenlgelaunchergetResult `json:"result,omitempty" xml:"result,omitempty"` }
YunostvscreenlgelaunchergetAPIResponseModel is LG用桌面信息获取 成功返回结果
type YunostvscreenlgelaunchergetResult ¶ added in v1.3.1
type YunostvscreenlgelaunchergetResult struct { // Error message when success == false MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // Error code when success == false MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // Metadata Info Model *ChannelDto `json:"model,omitempty" xml:"model,omitempty"` // httpStatusCode HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // Is process succeed. Success bool `json:"success,omitempty" xml:"success,omitempty"` }
YunostvscreenlgelaunchergetResult 结构体
Source Files
¶
- AvailableLanguageDto.go
- AvailableSubtitleDto.go
- AwardSandFestivalDto.go
- CertificationDto.go
- ChannelDto.go
- Entrylist.go
- HttpDns.go
- ImageDto.go
- ItemDto.go
- ItemEntryDo.go
- Itemlist.go
- Items.go
- LauncherDo.go
- MemberDto.go
- MetaChartDo.go
- Notebtns.go
- PicCornerDo.go
- PlayUrlV2Vo.go
- PropertyDo.go
- RatingDto.go
- SourceInfo.go
- VersionDo.go
- ViewingOptionDto.go
- YoukuOttAlicbFacadeserviceGetdataAPIRequest.go
- YoukuOttAlicbFacadeserviceGetdataAPIResponse.go
- YoukuOttPlayserviceGetplayurlAPIRequest.go
- YoukuOttPlayserviceGetplayurlAPIResponse.go
- YunosTvscreenLauncherGetAPIRequest.go
- YunosTvscreenLauncherGetAPIResponse.go
- YunosTvscreenLgeLauncherGetAPIRequest.go
- YunosTvscreenLgeLauncherGetAPIResponse.go
- YunosTvscreenLgeLauncherGetResult.go
- doc.go