wenyuvideo

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

数娱媒资输出 model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersonDetailRbo

type PersonDetailRbo struct {
	// 主键(优酷人物ID)
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 人物名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 图片
	ThumbUrl string `json:"thumb_url,omitempty" xml:"thumb_url,omitempty"`
	// 300*300人物头像
	ThumbUrlLg string `json:"thumb_url_lg,omitempty" xml:"thumb_url_lg,omitempty"`
	// 人物海报
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// 人物写真
	PosterUrlH string `json:"poster_url_h,omitempty" xml:"poster_url_h,omitempty"`
	// 简介
	PersonDesc string `json:"person_desc,omitempty" xml:"person_desc,omitempty"`
	// 性别 U(nknow):未知 M(ale):男 F(emale):女 G(roup):组合
	Gender string `json:"gender,omitempty" xml:"gender,omitempty"`
	// 生日
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 忌日
	Deathday string `json:"deathday,omitempty" xml:"deathday,omitempty"`
	// 出生地
	Homeplace string `json:"homeplace,omitempty" xml:"homeplace,omitempty"`
	// 身高,单位cm
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// 血型 A、B、AB、O
	BloodType string `json:"blood_type,omitempty" xml:"blood_type,omitempty"`
	// 人物类型:unknow,director,starring,performer,singer,lyricswriter,composer,screenwriter,producer,host,voice,      * executive_producer,teacher,original, interview,paike
	PersonTypeList []string `json:"person_type_list,omitempty" xml:"person_type_list>string,omitempty"`
	// 人物国籍
	NationalityList []string `json:"nationality_list,omitempty" xml:"nationality_list>string,omitempty"`
	// 职业
	OccupationList []string `json:"occupation_list,omitempty" xml:"occupation_list>string,omitempty"`
	// 人物性质:牛人,拍客,网络红人
	PersonKindList []string `json:"person_kind_list,omitempty" xml:"person_kind_list>string,omitempty"`
	// 组合成员,如果人物是一个组合,则允许设置下面的成员,人员也是一人物记录。输出格式[{'id':20349,'name':'张宇凡'},{'id':35994,'name':'袁泉'}]
	MemberList []string `json:"member_list,omitempty" xml:"member_list>string,omitempty"`
	// 人物相关视频推荐
	RefShows []ShowBaseRbo `json:"ref_shows,omitempty" xml:"ref_shows>show_base_rbo,omitempty"`
	// 人物相关人物推荐
	RefPersons []PersonRbo `json:"ref_persons,omitempty" xml:"ref_persons>person_rbo,omitempty"`
	// 星座
	Constellation string `json:"constellation,omitempty" xml:"constellation,omitempty"`
}

PersonDetailRbo

type PersonDo

type PersonDo struct {
	// 人物ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 人物名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 图片
	ThumbUrl string `json:"thumb_url,omitempty" xml:"thumb_url,omitempty"`
	// 300*300人物头像
	ThumbUrlLg string `json:"thumb_url_lg,omitempty" xml:"thumb_url_lg,omitempty"`
	// 人物海报
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// 人物写真
	PosterUrlH string `json:"poster_url_h,omitempty" xml:"poster_url_h,omitempty"`
	// 简介
	PersonDesc string `json:"person_desc,omitempty" xml:"person_desc,omitempty"`
}

PersonDo

type PersonRbo

type PersonRbo struct {
	// taotv媒资的演职人员id
	PersonId int64 `json:"person_id,omitempty" xml:"person_id,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 人物头像
	ThumbUrl string `json:"thumb_url,omitempty" xml:"thumb_url,omitempty"`
	// 300*300人物头像
	ThumbUrlLg string `json:"thumb_url_lg,omitempty" xml:"thumb_url_lg,omitempty"`
	// 人物海报
	PosterUrl string `json:"poster_url,omitempty" xml:"poster_url,omitempty"`
	// 演职人员工作
	Job string `json:"job,omitempty" xml:"job,omitempty"`
}

PersonRbo

type Segments

type Segments struct {
	// 开始时间点
	From int64 `json:"from,omitempty" xml:"from,omitempty"`
	// 结束时间点
	To int64 `json:"to,omitempty" xml:"to,omitempty"`
}

Segments

type ShowBaseRbo

type ShowBaseRbo struct {
	// 节目名称
	ShowName string `json:"show_name,omitempty" xml:"show_name,omitempty"`
	// 节目子标题
	ShowSubtitle string `json:"show_subtitle,omitempty" xml:"show_subtitle,omitempty"`
	// 节目默认图片url
	ShowThumbUrl string `json:"show_thumb_url,omitempty" xml:"show_thumb_url,omitempty"`
	// 节目竖版图片url
	ShowVthumbUrl string `json:"show_vthumb_url,omitempty" xml:"show_vthumb_url,omitempty"`
	// 展示类型
	ShowType int64 `json:"show_type,omitempty" xml:"show_type,omitempty"`
	// 节目主分类
	ShowCategory int64 `json:"show_category,omitempty" xml:"show_category,omitempty"`
	// 是否动态更新集数
	IsDynTotal int64 `json:"is_dyn_total,omitempty" xml:"is_dyn_total,omitempty"`
	// 最新一集
	LastSequence int64 `json:"last_sequence,omitempty" xml:"last_sequence,omitempty"`
	// 正片总集数
	EpisodeTotal int64 `json:"episode_total,omitempty" xml:"episode_total,omitempty"`
	// 评分
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 是否预告片
	Prevue bool `json:"prevue,omitempty" xml:"prevue,omitempty"`
	// 角标
	Mark string `json:"mark,omitempty" xml:"mark,omitempty"`
	// 老媒资节目ID(整体兼容使用,不建议客户端使用)
	ProgramId int64 `json:"program_id,omitempty" xml:"program_id,omitempty"`
	// 发行日期
	ReleaseDate string `json:"release_date,omitempty" xml:"release_date,omitempty"`
	// tag标记
	ViewTag string `json:"view_tag,omitempty" xml:"view_tag,omitempty"`
	// 最后一个正片集数
	EpisodeLast int64 `json:"episode_last,omitempty" xml:"episode_last,omitempty"`
	// 影视信息在列表搜索等未知的重要提示
	Tips string `json:"tips,omitempty" xml:"tips,omitempty"`
}

ShowBaseRbo

type YoukuWenyuvideoPersionGetAPIResponse

type YoukuWenyuvideoPersionGetAPIResponse struct {
	model.CommonResponse
	YoukuWenyuvideoPersionGetResponse
}

根据优酷人物ID获取人物详情页,包含相关影视和相关人物 API返回值 youku.wenyuvideo.persion.get

根据优酷人物ID获取人物详情页,包含相关影视和相关人物

type YoukuWenyuvideoPersionGetRequest

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

根据优酷人物ID获取人物详情页,包含相关影视和相关人物 API请求 youku.wenyuvideo.persion.get

根据优酷人物ID获取人物详情页,包含相关影视和相关人物

func NewYoukuWenyuvideoPersionGetRequest

func NewYoukuWenyuvideoPersionGetRequest() *YoukuWenyuvideoPersionGetRequest

初始化YoukuWenyuvideoPersionGetRequest对象

func (YoukuWenyuvideoPersionGetRequest) GetApiMethodName

func (r YoukuWenyuvideoPersionGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (YoukuWenyuvideoPersionGetRequest) GetApiParams

func (r YoukuWenyuvideoPersionGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (YoukuWenyuvideoPersionGetRequest) GetPersonId

func (r YoukuWenyuvideoPersionGetRequest) GetPersonId() int64

PersonId Getter

func (YoukuWenyuvideoPersionGetRequest) GetSystemInfo

func (r YoukuWenyuvideoPersionGetRequest) GetSystemInfo() string

SystemInfo Getter

func (*YoukuWenyuvideoPersionGetRequest) SetPersonId

func (r *YoukuWenyuvideoPersionGetRequest) SetPersonId(personId int64) error

PersonId Setter 人物ID

func (*YoukuWenyuvideoPersionGetRequest) SetSystemInfo

func (r *YoukuWenyuvideoPersionGetRequest) SetSystemInfo(systemInfo string) error

SystemInfo Setter 设备信息

type YoukuWenyuvideoPersionGetResponse

type YoukuWenyuvideoPersionGetResponse struct {
	XMLName xml.Name `xml:"youku_wenyuvideo_persion_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *YoukuWenyuvideoPersionGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

根据优酷人物ID获取人物详情页,包含相关影视和相关人物 成功返回结果

type YoukuWenyuvideoPersionGetResult

type YoukuWenyuvideoPersionGetResult struct {
	// 人物详情信息,包含相关影视和相关人物
	Model *PersonDetailRbo `json:"model,omitempty" xml:"model,omitempty"`
	// HTTP请求状态
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// 业务扩展数据
	BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// 错误码,业务错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 业务错误提示
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 接口调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

YoukuWenyuvideoPersionGetResult

type YoukuWenyuvideoPersionSearchAPIResponse

type YoukuWenyuvideoPersionSearchAPIResponse struct {
	model.CommonResponse
	YoukuWenyuvideoPersionSearchResponse
}

根据人物名称查询人物列表 API返回值 youku.wenyuvideo.persion.search

根据人物名称查询人物列表

type YoukuWenyuvideoPersionSearchRequest

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

根据人物名称查询人物列表 API请求 youku.wenyuvideo.persion.search

根据人物名称查询人物列表

func NewYoukuWenyuvideoPersionSearchRequest

func NewYoukuWenyuvideoPersionSearchRequest() *YoukuWenyuvideoPersionSearchRequest

初始化YoukuWenyuvideoPersionSearchRequest对象

func (YoukuWenyuvideoPersionSearchRequest) GetApiMethodName

func (r YoukuWenyuvideoPersionSearchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (YoukuWenyuvideoPersionSearchRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (YoukuWenyuvideoPersionSearchRequest) GetPersonName

func (r YoukuWenyuvideoPersionSearchRequest) GetPersonName() string

PersonName Getter

func (*YoukuWenyuvideoPersionSearchRequest) SetPersonName

func (r *YoukuWenyuvideoPersionSearchRequest) SetPersonName(personName string) error

PersonName Setter 人物名字,搜索规则是完全匹配,即只返回同名人物列表

type YoukuWenyuvideoPersionSearchResponse

type YoukuWenyuvideoPersionSearchResponse struct {
	XMLName xml.Name `xml:"youku_wenyuvideo_persion_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *YoukuWenyuvideoPersionSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

根据人物名称查询人物列表 成功返回结果

type YoukuWenyuvideoPersionSearchResult

type YoukuWenyuvideoPersionSearchResult struct {
	// 人物列表
	Model *PersonDo `json:"model,omitempty" xml:"model,omitempty"`
	// HTTP请求状态
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// 业务扩展数据
	BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// 业务错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 业务错误提示
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 接口调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

YoukuWenyuvideoPersionSearchResult

type YoukuWenyuvideoSeetaGetAPIResponse

type YoukuWenyuvideoSeetaGetAPIResponse struct {
	model.CommonResponse
	YoukuWenyuvideoSeetaGetResponse
}

只看TA API返回值 youku.wenyuvideo.seeta.get

只看Ta对外输出

type YoukuWenyuvideoSeetaGetModel

type YoukuWenyuvideoSeetaGetModel struct {
	// logo数组
	Logos []string `json:"logos,omitempty" xml:"logos>string,omitempty"`
	// 名字数组
	Names []string `json:"names,omitempty" xml:"names>string,omitempty"`
	// 片段数组
	Segments []Segments `json:"segments,omitempty" xml:"segments>segments,omitempty"`
}

YoukuWenyuvideoSeetaGetModel

type YoukuWenyuvideoSeetaGetRequest

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

只看TA API请求 youku.wenyuvideo.seeta.get

只看Ta对外输出

func NewYoukuWenyuvideoSeetaGetRequest

func NewYoukuWenyuvideoSeetaGetRequest() *YoukuWenyuvideoSeetaGetRequest

初始化YoukuWenyuvideoSeetaGetRequest对象

func (YoukuWenyuvideoSeetaGetRequest) GetApiMethodName

func (r YoukuWenyuvideoSeetaGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (YoukuWenyuvideoSeetaGetRequest) GetApiParams

func (r YoukuWenyuvideoSeetaGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (YoukuWenyuvideoSeetaGetRequest) GetVideoStrId

func (r YoukuWenyuvideoSeetaGetRequest) GetVideoStrId() string

VideoStrId Getter

func (*YoukuWenyuvideoSeetaGetRequest) SetVideoStrId

func (r *YoukuWenyuvideoSeetaGetRequest) SetVideoStrId(videoStrId string) error

VideoStrId Setter 视频字符串形式id

type YoukuWenyuvideoSeetaGetResponse

type YoukuWenyuvideoSeetaGetResponse struct {
	XMLName xml.Name `xml:"youku_wenyuvideo_seeta_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *YoukuWenyuvideoSeetaGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

只看TA 成功返回结果

type YoukuWenyuvideoSeetaGetResult

type YoukuWenyuvideoSeetaGetResult struct {
	// 返回数据
	Values []YoukuWenyuvideoSeetaGetModel `json:"values,omitempty" xml:"values>youku_wenyuvideo_seeta_get_model,omitempty"`
	// 结果代码
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

YoukuWenyuvideoSeetaGetResult

Jump to

Keyboard shortcuts

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