Documentation ¶
Index ¶
- type AssetDetails
- type AssetDetailsAssetStatus
- type AssetDetailsAssetStatusEnum
- type AssetDetailsTranscodeStatus
- type AssetDetailsTranscodeStatusEnum
- type AssetInfo
- type AssetProcessReq
- type AssetReviewReq
- type AssetSummary
- type AssetSummaryAssetStatus
- type AssetSummaryAssetStatusEnum
- type AssetSummaryReviewStatus
- type AssetSummaryReviewStatusEnum
- type AssetSummaryThumbnailStatus
- type AssetSummaryThumbnailStatusEnum
- type AssetSummaryTranscodeStatus
- type AssetSummaryTranscodeStatusEnum
- type AudioTemplateInfo
- type BaseInfo
- type CancelAssetTranscodeTaskRequest
- type CancelAssetTranscodeTaskResponse
- type CancelExtractAudioTaskRequest
- type CancelExtractAudioTaskResponse
- type CheckMd5DuplicationRequest
- type CheckMd5DuplicationResponse
- type Common
- type CommonAudioCodec
- type CommonAudioCodecEnum
- type CommonPvc
- type CommonPvcEnum
- type CommonVideoCodec
- type CommonVideoCodecEnum
- type ConfirmAssetUploadReq
- type ConfirmAssetUploadReqStatus
- type ConfirmAssetUploadReqStatusEnum
- type ConfirmAssetUploadRequest
- type ConfirmAssetUploadResponse
- type ConfirmImageUploadReq
- type ConfirmImageUploadReqStatus
- type ConfirmImageUploadReqStatusEnum
- type ConfirmImageUploadRequest
- type ConfirmImageUploadResponse
- type CoverInfo
- type CreateAssetByFileUploadReq
- type CreateAssetByFileUploadReqCoverType
- type CreateAssetByFileUploadReqCoverTypeEnum
- type CreateAssetByFileUploadRequest
- type CreateAssetByFileUploadResponse
- type CreateAssetCategoryRequest
- type CreateAssetCategoryResponse
- type CreateAssetProcessTaskRequest
- type CreateAssetProcessTaskResponse
- type CreateAssetReviewTaskRequest
- type CreateAssetReviewTaskResponse
- type CreateCategoryReq
- type CreateExtractAudioTaskRequest
- type CreateExtractAudioTaskResponse
- type CreatePreheatingAssetReq
- type CreatePreheatingAssetRequest
- type CreatePreheatingAssetResponse
- type CreateTakeOverTaskReq
- type CreateTakeOverTaskRequest
- type CreateTakeOverTaskResponse
- type CreateTemplateGroupRequest
- type CreateTemplateGroupResponse
- type CreateWatermarkTemplateReq
- type CreateWatermarkTemplateReqImageProcess
- type CreateWatermarkTemplateReqImageProcessEnum
- type CreateWatermarkTemplateReqPosition
- type CreateWatermarkTemplateReqPositionEnum
- type CreateWatermarkTemplateReqWatermarkType
- type CreateWatermarkTemplateReqWatermarkTypeEnum
- type CreateWatermarkTemplateRequest
- type CreateWatermarkTemplateResponse
- type DeleteAssetCategoryRequest
- type DeleteAssetCategoryResponse
- type DeleteAssetsRequest
- type DeleteAssetsResponse
- type DeleteResult
- type DeleteResultStatus
- type DeleteResultStatusEnum
- type DeleteTemplateGroupRequest
- type DeleteTemplateGroupResponse
- type DeleteWatermarkTemplateRequest
- type DeleteWatermarkTemplateResponse
- type ExtractAudioTaskReq
- type FileAddr
- type ListAssetCategoryRequest
- type ListAssetCategoryResponse
- type ListAssetListRequest
- type ListAssetListRequestOrder
- type ListAssetListRequestOrderEnum
- type ListAssetListRequestStatus
- type ListAssetListRequestStatusEnum
- type ListAssetListResponse
- type ListTakeOverTaskRequest
- type ListTakeOverTaskResponse
- type ListTemplateGroupRequest
- type ListTemplateGroupResponse
- type ListTopStatisticsRequest
- type ListTopStatisticsResponse
- type ListWatermarkTemplateRequest
- type ListWatermarkTemplateResponse
- type MetaData
- type MetaDataCodec
- type MetaDataCodecEnum
- type ModifyTransTemplateGroup
- type ModifyTransTemplateGroupStatus
- type ModifyTransTemplateGroupStatusEnum
- type Output
- type OutputPlayType
- type OutputPlayTypeEnum
- type OutputQuality
- type OutputQualityEnum
- type Parameter
- type PictureReviewRet
- type PictureReviewRetSuggestion
- type PictureReviewRetSuggestionEnum
- type PlayInfo
- type PreheatingResult
- type PreheatingResultStatus
- type PreheatingResultStatusEnum
- type PublishAssetFromObsReq
- type PublishAssetFromObsReqVideoType
- type PublishAssetFromObsReqVideoTypeEnum
- type PublishAssetFromObsRequest
- type PublishAssetFromObsResponse
- type PublishAssetReq
- type PublishAssetsRequest
- type PublishAssetsResponse
- type QualityInfo
- type QualityInfoFormat
- type QualityInfoFormatEnum
- type QueryCategoryRsp
- type Review
- type ReviewDetail
- type ReviewInfo
- type ReviewInfoSuggestion
- type ReviewInfoSuggestionEnum
- type ShowAssetCipherRequest
- type ShowAssetCipherResponse
- type ShowAssetDetailRequest
- type ShowAssetDetailRequestCategories
- type ShowAssetDetailRequestCategoriesEnum
- type ShowAssetDetailResponse
- type ShowAssetMetaRequest
- type ShowAssetMetaRequestAssetStatus
- type ShowAssetMetaRequestAssetStatusEnum
- type ShowAssetMetaRequestStatus
- type ShowAssetMetaRequestStatusEnum
- type ShowAssetMetaRequestTranscodeStatus
- type ShowAssetMetaRequestTranscodeStatusEnum
- type ShowAssetMetaResponse
- type ShowAssetTempAuthorityRequest
- type ShowAssetTempAuthorityResponse
- type ShowCdnStatisticsRequest
- type ShowCdnStatisticsResponse
- type ShowPreheatingAssetRequest
- type ShowPreheatingAssetResponse
- type ShowTakeOverAssetDetailsRequest
- type ShowTakeOverAssetDetailsResponse
- type ShowTakeOverAssetDetailsResponseAssetStatus
- type ShowTakeOverAssetDetailsResponseAssetStatusEnum
- type ShowTakeOverAssetDetailsResponseTranscodeStatus
- type ShowTakeOverAssetDetailsResponseTranscodeStatusEnum
- type ShowTakeOverTaskDetailsRequest
- type ShowTakeOverTaskDetailsResponse
- type ShowVodStatisticsRequest
- type ShowVodStatisticsResponse
- type Subtitle
- type SubtitleInfo
- type SubtitleLanguage
- type SubtitleLanguageEnum
- type SubtitleType
- type SubtitleTypeEnum
- type TakeOverTask
- type TakeOverTaskStatus
- type TakeOverTaskStatusEnum
- type TemplateGroup
- type TextReviewRet
- type TextReviewRetSuggestion
- type TextReviewRetSuggestionEnum
- type Thumbnail
- type ThumbnailInfo
- type ThumbnailRsp
- type ThumbnailType
- type ThumbnailTypeEnum
- type TopUrl
- type TransTemplateGroup
- type TransTemplateGroupStatus
- type TransTemplateGroupStatusEnum
- type TransTemplateGroupType
- type TransTemplateGroupTypeEnum
- type TranscodeInfo
- type UnpublishAssetsRequest
- type UnpublishAssetsResponse
- type UpdateAssetCategoryRequest
- type UpdateAssetCategoryResponse
- type UpdateAssetMetaReq
- type UpdateAssetMetaRequest
- type UpdateAssetMetaResponse
- type UpdateAssetRequest
- type UpdateAssetResponse
- type UpdateBucketAuthorizedReq
- type UpdateBucketAuthorizedRequest
- type UpdateBucketAuthorizedResponse
- type UpdateCategoryReq
- type UpdateCoverByThumbnailReq
- type UpdateCoverByThumbnailRequest
- type UpdateCoverByThumbnailResponse
- type UpdateTemplateGroupRequest
- type UpdateTemplateGroupResponse
- type UpdateWatermarkTemplateReq
- type UpdateWatermarkTemplateReqImageProcess
- type UpdateWatermarkTemplateReqImageProcessEnum
- type UpdateWatermarkTemplateReqPosition
- type UpdateWatermarkTemplateReqPositionEnum
- type UpdateWatermarkTemplateReqWatermarkType
- type UpdateWatermarkTemplateReqWatermarkTypeEnum
- type UpdateWatermarkTemplateRequest
- type UpdateWatermarkTemplateResponse
- type UploadAsset
- type UploadAssetReq
- type UploadAssetReqCoverType
- type UploadAssetReqCoverTypeEnum
- type UploadAssetReqVideoType
- type UploadAssetReqVideoTypeEnum
- type UploadMetaDataByUrl
- type UploadMetaDataByUrlReq
- type UploadMetaDataByUrlRequest
- type UploadMetaDataByUrlResponse
- type UploadMetaDataByUrlVideoType
- type UploadMetaDataByUrlVideoTypeEnum
- type VideoTemplateInfo
- type VideoTemplateInfoQuality
- type VideoTemplateInfoQualityEnum
- type VideoTypeRef
- type VideoTypeRefVideoType
- type VideoTypeRefVideoTypeEnum
- type VodSampleData
- type WatermarkTemplate
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 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 ¶
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"` }
媒资基本信息。
type CancelAssetTranscodeTaskRequest ¶
type CancelAssetTranscodeTaskRequest struct {
AssetId string `json:"asset_id"`
}
Request Object
func (CancelAssetTranscodeTaskRequest) String ¶
func (o CancelAssetTranscodeTaskRequest) String() string
type CancelAssetTranscodeTaskResponse ¶
type CancelAssetTranscodeTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CancelAssetTranscodeTaskResponse) String ¶
func (o CancelAssetTranscodeTaskResponse) String() string
type CancelExtractAudioTaskRequest ¶
type CancelExtractAudioTaskRequest struct {
AssetId string `json:"asset_id"`
}
Request Object
func (CancelExtractAudioTaskRequest) String ¶
func (o CancelExtractAudioTaskRequest) String() string
type CancelExtractAudioTaskResponse ¶
type CancelExtractAudioTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CancelExtractAudioTaskResponse) String ¶
func (o CancelExtractAudioTaskResponse) String() string
type CheckMd5DuplicationRequest ¶
Request Object
func (CheckMd5DuplicationRequest) String ¶
func (o CheckMd5DuplicationRequest) String() 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 ¶
func (o CheckMd5DuplicationResponse) String() 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"` }
模板信息
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 (*CommonPvc) UnmarshalJSON ¶
type CommonPvcEnum ¶
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 ¶
func (o ConfirmAssetUploadResponse) String() 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 ¶
func (o ConfirmImageUploadResponse) 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 *string `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
func (o CreateAssetByFileUploadReq) String() string
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 ¶
func (o CreateAssetByFileUploadRequest) String() 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 ¶
func (o CreateAssetByFileUploadResponse) String() string
type CreateAssetCategoryRequest ¶
type CreateAssetCategoryRequest struct {
Body *CreateCategoryReq `json:"body,omitempty"`
}
Request Object
func (CreateAssetCategoryRequest) String ¶
func (o CreateAssetCategoryRequest) String() 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 ¶
func (o CreateAssetCategoryResponse) String() string
type CreateAssetProcessTaskRequest ¶
type CreateAssetProcessTaskRequest struct {
Body *AssetProcessReq `json:"body,omitempty"`
}
Request Object
func (CreateAssetProcessTaskRequest) String ¶
func (o CreateAssetProcessTaskRequest) String() string
type CreateAssetProcessTaskResponse ¶
type CreateAssetProcessTaskResponse struct { AssetId *string `json:"asset_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAssetProcessTaskResponse) String ¶
func (o CreateAssetProcessTaskResponse) String() string
type CreateAssetReviewTaskRequest ¶
type CreateAssetReviewTaskRequest struct {
Body *AssetReviewReq `json:"body,omitempty"`
}
Request Object
func (CreateAssetReviewTaskRequest) String ¶
func (o CreateAssetReviewTaskRequest) String() 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 ¶
func (o CreateAssetReviewTaskResponse) String() 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 ¶
func (o CreateExtractAudioTaskRequest) String() 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 ¶
func (o CreateExtractAudioTaskResponse) String() 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 ¶
func (o CreatePreheatingAssetRequest) String() string
type CreatePreheatingAssetResponse ¶
type CreatePreheatingAssetResponse struct { TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePreheatingAssetResponse) String ¶
func (o CreatePreheatingAssetResponse) String() 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 ¶
func (o CreateTakeOverTaskResponse) String() string
type CreateTemplateGroupRequest ¶
type CreateTemplateGroupRequest struct {
Body *TransTemplateGroup `json:"body,omitempty"`
}
Request Object
func (CreateTemplateGroupRequest) String ¶
func (o CreateTemplateGroupRequest) String() string
type CreateTemplateGroupResponse ¶
type CreateTemplateGroupResponse struct { GroupId *string `json:"group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTemplateGroupResponse) String ¶
func (o CreateTemplateGroupResponse) String() 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 ¶
func (o CreateWatermarkTemplateReq) String() 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 CreateWatermarkTemplateReqImageProcessEnum ¶
type CreateWatermarkTemplateReqImageProcessEnum struct { ORIGINAL CreateWatermarkTemplateReqImageProcess TRANSPARENT CreateWatermarkTemplateReqImageProcess GRAYED CreateWatermarkTemplateReqImageProcess }
func GetCreateWatermarkTemplateReqImageProcessEnum ¶
func GetCreateWatermarkTemplateReqImageProcessEnum() CreateWatermarkTemplateReqImageProcessEnum
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 CreateWatermarkTemplateReqPositionEnum ¶
type CreateWatermarkTemplateReqPositionEnum struct { TOPRIGHT CreateWatermarkTemplateReqPosition TOPLEFT CreateWatermarkTemplateReqPosition BOTTOMRIGHT CreateWatermarkTemplateReqPosition BOTTOMLEFT CreateWatermarkTemplateReqPosition }
func GetCreateWatermarkTemplateReqPositionEnum ¶
func GetCreateWatermarkTemplateReqPositionEnum() CreateWatermarkTemplateReqPositionEnum
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 ¶
func (o CreateWatermarkTemplateRequest) String() 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 ¶
func (o CreateWatermarkTemplateResponse) String() string
type DeleteAssetCategoryRequest ¶
type DeleteAssetCategoryRequest struct {
Id int32 `json:"id"`
}
Request Object
func (DeleteAssetCategoryRequest) String ¶
func (o DeleteAssetCategoryRequest) String() string
type DeleteAssetCategoryResponse ¶
type DeleteAssetCategoryResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAssetCategoryResponse) String ¶
func (o DeleteAssetCategoryResponse) String() 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 ¶
func (o DeleteTemplateGroupRequest) String() string
type DeleteTemplateGroupResponse ¶
type DeleteTemplateGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteTemplateGroupResponse) String ¶
func (o DeleteTemplateGroupResponse) String() string
type DeleteWatermarkTemplateRequest ¶
type DeleteWatermarkTemplateRequest struct {
Id string `json:"id"`
}
Request Object
func (DeleteWatermarkTemplateRequest) String ¶
func (o DeleteWatermarkTemplateRequest) String() string
type DeleteWatermarkTemplateResponse ¶
type DeleteWatermarkTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteWatermarkTemplateResponse) String ¶
func (o DeleteWatermarkTemplateResponse) String() 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"` }
媒资存储参数信息
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 ListAssetListRequestStatusEnum ¶
type ListAssetListRequestStatusEnum struct { CREATING ListAssetListRequestStatus FAILED ListAssetListRequestStatus CREATED ListAssetListRequestStatus PUBLISHED ListAssetListRequestStatus WAITING_TRANSCODE ListAssetListRequestStatus TRANSCODING ListAssetListRequestStatus TRANSCODE_SUCCEED ListAssetListRequestStatus TRANSCODE_FAILED ListAssetListRequestStatus THUMBNAILING ListAssetListRequestStatus THUMBNAIL_SUCCEED ListAssetListRequestStatus THUMBNAIL_FAILED ListAssetListRequestStatus UN_REVIEW ListAssetListRequestStatus REVIEWING ListAssetListRequestStatus REVIEW_SUSPICIOUS ListAssetListRequestStatus REVIEW_PASSED ListAssetListRequestStatus REVIEW_FAILED ListAssetListRequestStatus REVIEW_BLOCKED ListAssetListRequestStatus }
func GetListAssetListRequestStatusEnum ¶
func GetListAssetListRequestStatusEnum() ListAssetListRequestStatusEnum
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 ¶
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 ¶
func (o ListWatermarkTemplateRequest) String() string
type ListWatermarkTemplateResponse ¶
type ListWatermarkTemplateResponse struct { Templates *[]WatermarkTemplate `json:"templates,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListWatermarkTemplateResponse) String ¶
func (o ListWatermarkTemplateResponse) String() 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"` }
视频的元数据信息。 经过视频解析后产生,包括封装格式、大小、分辨率、码率、帧率。
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 MetaDataCodecEnum ¶
type MetaDataCodecEnum struct { MPEG_2 MetaDataCodec MPEG_4 MetaDataCodec H_264 MetaDataCodec H_265 MetaDataCodec WMV MetaDataCodec VORBIS MetaDataCodec AAC MetaDataCodec EAC_3 MetaDataCodec AC_3 MetaDataCodec AMR MetaDataCodec APE MetaDataCodec FLAC MetaDataCodec MP3 MetaDataCodec MP2 MetaDataCodec WMA MetaDataCodec PCM MetaDataCodec ADPCM MetaDataCodec WAV_PACK MetaDataCodec HEAAC MetaDataCodec UNKNOWN MetaDataCodec }
func GetMetaDataCodecEnum ¶
func GetMetaDataCodecEnum() MetaDataCodecEnum
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为转码输出路数。
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 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 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 PublishAssetFromObsReqVideoTypeEnum ¶
type PublishAssetFromObsReqVideoTypeEnum struct { MP4 PublishAssetFromObsReqVideoType TS PublishAssetFromObsReqVideoType MOV PublishAssetFromObsReqVideoType MXF PublishAssetFromObsReqVideoType MPG PublishAssetFromObsReqVideoType FLV PublishAssetFromObsReqVideoType WMV PublishAssetFromObsReqVideoType HLS PublishAssetFromObsReqVideoType DASH PublishAssetFromObsReqVideoType MP3 PublishAssetFromObsReqVideoType WMA PublishAssetFromObsReqVideoType APE PublishAssetFromObsReqVideoType FLAC PublishAssetFromObsReqVideoType AAC PublishAssetFromObsReqVideoType AC3 PublishAssetFromObsReqVideoType MMF PublishAssetFromObsReqVideoType AMR PublishAssetFromObsReqVideoType M4_A PublishAssetFromObsReqVideoType M4_R PublishAssetFromObsReqVideoType OGG PublishAssetFromObsReqVideoType WAV PublishAssetFromObsReqVideoType WV PublishAssetFromObsReqVideoType MP2 PublishAssetFromObsReqVideoType AVI PublishAssetFromObsReqVideoType F4_V PublishAssetFromObsReqVideoType M4_V PublishAssetFromObsReqVideoType MPEG PublishAssetFromObsReqVideoType M3_U8 PublishAssetFromObsReqVideoType E_3_GP PublishAssetFromObsReqVideoType ASF PublishAssetFromObsReqVideoType MKV PublishAssetFromObsReqVideoType UNKNOW PublishAssetFromObsReqVideoType }
func GetPublishAssetFromObsReqVideoTypeEnum ¶
func GetPublishAssetFromObsReqVideoTypeEnum() PublishAssetFromObsReqVideoTypeEnum
type PublishAssetFromObsRequest ¶
type PublishAssetFromObsRequest struct {
Body *PublishAssetFromObsReq `json:"body,omitempty"`
}
Request Object
func (PublishAssetFromObsRequest) String ¶
func (o PublishAssetFromObsRequest) String() string
type PublishAssetFromObsResponse ¶
type PublishAssetFromObsResponse struct { AssetId *string `json:"asset_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (PublishAssetFromObsResponse) String ¶
func (o PublishAssetFromObsResponse) String() 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 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 ShowAssetMetaRequestStatusEnum ¶
type ShowAssetMetaRequestStatusEnum struct { UNCREATED ShowAssetMetaRequestStatus DELETED ShowAssetMetaRequestStatus CANCELLED ShowAssetMetaRequestStatus SERVER_ERROR ShowAssetMetaRequestStatus UPLOAD_FAILED ShowAssetMetaRequestStatus CREATING ShowAssetMetaRequestStatus PUBLISHED ShowAssetMetaRequestStatus WAITING_TRANSCODE ShowAssetMetaRequestStatus TRANSCODING ShowAssetMetaRequestStatus TRANSCODE_FAILED ShowAssetMetaRequestStatus TRANSCODE_SUCCEED ShowAssetMetaRequestStatus CREATED ShowAssetMetaRequestStatus }
func GetShowAssetMetaRequestStatusEnum ¶
func GetShowAssetMetaRequestStatusEnum() ShowAssetMetaRequestStatusEnum
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 ¶
func (o ShowAssetTempAuthorityRequest) String() string
type ShowAssetTempAuthorityResponse ¶
type ShowAssetTempAuthorityResponse struct { SignStr *string `json:"sign_str,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAssetTempAuthorityResponse) String ¶
func (o ShowAssetTempAuthorityResponse) String() 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 ¶
func (o ShowPreheatingAssetRequest) String() string
type ShowPreheatingAssetResponse ¶
type ShowPreheatingAssetResponse struct { PreheatingResults *[]PreheatingResult `json:"preheating_results,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPreheatingAssetResponse) String ¶
func (o ShowPreheatingAssetResponse) String() string
type ShowTakeOverAssetDetailsRequest ¶
type ShowTakeOverAssetDetailsRequest struct { SourceBucket string `json:"source_bucket"` SourceObject string `json:"source_object"` }
Request Object
func (ShowTakeOverAssetDetailsRequest) String ¶
func (o ShowTakeOverAssetDetailsRequest) String() 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 ¶
func (o ShowTakeOverAssetDetailsResponse) String() string
type ShowTakeOverAssetDetailsResponseAssetStatus ¶
type ShowTakeOverAssetDetailsResponseAssetStatus struct {
// contains filtered or unexported fields
}
func (ShowTakeOverAssetDetailsResponseAssetStatus) MarshalJSON ¶
func (c ShowTakeOverAssetDetailsResponseAssetStatus) MarshalJSON() ([]byte, error)
func (*ShowTakeOverAssetDetailsResponseAssetStatus) UnmarshalJSON ¶
func (c *ShowTakeOverAssetDetailsResponseAssetStatus) UnmarshalJSON(b []byte) error
type ShowTakeOverAssetDetailsResponseAssetStatusEnum ¶
type ShowTakeOverAssetDetailsResponseAssetStatusEnum struct { CREATING ShowTakeOverAssetDetailsResponseAssetStatus FAILED ShowTakeOverAssetDetailsResponseAssetStatus CREATED ShowTakeOverAssetDetailsResponseAssetStatus PUBLISHED ShowTakeOverAssetDetailsResponseAssetStatus DELETED ShowTakeOverAssetDetailsResponseAssetStatus }
func GetShowTakeOverAssetDetailsResponseAssetStatusEnum ¶
func GetShowTakeOverAssetDetailsResponseAssetStatusEnum() ShowTakeOverAssetDetailsResponseAssetStatusEnum
type ShowTakeOverAssetDetailsResponseTranscodeStatus ¶
type ShowTakeOverAssetDetailsResponseTranscodeStatus struct {
// contains filtered or unexported fields
}
func (ShowTakeOverAssetDetailsResponseTranscodeStatus) MarshalJSON ¶
func (c ShowTakeOverAssetDetailsResponseTranscodeStatus) MarshalJSON() ([]byte, error)
func (*ShowTakeOverAssetDetailsResponseTranscodeStatus) UnmarshalJSON ¶
func (c *ShowTakeOverAssetDetailsResponseTranscodeStatus) UnmarshalJSON(b []byte) error
type ShowTakeOverAssetDetailsResponseTranscodeStatusEnum ¶
type ShowTakeOverAssetDetailsResponseTranscodeStatusEnum struct { UN_TRANSCODE ShowTakeOverAssetDetailsResponseTranscodeStatus WAITING_TRANSCODE ShowTakeOverAssetDetailsResponseTranscodeStatus TRANSCODING ShowTakeOverAssetDetailsResponseTranscodeStatus TRANSCODE_SUCCEED ShowTakeOverAssetDetailsResponseTranscodeStatus TRANSCODE_FAILED ShowTakeOverAssetDetailsResponseTranscodeStatus }
func GetShowTakeOverAssetDetailsResponseTranscodeStatusEnum ¶
func GetShowTakeOverAssetDetailsResponseTranscodeStatusEnum() ShowTakeOverAssetDetailsResponseTranscodeStatusEnum
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 ¶
func (o ShowTakeOverTaskDetailsRequest) String() 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 ¶
func (o ShowTakeOverTaskDetailsResponse) String() 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"` }
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"` }
截图参数
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 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 PERCENT ThumbnailType DOTS ThumbnailType }
func GetThumbnailTypeEnum ¶
func GetThumbnailTypeEnum() ThumbnailTypeEnum
type TopUrl ¶
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 ¶
func (o UpdateAssetCategoryRequest) String() 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 ¶
func (o UpdateAssetCategoryResponse) String() 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 ¶
func (o UpdateBucketAuthorizedRequest) String() string
type UpdateBucketAuthorizedResponse ¶
type UpdateBucketAuthorizedResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateBucketAuthorizedResponse) String ¶
func (o UpdateBucketAuthorizedResponse) String() string
type UpdateCategoryReq ¶
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 ¶
func (o UpdateCoverByThumbnailRequest) String() string
type UpdateCoverByThumbnailResponse ¶
type UpdateCoverByThumbnailResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateCoverByThumbnailResponse) String ¶
func (o UpdateCoverByThumbnailResponse) String() string
type UpdateTemplateGroupRequest ¶
type UpdateTemplateGroupRequest struct {
Body *ModifyTransTemplateGroup `json:"body,omitempty"`
}
Request Object
func (UpdateTemplateGroupRequest) String ¶
func (o UpdateTemplateGroupRequest) String() string
type UpdateTemplateGroupResponse ¶
type UpdateTemplateGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateTemplateGroupResponse) String ¶
func (o UpdateTemplateGroupResponse) String() 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 ¶
func (o UpdateWatermarkTemplateReq) String() 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 UpdateWatermarkTemplateReqImageProcessEnum ¶
type UpdateWatermarkTemplateReqImageProcessEnum struct { ORIGINAL UpdateWatermarkTemplateReqImageProcess TRANSPARENT UpdateWatermarkTemplateReqImageProcess GRAYED UpdateWatermarkTemplateReqImageProcess }
func GetUpdateWatermarkTemplateReqImageProcessEnum ¶
func GetUpdateWatermarkTemplateReqImageProcessEnum() UpdateWatermarkTemplateReqImageProcessEnum
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 UpdateWatermarkTemplateReqPositionEnum ¶
type UpdateWatermarkTemplateReqPositionEnum struct { TOPRIGHT UpdateWatermarkTemplateReqPosition TOPLEFT UpdateWatermarkTemplateReqPosition BOTTOMRIGHT UpdateWatermarkTemplateReqPosition BOTTOMLEFT UpdateWatermarkTemplateReqPosition }
func GetUpdateWatermarkTemplateReqPositionEnum ¶
func GetUpdateWatermarkTemplateReqPositionEnum() UpdateWatermarkTemplateReqPositionEnum
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 ¶
func (o UpdateWatermarkTemplateRequest) String() string
type UpdateWatermarkTemplateResponse ¶
type UpdateWatermarkTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateWatermarkTemplateResponse) String ¶
func (o UpdateWatermarkTemplateResponse) String() 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 UploadAssetReqVideoTypeEnum ¶ added in v0.0.50
type UploadAssetReqVideoTypeEnum struct { MP4 UploadAssetReqVideoType TS UploadAssetReqVideoType MOV UploadAssetReqVideoType MXF UploadAssetReqVideoType MPG UploadAssetReqVideoType FLV UploadAssetReqVideoType WMV UploadAssetReqVideoType HLS UploadAssetReqVideoType MP3 UploadAssetReqVideoType WMA UploadAssetReqVideoType APE UploadAssetReqVideoType FLAC UploadAssetReqVideoType AAC UploadAssetReqVideoType AC3 UploadAssetReqVideoType MMF UploadAssetReqVideoType AMR UploadAssetReqVideoType M4_A UploadAssetReqVideoType M4_R UploadAssetReqVideoType OGG UploadAssetReqVideoType WAV UploadAssetReqVideoType WV UploadAssetReqVideoType MP2 UploadAssetReqVideoType AVI UploadAssetReqVideoType F4_V UploadAssetReqVideoType M4_V UploadAssetReqVideoType MPEG UploadAssetReqVideoType UNKNOW UploadAssetReqVideoType }
func GetUploadAssetReqVideoTypeEnum ¶ added in v0.0.50
func GetUploadAssetReqVideoTypeEnum() UploadAssetReqVideoTypeEnum
type UploadMetaDataByUrl ¶
type UploadMetaDataByUrl struct { VideoType UploadMetaDataByUrlVideoType `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"` Url string `json:"url"` }
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 ¶
func (o UploadMetaDataByUrlRequest) String() string
type UploadMetaDataByUrlResponse ¶
type UploadMetaDataByUrlResponse struct { UploadAssets *[]UploadAsset `json:"upload_assets,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UploadMetaDataByUrlResponse) String ¶
func (o UploadMetaDataByUrlResponse) String() 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 UploadMetaDataByUrlVideoTypeEnum ¶
type UploadMetaDataByUrlVideoTypeEnum struct { MP4 UploadMetaDataByUrlVideoType TS UploadMetaDataByUrlVideoType MOV UploadMetaDataByUrlVideoType MXF UploadMetaDataByUrlVideoType MPG UploadMetaDataByUrlVideoType FLV UploadMetaDataByUrlVideoType WMV UploadMetaDataByUrlVideoType HLS UploadMetaDataByUrlVideoType DASH UploadMetaDataByUrlVideoType MP3 UploadMetaDataByUrlVideoType WMA UploadMetaDataByUrlVideoType APE UploadMetaDataByUrlVideoType FLAC UploadMetaDataByUrlVideoType AAC UploadMetaDataByUrlVideoType AC3 UploadMetaDataByUrlVideoType MMF UploadMetaDataByUrlVideoType AMR UploadMetaDataByUrlVideoType M4_A UploadMetaDataByUrlVideoType M4_R UploadMetaDataByUrlVideoType OGG UploadMetaDataByUrlVideoType WAV UploadMetaDataByUrlVideoType WV UploadMetaDataByUrlVideoType MP2 UploadMetaDataByUrlVideoType AVI UploadMetaDataByUrlVideoType F4_V UploadMetaDataByUrlVideoType M4_V UploadMetaDataByUrlVideoType MPEG UploadMetaDataByUrlVideoType M3_U8 UploadMetaDataByUrlVideoType E_3_GP UploadMetaDataByUrlVideoType ASF UploadMetaDataByUrlVideoType MKV UploadMetaDataByUrlVideoType UNKNOW UploadMetaDataByUrlVideoType }
func GetUploadMetaDataByUrlVideoTypeEnum ¶
func GetUploadMetaDataByUrlVideoTypeEnum() UploadMetaDataByUrlVideoTypeEnum
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 VideoTemplateInfoQualityEnum ¶
type VideoTemplateInfoQualityEnum struct { FULL_HD VideoTemplateInfoQuality HD VideoTemplateInfoQuality SD VideoTemplateInfoQuality FLUENT VideoTemplateInfoQuality AD VideoTemplateInfoQuality E_2_K VideoTemplateInfoQuality E_4_K VideoTemplateInfoQuality UNKNOW VideoTemplateInfoQuality }
func GetVideoTemplateInfoQualityEnum ¶
func GetVideoTemplateInfoQualityEnum() VideoTemplateInfoQualityEnum
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 VideoTypeRefVideoTypeEnum ¶
type VideoTypeRefVideoTypeEnum struct { MP4 VideoTypeRefVideoType TS VideoTypeRefVideoType MOV VideoTypeRefVideoType MXF VideoTypeRefVideoType MPG VideoTypeRefVideoType FLV VideoTypeRefVideoType WMV VideoTypeRefVideoType HLS VideoTypeRefVideoType DASH VideoTypeRefVideoType MP3 VideoTypeRefVideoType WMA VideoTypeRefVideoType APE VideoTypeRefVideoType FLAC VideoTypeRefVideoType AAC VideoTypeRefVideoType AC3 VideoTypeRefVideoType MMF VideoTypeRefVideoType AMR VideoTypeRefVideoType M4_A VideoTypeRefVideoType M4_R VideoTypeRefVideoType OGG VideoTypeRefVideoType WAV VideoTypeRefVideoType WV VideoTypeRefVideoType MP2 VideoTypeRefVideoType AVI VideoTypeRefVideoType F4_V VideoTypeRefVideoType M4_V VideoTypeRefVideoType MPEG VideoTypeRefVideoType M3_U8 VideoTypeRefVideoType E_3_GP VideoTypeRefVideoType ASF VideoTypeRefVideoType MKV VideoTypeRefVideoType UNKNOW VideoTypeRefVideoType }
func GetVideoTypeRefVideoTypeEnum ¶
func GetVideoTypeRefVideoTypeEnum() VideoTypeRefVideoTypeEnum
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 ¶
- model_asset_details.go
- model_asset_info.go
- model_asset_process_req.go
- model_asset_review_req.go
- model_asset_summary.go
- model_audio_template_info.go
- model_base_info.go
- model_cancel_asset_transcode_task_request.go
- model_cancel_asset_transcode_task_response.go
- model_cancel_extract_audio_task_request.go
- model_cancel_extract_audio_task_response.go
- model_check_md5_duplication_request.go
- model_check_md5_duplication_response.go
- model_common.go
- model_confirm_asset_upload_req.go
- model_confirm_asset_upload_request.go
- model_confirm_asset_upload_response.go
- model_confirm_image_upload_req.go
- model_confirm_image_upload_request.go
- model_confirm_image_upload_response.go
- model_cover_info.go
- model_create_asset_by_file_upload_req.go
- model_create_asset_by_file_upload_request.go
- model_create_asset_by_file_upload_response.go
- model_create_asset_category_request.go
- model_create_asset_category_response.go
- model_create_asset_process_task_request.go
- model_create_asset_process_task_response.go
- model_create_asset_review_task_request.go
- model_create_asset_review_task_response.go
- model_create_category_req.go
- model_create_extract_audio_task_request.go
- model_create_extract_audio_task_response.go
- model_create_preheating_asset_req.go
- model_create_preheating_asset_request.go
- model_create_preheating_asset_response.go
- model_create_take_over_task_req.go
- model_create_take_over_task_request.go
- model_create_take_over_task_response.go
- model_create_template_group_request.go
- model_create_template_group_response.go
- model_create_watermark_template_req.go
- model_create_watermark_template_request.go
- model_create_watermark_template_response.go
- model_delete_asset_category_request.go
- model_delete_asset_category_response.go
- model_delete_assets_request.go
- model_delete_assets_response.go
- model_delete_result.go
- model_delete_template_group_request.go
- model_delete_template_group_response.go
- model_delete_watermark_template_request.go
- model_delete_watermark_template_response.go
- model_extract_audio_task_req.go
- model_file_addr.go
- model_list_asset_category_request.go
- model_list_asset_category_response.go
- model_list_asset_list_request.go
- model_list_asset_list_response.go
- model_list_take_over_task_request.go
- model_list_take_over_task_response.go
- model_list_template_group_request.go
- model_list_template_group_response.go
- model_list_top_statistics_request.go
- model_list_top_statistics_response.go
- model_list_watermark_template_request.go
- model_list_watermark_template_response.go
- model_meta_data.go
- model_modify_trans_template_group.go
- model_output.go
- model_parameter.go
- model_picture_review_ret.go
- model_play_info.go
- model_preheating_result.go
- model_publish_asset_from_obs_req.go
- model_publish_asset_from_obs_request.go
- model_publish_asset_from_obs_response.go
- model_publish_asset_req.go
- model_publish_assets_request.go
- model_publish_assets_response.go
- model_quality_info.go
- model_query_category_rsp.go
- model_review.go
- model_review_detail.go
- model_review_info.go
- model_show_asset_cipher_request.go
- model_show_asset_cipher_response.go
- model_show_asset_detail_request.go
- model_show_asset_detail_response.go
- model_show_asset_meta_request.go
- model_show_asset_meta_response.go
- model_show_asset_temp_authority_request.go
- model_show_asset_temp_authority_response.go
- model_show_cdn_statistics_request.go
- model_show_cdn_statistics_response.go
- model_show_preheating_asset_request.go
- model_show_preheating_asset_response.go
- model_show_take_over_asset_details_request.go
- model_show_take_over_asset_details_response.go
- model_show_take_over_task_details_request.go
- model_show_take_over_task_details_response.go
- model_show_vod_statistics_request.go
- model_show_vod_statistics_response.go
- model_subtitle.go
- model_subtitle_info.go
- model_take_over_task.go
- model_template_group.go
- model_text_review_ret.go
- model_thumbnail.go
- model_thumbnail_info.go
- model_thumbnail_rsp.go
- model_top_url.go
- model_trans_template_group.go
- model_transcode_info.go
- model_unpublish_assets_request.go
- model_unpublish_assets_response.go
- model_update_asset_category_request.go
- model_update_asset_category_response.go
- model_update_asset_meta_req.go
- model_update_asset_meta_request.go
- model_update_asset_meta_response.go
- model_update_asset_request.go
- model_update_asset_response.go
- model_update_bucket_authorized_req.go
- model_update_bucket_authorized_request.go
- model_update_bucket_authorized_response.go
- model_update_category_req.go
- model_update_cover_by_thumbnail_req.go
- model_update_cover_by_thumbnail_request.go
- model_update_cover_by_thumbnail_response.go
- model_update_template_group_request.go
- model_update_template_group_response.go
- model_update_watermark_template_req.go
- model_update_watermark_template_request.go
- model_update_watermark_template_response.go
- model_upload_asset.go
- model_upload_asset_req.go
- model_upload_meta_data_by_url.go
- model_upload_meta_data_by_url_req.go
- model_upload_meta_data_by_url_request.go
- model_upload_meta_data_by_url_response.go
- model_video_template_info.go
- model_video_type_ref.go
- model_vod_sample_data.go
- model_watermark_template.go