Documentation ¶
Overview ¶
优酷-媒资 model
Index ¶
- type YoukuMediaapiVideoSnapshotGetAPIRequest
- type YoukuMediaapiVideoSnapshotGetAPIResponse
- type YoukuMediaapiVideoSnapshotGetAPIResponseModel
- type YoukuMediaapiVideoSnapshotGetStruct
- type YoukuOttDvbCardChangeAPIRequest
- func (r YoukuOttDvbCardChangeAPIRequest) GetApiMethodName() string
- func (r YoukuOttDvbCardChangeAPIRequest) GetApiParams() url.Values
- func (r YoukuOttDvbCardChangeAPIRequest) GetCableCompanyCode() string
- func (r YoukuOttDvbCardChangeAPIRequest) GetNewCardId() string
- func (r YoukuOttDvbCardChangeAPIRequest) GetOldCardId() string
- func (r *YoukuOttDvbCardChangeAPIRequest) SetCableCompanyCode(_cableCompanyCode string) error
- func (r *YoukuOttDvbCardChangeAPIRequest) SetNewCardId(_newCardId string) error
- func (r *YoukuOttDvbCardChangeAPIRequest) SetOldCardId(_oldCardId string) error
- type YoukuOttDvbCardChangeAPIResponse
- type YoukuOttDvbCardChangeAPIResponseModel
- type YoukuOttDvbFirstorderFeedbackAPIRequest
- func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetApiMethodName() string
- func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetApiParams() url.Values
- func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetOccureTime() int64
- func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetOrderId() int64
- func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetType() int64
- func (r *YoukuOttDvbFirstorderFeedbackAPIRequest) SetOccureTime(_occureTime int64) error
- func (r *YoukuOttDvbFirstorderFeedbackAPIRequest) SetOrderId(_orderId int64) error
- func (r *YoukuOttDvbFirstorderFeedbackAPIRequest) SetType(_type int64) error
- type YoukuOttDvbFirstorderFeedbackAPIResponse
- type YoukuOttDvbFirstorderFeedbackAPIResponseModel
- type YoukuOttDvbRenewFeedbackAPIRequest
- func (r YoukuOttDvbRenewFeedbackAPIRequest) GetApiMethodName() string
- func (r YoukuOttDvbRenewFeedbackAPIRequest) GetApiParams() url.Values
- func (r YoukuOttDvbRenewFeedbackAPIRequest) GetFailReason() string
- func (r YoukuOttDvbRenewFeedbackAPIRequest) GetIsSuccess() bool
- func (r YoukuOttDvbRenewFeedbackAPIRequest) GetOrderId() int64
- func (r *YoukuOttDvbRenewFeedbackAPIRequest) SetFailReason(_failReason string) error
- func (r *YoukuOttDvbRenewFeedbackAPIRequest) SetIsSuccess(_isSuccess bool) error
- func (r *YoukuOttDvbRenewFeedbackAPIRequest) SetOrderId(_orderId int64) error
- type YoukuOttDvbRenewFeedbackAPIResponse
- type YoukuOttDvbRenewFeedbackAPIResponseModel
- type YoukuOttDvbWorkorderFeedbackAPIRequest
- func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetApiMethodName() string
- func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetApiParams() url.Values
- func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetContent() string
- func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetOccureTime() int64
- func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetWorkorderId() int64
- func (r *YoukuOttDvbWorkorderFeedbackAPIRequest) SetContent(_content string) error
- func (r *YoukuOttDvbWorkorderFeedbackAPIRequest) SetOccureTime(_occureTime int64) error
- func (r *YoukuOttDvbWorkorderFeedbackAPIRequest) SetWorkorderId(_workorderId int64) error
- type YoukuOttDvbWorkorderFeedbackAPIResponse
- type YoukuOttDvbWorkorderFeedbackAPIResponseModel
- type YoukuOttKittyCommonorderSyncAPIRequest
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetAccountId() string
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetApiMethodName() string
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetApiParams() url.Values
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetChannelId() string
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetExtInfo() string
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetOrderId() string
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetProductId() string
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetSyncTime() string
- func (r YoukuOttKittyCommonorderSyncAPIRequest) GetType() string
- func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetAccountId(_accountId string) error
- func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetChannelId(_channelId string) error
- func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetExtInfo(_extInfo string) error
- func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetOrderId(_orderId string) error
- func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetProductId(_productId string) error
- func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetSyncTime(_syncTime string) error
- func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetType(_type string) error
- type YoukuOttKittyCommonorderSyncAPIResponse
- type YoukuOttKittyCommonorderSyncAPIResponseModel
- type YoukuTvoperatorMediaPageQueryAPIRequest
- func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetApiMethodName() string
- func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetApiParams() url.Values
- func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetPageNo() int64
- func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetPageSize() int64
- func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetProgramId() int64
- func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetSystemInfo() string
- func (r *YoukuTvoperatorMediaPageQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *YoukuTvoperatorMediaPageQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *YoukuTvoperatorMediaPageQueryAPIRequest) SetProgramId(_programId int64) error
- func (r *YoukuTvoperatorMediaPageQueryAPIRequest) SetSystemInfo(_systemInfo string) error
- type YoukuTvoperatorMediaPageQueryAPIResponse
- type YoukuTvoperatorMediaPageQueryAPIResponseModel
- type YoukuTvoperatorMediaPageQueryData
- type YoukuTvoperatorMediaPageQueryModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YoukuMediaapiVideoSnapshotGetAPIRequest ¶
type YoukuMediaapiVideoSnapshotGetAPIRequest struct { model.Params // contains filtered or unexported fields }
根据视频ID查询视频缩微图 API请求 youku.mediaapi.video.snapshot.get
根据视频ID查询视频缩微图
func NewYoukuMediaapiVideoSnapshotGetRequest ¶
func NewYoukuMediaapiVideoSnapshotGetRequest() *YoukuMediaapiVideoSnapshotGetAPIRequest
初始化YoukuMediaapiVideoSnapshotGetAPIRequest对象
func (YoukuMediaapiVideoSnapshotGetAPIRequest) GetApiMethodName ¶
func (r YoukuMediaapiVideoSnapshotGetAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (YoukuMediaapiVideoSnapshotGetAPIRequest) GetApiParams ¶
func (r YoukuMediaapiVideoSnapshotGetAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (YoukuMediaapiVideoSnapshotGetAPIRequest) GetVid ¶
func (r YoukuMediaapiVideoSnapshotGetAPIRequest) GetVid() string
Vid Getter
func (*YoukuMediaapiVideoSnapshotGetAPIRequest) SetVid ¶
func (r *YoukuMediaapiVideoSnapshotGetAPIRequest) SetVid(_vid string) error
Vid Setter 视频id
type YoukuMediaapiVideoSnapshotGetAPIResponse ¶
type YoukuMediaapiVideoSnapshotGetAPIResponse struct { model.CommonResponse YoukuMediaapiVideoSnapshotGetAPIResponseModel }
根据视频ID查询视频缩微图 API返回值 youku.mediaapi.video.snapshot.get
根据视频ID查询视频缩微图
type YoukuMediaapiVideoSnapshotGetAPIResponseModel ¶
type YoukuMediaapiVideoSnapshotGetAPIResponseModel struct { XMLName xml.Name `xml:"youku_mediaapi_video_snapshot_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 true:成功 false:失败(top成功标志) IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"` // 数据 ModelList []YoukuMediaapiVideoSnapshotGetStruct `json:"model_list,omitempty" xml:"model_list>youku_mediaapi_video_snapshot_get_struct,omitempty"` // 返回信息 MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` }
根据视频ID查询视频缩微图 成功返回结果
type YoukuMediaapiVideoSnapshotGetStruct ¶
type YoukuMediaapiVideoSnapshotGetStruct struct { // 图片域名 DomainName string `json:"domain_name,omitempty" xml:"domain_name,omitempty"` // 图片url列表 ThumbIdList []string `json:"thumb_id_list,omitempty" xml:"thumb_id_list>string,omitempty"` // 毫秒 Sectiontime int64 `json:"sectiontime,omitempty" xml:"sectiontime,omitempty"` }
YoukuMediaapiVideoSnapshotGetStruct
type YoukuOttDvbCardChangeAPIRequest ¶
type YoukuOttDvbCardChangeAPIRequest struct { model.Params // contains filtered or unexported fields }
dvb ca卡替换 API请求 youku.ott.dvb.card.change
dvb 更换ca卡
func NewYoukuOttDvbCardChangeRequest ¶
func NewYoukuOttDvbCardChangeRequest() *YoukuOttDvbCardChangeAPIRequest
初始化YoukuOttDvbCardChangeAPIRequest对象
func (YoukuOttDvbCardChangeAPIRequest) GetApiMethodName ¶
func (r YoukuOttDvbCardChangeAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (YoukuOttDvbCardChangeAPIRequest) GetApiParams ¶
func (r YoukuOttDvbCardChangeAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (YoukuOttDvbCardChangeAPIRequest) GetCableCompanyCode ¶
func (r YoukuOttDvbCardChangeAPIRequest) GetCableCompanyCode() string
CableCompanyCode Getter
func (YoukuOttDvbCardChangeAPIRequest) GetNewCardId ¶
func (r YoukuOttDvbCardChangeAPIRequest) GetNewCardId() string
NewCardId Getter
func (YoukuOttDvbCardChangeAPIRequest) GetOldCardId ¶
func (r YoukuOttDvbCardChangeAPIRequest) GetOldCardId() string
OldCardId Getter
func (*YoukuOttDvbCardChangeAPIRequest) SetCableCompanyCode ¶
func (r *YoukuOttDvbCardChangeAPIRequest) SetCableCompanyCode(_cableCompanyCode string) error
CableCompanyCode Setter 广电公司code(目前没用)
func (*YoukuOttDvbCardChangeAPIRequest) SetNewCardId ¶
func (r *YoukuOttDvbCardChangeAPIRequest) SetNewCardId(_newCardId string) error
NewCardId Setter 新卡id
func (*YoukuOttDvbCardChangeAPIRequest) SetOldCardId ¶
func (r *YoukuOttDvbCardChangeAPIRequest) SetOldCardId(_oldCardId string) error
OldCardId Setter 老卡id
type YoukuOttDvbCardChangeAPIResponse ¶
type YoukuOttDvbCardChangeAPIResponse struct { model.CommonResponse YoukuOttDvbCardChangeAPIResponseModel }
dvb ca卡替换 API返回值 youku.ott.dvb.card.change
dvb 更换ca卡
type YoukuOttDvbCardChangeAPIResponseModel ¶
type YoukuOttDvbCardChangeAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_dvb_card_change_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 true:成功 false:失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 错误消息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
dvb ca卡替换 成功返回结果
type YoukuOttDvbFirstorderFeedbackAPIRequest ¶
type YoukuOttDvbFirstorderFeedbackAPIRequest struct { model.Params // contains filtered or unexported fields }
dvb首次安装订单反馈 API请求 youku.ott.dvb.firstorder.feedback
dvb首次安装订单反馈
func NewYoukuOttDvbFirstorderFeedbackRequest ¶
func NewYoukuOttDvbFirstorderFeedbackRequest() *YoukuOttDvbFirstorderFeedbackAPIRequest
初始化YoukuOttDvbFirstorderFeedbackAPIRequest对象
func (YoukuOttDvbFirstorderFeedbackAPIRequest) GetApiMethodName ¶
func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (YoukuOttDvbFirstorderFeedbackAPIRequest) GetApiParams ¶
func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (YoukuOttDvbFirstorderFeedbackAPIRequest) GetOccureTime ¶
func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetOccureTime() int64
OccureTime Getter
func (YoukuOttDvbFirstorderFeedbackAPIRequest) GetOrderId ¶
func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetOrderId() int64
OrderId Getter
func (YoukuOttDvbFirstorderFeedbackAPIRequest) GetType ¶
func (r YoukuOttDvbFirstorderFeedbackAPIRequest) GetType() int64
Type Getter
func (*YoukuOttDvbFirstorderFeedbackAPIRequest) SetOccureTime ¶
func (r *YoukuOttDvbFirstorderFeedbackAPIRequest) SetOccureTime(_occureTime int64) error
OccureTime Setter 反馈时间(时间戳,精确到毫秒),调用接口的时间有时候并非是反馈时间,所以增加反馈时间字段作为反馈时间
func (*YoukuOttDvbFirstorderFeedbackAPIRequest) SetOrderId ¶
func (r *YoukuOttDvbFirstorderFeedbackAPIRequest) SetOrderId(_orderId int64) error
OrderId Setter 订单id
func (*YoukuOttDvbFirstorderFeedbackAPIRequest) SetType ¶
func (r *YoukuOttDvbFirstorderFeedbackAPIRequest) SetType(_type int64) error
Type Setter 反馈类型, 200:广电接单
type YoukuOttDvbFirstorderFeedbackAPIResponse ¶
type YoukuOttDvbFirstorderFeedbackAPIResponse struct { model.CommonResponse YoukuOttDvbFirstorderFeedbackAPIResponseModel }
dvb首次安装订单反馈 API返回值 youku.ott.dvb.firstorder.feedback
dvb首次安装订单反馈
type YoukuOttDvbFirstorderFeedbackAPIResponseModel ¶
type YoukuOttDvbFirstorderFeedbackAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_dvb_firstorder_feedback_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 true:成功 false:失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 错误消息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
dvb首次安装订单反馈 成功返回结果
type YoukuOttDvbRenewFeedbackAPIRequest ¶
type YoukuOttDvbRenewFeedbackAPIRequest struct { model.Params // contains filtered or unexported fields }
dvb续费之后的反馈接口 API请求 youku.ott.dvb.renew.feedback
dvb续费之后的反馈接口
func NewYoukuOttDvbRenewFeedbackRequest ¶
func NewYoukuOttDvbRenewFeedbackRequest() *YoukuOttDvbRenewFeedbackAPIRequest
初始化YoukuOttDvbRenewFeedbackAPIRequest对象
func (YoukuOttDvbRenewFeedbackAPIRequest) GetApiMethodName ¶
func (r YoukuOttDvbRenewFeedbackAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (YoukuOttDvbRenewFeedbackAPIRequest) GetApiParams ¶
func (r YoukuOttDvbRenewFeedbackAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (YoukuOttDvbRenewFeedbackAPIRequest) GetFailReason ¶
func (r YoukuOttDvbRenewFeedbackAPIRequest) GetFailReason() string
FailReason Getter
func (YoukuOttDvbRenewFeedbackAPIRequest) GetIsSuccess ¶
func (r YoukuOttDvbRenewFeedbackAPIRequest) GetIsSuccess() bool
IsSuccess Getter
func (YoukuOttDvbRenewFeedbackAPIRequest) GetOrderId ¶
func (r YoukuOttDvbRenewFeedbackAPIRequest) GetOrderId() int64
OrderId Getter
func (*YoukuOttDvbRenewFeedbackAPIRequest) SetFailReason ¶
func (r *YoukuOttDvbRenewFeedbackAPIRequest) SetFailReason(_failReason string) error
FailReason Setter 失败原因(可无)
func (*YoukuOttDvbRenewFeedbackAPIRequest) SetIsSuccess ¶
func (r *YoukuOttDvbRenewFeedbackAPIRequest) SetIsSuccess(_isSuccess bool) error
IsSuccess Setter 是否成功
func (*YoukuOttDvbRenewFeedbackAPIRequest) SetOrderId ¶
func (r *YoukuOttDvbRenewFeedbackAPIRequest) SetOrderId(_orderId int64) error
OrderId Setter 订单id
type YoukuOttDvbRenewFeedbackAPIResponse ¶
type YoukuOttDvbRenewFeedbackAPIResponse struct { model.CommonResponse YoukuOttDvbRenewFeedbackAPIResponseModel }
dvb续费之后的反馈接口 API返回值 youku.ott.dvb.renew.feedback
dvb续费之后的反馈接口
type YoukuOttDvbRenewFeedbackAPIResponseModel ¶
type YoukuOttDvbRenewFeedbackAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_dvb_renew_feedback_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 true:成功 false:失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 错误消息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
dvb续费之后的反馈接口 成功返回结果
type YoukuOttDvbWorkorderFeedbackAPIRequest ¶
type YoukuOttDvbWorkorderFeedbackAPIRequest struct { model.Params // contains filtered or unexported fields }
dvb工单反馈 API请求 youku.ott.dvb.workorder.feedback
dvb工单处理结果反馈
func NewYoukuOttDvbWorkorderFeedbackRequest ¶
func NewYoukuOttDvbWorkorderFeedbackRequest() *YoukuOttDvbWorkorderFeedbackAPIRequest
初始化YoukuOttDvbWorkorderFeedbackAPIRequest对象
func (YoukuOttDvbWorkorderFeedbackAPIRequest) GetApiMethodName ¶
func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (YoukuOttDvbWorkorderFeedbackAPIRequest) GetApiParams ¶
func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (YoukuOttDvbWorkorderFeedbackAPIRequest) GetContent ¶
func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetContent() string
Content Getter
func (YoukuOttDvbWorkorderFeedbackAPIRequest) GetOccureTime ¶
func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetOccureTime() int64
OccureTime Getter
func (YoukuOttDvbWorkorderFeedbackAPIRequest) GetWorkorderId ¶
func (r YoukuOttDvbWorkorderFeedbackAPIRequest) GetWorkorderId() int64
WorkorderId Getter
func (*YoukuOttDvbWorkorderFeedbackAPIRequest) SetContent ¶
func (r *YoukuOttDvbWorkorderFeedbackAPIRequest) SetContent(_content string) error
Content Setter 反馈内容
func (*YoukuOttDvbWorkorderFeedbackAPIRequest) SetOccureTime ¶
func (r *YoukuOttDvbWorkorderFeedbackAPIRequest) SetOccureTime(_occureTime int64) error
OccureTime Setter 操作发生时间(时间戳:毫秒)
func (*YoukuOttDvbWorkorderFeedbackAPIRequest) SetWorkorderId ¶
func (r *YoukuOttDvbWorkorderFeedbackAPIRequest) SetWorkorderId(_workorderId int64) error
WorkorderId Setter 工单id
type YoukuOttDvbWorkorderFeedbackAPIResponse ¶
type YoukuOttDvbWorkorderFeedbackAPIResponse struct { model.CommonResponse YoukuOttDvbWorkorderFeedbackAPIResponseModel }
dvb工单反馈 API返回值 youku.ott.dvb.workorder.feedback
dvb工单处理结果反馈
type YoukuOttDvbWorkorderFeedbackAPIResponseModel ¶
type YoukuOttDvbWorkorderFeedbackAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_dvb_workorder_feedback_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 true:成功 false:失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 错误消息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
dvb工单反馈 成功返回结果
type YoukuOttKittyCommonorderSyncAPIRequest ¶
type YoukuOttKittyCommonorderSyncAPIRequest struct { model.Params // contains filtered or unexported fields }
运营商一般订单同步 API请求 youku.ott.kitty.commonorder.sync
运营商一般订单同步
func NewYoukuOttKittyCommonorderSyncRequest ¶
func NewYoukuOttKittyCommonorderSyncRequest() *YoukuOttKittyCommonorderSyncAPIRequest
初始化YoukuOttKittyCommonorderSyncAPIRequest对象
func (YoukuOttKittyCommonorderSyncAPIRequest) GetAccountId ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetAccountId() string
AccountId Getter
func (YoukuOttKittyCommonorderSyncAPIRequest) GetApiMethodName ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (YoukuOttKittyCommonorderSyncAPIRequest) GetApiParams ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (YoukuOttKittyCommonorderSyncAPIRequest) GetChannelId ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetChannelId() string
ChannelId Getter
func (YoukuOttKittyCommonorderSyncAPIRequest) GetExtInfo ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetExtInfo() string
ExtInfo Getter
func (YoukuOttKittyCommonorderSyncAPIRequest) GetOrderId ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetOrderId() string
OrderId Getter
func (YoukuOttKittyCommonorderSyncAPIRequest) GetProductId ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetProductId() string
ProductId Getter
func (YoukuOttKittyCommonorderSyncAPIRequest) GetSyncTime ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetSyncTime() string
SyncTime Getter
func (YoukuOttKittyCommonorderSyncAPIRequest) GetType ¶
func (r YoukuOttKittyCommonorderSyncAPIRequest) GetType() string
Type Getter
func (*YoukuOttKittyCommonorderSyncAPIRequest) SetAccountId ¶
func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetAccountId(_accountId string) error
AccountId Setter 运营商用户账号账号id,与盒子登录账号tuid一致
func (*YoukuOttKittyCommonorderSyncAPIRequest) SetChannelId ¶
func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetChannelId(_channelId string) error
ChannelId Setter 运营商渠道(需要找优酷方确认)
func (*YoukuOttKittyCommonorderSyncAPIRequest) SetExtInfo ¶
func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetExtInfo(_extInfo string) error
ExtInfo Setter 扩展字段,根据需要,约定具体的字段,json格式
func (*YoukuOttKittyCommonorderSyncAPIRequest) SetOrderId ¶
func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetOrderId(_orderId string) error
OrderId Setter 运营商订单id,最好是16位及以上唯一ID
func (*YoukuOttKittyCommonorderSyncAPIRequest) SetProductId ¶
func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetProductId(_productId string) error
ProductId Setter 充值的商品id(此商品需要事先给到优酷,并把商品的业务逻辑确定下来,比如是连续包月还是单月/单季/单年)
func (*YoukuOttKittyCommonorderSyncAPIRequest) SetSyncTime ¶
func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetSyncTime(_syncTime string) error
SyncTime Setter 同步时间 格式yyyy-MM-dd HH:mm:ss 说明:如果是线上或线下订单此时间是用户支付成功时间,如果是退订则是退订时间
func (*YoukuOttKittyCommonorderSyncAPIRequest) SetType ¶
func (r *YoukuOttKittyCommonorderSyncAPIRequest) SetType(_type string) error
Type Setter 订单类型 1:线上支付订单(线上应用内购买), 2:线下支付订单(比如营业厅订单), 3:连续包取消续订, 4:全额退款(立即终止权益,不分产品包,不计财务), 5:续费(运营商侧发起时才使用),6:非连续包退订(按未使用天数退款)
type YoukuOttKittyCommonorderSyncAPIResponse ¶
type YoukuOttKittyCommonorderSyncAPIResponse struct { model.CommonResponse YoukuOttKittyCommonorderSyncAPIResponseModel }
运营商一般订单同步 API返回值 youku.ott.kitty.commonorder.sync
运营商一般订单同步
type YoukuOttKittyCommonorderSyncAPIResponseModel ¶
type YoukuOttKittyCommonorderSyncAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_kitty_commonorder_sync_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 true:成功 false:失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 错误消息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回码(一般情况请求方只需要关心success,除非特殊情况需要关心错误码) RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"` }
运营商一般订单同步 成功返回结果
type YoukuTvoperatorMediaPageQueryAPIRequest ¶
type YoukuTvoperatorMediaPageQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
运营商全量媒资分页查询 API请求 youku.tvoperator.media.page.query
分页获取渠道全量媒资
func NewYoukuTvoperatorMediaPageQueryRequest ¶
func NewYoukuTvoperatorMediaPageQueryRequest() *YoukuTvoperatorMediaPageQueryAPIRequest
初始化YoukuTvoperatorMediaPageQueryAPIRequest对象
func (YoukuTvoperatorMediaPageQueryAPIRequest) GetApiMethodName ¶
func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (YoukuTvoperatorMediaPageQueryAPIRequest) GetApiParams ¶
func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (YoukuTvoperatorMediaPageQueryAPIRequest) GetPageNo ¶
func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetPageNo() int64
PageNo Getter
func (YoukuTvoperatorMediaPageQueryAPIRequest) GetPageSize ¶
func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetPageSize() int64
PageSize Getter
func (YoukuTvoperatorMediaPageQueryAPIRequest) GetProgramId ¶
func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetProgramId() int64
ProgramId Getter
func (YoukuTvoperatorMediaPageQueryAPIRequest) GetSystemInfo ¶
func (r YoukuTvoperatorMediaPageQueryAPIRequest) GetSystemInfo() string
SystemInfo Getter
func (*YoukuTvoperatorMediaPageQueryAPIRequest) SetPageNo ¶
func (r *YoukuTvoperatorMediaPageQueryAPIRequest) SetPageNo(_pageNo int64) error
PageNo Setter 从第一页开始
func (*YoukuTvoperatorMediaPageQueryAPIRequest) SetPageSize ¶
func (r *YoukuTvoperatorMediaPageQueryAPIRequest) SetPageSize(_pageSize int64) error
PageSize Setter 页面大小
func (*YoukuTvoperatorMediaPageQueryAPIRequest) SetProgramId ¶
func (r *YoukuTvoperatorMediaPageQueryAPIRequest) SetProgramId(_programId int64) error
ProgramId Setter 节目programId
func (*YoukuTvoperatorMediaPageQueryAPIRequest) SetSystemInfo ¶
func (r *YoukuTvoperatorMediaPageQueryAPIRequest) SetSystemInfo(_systemInfo string) error
SystemInfo Setter 系统信息(和服务提供方确认)
type YoukuTvoperatorMediaPageQueryAPIResponse ¶
type YoukuTvoperatorMediaPageQueryAPIResponse struct { model.CommonResponse YoukuTvoperatorMediaPageQueryAPIResponseModel }
运营商全量媒资分页查询 API返回值 youku.tvoperator.media.page.query
分页获取渠道全量媒资
type YoukuTvoperatorMediaPageQueryAPIResponseModel ¶
type YoukuTvoperatorMediaPageQueryAPIResponseModel struct { XMLName xml.Name `xml:"youku_tvoperator_media_page_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 true:成功 false:不成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 数据信息 Model *YoukuTvoperatorMediaPageQueryModel `json:"model,omitempty" xml:"model,omitempty"` // 错误码 MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 错误信息 MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` }
运营商全量媒资分页查询 成功返回结果
type YoukuTvoperatorMediaPageQueryData ¶
type YoukuTvoperatorMediaPageQueryData struct { // 分类列表 GenreList []string `json:"genre_list,omitempty" xml:"genre_list>string,omitempty"` // 优酷标签 YoukuTags string `json:"youku_tags,omitempty" xml:"youku_tags,omitempty"` // 分数 Score string `json:"score,omitempty" xml:"score,omitempty"` // 子标题 ShowSubtitle string `json:"show_subtitle,omitempty" xml:"show_subtitle,omitempty"` // 更新集数 EpisodeLast int64 `json:"episode_last,omitempty" xml:"episode_last,omitempty"` // 导演 DirectorList []string `json:"director_list,omitempty" xml:"director_list>string,omitempty"` // 节目banner ShowBannerUrl string `json:"show_banner_url,omitempty" xml:"show_banner_url,omitempty"` // 演员 PerformerList []string `json:"performer_list,omitempty" xml:"performer_list>string,omitempty"` // 分类名称 ShowCategoryName string `json:"show_category_name,omitempty" xml:"show_category_name,omitempty"` // 纵向海报 ShowVthumbUrl string `json:"show_vthumb_url,omitempty" xml:"show_vthumb_url,omitempty"` // 节目描述 ShowDesc string `json:"show_desc,omitempty" xml:"show_desc,omitempty"` // 是否收费,0=免费,1=收费 Paid int64 `json:"paid,omitempty" xml:"paid,omitempty"` // 发行日期 ReleaseDate int64 `json:"release_date,omitempty" xml:"release_date,omitempty"` // 节目国家地区列表 AreaList []string `json:"area_list,omitempty" xml:"area_list>string,omitempty"` // 节目名称 ShowName string `json:"show_name,omitempty" xml:"show_name,omitempty"` // 总集数 EpisodeTotal int64 `json:"episode_total,omitempty" xml:"episode_total,omitempty"` // 节目id ShowId string `json:"show_id,omitempty" xml:"show_id,omitempty"` // 码流二进制组合 PlaySet int64 `json:"play_set,omitempty" xml:"play_set,omitempty"` // 时长 Seconds int64 `json:"seconds,omitempty" xml:"seconds,omitempty"` // 横版海报 ShowThumbUrl string `json:"show_thumb_url,omitempty" xml:"show_thumb_url,omitempty"` // 媒资最后修改时间 GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 上线下状态 VmacState int64 `json:"vmac_state,omitempty" xml:"vmac_state,omitempty"` }
YoukuTvoperatorMediaPageQueryData
type YoukuTvoperatorMediaPageQueryModel ¶
type YoukuTvoperatorMediaPageQueryModel struct { // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` // 页号 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 数据列表 DataList []YoukuTvoperatorMediaPageQueryData `json:"data_list,omitempty" xml:"data_list>youku_tvoperator_media_page_query_data,omitempty"` // 分页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 总页数 TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"` }
YoukuTvoperatorMediaPageQueryModel
Source Files ¶
- YoukuMediaapiVideoSnapshotGetAPIRequest.go
- YoukuMediaapiVideoSnapshotGetAPIResponse.go
- YoukuMediaapiVideoSnapshotGetStruct.go
- YoukuOttDvbCardChangeAPIRequest.go
- YoukuOttDvbCardChangeAPIResponse.go
- YoukuOttDvbFirstorderFeedbackAPIRequest.go
- YoukuOttDvbFirstorderFeedbackAPIResponse.go
- YoukuOttDvbRenewFeedbackAPIRequest.go
- YoukuOttDvbRenewFeedbackAPIResponse.go
- YoukuOttDvbWorkorderFeedbackAPIRequest.go
- YoukuOttDvbWorkorderFeedbackAPIResponse.go
- YoukuOttKittyCommonorderSyncAPIRequest.go
- YoukuOttKittyCommonorderSyncAPIResponse.go
- YoukuTvoperatorMediaPageQueryAPIRequest.go
- YoukuTvoperatorMediaPageQueryAPIResponse.go
- YoukuTvoperatorMediaPageQueryData.go
- YoukuTvoperatorMediaPageQueryModel.go
- doc.go