model

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetDetails

type AssetDetails struct {
	AssetId string `json:"asset_id"`

	AssetStatus *AssetDetailsAssetStatus `json:"asset_status,omitempty"`

	TranscodeStatus *AssetDetailsTranscodeStatus `json:"transcode_status,omitempty"`

	BaseInfo *BaseInfo `json:"base_info,omitempty"`

	TranscodeInfo *TranscodeInfo `json:"transcode_info,omitempty"`
}

func (AssetDetails) String

func (o AssetDetails) String() string

type AssetDetailsAssetStatus

type AssetDetailsAssetStatus struct {
	// contains filtered or unexported fields
}

func (AssetDetailsAssetStatus) MarshalJSON

func (c AssetDetailsAssetStatus) MarshalJSON() ([]byte, error)

func (*AssetDetailsAssetStatus) UnmarshalJSON

func (c *AssetDetailsAssetStatus) UnmarshalJSON(b []byte) error

type AssetDetailsAssetStatusEnum

type AssetDetailsAssetStatusEnum struct {
	CREATING  AssetDetailsAssetStatus
	FAILED    AssetDetailsAssetStatus
	CREATED   AssetDetailsAssetStatus
	PUBLISHED AssetDetailsAssetStatus
	DELETED   AssetDetailsAssetStatus
}

func GetAssetDetailsAssetStatusEnum

func GetAssetDetailsAssetStatusEnum() AssetDetailsAssetStatusEnum

type AssetDetailsTranscodeStatus

type AssetDetailsTranscodeStatus struct {
	// contains filtered or unexported fields
}

func (AssetDetailsTranscodeStatus) MarshalJSON

func (c AssetDetailsTranscodeStatus) MarshalJSON() ([]byte, error)

func (*AssetDetailsTranscodeStatus) UnmarshalJSON

func (c *AssetDetailsTranscodeStatus) UnmarshalJSON(b []byte) error

type AssetDetailsTranscodeStatusEnum

type AssetDetailsTranscodeStatusEnum struct {
	UN_TRANSCODE      AssetDetailsTranscodeStatus
	WAITING_TRANSCODE AssetDetailsTranscodeStatus
	TRANSCODING       AssetDetailsTranscodeStatus
	TRANSCODE_SUCCEED AssetDetailsTranscodeStatus
	TRANSCODE_FAILED  AssetDetailsTranscodeStatus
}

func GetAssetDetailsTranscodeStatusEnum

func GetAssetDetailsTranscodeStatusEnum() AssetDetailsTranscodeStatusEnum

type AssetInfo

type AssetInfo struct {
	AssetId *string `json:"asset_id,omitempty"`

	Status *string `json:"status,omitempty"`

	Description *string `json:"description,omitempty"`

	BaseInfo *BaseInfo `json:"base_info,omitempty"`

	PlayInfoArray *[]PlayInfo `json:"play_info_array,omitempty"`
}

func (AssetInfo) String

func (o AssetInfo) String() string

type AssetProcessReq

type AssetProcessReq struct {
	AssetId string `json:"asset_id"`

	TemplateGroupName *string `json:"template_group_name,omitempty"`

	AutoEncrypt *int32 `json:"auto_encrypt,omitempty"`

	Thumbnail *Thumbnail `json:"thumbnail,omitempty"`

	SubtitleId *[]int32 `json:"subtitle_id,omitempty"`
}

func (AssetProcessReq) String

func (o AssetProcessReq) String() string

type AssetReviewReq

type AssetReviewReq struct {
	AssetId string `json:"asset_id"`

	Review *Review `json:"review"`
}

func (AssetReviewReq) String

func (o AssetReviewReq) String() string

type AssetSummary

type AssetSummary struct {
	AssetId string `json:"asset_id"`

	Title string `json:"title"`

	Description *string `json:"description,omitempty"`

	Duration int32 `json:"duration"`

	Size int64 `json:"size"`

	OriginalUrl *string `json:"original_url,omitempty"`

	Category *string `json:"category,omitempty"`

	Covers *[]CoverInfo `json:"covers,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	AssetStatus AssetSummaryAssetStatus `json:"asset_status"`

	TranscodeStatus *AssetSummaryTranscodeStatus `json:"transcode_status,omitempty"`

	ThumbnailStatus *AssetSummaryThumbnailStatus `json:"thumbnail_status,omitempty"`

	ReviewStatus *AssetSummaryReviewStatus `json:"review_status,omitempty"`

	ExecDesc *string `json:"exec_desc,omitempty"`

	MediaType *string `json:"media_type,omitempty"`
}

媒资总览

func (AssetSummary) String

func (o AssetSummary) String() string

type AssetSummaryAssetStatus

type AssetSummaryAssetStatus struct {
	// contains filtered or unexported fields
}

func (AssetSummaryAssetStatus) MarshalJSON

func (c AssetSummaryAssetStatus) MarshalJSON() ([]byte, error)

func (*AssetSummaryAssetStatus) UnmarshalJSON

func (c *AssetSummaryAssetStatus) UnmarshalJSON(b []byte) error

type AssetSummaryAssetStatusEnum

type AssetSummaryAssetStatusEnum struct {
	CREATING  AssetSummaryAssetStatus
	FAILED    AssetSummaryAssetStatus
	CREATED   AssetSummaryAssetStatus
	PUBLISHED AssetSummaryAssetStatus
	DELETED   AssetSummaryAssetStatus
}

func GetAssetSummaryAssetStatusEnum

func GetAssetSummaryAssetStatusEnum() AssetSummaryAssetStatusEnum

type AssetSummaryReviewStatus

type AssetSummaryReviewStatus struct {
	// contains filtered or unexported fields
}

func (AssetSummaryReviewStatus) MarshalJSON

func (c AssetSummaryReviewStatus) MarshalJSON() ([]byte, error)

func (*AssetSummaryReviewStatus) UnmarshalJSON

func (c *AssetSummaryReviewStatus) UnmarshalJSON(b []byte) error

type AssetSummaryReviewStatusEnum

type AssetSummaryReviewStatusEnum struct {
	UN_REVIEW         AssetSummaryReviewStatus
	REVIEWING         AssetSummaryReviewStatus
	REVIEW_SUSPICIOUS AssetSummaryReviewStatus
	REVIEW_PASSED     AssetSummaryReviewStatus
	REVIEW_FAILED     AssetSummaryReviewStatus
	REVIEW_BLOCKED    AssetSummaryReviewStatus
}

func GetAssetSummaryReviewStatusEnum

func GetAssetSummaryReviewStatusEnum() AssetSummaryReviewStatusEnum

type AssetSummaryThumbnailStatus

type AssetSummaryThumbnailStatus struct {
	// contains filtered or unexported fields
}

func (AssetSummaryThumbnailStatus) MarshalJSON

func (c AssetSummaryThumbnailStatus) MarshalJSON() ([]byte, error)

func (*AssetSummaryThumbnailStatus) UnmarshalJSON

func (c *AssetSummaryThumbnailStatus) UnmarshalJSON(b []byte) error

type AssetSummaryThumbnailStatusEnum

type AssetSummaryThumbnailStatusEnum struct {
	UN_THUMBNAIL      AssetSummaryThumbnailStatus
	THUMBNAILING      AssetSummaryThumbnailStatus
	THUMBNAIL_SUCCEED AssetSummaryThumbnailStatus
	THUMBNAIL_FAILED  AssetSummaryThumbnailStatus
}

func GetAssetSummaryThumbnailStatusEnum

func GetAssetSummaryThumbnailStatusEnum() AssetSummaryThumbnailStatusEnum

type AssetSummaryTranscodeStatus

type AssetSummaryTranscodeStatus struct {
	// contains filtered or unexported fields
}

func (AssetSummaryTranscodeStatus) MarshalJSON

func (c AssetSummaryTranscodeStatus) MarshalJSON() ([]byte, error)

func (*AssetSummaryTranscodeStatus) UnmarshalJSON

func (c *AssetSummaryTranscodeStatus) UnmarshalJSON(b []byte) error

type AssetSummaryTranscodeStatusEnum

type AssetSummaryTranscodeStatusEnum struct {
	UN_TRANSCODE      AssetSummaryTranscodeStatus
	WAITING_TRANSCODE AssetSummaryTranscodeStatus
	TRANSCODING       AssetSummaryTranscodeStatus
	TRANSCODE_SUCCEED AssetSummaryTranscodeStatus
	TRANSCODE_FAILED  AssetSummaryTranscodeStatus
}

func GetAssetSummaryTranscodeStatusEnum

func GetAssetSummaryTranscodeStatusEnum() AssetSummaryTranscodeStatusEnum

type AudioTemplateInfo

type AudioTemplateInfo struct {
	SampleRate int32 `json:"sample_rate"`

	Bitrate *int32 `json:"bitrate,omitempty"`

	Channels int32 `json:"channels"`
}

模板音频信息

func (AudioTemplateInfo) String

func (o AudioTemplateInfo) String() string

type BaseInfo

type BaseInfo struct {
	Title *string `json:"title,omitempty"`

	VideoName *string `json:"video_name,omitempty"`

	Description *string `json:"description,omitempty"`

	CategoryId *int64 `json:"category_id,omitempty"`

	CategoryName *string `json:"category_name,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	LastModified *string `json:"last_modified,omitempty"`

	VideoType *string `json:"video_type,omitempty"`

	Tags *string `json:"tags,omitempty"`

	MetaData *MetaData `json:"meta_data,omitempty"`

	VideoUrl *string `json:"video_url,omitempty"`

	CoverInfoArray *[]CoverInfo `json:"cover_info_array,omitempty"`

	SubtitleInfo *[]SubtitleInfo `json:"subtitle_info,omitempty"`

	SourcePath *FileAddr `json:"source_path,omitempty"`

	OutputPath *FileAddr `json:"output_path,omitempty"`
}

媒资基本信息。

func (BaseInfo) String

func (o BaseInfo) String() string

type CancelAssetTranscodeTaskRequest

type CancelAssetTranscodeTaskRequest struct {
	AssetId string `json:"asset_id"`
}

Request Object

func (CancelAssetTranscodeTaskRequest) String

type CancelAssetTranscodeTaskResponse

type CancelAssetTranscodeTaskResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CancelAssetTranscodeTaskResponse) String

type CancelExtractAudioTaskRequest

type CancelExtractAudioTaskRequest struct {
	AssetId string `json:"asset_id"`
}

Request Object

func (CancelExtractAudioTaskRequest) String

type CancelExtractAudioTaskResponse

type CancelExtractAudioTaskResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CancelExtractAudioTaskResponse) String

type CheckMd5DuplicationRequest

type CheckMd5DuplicationRequest struct {
	Size int32 `json:"size"`

	Md5 string `json:"md5"`
}

Request Object

func (CheckMd5DuplicationRequest) String

type CheckMd5DuplicationResponse

type CheckMd5DuplicationResponse struct {
	IsDuplicated *int32 `json:"is_duplicated,omitempty"`

	AssetIds       *[]string `json:"asset_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CheckMd5DuplicationResponse) String

type Common

type Common struct {
	Pvc CommonPvc `json:"pvc"`

	PvcVersion *string `json:"pvc_version,omitempty"`

	VideoCodec *CommonVideoCodec `json:"video_codec,omitempty"`

	AudioCodec *CommonAudioCodec `json:"audio_codec,omitempty"`

	HlsInterval *int32 `json:"hls_interval,omitempty"`
}

模板信息。

func (Common) String

func (o Common) String() string

type CommonAudioCodec

type CommonAudioCodec struct {
	// contains filtered or unexported fields
}

func (CommonAudioCodec) MarshalJSON

func (c CommonAudioCodec) MarshalJSON() ([]byte, error)

func (*CommonAudioCodec) UnmarshalJSON

func (c *CommonAudioCodec) UnmarshalJSON(b []byte) error

type CommonAudioCodecEnum

type CommonAudioCodecEnum struct {
	AAC    CommonAudioCodec
	HEAAC1 CommonAudioCodec
	HEAAC2 CommonAudioCodec
	MP3    CommonAudioCodec
}

func GetCommonAudioCodecEnum

func GetCommonAudioCodecEnum() CommonAudioCodecEnum

type CommonPvc

type CommonPvc struct {
	// contains filtered or unexported fields
}

func (CommonPvc) MarshalJSON

func (c CommonPvc) MarshalJSON() ([]byte, error)

func (*CommonPvc) UnmarshalJSON

func (c *CommonPvc) UnmarshalJSON(b []byte) error

type CommonPvcEnum

type CommonPvcEnum struct {
	E_0    CommonPvc
	E_1    CommonPvc
	E_2    CommonPvc
	UNKNOW CommonPvc
}

func GetCommonPvcEnum

func GetCommonPvcEnum() CommonPvcEnum

type CommonVideoCodec

type CommonVideoCodec struct {
	// contains filtered or unexported fields
}

func (CommonVideoCodec) MarshalJSON

func (c CommonVideoCodec) MarshalJSON() ([]byte, error)

func (*CommonVideoCodec) UnmarshalJSON

func (c *CommonVideoCodec) UnmarshalJSON(b []byte) error

type CommonVideoCodecEnum

type CommonVideoCodecEnum struct {
	H264   CommonVideoCodec
	H265   CommonVideoCodec
	UNKNOW CommonVideoCodec
}

func GetCommonVideoCodecEnum

func GetCommonVideoCodecEnum() CommonVideoCodecEnum

type ConfirmAssetUploadReq

type ConfirmAssetUploadReq struct {
	AssetId string `json:"asset_id"`

	Status ConfirmAssetUploadReqStatus `json:"status"`
}

func (ConfirmAssetUploadReq) String

func (o ConfirmAssetUploadReq) String() string

type ConfirmAssetUploadReqStatus

type ConfirmAssetUploadReqStatus struct {
	// contains filtered or unexported fields
}

func (ConfirmAssetUploadReqStatus) MarshalJSON

func (c ConfirmAssetUploadReqStatus) MarshalJSON() ([]byte, error)

func (*ConfirmAssetUploadReqStatus) UnmarshalJSON

func (c *ConfirmAssetUploadReqStatus) UnmarshalJSON(b []byte) error

type ConfirmAssetUploadReqStatusEnum

type ConfirmAssetUploadReqStatusEnum struct {
	CREATED   ConfirmAssetUploadReqStatus
	FAILED    ConfirmAssetUploadReqStatus
	CANCELLED ConfirmAssetUploadReqStatus
}

func GetConfirmAssetUploadReqStatusEnum

func GetConfirmAssetUploadReqStatusEnum() ConfirmAssetUploadReqStatusEnum

type ConfirmAssetUploadRequest

type ConfirmAssetUploadRequest struct {
	Body *ConfirmAssetUploadReq `json:"body,omitempty"`
}

Request Object

func (ConfirmAssetUploadRequest) String

func (o ConfirmAssetUploadRequest) String() string

type ConfirmAssetUploadResponse

type ConfirmAssetUploadResponse struct {
	AssetId        *string `json:"asset_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ConfirmAssetUploadResponse) String

type ConfirmImageUploadReq

type ConfirmImageUploadReq struct {
	Id string `json:"id"`

	Status ConfirmImageUploadReqStatus `json:"status"`
}

func (ConfirmImageUploadReq) String

func (o ConfirmImageUploadReq) String() string

type ConfirmImageUploadReqStatus

type ConfirmImageUploadReqStatus struct {
	// contains filtered or unexported fields
}

func (ConfirmImageUploadReqStatus) MarshalJSON

func (c ConfirmImageUploadReqStatus) MarshalJSON() ([]byte, error)

func (*ConfirmImageUploadReqStatus) UnmarshalJSON

func (c *ConfirmImageUploadReqStatus) UnmarshalJSON(b []byte) error

type ConfirmImageUploadReqStatusEnum

type ConfirmImageUploadReqStatusEnum struct {
	SUCCEED ConfirmImageUploadReqStatus
	FAILED  ConfirmImageUploadReqStatus
}

func GetConfirmImageUploadReqStatusEnum

func GetConfirmImageUploadReqStatusEnum() ConfirmImageUploadReqStatusEnum

type ConfirmImageUploadRequest

type ConfirmImageUploadRequest struct {
	Body *ConfirmImageUploadReq `json:"body,omitempty"`
}

Request Object

func (ConfirmImageUploadRequest) String

func (o ConfirmImageUploadRequest) String() string

type ConfirmImageUploadResponse

type ConfirmImageUploadResponse struct {
	Id *string `json:"id,omitempty"`

	ImageUrl       *string `json:"image_url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ConfirmImageUploadResponse) String

type CoverInfo

type CoverInfo struct {
	CoverUrl *string `json:"cover_url,omitempty"`
}

封面信息。

func (CoverInfo) String

func (o CoverInfo) String() string

type CreateAssetByFileUploadReq added in v0.0.50

type CreateAssetByFileUploadReq struct {
	Title string `json:"title"`

	Description *string `json:"description,omitempty"`

	VideoName string `json:"video_name"`

	VideoType string `json:"video_type"`

	CategoryId *string `json:"category_id,omitempty"`

	VideoMd5 *string `json:"video_md5,omitempty"`

	CoverType *CreateAssetByFileUploadReqCoverType `json:"cover_type,omitempty"`

	CoverMd5 *string `json:"cover_md5,omitempty"`

	Subtitles *[]Subtitle `json:"subtitles,omitempty"`

	Tags *string `json:"tags,omitempty"`

	AutoPublish *CreateAssetByFileUploadReqAutoPublish `json:"auto_publish,omitempty"`

	TemplateGroupName *string `json:"template_group_name,omitempty"`

	AutoEncrypt *int32 `json:"auto_encrypt,omitempty"`

	AutoPreheat *string `json:"auto_preheat,omitempty"`

	Thumbnail *Thumbnail `json:"thumbnail,omitempty"`

	Review *Review `json:"review,omitempty"`

	WorkflowName *string `json:"workflow_name,omitempty"`
}

func (CreateAssetByFileUploadReq) String added in v0.0.50

type CreateAssetByFileUploadReqAutoPublish added in v0.0.53

type CreateAssetByFileUploadReqAutoPublish struct {
	// contains filtered or unexported fields
}

func (CreateAssetByFileUploadReqAutoPublish) MarshalJSON added in v0.0.53

func (c CreateAssetByFileUploadReqAutoPublish) MarshalJSON() ([]byte, error)

func (*CreateAssetByFileUploadReqAutoPublish) UnmarshalJSON added in v0.0.53

func (c *CreateAssetByFileUploadReqAutoPublish) UnmarshalJSON(b []byte) error

type CreateAssetByFileUploadReqAutoPublishEnum added in v0.0.53

type CreateAssetByFileUploadReqAutoPublishEnum struct {
	E_0 CreateAssetByFileUploadReqAutoPublish
	E_1 CreateAssetByFileUploadReqAutoPublish
}

func GetCreateAssetByFileUploadReqAutoPublishEnum added in v0.0.53

func GetCreateAssetByFileUploadReqAutoPublishEnum() CreateAssetByFileUploadReqAutoPublishEnum

type CreateAssetByFileUploadReqCoverType added in v0.0.50

type CreateAssetByFileUploadReqCoverType struct {
	// contains filtered or unexported fields
}

func (CreateAssetByFileUploadReqCoverType) MarshalJSON added in v0.0.50

func (c CreateAssetByFileUploadReqCoverType) MarshalJSON() ([]byte, error)

func (*CreateAssetByFileUploadReqCoverType) UnmarshalJSON added in v0.0.50

func (c *CreateAssetByFileUploadReqCoverType) UnmarshalJSON(b []byte) error

type CreateAssetByFileUploadReqCoverTypeEnum added in v0.0.50

type CreateAssetByFileUploadReqCoverTypeEnum struct {
	JPG CreateAssetByFileUploadReqCoverType
	PNG CreateAssetByFileUploadReqCoverType
}

func GetCreateAssetByFileUploadReqCoverTypeEnum added in v0.0.50

func GetCreateAssetByFileUploadReqCoverTypeEnum() CreateAssetByFileUploadReqCoverTypeEnum

type CreateAssetByFileUploadRequest

type CreateAssetByFileUploadRequest struct {
	Body *CreateAssetByFileUploadReq `json:"body,omitempty"`
}

Request Object

func (CreateAssetByFileUploadRequest) String

type CreateAssetByFileUploadResponse

type CreateAssetByFileUploadResponse struct {
	AssetId *string `json:"asset_id,omitempty"`

	VideoUploadUrl *string `json:"video_upload_url,omitempty"`

	CoverUploadUrl *string `json:"cover_upload_url,omitempty"`

	SubtitleUploadUrls *[]string `json:"subtitle_upload_urls,omitempty"`

	Target         *FileAddr `json:"target,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateAssetByFileUploadResponse) String

type CreateAssetCategoryRequest

type CreateAssetCategoryRequest struct {
	Body *CreateCategoryReq `json:"body,omitempty"`
}

Request Object

func (CreateAssetCategoryRequest) String

type CreateAssetCategoryResponse

type CreateAssetCategoryResponse struct {
	Name *string `json:"name,omitempty"`

	ParentId *int32 `json:"parent_id,omitempty"`

	Id *int32 `json:"id,omitempty"`

	Level *int32 `json:"level,omitempty"`

	ProjectId      *string `json:"projectId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAssetCategoryResponse) String

type CreateAssetProcessTaskRequest

type CreateAssetProcessTaskRequest struct {
	Body *AssetProcessReq `json:"body,omitempty"`
}

Request Object

func (CreateAssetProcessTaskRequest) String

type CreateAssetProcessTaskResponse

type CreateAssetProcessTaskResponse struct {
	AssetId        *string `json:"asset_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAssetProcessTaskResponse) String

type CreateAssetReviewTaskRequest

type CreateAssetReviewTaskRequest struct {
	Body *AssetReviewReq `json:"body,omitempty"`
}

Request Object

func (CreateAssetReviewTaskRequest) String

type CreateAssetReviewTaskResponse

type CreateAssetReviewTaskResponse struct {
	AssetId *string `json:"asset_id,omitempty"`

	Review         *Review `json:"review,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAssetReviewTaskResponse) String

type CreateCategoryReq

type CreateCategoryReq struct {
	Name string `json:"name"`

	ParentId *int32 `json:"parent_id,omitempty"`
}

func (CreateCategoryReq) String

func (o CreateCategoryReq) String() string

type CreateExtractAudioTaskRequest

type CreateExtractAudioTaskRequest struct {
	Body *ExtractAudioTaskReq `json:"body,omitempty"`
}

Request Object

func (CreateExtractAudioTaskRequest) String

type CreateExtractAudioTaskResponse

type CreateExtractAudioTaskResponse struct {
	AssetId *string `json:"asset_id,omitempty"`

	AudioAssetId   *string `json:"audio_asset_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateExtractAudioTaskResponse) String

type CreatePreheatingAssetReq

type CreatePreheatingAssetReq struct {
	AssetId *string `json:"asset_id,omitempty"`

	Urls *[]string `json:"urls,omitempty"`
}

func (CreatePreheatingAssetReq) String

func (o CreatePreheatingAssetReq) String() string

type CreatePreheatingAssetRequest

type CreatePreheatingAssetRequest struct {
	Body *CreatePreheatingAssetReq `json:"body,omitempty"`
}

Request Object

func (CreatePreheatingAssetRequest) String

type CreatePreheatingAssetResponse

type CreatePreheatingAssetResponse struct {
	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePreheatingAssetResponse) String

type CreateTakeOverTaskReq

type CreateTakeOverTaskReq struct {
	Bucket string `json:"bucket"`

	Object string `json:"object"`

	Suffix *[]string `json:"suffix,omitempty"`

	TemplateGroupName *string `json:"template_group_name,omitempty"`

	WorkflowName *string `json:"workflow_name,omitempty"`

	HostType *int32 `json:"host_type,omitempty"`

	OutputBucket *string `json:"output_bucket,omitempty"`

	OutputPath *string `json:"output_path,omitempty"`
}

func (CreateTakeOverTaskReq) String

func (o CreateTakeOverTaskReq) String() string

type CreateTakeOverTaskRequest

type CreateTakeOverTaskRequest struct {
	Body *CreateTakeOverTaskReq `json:"body,omitempty"`
}

Request Object

func (CreateTakeOverTaskRequest) String

func (o CreateTakeOverTaskRequest) String() string

type CreateTakeOverTaskResponse

type CreateTakeOverTaskResponse struct {
	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateTakeOverTaskResponse) String

type CreateTemplateGroupRequest

type CreateTemplateGroupRequest struct {
	Body *TransTemplateGroup `json:"body,omitempty"`
}

Request Object

func (CreateTemplateGroupRequest) String

type CreateTemplateGroupResponse

type CreateTemplateGroupResponse struct {
	GroupId        *string `json:"group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateTemplateGroupResponse) String

type CreateWatermarkTemplateReq

type CreateWatermarkTemplateReq struct {
	Name string `json:"name"`

	WatermarkType *CreateWatermarkTemplateReqWatermarkType `json:"watermark_type,omitempty"`

	ImageProcess *CreateWatermarkTemplateReqImageProcess `json:"image_process,omitempty"`

	Dx *string `json:"dx,omitempty"`

	Dy *string `json:"dy,omitempty"`

	Position *CreateWatermarkTemplateReqPosition `json:"position,omitempty"`

	Width *string `json:"width,omitempty"`

	Height *string `json:"height,omitempty"`

	TimelineStart *string `json:"timeline_start,omitempty"`

	TimelineDuration *string `json:"timeline_duration,omitempty"`

	Type string `json:"type"`

	Md5 *string `json:"md5,omitempty"`
}

func (CreateWatermarkTemplateReq) String

type CreateWatermarkTemplateReqImageProcess

type CreateWatermarkTemplateReqImageProcess struct {
	// contains filtered or unexported fields
}

func (CreateWatermarkTemplateReqImageProcess) MarshalJSON

func (c CreateWatermarkTemplateReqImageProcess) MarshalJSON() ([]byte, error)

func (*CreateWatermarkTemplateReqImageProcess) UnmarshalJSON

func (c *CreateWatermarkTemplateReqImageProcess) UnmarshalJSON(b []byte) error

type CreateWatermarkTemplateReqPosition

type CreateWatermarkTemplateReqPosition struct {
	// contains filtered or unexported fields
}

func (CreateWatermarkTemplateReqPosition) MarshalJSON

func (c CreateWatermarkTemplateReqPosition) MarshalJSON() ([]byte, error)

func (*CreateWatermarkTemplateReqPosition) UnmarshalJSON

func (c *CreateWatermarkTemplateReqPosition) UnmarshalJSON(b []byte) error

type CreateWatermarkTemplateReqWatermarkType

type CreateWatermarkTemplateReqWatermarkType struct {
	// contains filtered or unexported fields
}

func (CreateWatermarkTemplateReqWatermarkType) MarshalJSON

func (c CreateWatermarkTemplateReqWatermarkType) MarshalJSON() ([]byte, error)

func (*CreateWatermarkTemplateReqWatermarkType) UnmarshalJSON

func (c *CreateWatermarkTemplateReqWatermarkType) UnmarshalJSON(b []byte) error

type CreateWatermarkTemplateReqWatermarkTypeEnum

type CreateWatermarkTemplateReqWatermarkTypeEnum struct {
	IMAGE CreateWatermarkTemplateReqWatermarkType
	TEXT  CreateWatermarkTemplateReqWatermarkType
}

func GetCreateWatermarkTemplateReqWatermarkTypeEnum

func GetCreateWatermarkTemplateReqWatermarkTypeEnum() CreateWatermarkTemplateReqWatermarkTypeEnum

type CreateWatermarkTemplateRequest

type CreateWatermarkTemplateRequest struct {
	Body *CreateWatermarkTemplateReq `json:"body,omitempty"`
}

Request Object

func (CreateWatermarkTemplateRequest) String

type CreateWatermarkTemplateResponse

type CreateWatermarkTemplateResponse struct {
	Id *string `json:"id,omitempty"`

	UploadUrl      *string `json:"upload_url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateWatermarkTemplateResponse) String

type DeleteAssetCategoryRequest

type DeleteAssetCategoryRequest struct {
	Id int32 `json:"id"`
}

Request Object

func (DeleteAssetCategoryRequest) String

type DeleteAssetCategoryResponse

type DeleteAssetCategoryResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteAssetCategoryResponse) String

type DeleteAssetsRequest

type DeleteAssetsRequest struct {
	AssetId []string `json:"asset_id"`
}

Request Object

func (DeleteAssetsRequest) String

func (o DeleteAssetsRequest) String() string

type DeleteAssetsResponse

type DeleteAssetsResponse struct {
	DeleteResultArray *[]DeleteResult `json:"delete_result_array,omitempty"`
	HttpStatusCode    int             `json:"-"`
}

Response Object

func (DeleteAssetsResponse) String

func (o DeleteAssetsResponse) String() string

type DeleteResult

type DeleteResult struct {
	AssetId *string `json:"asset_id,omitempty"`

	Status *DeleteResultStatus `json:"status,omitempty"`
}

func (DeleteResult) String

func (o DeleteResult) String() string

type DeleteResultStatus

type DeleteResultStatus struct {
	// contains filtered or unexported fields
}

func (DeleteResultStatus) MarshalJSON

func (c DeleteResultStatus) MarshalJSON() ([]byte, error)

func (*DeleteResultStatus) UnmarshalJSON

func (c *DeleteResultStatus) UnmarshalJSON(b []byte) error

type DeleteResultStatusEnum

type DeleteResultStatusEnum struct {
	FAILED  DeleteResultStatus
	DELETED DeleteResultStatus
	UNKNOW  DeleteResultStatus
}

func GetDeleteResultStatusEnum

func GetDeleteResultStatusEnum() DeleteResultStatusEnum

type DeleteTemplateGroupRequest

type DeleteTemplateGroupRequest struct {
	GroupId string `json:"group_id"`
}

Request Object

func (DeleteTemplateGroupRequest) String

type DeleteTemplateGroupResponse

type DeleteTemplateGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTemplateGroupResponse) String

type DeleteWatermarkTemplateRequest

type DeleteWatermarkTemplateRequest struct {
	Id string `json:"id"`
}

Request Object

func (DeleteWatermarkTemplateRequest) String

type DeleteWatermarkTemplateResponse

type DeleteWatermarkTemplateResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteWatermarkTemplateResponse) String

type ExtractAudioTaskReq

type ExtractAudioTaskReq struct {
	AssetId string `json:"asset_id"`

	Parameter *Parameter `json:"parameter,omitempty"`
}

func (ExtractAudioTaskReq) String

func (o ExtractAudioTaskReq) String() string

type FileAddr

type FileAddr struct {
	Bucket string `json:"bucket"`

	Location string `json:"location"`

	Object string `json:"object"`
}

媒资存储参数信息。

func (FileAddr) String

func (o FileAddr) String() string

type ListAssetCategoryRequest

type ListAssetCategoryRequest struct {
	Id int32 `json:"id"`
}

Request Object

func (ListAssetCategoryRequest) String

func (o ListAssetCategoryRequest) String() string

type ListAssetCategoryResponse

type ListAssetCategoryResponse struct {
	Body           *[]QueryCategoryRsp `json:"body,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListAssetCategoryResponse) String

func (o ListAssetCategoryResponse) String() string

type ListAssetListRequest

type ListAssetListRequest struct {
	AssetId *[]string `json:"asset_id,omitempty"`

	Status *[]ListAssetListRequestStatus `json:"status,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	CategoryId *int32 `json:"category_id,omitempty"`

	Tags *string `json:"tags,omitempty"`

	QueryString *string `json:"query_string,omitempty"`

	MediaType *[]string `json:"media_type,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Size *int32 `json:"size,omitempty"`

	Order *ListAssetListRequestOrder `json:"order,omitempty"`
}

Request Object

func (ListAssetListRequest) String

func (o ListAssetListRequest) String() string

type ListAssetListRequestOrder

type ListAssetListRequestOrder struct {
	// contains filtered or unexported fields
}

func (ListAssetListRequestOrder) MarshalJSON

func (c ListAssetListRequestOrder) MarshalJSON() ([]byte, error)

func (*ListAssetListRequestOrder) UnmarshalJSON

func (c *ListAssetListRequestOrder) UnmarshalJSON(b []byte) error

type ListAssetListRequestOrderEnum

type ListAssetListRequestOrderEnum struct {
	ASC  ListAssetListRequestOrder
	DESC ListAssetListRequestOrder
}

func GetListAssetListRequestOrderEnum

func GetListAssetListRequestOrderEnum() ListAssetListRequestOrderEnum

type ListAssetListRequestStatus

type ListAssetListRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListAssetListRequestStatus) MarshalJSON

func (c ListAssetListRequestStatus) MarshalJSON() ([]byte, error)

func (*ListAssetListRequestStatus) UnmarshalJSON

func (c *ListAssetListRequestStatus) UnmarshalJSON(b []byte) error

type ListAssetListResponse

type ListAssetListResponse struct {
	Total *int32 `json:"total,omitempty"`

	Assets         *[]AssetSummary `json:"assets,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListAssetListResponse) String

func (o ListAssetListResponse) String() string

type ListTakeOverTaskRequest

type ListTakeOverTaskRequest struct {
	Status *string `json:"status,omitempty"`

	TaskId *string `json:"task_id,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Size *int32 `json:"size,omitempty"`
}

Request Object

func (ListTakeOverTaskRequest) String

func (o ListTakeOverTaskRequest) String() string

type ListTakeOverTaskResponse

type ListTakeOverTaskResponse struct {
	Tasks *[]TakeOverTask `json:"tasks,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListTakeOverTaskResponse) String

func (o ListTakeOverTaskResponse) String() string

type ListTemplateGroupRequest

type ListTemplateGroupRequest struct {
	GroupId *string `json:"group_id,omitempty"`

	Status *string `json:"status,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Size *int32 `json:"size,omitempty"`
}

Request Object

func (ListTemplateGroupRequest) String

func (o ListTemplateGroupRequest) String() string

type ListTemplateGroupResponse

type ListTemplateGroupResponse struct {
	TemplateGroupList *[]TemplateGroup `json:"template_group_list,omitempty"`

	Total *int32 `json:"total,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListTemplateGroupResponse) String

func (o ListTemplateGroupResponse) String() string

type ListTopStatisticsRequest

type ListTopStatisticsRequest struct {
	Domain string `json:"domain"`

	Date string `json:"date"`
}

Request Object

func (ListTopStatisticsRequest) String

func (o ListTopStatisticsRequest) String() string

type ListTopStatisticsResponse

type ListTopStatisticsResponse struct {
	TopUrls        *[]TopUrl `json:"top_urls,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListTopStatisticsResponse) String

func (o ListTopStatisticsResponse) String() string

type ListWatermarkTemplateRequest

type ListWatermarkTemplateRequest struct {
	Id *[]string `json:"id,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Size *int32 `json:"size,omitempty"`
}

Request Object

func (ListWatermarkTemplateRequest) String

type ListWatermarkTemplateResponse

type ListWatermarkTemplateResponse struct {
	Templates *[]WatermarkTemplate `json:"templates,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListWatermarkTemplateResponse) String

type MetaData

type MetaData struct {
	Codec *MetaDataCodec `json:"codec,omitempty"`

	Duration *int64 `json:"duration,omitempty"`

	VideoSize *int64 `json:"video_size,omitempty"`

	Width *int64 `json:"width,omitempty"`

	Hight *int64 `json:"hight,omitempty"`

	BitRate *int64 `json:"bit_rate,omitempty"`

	FrameRate *int64 `json:"frame_rate,omitempty"`

	Quality *string `json:"quality,omitempty"`

	AudioChannels *int32 `json:"audio_channels,omitempty"`
}

视频的元数据信息。 经过视频解析后产生,包括封装格式、大小、分辨率、码率、帧率。

func (MetaData) String

func (o MetaData) String() string

type MetaDataCodec

type MetaDataCodec struct {
	// contains filtered or unexported fields
}

func (MetaDataCodec) MarshalJSON

func (c MetaDataCodec) MarshalJSON() ([]byte, error)

func (*MetaDataCodec) UnmarshalJSON

func (c *MetaDataCodec) UnmarshalJSON(b []byte) error

type ModifyTransTemplateGroup

type ModifyTransTemplateGroup struct {
	GroupId string `json:"group_id"`

	Name string `json:"name"`

	Status *ModifyTransTemplateGroupStatus `json:"status,omitempty"`

	AutoEncrypt *int32 `json:"auto_encrypt,omitempty"`

	QualityInfoList *[]QualityInfo `json:"quality_info_list,omitempty"`

	WatermarkTemplateIds *[]string `json:"watermark_template_ids,omitempty"`

	Description *string `json:"description,omitempty"`

	Common *Common `json:"common,omitempty"`
}

func (ModifyTransTemplateGroup) String

func (o ModifyTransTemplateGroup) String() string

type ModifyTransTemplateGroupStatus

type ModifyTransTemplateGroupStatus struct {
	// contains filtered or unexported fields
}

func (ModifyTransTemplateGroupStatus) MarshalJSON

func (c ModifyTransTemplateGroupStatus) MarshalJSON() ([]byte, error)

func (*ModifyTransTemplateGroupStatus) UnmarshalJSON

func (c *ModifyTransTemplateGroupStatus) UnmarshalJSON(b []byte) error

type ModifyTransTemplateGroupStatusEnum

type ModifyTransTemplateGroupStatusEnum struct {
	E_1 ModifyTransTemplateGroupStatus
	E_0 ModifyTransTemplateGroupStatus
}

func GetModifyTransTemplateGroupStatusEnum

func GetModifyTransTemplateGroupStatusEnum() ModifyTransTemplateGroupStatusEnum

type Output

type Output struct {
	PlayType OutputPlayType `json:"play_type"`

	Url string `json:"url"`

	Encrypted *int32 `json:"encrypted,omitempty"`

	Quality *OutputQuality `json:"quality,omitempty"`

	MetaData *MetaData `json:"meta_data"`
}

转码输出数组。 - HLS或DASH格式:此数组的成员个数为n+1,n为转码输出路数。 - MP4格式:此数组的成员个数为n,n为转码输出路数。

func (Output) String

func (o Output) String() string

type OutputPlayType

type OutputPlayType struct {
	// contains filtered or unexported fields
}

func (OutputPlayType) MarshalJSON

func (c OutputPlayType) MarshalJSON() ([]byte, error)

func (*OutputPlayType) UnmarshalJSON

func (c *OutputPlayType) UnmarshalJSON(b []byte) error

type OutputPlayTypeEnum

type OutputPlayTypeEnum struct {
	HLS  OutputPlayType
	DASH OutputPlayType
	MP4  OutputPlayType
	MP3  OutputPlayType
	AAC  OutputPlayType
}

func GetOutputPlayTypeEnum

func GetOutputPlayTypeEnum() OutputPlayTypeEnum

type OutputQuality

type OutputQuality struct {
	// contains filtered or unexported fields
}

func (OutputQuality) MarshalJSON

func (c OutputQuality) MarshalJSON() ([]byte, error)

func (*OutputQuality) UnmarshalJSON

func (c *OutputQuality) UnmarshalJSON(b []byte) error

type OutputQualityEnum

type OutputQualityEnum struct {
	FLUENT  OutputQuality
	SD      OutputQuality
	HD      OutputQuality
	FULL_HD OutputQuality
}

func GetOutputQualityEnum

func GetOutputQualityEnum() OutputQualityEnum

type Parameter

type Parameter struct {
	Format *string `json:"format,omitempty"`
}

需要提取音频的参数信息。

func (Parameter) String

func (o Parameter) String() string

type PictureReviewRet

type PictureReviewRet struct {
	Suggestion *PictureReviewRetSuggestion `json:"suggestion,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Url string `json:"url"`

	Politics *[]ReviewDetail `json:"politics,omitempty"`

	Terrorism *[]ReviewDetail `json:"terrorism,omitempty"`

	Porn *[]ReviewDetail `json:"porn,omitempty"`
}

图片审核结果

func (PictureReviewRet) String

func (o PictureReviewRet) String() string

type PictureReviewRetSuggestion

type PictureReviewRetSuggestion struct {
	// contains filtered or unexported fields
}

func (PictureReviewRetSuggestion) MarshalJSON

func (c PictureReviewRetSuggestion) MarshalJSON() ([]byte, error)

func (*PictureReviewRetSuggestion) UnmarshalJSON

func (c *PictureReviewRetSuggestion) UnmarshalJSON(b []byte) error

type PictureReviewRetSuggestionEnum

type PictureReviewRetSuggestionEnum struct {
	BLOCK  PictureReviewRetSuggestion
	PASS   PictureReviewRetSuggestion
	REVIEW PictureReviewRetSuggestion
}

func GetPictureReviewRetSuggestionEnum

func GetPictureReviewRetSuggestionEnum() PictureReviewRetSuggestionEnum

type PlayInfo

type PlayInfo struct {
	PlayType *string `json:"play_type,omitempty"`

	Url *string `json:"url,omitempty"`

	Encrypted *int32 `json:"encrypted,omitempty"`

	MetaData *MetaData `json:"meta_data,omitempty"`
}

func (PlayInfo) String

func (o PlayInfo) String() string

type PreheatingResult

type PreheatingResult struct {
	Url *string `json:"url,omitempty"`

	Status *PreheatingResultStatus `json:"status,omitempty"`
}

func (PreheatingResult) String

func (o PreheatingResult) String() string

type PreheatingResultStatus

type PreheatingResultStatus struct {
	// contains filtered or unexported fields
}

func (PreheatingResultStatus) MarshalJSON

func (c PreheatingResultStatus) MarshalJSON() ([]byte, error)

func (*PreheatingResultStatus) UnmarshalJSON

func (c *PreheatingResultStatus) UnmarshalJSON(b []byte) error

type PreheatingResultStatusEnum

type PreheatingResultStatusEnum struct {
	PROCESSING PreheatingResultStatus
	SUCCEED    PreheatingResultStatus
	FAILED     PreheatingResultStatus
}

func GetPreheatingResultStatusEnum

func GetPreheatingResultStatusEnum() PreheatingResultStatusEnum

type PublishAssetFromObsReq

type PublishAssetFromObsReq struct {
	VideoType PublishAssetFromObsReqVideoType `json:"video_type"`

	Title string `json:"title"`

	Description *string `json:"description,omitempty"`

	CategoryId *int32 `json:"category_id,omitempty"`

	Tags *string `json:"tags,omitempty"`

	AutoPublish *int32 `json:"auto_publish,omitempty"`

	TemplateGroupName *string `json:"template_group_name,omitempty"`

	AutoEncrypt *int32 `json:"auto_encrypt,omitempty"`

	AutoPreheat *int32 `json:"auto_preheat,omitempty"`

	Thumbnail *Thumbnail `json:"thumbnail,omitempty"`

	Review *Review `json:"review,omitempty"`

	WorkflowName *string `json:"workflow_name,omitempty"`

	Input *FileAddr `json:"input"`

	StorageMode *int32 `json:"storage_mode,omitempty"`

	OutputBucket *string `json:"output_bucket,omitempty"`

	OutputPath *string `json:"output_path,omitempty"`
}

func (PublishAssetFromObsReq) String

func (o PublishAssetFromObsReq) String() string

type PublishAssetFromObsReqVideoType

type PublishAssetFromObsReqVideoType struct {
	// contains filtered or unexported fields
}

func (PublishAssetFromObsReqVideoType) MarshalJSON

func (c PublishAssetFromObsReqVideoType) MarshalJSON() ([]byte, error)

func (*PublishAssetFromObsReqVideoType) UnmarshalJSON

func (c *PublishAssetFromObsReqVideoType) UnmarshalJSON(b []byte) error

type PublishAssetFromObsRequest

type PublishAssetFromObsRequest struct {
	Body *PublishAssetFromObsReq `json:"body,omitempty"`
}

Request Object

func (PublishAssetFromObsRequest) String

type PublishAssetFromObsResponse

type PublishAssetFromObsResponse struct {
	AssetId        *string `json:"asset_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (PublishAssetFromObsResponse) String

type PublishAssetReq

type PublishAssetReq struct {
	AssetId []string `json:"asset_id"`
}

func (PublishAssetReq) String

func (o PublishAssetReq) String() string

type PublishAssetsRequest

type PublishAssetsRequest struct {
	Body *PublishAssetReq `json:"body,omitempty"`
}

Request Object

func (PublishAssetsRequest) String

func (o PublishAssetsRequest) String() string

type PublishAssetsResponse

type PublishAssetsResponse struct {
	AssetInfoArray *[]AssetInfo `json:"asset_info_array,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (PublishAssetsResponse) String

func (o PublishAssetsResponse) String() string

type QualityInfo

type QualityInfo struct {
	Video *VideoTemplateInfo `json:"video,omitempty"`

	Audio *AudioTemplateInfo `json:"audio,omitempty"`

	Format QualityInfoFormat `json:"format"`
}

func (QualityInfo) String

func (o QualityInfo) String() string

type QualityInfoFormat

type QualityInfoFormat struct {
	// contains filtered or unexported fields
}

func (QualityInfoFormat) MarshalJSON

func (c QualityInfoFormat) MarshalJSON() ([]byte, error)

func (*QualityInfoFormat) UnmarshalJSON

func (c *QualityInfoFormat) UnmarshalJSON(b []byte) error

type QualityInfoFormatEnum

type QualityInfoFormatEnum struct {
	MP4      QualityInfoFormat
	HLS      QualityInfoFormat
	DASH     QualityInfoFormat
	DASH_HLS QualityInfoFormat
	MP3      QualityInfoFormat
	ADTS     QualityInfoFormat
	UNKNOW   QualityInfoFormat
}

func GetQualityInfoFormatEnum

func GetQualityInfoFormatEnum() QualityInfoFormatEnum

type QueryCategoryRsp

type QueryCategoryRsp struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Children *[]QueryCategoryRsp `json:"children,omitempty"`
}

func (QueryCategoryRsp) String

func (o QueryCategoryRsp) String() string

type Review

type Review struct {
	TemplateId string `json:"template_id"`
}

媒资审核参数

func (Review) String

func (o Review) String() string

type ReviewDetail

type ReviewDetail struct {
	Confidence string `json:"confidence"`

	Label *string `json:"label,omitempty"`
}

审核结果

func (ReviewDetail) String

func (o ReviewDetail) String() string

type ReviewInfo

type ReviewInfo struct {
	Suggestion *ReviewInfoSuggestion `json:"suggestion,omitempty"`

	Text *TextReviewRet `json:"text,omitempty"`

	Cover *[]PictureReviewRet `json:"cover,omitempty"`

	Video *[]PictureReviewRet `json:"video,omitempty"`

	ExecDesc *string `json:"exec_desc,omitempty"`

	ReviewStatus string `json:"review_status"`
}

审核信息数组。 > 仅当审核成功后才能查询到此信息,未审核、正在审核以及审核失败时,无此字段信息。

func (ReviewInfo) String

func (o ReviewInfo) String() string

type ReviewInfoSuggestion

type ReviewInfoSuggestion struct {
	// contains filtered or unexported fields
}

func (ReviewInfoSuggestion) MarshalJSON

func (c ReviewInfoSuggestion) MarshalJSON() ([]byte, error)

func (*ReviewInfoSuggestion) UnmarshalJSON

func (c *ReviewInfoSuggestion) UnmarshalJSON(b []byte) error

type ReviewInfoSuggestionEnum

type ReviewInfoSuggestionEnum struct {
	BLOCK  ReviewInfoSuggestion
	PASS   ReviewInfoSuggestion
	REVIEW ReviewInfoSuggestion
}

func GetReviewInfoSuggestionEnum

func GetReviewInfoSuggestionEnum() ReviewInfoSuggestionEnum

type ShowAssetCipherRequest

type ShowAssetCipherRequest struct {
	AssetId string `json:"asset_id"`
}

Request Object

func (ShowAssetCipherRequest) String

func (o ShowAssetCipherRequest) String() string

type ShowAssetCipherResponse

type ShowAssetCipherResponse struct {
	AssetId *string `json:"asset_id,omitempty"`

	Edk *string `json:"edk,omitempty"`

	Dk             *string `json:"dk,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAssetCipherResponse) String

func (o ShowAssetCipherResponse) String() string

type ShowAssetDetailRequest

type ShowAssetDetailRequest struct {
	AssetId string `json:"asset_id"`

	Categories *[]ShowAssetDetailRequestCategories `json:"categories,omitempty"`
}

Request Object

func (ShowAssetDetailRequest) String

func (o ShowAssetDetailRequest) String() string

type ShowAssetDetailRequestCategories

type ShowAssetDetailRequestCategories struct {
	// contains filtered or unexported fields
}

func (ShowAssetDetailRequestCategories) MarshalJSON

func (c ShowAssetDetailRequestCategories) MarshalJSON() ([]byte, error)

func (*ShowAssetDetailRequestCategories) UnmarshalJSON

func (c *ShowAssetDetailRequestCategories) UnmarshalJSON(b []byte) error

type ShowAssetDetailRequestCategoriesEnum

type ShowAssetDetailRequestCategoriesEnum struct {
	BASE_INFO      ShowAssetDetailRequestCategories
	TRANSCODE_INFO ShowAssetDetailRequestCategories
	THUMBNAIL_INFO ShowAssetDetailRequestCategories
	REVIEW_INFO    ShowAssetDetailRequestCategories
}

func GetShowAssetDetailRequestCategoriesEnum

func GetShowAssetDetailRequestCategoriesEnum() ShowAssetDetailRequestCategoriesEnum

type ShowAssetDetailResponse

type ShowAssetDetailResponse struct {
	AssetId *string `json:"asset_id,omitempty"`

	BaseInfo *BaseInfo `json:"base_info,omitempty"`

	TranscodeInfo *TranscodeInfo `json:"transcode_info,omitempty"`

	ThumbnailInfo *ThumbnailInfo `json:"thumbnail_info,omitempty"`

	ReviewInfo     *ReviewInfo `json:"review_info,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowAssetDetailResponse) String

func (o ShowAssetDetailResponse) String() string

type ShowAssetMetaRequest

type ShowAssetMetaRequest struct {
	AssetId *[]string `json:"asset_id,omitempty"`

	Status *[]ShowAssetMetaRequestStatus `json:"status,omitempty"`

	TranscodeStatus *[]ShowAssetMetaRequestTranscodeStatus `json:"transcodeStatus,omitempty"`

	AssetStatus *[]ShowAssetMetaRequestAssetStatus `json:"assetStatus,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	CategoryId *int32 `json:"category_id,omitempty"`

	Tags *string `json:"tags,omitempty"`

	QueryString *string `json:"query_string,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Size *int32 `json:"size,omitempty"`
}

Request Object

func (ShowAssetMetaRequest) String

func (o ShowAssetMetaRequest) String() string

type ShowAssetMetaRequestAssetStatus

type ShowAssetMetaRequestAssetStatus struct {
	// contains filtered or unexported fields
}

func (ShowAssetMetaRequestAssetStatus) MarshalJSON

func (c ShowAssetMetaRequestAssetStatus) MarshalJSON() ([]byte, error)

func (*ShowAssetMetaRequestAssetStatus) UnmarshalJSON

func (c *ShowAssetMetaRequestAssetStatus) UnmarshalJSON(b []byte) error

type ShowAssetMetaRequestAssetStatusEnum

type ShowAssetMetaRequestAssetStatusEnum struct {
	PUBLISHED ShowAssetMetaRequestAssetStatus
	CREATED   ShowAssetMetaRequestAssetStatus
}

func GetShowAssetMetaRequestAssetStatusEnum

func GetShowAssetMetaRequestAssetStatusEnum() ShowAssetMetaRequestAssetStatusEnum

type ShowAssetMetaRequestStatus

type ShowAssetMetaRequestStatus struct {
	// contains filtered or unexported fields
}

func (ShowAssetMetaRequestStatus) MarshalJSON

func (c ShowAssetMetaRequestStatus) MarshalJSON() ([]byte, error)

func (*ShowAssetMetaRequestStatus) UnmarshalJSON

func (c *ShowAssetMetaRequestStatus) UnmarshalJSON(b []byte) error

type ShowAssetMetaRequestTranscodeStatus

type ShowAssetMetaRequestTranscodeStatus struct {
	// contains filtered or unexported fields
}

func (ShowAssetMetaRequestTranscodeStatus) MarshalJSON

func (c ShowAssetMetaRequestTranscodeStatus) MarshalJSON() ([]byte, error)

func (*ShowAssetMetaRequestTranscodeStatus) UnmarshalJSON

func (c *ShowAssetMetaRequestTranscodeStatus) UnmarshalJSON(b []byte) error

type ShowAssetMetaRequestTranscodeStatusEnum

type ShowAssetMetaRequestTranscodeStatusEnum struct {
	TRANSCODING       ShowAssetMetaRequestTranscodeStatus
	TRANSCODE_FAILED  ShowAssetMetaRequestTranscodeStatus
	TRANSCODE_SUCCEED ShowAssetMetaRequestTranscodeStatus
	UN_TRANSCODE      ShowAssetMetaRequestTranscodeStatus
	WAITING_TRANSCODE ShowAssetMetaRequestTranscodeStatus
}

func GetShowAssetMetaRequestTranscodeStatusEnum

func GetShowAssetMetaRequestTranscodeStatusEnum() ShowAssetMetaRequestTranscodeStatusEnum

type ShowAssetMetaResponse

type ShowAssetMetaResponse struct {
	AssetInfoArray *[]AssetInfo `json:"asset_info_array,omitempty"`

	IsTruncated *int32 `json:"is_truncated,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowAssetMetaResponse) String

func (o ShowAssetMetaResponse) String() string

type ShowAssetTempAuthorityRequest

type ShowAssetTempAuthorityRequest struct {
	HttpVerb string `json:"http_verb"`

	Bucket string `json:"bucket"`

	ObjectKey string `json:"object_key"`

	ContentType *string `json:"content_type,omitempty"`

	ContentMd5 *string `json:"content_md5,omitempty"`

	UploadId *string `json:"upload_id,omitempty"`

	PartNumber *int32 `json:"part_number,omitempty"`
}

Request Object

func (ShowAssetTempAuthorityRequest) String

type ShowAssetTempAuthorityResponse

type ShowAssetTempAuthorityResponse struct {
	SignStr        *string `json:"sign_str,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAssetTempAuthorityResponse) String

type ShowCdnStatisticsRequest

type ShowCdnStatisticsRequest struct {
	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	StatType string `json:"stat_type"`

	Domain string `json:"domain"`

	Interval *int32 `json:"interval,omitempty"`
}

Request Object

func (ShowCdnStatisticsRequest) String

func (o ShowCdnStatisticsRequest) String() string

type ShowCdnStatisticsResponse

type ShowCdnStatisticsResponse struct {
	StartTime *string `json:"start_time,omitempty"`

	Interval *int32 `json:"interval,omitempty"`

	Values         *[]int64 `json:"values,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ShowCdnStatisticsResponse) String

func (o ShowCdnStatisticsResponse) String() string

type ShowPreheatingAssetRequest

type ShowPreheatingAssetRequest struct {
	TaskId string `json:"task_id"`
}

Request Object

func (ShowPreheatingAssetRequest) String

type ShowPreheatingAssetResponse

type ShowPreheatingAssetResponse struct {
	PreheatingResults *[]PreheatingResult `json:"preheating_results,omitempty"`
	HttpStatusCode    int                 `json:"-"`
}

Response Object

func (ShowPreheatingAssetResponse) String

type ShowTakeOverAssetDetailsRequest

type ShowTakeOverAssetDetailsRequest struct {
	SourceBucket string `json:"source_bucket"`

	SourceObject string `json:"source_object"`
}

Request Object

func (ShowTakeOverAssetDetailsRequest) String

type ShowTakeOverAssetDetailsResponse

type ShowTakeOverAssetDetailsResponse struct {
	AssetId *string `json:"asset_id,omitempty"`

	AssetStatus *ShowTakeOverAssetDetailsResponseAssetStatus `json:"asset_status,omitempty"`

	TranscodeStatus *ShowTakeOverAssetDetailsResponseTranscodeStatus `json:"transcode_status,omitempty"`

	BaseInfo *BaseInfo `json:"base_info,omitempty"`

	TranscodeInfo  *TranscodeInfo `json:"transcode_info,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowTakeOverAssetDetailsResponse) String

type ShowTakeOverAssetDetailsResponseAssetStatus

type ShowTakeOverAssetDetailsResponseAssetStatus struct {
	// contains filtered or unexported fields
}

func (ShowTakeOverAssetDetailsResponseAssetStatus) MarshalJSON

func (*ShowTakeOverAssetDetailsResponseAssetStatus) UnmarshalJSON

type ShowTakeOverAssetDetailsResponseTranscodeStatus

type ShowTakeOverAssetDetailsResponseTranscodeStatus struct {
	// contains filtered or unexported fields
}

func (ShowTakeOverAssetDetailsResponseTranscodeStatus) MarshalJSON

func (*ShowTakeOverAssetDetailsResponseTranscodeStatus) UnmarshalJSON

type ShowTakeOverTaskDetailsRequest

type ShowTakeOverTaskDetailsRequest struct {
	TaskId string `json:"task_id"`

	Page *int32 `json:"page,omitempty"`

	Size *int32 `json:"size,omitempty"`
}

Request Object

func (ShowTakeOverTaskDetailsRequest) String

type ShowTakeOverTaskDetailsResponse

type ShowTakeOverTaskDetailsResponse struct {
	Total *int32 `json:"total,omitempty"`

	TaskId *string `json:"task_id,omitempty"`

	TaskStatus *string `json:"task_status,omitempty"`

	Assets         *[]AssetDetails `json:"assets,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ShowTakeOverTaskDetailsResponse) String

type ShowVodStatisticsRequest

type ShowVodStatisticsRequest struct {
	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	Interval *int32 `json:"interval,omitempty"`
}

Request Object

func (ShowVodStatisticsRequest) String

func (o ShowVodStatisticsRequest) String() string

type ShowVodStatisticsResponse

type ShowVodStatisticsResponse struct {
	StartTime *string `json:"start_time,omitempty"`

	Interval *int32 `json:"interval,omitempty"`

	SampleData     *[]VodSampleData `json:"sample_data,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ShowVodStatisticsResponse) String

func (o ShowVodStatisticsResponse) String() string

type Subtitle

type Subtitle struct {
	Id int32 `json:"id"`

	Type SubtitleType `json:"type"`

	Language SubtitleLanguage `json:"language"`

	Md5 *string `json:"md5,omitempty"`

	Description *string `json:"description,omitempty"`
}

func (Subtitle) String

func (o Subtitle) String() string

type SubtitleInfo

type SubtitleInfo struct {
	Url *string `json:"url,omitempty"`

	Id *int32 `json:"id,omitempty"`

	Type *string `json:"type,omitempty"`

	Language *string `json:"language,omitempty"`
}

func (SubtitleInfo) String

func (o SubtitleInfo) String() string

type SubtitleLanguage

type SubtitleLanguage struct {
	// contains filtered or unexported fields
}

func (SubtitleLanguage) MarshalJSON

func (c SubtitleLanguage) MarshalJSON() ([]byte, error)

func (*SubtitleLanguage) UnmarshalJSON

func (c *SubtitleLanguage) UnmarshalJSON(b []byte) error

type SubtitleLanguageEnum

type SubtitleLanguageEnum struct {
	CN SubtitleLanguage
	EN SubtitleLanguage
}

func GetSubtitleLanguageEnum

func GetSubtitleLanguageEnum() SubtitleLanguageEnum

type SubtitleType

type SubtitleType struct {
	// contains filtered or unexported fields
}

func (SubtitleType) MarshalJSON

func (c SubtitleType) MarshalJSON() ([]byte, error)

func (*SubtitleType) UnmarshalJSON

func (c *SubtitleType) UnmarshalJSON(b []byte) error

type SubtitleTypeEnum

type SubtitleTypeEnum struct {
	SRT SubtitleType
}

func GetSubtitleTypeEnum

func GetSubtitleTypeEnum() SubtitleTypeEnum

type TakeOverTask

type TakeOverTask struct {
	Bucket *string `json:"bucket,omitempty"`

	Object *string `json:"object,omitempty"`

	HostType *int32 `json:"host_type,omitempty"`

	OutputBucket *string `json:"output_bucket,omitempty"`

	OutputPath *string `json:"output_path,omitempty"`

	TaskId *string `json:"task_id,omitempty"`

	Suffix *[]string `json:"suffix,omitempty"`

	TemplateGroupName *string `json:"template_group_name,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	Status *TakeOverTaskStatus `json:"status,omitempty"`

	ExecDesc *string `json:"exec_desc,omitempty"`
}

func (TakeOverTask) String

func (o TakeOverTask) String() string

type TakeOverTaskStatus

type TakeOverTaskStatus struct {
	// contains filtered or unexported fields
}

func (TakeOverTaskStatus) MarshalJSON

func (c TakeOverTaskStatus) MarshalJSON() ([]byte, error)

func (*TakeOverTaskStatus) UnmarshalJSON

func (c *TakeOverTaskStatus) UnmarshalJSON(b []byte) error

type TakeOverTaskStatusEnum

type TakeOverTaskStatusEnum struct {
	PROCESSING TakeOverTaskStatus
	SUCCEED    TakeOverTaskStatus
	FAILED     TakeOverTaskStatus
}

func GetTakeOverTaskStatusEnum

func GetTakeOverTaskStatusEnum() TakeOverTaskStatusEnum

type TemplateGroup

type TemplateGroup struct {
	GroupId *string `json:"group_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *string `json:"status,omitempty"`

	Type *string `json:"type,omitempty"`

	AutoEncrypt *int32 `json:"auto_encrypt,omitempty"`

	QualityInfoList *[]QualityInfo `json:"quality_info_list,omitempty"`

	WatermarkTemplateIds *[]string `json:"watermark_template_ids,omitempty"`

	Description *string `json:"description,omitempty"`

	Common *Common `json:"common,omitempty"`
}

func (TemplateGroup) String

func (o TemplateGroup) String() string

type TextReviewRet

type TextReviewRet struct {
	Suggestion TextReviewRetSuggestion `json:"suggestion"`

	Politics *string `json:"politics,omitempty"`

	Porn *string `json:"porn,omitempty"`

	Abuse *string `json:"abuse,omitempty"`
}

文本检测结果

func (TextReviewRet) String

func (o TextReviewRet) String() string

type TextReviewRetSuggestion

type TextReviewRetSuggestion struct {
	// contains filtered or unexported fields
}

func (TextReviewRetSuggestion) MarshalJSON

func (c TextReviewRetSuggestion) MarshalJSON() ([]byte, error)

func (*TextReviewRetSuggestion) UnmarshalJSON

func (c *TextReviewRetSuggestion) UnmarshalJSON(b []byte) error

type TextReviewRetSuggestionEnum

type TextReviewRetSuggestionEnum struct {
	BLOCK  TextReviewRetSuggestion
	PASS   TextReviewRetSuggestion
	REVIEW TextReviewRetSuggestion
}

func GetTextReviewRetSuggestionEnum

func GetTextReviewRetSuggestionEnum() TextReviewRetSuggestionEnum

type Thumbnail

type Thumbnail struct {
	Type ThumbnailType `json:"type"`

	Time *int32 `json:"time,omitempty"`

	Dots *[]int32 `json:"dots,omitempty"`

	CoverPosition *int32 `json:"cover_position,omitempty"`

	Format *int32 `json:"format,omitempty"`

	AspectRatio *int32 `json:"aspect_ratio,omitempty"`

	MaxLength *int32 `json:"max_length,omitempty"`
}

截图参数

func (Thumbnail) String

func (o Thumbnail) String() string

type ThumbnailInfo

type ThumbnailInfo struct {
	Sample *[]ThumbnailRsp `json:"sample,omitempty"`

	Dots *[]ThumbnailRsp `json:"dots,omitempty"`

	ExecDesc *string `json:"exec_desc,omitempty"`

	ThumbnailStatus *string `json:"thumbnail_status,omitempty"`
}

截图信息。 > 仅当截图成功后才能查询到此信息,未截图、正在截图以及截图失败时,无此字段信息。

func (ThumbnailInfo) String

func (o ThumbnailInfo) String() string

type ThumbnailRsp

type ThumbnailRsp struct {
	Offset int32 `json:"offset"`

	Url string `json:"url"`
}

截图结果

func (ThumbnailRsp) String

func (o ThumbnailRsp) String() string

type ThumbnailType

type ThumbnailType struct {
	// contains filtered or unexported fields
}

func (ThumbnailType) MarshalJSON

func (c ThumbnailType) MarshalJSON() ([]byte, error)

func (*ThumbnailType) UnmarshalJSON

func (c *ThumbnailType) UnmarshalJSON(b []byte) error

type ThumbnailTypeEnum

type ThumbnailTypeEnum struct {
	TIME ThumbnailType
	DOTS ThumbnailType
}

func GetThumbnailTypeEnum

func GetThumbnailTypeEnum() ThumbnailTypeEnum

type TopUrl

type TopUrl struct {
	Value *int64 `json:"value,omitempty"`

	AssetId *string `json:"asset_id,omitempty"`

	Title *string `json:"title,omitempty"`

	Duration *int32 `json:"duration,omitempty"`

	Size *int64 `json:"size,omitempty"`
}

func (TopUrl) String

func (o TopUrl) String() string

type TransTemplateGroup

type TransTemplateGroup struct {
	Name string `json:"name"`

	Status *TransTemplateGroupStatus `json:"status,omitempty"`

	Type TransTemplateGroupType `json:"type"`

	AutoEncrypt *int32 `json:"auto_encrypt,omitempty"`

	QualityInfoList *[]QualityInfo `json:"quality_info_list,omitempty"`

	Common *Common `json:"common,omitempty"`

	WatermarkTemplateIds *[]string `json:"watermark_template_ids,omitempty"`

	Description *string `json:"description,omitempty"`
}

func (TransTemplateGroup) String

func (o TransTemplateGroup) String() string

type TransTemplateGroupStatus

type TransTemplateGroupStatus struct {
	// contains filtered or unexported fields
}

func (TransTemplateGroupStatus) MarshalJSON

func (c TransTemplateGroupStatus) MarshalJSON() ([]byte, error)

func (*TransTemplateGroupStatus) UnmarshalJSON

func (c *TransTemplateGroupStatus) UnmarshalJSON(b []byte) error

type TransTemplateGroupStatusEnum

type TransTemplateGroupStatusEnum struct {
	E_1 TransTemplateGroupStatus
	E_0 TransTemplateGroupStatus
}

func GetTransTemplateGroupStatusEnum

func GetTransTemplateGroupStatusEnum() TransTemplateGroupStatusEnum

type TransTemplateGroupType

type TransTemplateGroupType struct {
	// contains filtered or unexported fields
}

func (TransTemplateGroupType) MarshalJSON

func (c TransTemplateGroupType) MarshalJSON() ([]byte, error)

func (*TransTemplateGroupType) UnmarshalJSON

func (c *TransTemplateGroupType) UnmarshalJSON(b []byte) error

type TransTemplateGroupTypeEnum

type TransTemplateGroupTypeEnum struct {
	CUSTOM_TEMPLATE_GROUP TransTemplateGroupType
}

func GetTransTemplateGroupTypeEnum

func GetTransTemplateGroupTypeEnum() TransTemplateGroupTypeEnum

type TranscodeInfo

type TranscodeInfo struct {
	TemplateGroupName string `json:"template_group_name"`

	Output []Output `json:"output"`

	ExecDesc *string `json:"exec_desc,omitempty"`

	TranscodeStatus *string `json:"transcode_status,omitempty"`
}

转码生成文件信息。 > 仅当转码成功后才能查询到此信息,未转码、正在转码以及转码失败时,无此字段信息。

func (TranscodeInfo) String

func (o TranscodeInfo) String() string

type UnpublishAssetsRequest

type UnpublishAssetsRequest struct {
	Body *PublishAssetReq `json:"body,omitempty"`
}

Request Object

func (UnpublishAssetsRequest) String

func (o UnpublishAssetsRequest) String() string

type UnpublishAssetsResponse

type UnpublishAssetsResponse struct {
	AssetInfoArray *[]AssetInfo `json:"asset_info_array,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (UnpublishAssetsResponse) String

func (o UnpublishAssetsResponse) String() string

type UpdateAssetCategoryRequest

type UpdateAssetCategoryRequest struct {
	Body *UpdateCategoryReq `json:"body,omitempty"`
}

Request Object

func (UpdateAssetCategoryRequest) String

type UpdateAssetCategoryResponse

type UpdateAssetCategoryResponse struct {
	Name *string `json:"name,omitempty"`

	ParentId *int32 `json:"parent_id,omitempty"`

	Id *int32 `json:"id,omitempty"`

	Level *int32 `json:"level,omitempty"`

	ProjectId      *string `json:"projectId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateAssetCategoryResponse) String

type UpdateAssetMetaReq

type UpdateAssetMetaReq struct {
	AssetId string `json:"asset_id"`

	Title *string `json:"title,omitempty"`

	Description *string `json:"description,omitempty"`

	CategoryId *int32 `json:"category_id,omitempty"`

	Tags *string `json:"tags,omitempty"`
}

func (UpdateAssetMetaReq) String

func (o UpdateAssetMetaReq) String() string

type UpdateAssetMetaRequest

type UpdateAssetMetaRequest struct {
	Body *UpdateAssetMetaReq `json:"body,omitempty"`
}

Request Object

func (UpdateAssetMetaRequest) String

func (o UpdateAssetMetaRequest) String() string

type UpdateAssetMetaResponse

type UpdateAssetMetaResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateAssetMetaResponse) String

func (o UpdateAssetMetaResponse) String() string

type UpdateAssetRequest

type UpdateAssetRequest struct {
	Body *UploadAssetReq `json:"body,omitempty"`
}

Request Object

func (UpdateAssetRequest) String

func (o UpdateAssetRequest) String() string

type UpdateAssetResponse

type UpdateAssetResponse struct {
	AssetId *string `json:"asset_id,omitempty"`

	VideoUploadUrl *string `json:"video_upload_url,omitempty"`

	CoverUploadUrl *string `json:"cover_upload_url,omitempty"`

	SubtitleUploadUrls *[]string `json:"subtitle_upload_urls,omitempty"`
	HttpStatusCode     int       `json:"-"`
}

Response Object

func (UpdateAssetResponse) String

func (o UpdateAssetResponse) String() string

type UpdateBucketAuthorizedReq added in v0.0.50

type UpdateBucketAuthorizedReq struct {
	Bucket string `json:"bucket"`

	Operation string `json:"operation"`
}

func (UpdateBucketAuthorizedReq) String added in v0.0.50

func (o UpdateBucketAuthorizedReq) String() string

type UpdateBucketAuthorizedRequest

type UpdateBucketAuthorizedRequest struct {
	Body *UpdateBucketAuthorizedReq `json:"body,omitempty"`
}

Request Object

func (UpdateBucketAuthorizedRequest) String

type UpdateBucketAuthorizedResponse

type UpdateBucketAuthorizedResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateBucketAuthorizedResponse) String

type UpdateCategoryReq

type UpdateCategoryReq struct {
	Name string `json:"name"`

	Id int32 `json:"id"`
}

func (UpdateCategoryReq) String

func (o UpdateCategoryReq) String() string

type UpdateCoverByThumbnailReq

type UpdateCoverByThumbnailReq struct {
	ThumbnailUrl string `json:"thumbnailUrl"`
}

func (UpdateCoverByThumbnailReq) String

func (o UpdateCoverByThumbnailReq) String() string

type UpdateCoverByThumbnailRequest

type UpdateCoverByThumbnailRequest struct {
	Body *UpdateCoverByThumbnailReq `json:"body,omitempty"`
}

Request Object

func (UpdateCoverByThumbnailRequest) String

type UpdateCoverByThumbnailResponse

type UpdateCoverByThumbnailResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateCoverByThumbnailResponse) String

type UpdateTemplateGroupRequest

type UpdateTemplateGroupRequest struct {
	Body *ModifyTransTemplateGroup `json:"body,omitempty"`
}

Request Object

func (UpdateTemplateGroupRequest) String

type UpdateTemplateGroupResponse

type UpdateTemplateGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateTemplateGroupResponse) String

type UpdateWatermarkTemplateReq

type UpdateWatermarkTemplateReq struct {
	Id string `json:"id"`

	Name *string `json:"name,omitempty"`

	Dx *string `json:"dx,omitempty"`

	Dy *string `json:"dy,omitempty"`

	Position *UpdateWatermarkTemplateReqPosition `json:"position,omitempty"`

	Width *string `json:"width,omitempty"`

	Height *string `json:"height,omitempty"`

	WatermarkType *UpdateWatermarkTemplateReqWatermarkType `json:"watermark_type,omitempty"`

	ImageProcess *UpdateWatermarkTemplateReqImageProcess `json:"image_process,omitempty"`

	TimelineStart *string `json:"timeline_start,omitempty"`

	TimelineDuration *string `json:"timeline_duration,omitempty"`
}

func (UpdateWatermarkTemplateReq) String

type UpdateWatermarkTemplateReqImageProcess

type UpdateWatermarkTemplateReqImageProcess struct {
	// contains filtered or unexported fields
}

func (UpdateWatermarkTemplateReqImageProcess) MarshalJSON

func (c UpdateWatermarkTemplateReqImageProcess) MarshalJSON() ([]byte, error)

func (*UpdateWatermarkTemplateReqImageProcess) UnmarshalJSON

func (c *UpdateWatermarkTemplateReqImageProcess) UnmarshalJSON(b []byte) error

type UpdateWatermarkTemplateReqPosition

type UpdateWatermarkTemplateReqPosition struct {
	// contains filtered or unexported fields
}

func (UpdateWatermarkTemplateReqPosition) MarshalJSON

func (c UpdateWatermarkTemplateReqPosition) MarshalJSON() ([]byte, error)

func (*UpdateWatermarkTemplateReqPosition) UnmarshalJSON

func (c *UpdateWatermarkTemplateReqPosition) UnmarshalJSON(b []byte) error

type UpdateWatermarkTemplateReqWatermarkType

type UpdateWatermarkTemplateReqWatermarkType struct {
	// contains filtered or unexported fields
}

func (UpdateWatermarkTemplateReqWatermarkType) MarshalJSON

func (c UpdateWatermarkTemplateReqWatermarkType) MarshalJSON() ([]byte, error)

func (*UpdateWatermarkTemplateReqWatermarkType) UnmarshalJSON

func (c *UpdateWatermarkTemplateReqWatermarkType) UnmarshalJSON(b []byte) error

type UpdateWatermarkTemplateReqWatermarkTypeEnum

type UpdateWatermarkTemplateReqWatermarkTypeEnum struct {
	IMAGE UpdateWatermarkTemplateReqWatermarkType
	TEXT  UpdateWatermarkTemplateReqWatermarkType
}

func GetUpdateWatermarkTemplateReqWatermarkTypeEnum

func GetUpdateWatermarkTemplateReqWatermarkTypeEnum() UpdateWatermarkTemplateReqWatermarkTypeEnum

type UpdateWatermarkTemplateRequest

type UpdateWatermarkTemplateRequest struct {
	Body *UpdateWatermarkTemplateReq `json:"body,omitempty"`
}

Request Object

func (UpdateWatermarkTemplateRequest) String

type UpdateWatermarkTemplateResponse

type UpdateWatermarkTemplateResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateWatermarkTemplateResponse) String

type UploadAsset

type UploadAsset struct {
	Url *string `json:"url,omitempty"`

	AssetId *string `json:"asset_id,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`
}

func (UploadAsset) String

func (o UploadAsset) String() string

type UploadAssetReq added in v0.0.50

type UploadAssetReq struct {
	AssetId string `json:"asset_id"`

	VideoMd5 *string `json:"video_md5,omitempty"`

	VideoName *string `json:"video_name,omitempty"`

	VideoType *UploadAssetReqVideoType `json:"video_type,omitempty"`

	CoverId *int32 `json:"cover_id,omitempty"`

	CoverType *UploadAssetReqCoverType `json:"cover_type,omitempty"`

	CoverMd5 *string `json:"cover_md5,omitempty"`

	Subtitles *[]Subtitle `json:"subtitles,omitempty"`
}

func (UploadAssetReq) String added in v0.0.50

func (o UploadAssetReq) String() string

type UploadAssetReqCoverType added in v0.0.50

type UploadAssetReqCoverType struct {
	// contains filtered or unexported fields
}

func (UploadAssetReqCoverType) MarshalJSON added in v0.0.50

func (c UploadAssetReqCoverType) MarshalJSON() ([]byte, error)

func (*UploadAssetReqCoverType) UnmarshalJSON added in v0.0.50

func (c *UploadAssetReqCoverType) UnmarshalJSON(b []byte) error

type UploadAssetReqCoverTypeEnum added in v0.0.50

type UploadAssetReqCoverTypeEnum struct {
	JPG UploadAssetReqCoverType
	PNG UploadAssetReqCoverType
}

func GetUploadAssetReqCoverTypeEnum added in v0.0.50

func GetUploadAssetReqCoverTypeEnum() UploadAssetReqCoverTypeEnum

type UploadAssetReqVideoType added in v0.0.50

type UploadAssetReqVideoType struct {
	// contains filtered or unexported fields
}

func (UploadAssetReqVideoType) MarshalJSON added in v0.0.50

func (c UploadAssetReqVideoType) MarshalJSON() ([]byte, error)

func (*UploadAssetReqVideoType) UnmarshalJSON added in v0.0.50

func (c *UploadAssetReqVideoType) UnmarshalJSON(b []byte) error

type UploadMetaDataByUrl

type UploadMetaDataByUrl struct {
	VideoType UploadMetaDataByUrlVideoType `json:"video_type"`

	Title string `json:"title"`

	Url string `json:"url"`

	Description *string `json:"description,omitempty"`

	CategoryId *int32 `json:"category_id,omitempty"`

	Tags *string `json:"tags,omitempty"`

	AutoPublish *int32 `json:"auto_publish,omitempty"`

	TemplateGroupName *string `json:"template_group_name,omitempty"`

	AutoEncrypt *int32 `json:"auto_encrypt,omitempty"`

	AutoPreheat *int32 `json:"auto_preheat,omitempty"`

	Thumbnail *Thumbnail `json:"thumbnail,omitempty"`

	Review *Review `json:"review,omitempty"`

	WorkflowName *string `json:"workflow_name,omitempty"`
}

func (UploadMetaDataByUrl) String

func (o UploadMetaDataByUrl) String() string

type UploadMetaDataByUrlReq

type UploadMetaDataByUrlReq struct {
	UploadMetadatas []UploadMetaDataByUrl `json:"upload_metadatas"`
}

func (UploadMetaDataByUrlReq) String

func (o UploadMetaDataByUrlReq) String() string

type UploadMetaDataByUrlRequest

type UploadMetaDataByUrlRequest struct {
	Body *UploadMetaDataByUrlReq `json:"body,omitempty"`
}

Request Object

func (UploadMetaDataByUrlRequest) String

type UploadMetaDataByUrlResponse

type UploadMetaDataByUrlResponse struct {
	UploadAssets   *[]UploadAsset `json:"upload_assets,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (UploadMetaDataByUrlResponse) String

type UploadMetaDataByUrlVideoType

type UploadMetaDataByUrlVideoType struct {
	// contains filtered or unexported fields
}

func (UploadMetaDataByUrlVideoType) MarshalJSON

func (c UploadMetaDataByUrlVideoType) MarshalJSON() ([]byte, error)

func (*UploadMetaDataByUrlVideoType) UnmarshalJSON

func (c *UploadMetaDataByUrlVideoType) UnmarshalJSON(b []byte) error

type VideoTemplateInfo

type VideoTemplateInfo struct {
	Quality VideoTemplateInfoQuality `json:"quality"`

	Width *int32 `json:"width,omitempty"`

	Height *int32 `json:"height,omitempty"`

	Bitrate *int32 `json:"bitrate,omitempty"`

	FrameRate *int32 `json:"frame_rate,omitempty"`
}

模板视频信息

func (VideoTemplateInfo) String

func (o VideoTemplateInfo) String() string

type VideoTemplateInfoQuality

type VideoTemplateInfoQuality struct {
	// contains filtered or unexported fields
}

func (VideoTemplateInfoQuality) MarshalJSON

func (c VideoTemplateInfoQuality) MarshalJSON() ([]byte, error)

func (*VideoTemplateInfoQuality) UnmarshalJSON

func (c *VideoTemplateInfoQuality) UnmarshalJSON(b []byte) error

type VideoTypeRef

type VideoTypeRef struct {
	VideoType VideoTypeRefVideoType `json:"video_type"`

	Title string `json:"title"`

	Description *string `json:"description,omitempty"`

	CategoryId *int32 `json:"category_id,omitempty"`

	Tags *string `json:"tags,omitempty"`

	AutoPublish *int32 `json:"auto_publish,omitempty"`

	TemplateGroupName *string `json:"template_group_name,omitempty"`

	AutoEncrypt *int32 `json:"auto_encrypt,omitempty"`

	AutoPreheat *int32 `json:"auto_preheat,omitempty"`

	Thumbnail *Thumbnail `json:"thumbnail,omitempty"`

	Review *Review `json:"review,omitempty"`

	WorkflowName *string `json:"workflow_name,omitempty"`
}

func (VideoTypeRef) String

func (o VideoTypeRef) String() string

type VideoTypeRefVideoType

type VideoTypeRefVideoType struct {
	// contains filtered or unexported fields
}

func (VideoTypeRefVideoType) MarshalJSON

func (c VideoTypeRefVideoType) MarshalJSON() ([]byte, error)

func (*VideoTypeRefVideoType) UnmarshalJSON

func (c *VideoTypeRefVideoType) UnmarshalJSON(b []byte) error

type VodSampleData

type VodSampleData struct {
	Storage *float32 `json:"storage,omitempty"`

	Transcode *int64 `json:"transcode,omitempty"`
}

func (VodSampleData) String

func (o VodSampleData) String() string

type WatermarkTemplate

type WatermarkTemplate struct {
	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int64 `json:"status,omitempty"`

	Dx *string `json:"dx,omitempty"`

	Dy *string `json:"dy,omitempty"`

	Position *string `json:"position,omitempty"`

	Width *string `json:"width,omitempty"`

	Height *string `json:"height,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	ImageUrl *string `json:"image_url,omitempty"`

	Type *string `json:"type,omitempty"`

	WatermarkType *string `json:"watermark_type,omitempty"`

	ImageProcess *string `json:"image_process,omitempty"`

	TimelineStart *string `json:"timeline_start,omitempty"`

	TimelineDuration *string `json:"timeline_duration,omitempty"`
}

func (WatermarkTemplate) String

func (o WatermarkTemplate) String() string

Source Files

Jump to

Keyboard shortcuts

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