ott

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package ott 包含桌面API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=29910

Index

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

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.2.0

type YoukuOttAlicbFacadeserviceGetdataAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

YoukuOttAlicbFacadeserviceGetdataAPIRequest 影视SDK获取设备能力值 API请求 youku.ott.alicb.facadeservice.getdata

影视SDK获取设备能力值

func NewYoukuOttAlicbFacadeserviceGetdataRequest

func NewYoukuOttAlicbFacadeserviceGetdataRequest() *YoukuOttAlicbFacadeserviceGetdataAPIRequest

NewYoukuOttAlicbFacadeserviceGetdataRequest 初始化YoukuOttAlicbFacadeserviceGetdataAPIRequest对象

func (YoukuOttAlicbFacadeserviceGetdataAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (YoukuOttAlicbFacadeserviceGetdataAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (YoukuOttAlicbFacadeserviceGetdataAPIRequest) GetExtraInfoMap added in v1.2.0

GetExtraInfoMap ExtraInfoMap Getter

func (YoukuOttAlicbFacadeserviceGetdataAPIRequest) GetPropertyMapJson added in v1.2.0

func (r YoukuOttAlicbFacadeserviceGetdataAPIRequest) GetPropertyMapJson() string

GetPropertyMapJson PropertyMapJson Getter

func (YoukuOttAlicbFacadeserviceGetdataAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (YoukuOttAlicbFacadeserviceGetdataAPIRequest) GetServiceList added in v1.2.0

GetServiceList ServiceList Getter

func (YoukuOttAlicbFacadeserviceGetdataAPIRequest) GetUuid added in v1.2.0

GetUuid Uuid Getter

func (*YoukuOttAlicbFacadeserviceGetdataAPIRequest) SetExtraInfoMap added in v1.2.0

func (r *YoukuOttAlicbFacadeserviceGetdataAPIRequest) SetExtraInfoMap(_extraInfoMap string) error

SetExtraInfoMap is ExtraInfoMap Setter 扩展属性

func (*YoukuOttAlicbFacadeserviceGetdataAPIRequest) SetPropertyMapJson added in v1.2.0

func (r *YoukuOttAlicbFacadeserviceGetdataAPIRequest) SetPropertyMapJson(_propertyMapJson string) error

SetPropertyMapJson is PropertyMapJson Setter 属性MAP JSON串

func (*YoukuOttAlicbFacadeserviceGetdataAPIRequest) SetServiceList added in v1.2.0

func (r *YoukuOttAlicbFacadeserviceGetdataAPIRequest) SetServiceList(_serviceList []string) error

SetServiceList is ServiceList Setter 能力维度

func (*YoukuOttAlicbFacadeserviceGetdataAPIRequest) SetUuid added in v1.2.0

SetUuid is Uuid Setter 设备唯一标识

type YoukuOttAlicbFacadeserviceGetdataAPIResponse

type YoukuOttAlicbFacadeserviceGetdataAPIResponse struct {
	model.CommonResponse
	YoukuOttAlicbFacadeserviceGetdataAPIResponseModel
}

YoukuOttAlicbFacadeserviceGetdataAPIResponse 影视SDK获取设备能力值 API返回值 youku.ott.alicb.facadeservice.getdata

影视SDK获取设备能力值

type YoukuOttAlicbFacadeserviceGetdataAPIResponseModel added in v1.2.0

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.2.0

type YoukuOttPlayserviceGetplayurlAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

YoukuOttPlayserviceGetplayurlAPIRequest 获取播放串地址 API请求 youku.ott.playservice.getplayurl

获取播放串地址服务

func NewYoukuOttPlayserviceGetplayurlRequest

func NewYoukuOttPlayserviceGetplayurlRequest() *YoukuOttPlayserviceGetplayurlAPIRequest

NewYoukuOttPlayserviceGetplayurlRequest 初始化YoukuOttPlayserviceGetplayurlAPIRequest对象

func (YoukuOttPlayserviceGetplayurlAPIRequest) GetApiMethodName added in v1.2.0

func (r YoukuOttPlayserviceGetplayurlAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YoukuOttPlayserviceGetplayurlAPIRequest) GetApiParams added in v1.2.0

func (r YoukuOttPlayserviceGetplayurlAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (YoukuOttPlayserviceGetplayurlAPIRequest) GetHavanaToken added in v1.2.0

GetHavanaToken HavanaToken Getter

func (YoukuOttPlayserviceGetplayurlAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (YoukuOttPlayserviceGetplayurlAPIRequest) GetSystemInfo added in v1.2.0

GetSystemInfo SystemInfo Getter

func (YoukuOttPlayserviceGetplayurlAPIRequest) GetVideoId added in v1.2.0

GetVideoId VideoId Getter

func (YoukuOttPlayserviceGetplayurlAPIRequest) GetYktk added in v1.2.0

GetYktk Yktk Getter

func (*YoukuOttPlayserviceGetplayurlAPIRequest) SetHavanaToken added in v1.2.0

func (r *YoukuOttPlayserviceGetplayurlAPIRequest) SetHavanaToken(_havanaToken string) error

SetHavanaToken is HavanaToken Setter 账号登录态

func (*YoukuOttPlayserviceGetplayurlAPIRequest) SetSystemInfo added in v1.2.0

func (r *YoukuOttPlayserviceGetplayurlAPIRequest) SetSystemInfo(_systemInfo string) error

SetSystemInfo is SystemInfo Setter 系统信息

func (*YoukuOttPlayserviceGetplayurlAPIRequest) SetVideoId added in v1.2.0

func (r *YoukuOttPlayserviceGetplayurlAPIRequest) SetVideoId(_videoId int64) error

SetVideoId is VideoId Setter 视频ID

func (*YoukuOttPlayserviceGetplayurlAPIRequest) SetYktk added in v1.2.0

SetYktk is Yktk Setter 优酷账号登录态

type YoukuOttPlayserviceGetplayurlAPIResponse

type YoukuOttPlayserviceGetplayurlAPIResponse struct {
	model.CommonResponse
	YoukuOttPlayserviceGetplayurlAPIResponseModel
}

YoukuOttPlayserviceGetplayurlAPIResponse 获取播放串地址 API返回值 youku.ott.playservice.getplayurl

获取播放串地址服务

type YoukuOttPlayserviceGetplayurlAPIResponseModel added in v1.2.0

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.2.0

type YunosTvscreenLauncherGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

YunosTvscreenLauncherGetAPIRequest 一体机桌面 API请求 yunos.tvscreen.launcher.get

LCTS一体机桌面后台,提供基于运营坑位适配的桌面服务

func NewYunosTvscreenLauncherGetRequest

func NewYunosTvscreenLauncherGetRequest() *YunosTvscreenLauncherGetAPIRequest

NewYunosTvscreenLauncherGetRequest 初始化YunosTvscreenLauncherGetAPIRequest对象

func (YunosTvscreenLauncherGetAPIRequest) GetApiMethodName added in v1.2.0

func (r YunosTvscreenLauncherGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YunosTvscreenLauncherGetAPIRequest) GetApiParams added in v1.2.0

func (r YunosTvscreenLauncherGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (YunosTvscreenLauncherGetAPIRequest) GetIp added in v1.2.0

GetIp Ip Getter

func (YunosTvscreenLauncherGetAPIRequest) GetProperty added in v1.2.0

GetProperty Property Getter

func (YunosTvscreenLauncherGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*YunosTvscreenLauncherGetAPIRequest) SetIp added in v1.2.0

SetIp is Ip Setter IP来源

func (*YunosTvscreenLauncherGetAPIRequest) SetProperty added in v1.2.0

func (r *YunosTvscreenLauncherGetAPIRequest) SetProperty(_property string) error

SetProperty is Property Setter 设备属性

type YunosTvscreenLauncherGetAPIResponse

type YunosTvscreenLauncherGetAPIResponse struct {
	model.CommonResponse
	YunosTvscreenLauncherGetAPIResponseModel
}

YunosTvscreenLauncherGetAPIResponse 一体机桌面 API返回值 yunos.tvscreen.launcher.get

LCTS一体机桌面后台,提供基于运营坑位适配的桌面服务

type YunosTvscreenLauncherGetAPIResponseModel added in v1.2.0

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.2.8

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.2.8

func NewYunosTvscreenLgeLauncherGetRequest() *YunosTvscreenLgeLauncherGetAPIRequest

NewYunosTvscreenLgeLauncherGetRequest 初始化YunosTvscreenLgeLauncherGetAPIRequest对象

func (YunosTvscreenLgeLauncherGetAPIRequest) GetApiMethodName added in v1.2.8

func (r YunosTvscreenLgeLauncherGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YunosTvscreenLgeLauncherGetAPIRequest) GetApiParams added in v1.2.8

func (r YunosTvscreenLgeLauncherGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (YunosTvscreenLgeLauncherGetAPIRequest) GetIp added in v1.2.8

GetIp Ip Getter

func (YunosTvscreenLgeLauncherGetAPIRequest) GetProperty added in v1.2.8

GetProperty Property Getter

func (YunosTvscreenLgeLauncherGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*YunosTvscreenLgeLauncherGetAPIRequest) SetIp added in v1.2.8

SetIp is Ip Setter ip of client

func (*YunosTvscreenLgeLauncherGetAPIRequest) SetProperty added in v1.2.8

func (r *YunosTvscreenLgeLauncherGetAPIRequest) SetProperty(_property string) error

SetProperty is Property Setter property of client

type YunosTvscreenLgeLauncherGetAPIResponse added in v1.2.8

type YunosTvscreenLgeLauncherGetAPIResponse struct {
	model.CommonResponse
	YunosTvscreenLgeLauncherGetAPIResponseModel
}

YunosTvscreenLgeLauncherGetAPIResponse LG用桌面信息获取 API返回值 yunos.tvscreen.lge.launcher.get

LCTS一体机桌面后台,提供基于运营坑位适配的桌面服务,根据LG的需求定制输出格式

type YunosTvscreenLgeLauncherGetAPIResponseModel added in v1.2.8

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.2.8

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 结构体

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL