file

package
v1.11.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package file 素材管理API models

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VideoAwemeGetFiltering

type VideoAwemeGetFiltering struct {
	//ProductID 商品ID,查询关联商品的相应视频,仅短视频带货场景需入参
	ProductID uint64 `json:"product_id,omitempty"`
}

VideoAwemeGetFiltering 筛选条件

type VideoAwemeGetRequest

type VideoAwemeGetRequest struct {
	// AdvertiserID 广告主ID
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// AwemeID 需拉取视频的抖音号
	AwemeID uint64 `json:"aweme_id,omitempty"`
	// Filtering 视频过滤条件
	Filtering *VideoAwemeGetFiltering `json:"filtering,omitempty"`
	// Cursor 页码游标值,第一次拉取,无需入参
	Cursor int `json:"cursor,omitempty"`
	// Count 页面大小,默认值30,限制1-50
	Count int `json:"count,omitempty"`
}

VideoAwemeGetRequest 获取抖音号下的视频 API Request

func (VideoAwemeGetRequest) Encode

func (r VideoAwemeGetRequest) Encode() string

Encode implement GetRequest interface

type VideoAwemeGetResponse

type VideoAwemeGetResponse struct {
	model.BaseResponse
	Data *VideoAwemeGetResponseData `json:"data,omitempty"`
}

VideoAwemeGetResponse 获取抖音号下的视频 API Response

type VideoAwemeGetResponseData

type VideoAwemeGetResponseData struct {
	// List 视频列表
	List []file.Video `json:"video_list,omitempty"`
	// PageInfo 分页信息
	PageInfo *model.PageInfo `json:"page_info,omitempty"`
}

VideoAwemeGetResponseData json返回值

Jump to

Keyboard shortcuts

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