models

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryInfo

type CategoryInfo struct {

	/* 分类ID (Optional) */
	CategoryId int `json:"categoryId"`

	/* 分类名称 (Optional) */
	Category string `json:"category"`

	/* 等级ID (Optional) */
	LevelId int `json:"levelId"`
}

type CategoryParent

type CategoryParent struct {

	/* 分类ID (Optional) */
	CategoryId int `json:"categoryId"`

	/* 分类名称 (Optional) */
	Category string `json:"category"`

	/* 父分类 (Optional) */
	Parents interface{} `json:"parents"`
}

type CategoryTree

type CategoryTree struct {

	/* 分类ID (Optional) */
	CategoryId int `json:"categoryId"`

	/* 分类名称 (Optional) */
	Category string `json:"category"`

	/* 等级ID (Optional) */
	LevelId int `json:"levelId"`

	/* 子分类 (Optional) */
	Children []CategoryTree `json:"children"`
}

type Code

type Code struct {

	/* 码率ID (Optional) */
	Cid int `json:"cid"`

	/* 码率名称 (Optional) */
	Name string `json:"name"`

	/* 媒体类型 (Optional) */
	MediaType int `json:"mediaType"`

	/* 封装格式 (Optional) */
	Format string `json:"format"`

	/* 画质 (Optional) */
	Quality string `json:"quality"`

	/* 状态 (Optional) */
	Status int `json:"status"`

	/* 进度 (Optional) */
	Progress string `json:"progress"`

	/* 成品地址 (Optional) */
	Url string `json:"url"`

	/* CDN播放地址 (Optional) */
	CdnUrl string `json:"cdnUrl"`

	/* 文件大小 (Optional) */
	Size int `json:"size"`

	/* 码率模板ID (Optional) */
	CoderateId int `json:"coderateId"`

	/* 码率 (Optional) */
	Coderate int `json:"coderate"`

	/* 编码格式 (Optional) */
	Codec string `json:"codec"`

	/* 宽 (Optional) */
	Width int `json:"width"`

	/* 高 (Optional) */
	Height int `json:"height"`

	/* 帧率 (Optional) */
	FrameRate string `json:"frameRate"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type DescribeTranscode

type DescribeTranscode struct {

	/* 模板ID (Optional) */
	CoderateId int `json:"coderateId"`

	/* 模板名称 (Optional) */
	Name string `json:"name"`

	/* 封装格式 (Optional) */
	Format string `json:"format"`

	/* 宽 (Optional) */
	Width int `json:"width"`

	/* 高 (Optional) */
	Height int `json:"height"`

	/* 视频编码 (Optional) */
	VideoCodec string `json:"videoCodec"`

	/* 视频码率 (Optional) */
	VideoCoderate int `json:"videoCoderate"`

	/* 视频帧率 (Optional) */
	VideoFramerate string `json:"videoFramerate"`

	/* 音频ID (Optional) */
	AudioId int `json:"audioId"`

	/* 音频编码 (Optional) */
	AudioCodec string `json:"audioCodec"`

	/* 音频码率 (Optional) */
	AudioCoderate int `json:"audioCoderate"`

	/* 音频采样率 (Optional) */
	SampleRate int `json:"sampleRate"`

	/* 音频声道数 (Optional) */
	Channel int `json:"channel"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type Domains

type Domains struct {

	/* 域名ID (Optional) */
	DomainId int `json:"domainId"`

	/* 域名 (Optional) */
	Domain string `json:"domain"`

	/* 域名名称 (Optional) */
	Cname string `json:"cname"`

	/* 状态 (Optional) */
	Status int `json:"status"`

	/* 证书 (Optional) */
	Certificate string `json:"certificate"`

	/* 类型 (Optional) */
	Type int `json:"type"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type Img

type Img struct {

	/* 图片ID (Optional) */
	ImgId int `json:"imgId"`

	/* 图片地址 (Optional) */
	ImgUrl string `json:"imgUrl"`

	/* 宽 (Optional) */
	Width int `json:"width"`

	/* 高 (Optional) */
	Height int `json:"height"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type LogosTemplate

type LogosTemplate struct {

	/* 模板ID (Optional) */
	LogoId int `json:"logoId"`

	/* 模板名称 (Optional) */
	Name string `json:"name"`

	/* 图片地址 (Optional) */
	ImgUrl string `json:"imgUrl"`

	/* 水印位置 (Optional) */
	Position int `json:"position"`

	/* 宽 (Optional) */
	Width int `json:"width"`

	/* 高 (Optional) */
	Height int `json:"height"`

	/* 偏移单位 (Optional) */
	Unit string `json:"unit"`

	/* 水平偏移 (Optional) */
	OffsetX int `json:"offsetX"`

	/* 垂直偏移 (Optional) */
	OffsetY int `json:"offsetY"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type Tasks

type Tasks struct {

	/* 任务ID (Optional) */
	TaskId int `json:"taskId"`

	/* 视频名称 (Optional) */
	Name string `json:"name"`

	/* 分类ID (Optional) */
	CategoryId int `json:"categoryId"`

	/* 分类名称 (Optional) */
	Category string `json:"category"`

	/* 格式 (Optional) */
	Format string `json:"format"`

	/* 文件大小 (Optional) */
	Size int `json:"size"`

	/* 上传状态 (Optional) */
	Status int `json:"status"`
}

type Template

type Template struct {

	/* 模板类型 (Optional) */
	TemplateType int `json:"templateType"`

	/* 开关 (Optional) */
	Flag int `json:"flag"`

	/* 模板ID (Optional) */
	TemplateId string `json:"templateId"`
}

type TranscodeTemplate

type TranscodeTemplate struct {

	/* 模板ID (Optional) */
	CoderateId int `json:"coderateId"`

	/* 模板名称 (Optional) */
	Name string `json:"name"`

	/* 封装格式 (Optional) */
	Format string `json:"format"`

	/* 宽 (Optional) */
	Width int `json:"width"`

	/* 高 (Optional) */
	Height int `json:"height"`

	/* 视频码率 (Optional) */
	VideoCodeRate int `json:"videoCodeRate"`

	/* 视频编码 (Optional) */
	VideoCodec string `json:"videoCodec"`

	/* 音频编码 (Optional) */
	AudioCodec string `json:"audioCodec"`

	/* 是否系统默认 (Optional) */
	Type int `json:"type"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type Video

type Video struct {

	/* 视频ID (Optional) */
	Mid string `json:"mid"`

	/* 视频名称 (Optional) */
	VideoName string `json:"videoName"`

	/* 片源地址 (Optional) */
	Url string `json:"url"`

	/* 封面图地址 (Optional) */
	ImgUrl string `json:"imgUrl"`

	/* 视频分类ID (Optional) */
	CategoryId int `json:"categoryId"`

	/* 视频分类名称 (Optional) */
	Category string `json:"category"`

	/* 状态 (Optional) */
	Status int `json:"status"`

	/* 文件大小 (Optional) */
	Size int `json:"size"`

	/* 视频时长 (Optional) */
	Duration int `json:"duration"`

	/* 标签 (Optional) */
	Tags string `json:"tags"`

	/* 转码模板ID (Optional) */
	CoderateId string `json:"coderateId"`

	/* 水印模板ID (Optional) */
	LogoId string `json:"logoId"`

	/* MD5值 (Optional) */
	Md5 string `json:"md5"`

	/* 上传客户 (Optional) */
	ClientIp string `json:"clientIp"`

	/* 上传业务ID (Optional) */
	ClientId int `json:"clientId"`

	/* 存储节点域名 (Optional) */
	Endpoint string `json:"endpoint"`

	/* 存储桶名称 (Optional) */
	Bucket string `json:"bucket"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 码率信息 (Optional) */
	CodeList []Code `json:"codeList"`

	/* 分类父级信息信息 (Optional) */
	Categorys interface{} `json:"categorys"`
}

type VideoImg

type VideoImg struct {

	/* 视频ID (Optional) */
	Mid string `json:"mid"`

	/* 视频名称 (Optional) */
	VideoName string `json:"videoName"`

	/* 片源地址 (Optional) */
	Url string `json:"url"`

	/* 封面图地址 (Optional) */
	ImgUrl string `json:"imgUrl"`

	/* 视频分类ID (Optional) */
	CategoryId int `json:"categoryId"`

	/* 视频分类名称 (Optional) */
	Category string `json:"category"`

	/* 状态 (Optional) */
	Status int `json:"status"`

	/* 文件大小 (Optional) */
	Size int `json:"size"`

	/* 视频时长 (Optional) */
	Duration int `json:"duration"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 标签 (Optional) */
	Tags string `json:"tags"`

	/* 视频介绍 (Optional) */
	Notes string `json:"notes"`

	/* 截图成品 (Optional) */
	ImgList []Img `json:"imgList"`
}

type VideoInformation

type VideoInformation struct {

	/* 视频ID (Optional) */
	Mid string `json:"mid"`

	/* 视频名称 (Optional) */
	VideoName string `json:"videoName"`

	/* 片源地址 (Optional) */
	Url string `json:"url"`

	/* 封面图地址 (Optional) */
	ImgUrl string `json:"imgUrl"`

	/* 视频分类ID (Optional) */
	CategoryId int `json:"categoryId"`

	/* 视频分类名称 (Optional) */
	Category string `json:"category"`

	/* 状态 (Optional) */
	Status int `json:"status"`

	/* 文件大小 (Optional) */
	Size int `json:"size"`

	/* 视频时长 (Optional) */
	Duration int `json:"duration"`

	/* 标签 (Optional) */
	Tags string `json:"tags"`

	/* 视频介绍 (Optional) */
	Notes string `json:"notes"`

	/* 转码模板ID (Optional) */
	CoderateId string `json:"coderateId"`

	/* 水印模板ID (Optional) */
	LogoId string `json:"logoId"`

	/* MD5值 (Optional) */
	Md5 string `json:"md5"`

	/* 上传客户 (Optional) */
	ClientIp string `json:"clientIp"`

	/* 上传业务ID (Optional) */
	ClientId int `json:"clientId"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 截图成品 (Optional) */
	ImgList []Img `json:"imgList"`
}

Jump to

Keyboard shortcuts

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