v20180717

package
v3.0.402+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Operation failed: the number of category levels exceeds the limit.
	FAILEDOPERATION_CLASSLEVELLIMITEXCEEDED = "FailedOperation.ClassLevelLimitExceeded"

	// Operation failed: the category name already exists.
	FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate"

	// Operation failed: the category does not exist.
	FAILEDOPERATION_CLASSNOFOUND = "FailedOperation.ClassNoFound"

	// Operation failed: unsupported cover type.
	FAILEDOPERATION_COVERTYPE = "FailedOperation.CoverType"

	// You cannot modify the settings of the domain name as it is being deployed.
	FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying"

	// User account exception.
	FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount"

	// The VOD service is not activated.
	FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"

	// Media blocked by the system.
	FAILEDOPERATION_MEDIAFORBIDEDBYSYSTEM = "FailedOperation.MediaForbidedBySystem"

	// Operation failed: unsupported media type.
	FAILEDOPERATION_MEDIATYPE = "FailedOperation.MediaType"

	// Network error.
	FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError"

	// No permission to use this API.
	FAILEDOPERATION_NOPRIVILEGES = "FailedOperation.NoPrivileges"

	// Operation failed: the parent category ID does not exist.
	FAILEDOPERATION_PARENTIDNOFOUND = "FailedOperation.ParentIdNoFound"

	// Operation failed: the number of subcategories exceeds the limit.
	FAILEDOPERATION_SUBCLASSLIMITEXCEEDED = "FailedOperation.SubclassLimitExceeded"

	// Operation failed: the task already exists.
	FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate"

	// Operation failed: failed to upload file to COS.
	FAILEDOPERATION_UPLOADCOSFAIL = "FailedOperation.UploadCosFail"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Internal error. Failed to access DB.
	INTERNALERROR_DBERROR = "InternalError.DBError"

	// Internal error: failed to generate template ID.
	INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition"

	// Internal error: an error occurred while getting media file information.
	INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError"

	// Internal error: an error occurred while getting the media list.
	INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError"

	// An error occurred while parsing the time.
	INTERNALERROR_TIMEPARSEERROR = "InternalError.TimeParseError"

	// Internal error: an error occurred while updating media file information.
	INTERNALERROR_UPDATEMEDIAERROR = "InternalError.UpdateMediaError"

	// Internal error: an error occurred while uploading cover image.
	INTERNALERROR_UPLOADCOVERIMAGEERROR = "InternalError.UploadCoverImageError"

	// Internal error: failed to upload watermark image.
	INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// The task flow template name already exists.
	INVALIDPARAMETER_EXISTEDPROCEDURENAME = "InvalidParameter.ExistedProcedureName"

	// Incorrect parameter value: expiration time.
	INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime"

	// The task flow template name does not exist.
	INVALIDPARAMETER_PROCEDURENAMENOTEXIST = "InvalidParameter.ProcedureNameNotExist"

	// Incorrect parameter value: storage region.
	INVALIDPARAMETER_STORAGEREGION = "InvalidParameter.StorageRegion"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Incorrect parameter value: `AddKeyFrameDescs` conflicts with `ClearKeyFrameDescs`.
	INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDCLEARKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndClearKeyFrameDescsConflict"

	// Incorrect parameter value: `AddKeyFrameDescs` conflicts with `DeleteKeyFrameDescs`.
	INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDDELETEKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndDeleteKeyFrameDescsConflict"

	// Incorrect parameter value: `AddTags` conflicts with `ClearTags`.
	INVALIDPARAMETERVALUE_ADDTAGSANDCLEARTAGSCONFLICT = "InvalidParameterValue.AddTagsAndClearTagsConflict"

	// Incorrect parameter value: `AddTags` conflicts with `DeleteTags`.
	INVALIDPARAMETERVALUE_ADDTAGSANDDELETETAGSCONFLICT = "InvalidParameterValue.AddTagsAndDeleteTagsConflict"

	// Incorrect parameter value: `Definition` for AI-based analysis.
	INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition"

	// Incorrect parameter value: `Definition` AI-based content audit.
	INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition"

	// Incorrect parameter value: `Definition` for AI-based recognition.
	INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition"

	// Invalid `Area`.
	INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area"

	// Invalid parameter: audio stream bitrate.
	INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate"

	// Incorrect parameter value: AudioChannel.
	INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel"

	// Invalid parameter: audio stream encoder.
	INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec"

	// Invalid parameter: audio stream sample rate.
	INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate"

	// Invalid audio/video bitrate.
	INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"

	// Incorrect parameter value: the value of the `BlockConfidence` parameter is invalid.
	INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence"

	// Invalid file type.
	INVALIDPARAMETERVALUE_CATEGORIES = "InvalidParameterValue.Categories"

	// Incorrect parameter value: category ID.
	INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId"

	// Incorrect parameter value: invalid `ClassIds`.
	INVALIDPARAMETERVALUE_CLASSIDS = "InvalidParameterValue.ClassIds"

	// Incorrect parameter value: invalid `ClassName`
	INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName"

	// The control field parameter for intelligent categorization is incorrect.
	INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure"

	// Incorrect parameter value: the clipping duration is too long.
	INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration"

	// Invalid audio/video codec.
	INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"

	// Incorrect parameter value: ColumnCount.
	INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount"

	// Invalid parameter: template description.
	INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"

	// Invalid parameter: container.
	INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container"

	// Incorrect parameter value: ContainerType.
	INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType"

	// Incorrect parameter value: CoordinateOrigin.
	INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin"

	// The control field parameter for intelligent cover generation is incorrect.
	INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure"

	// Incorrect parameter value: cover type.
	INVALIDPARAMETERVALUE_COVERTYPE = "InvalidParameterValue.CoverType"

	// Incorrect parameter value: cover URL.
	INVALIDPARAMETERVALUE_COVERURL = "InvalidParameterValue.CoverUrl"

	// Incorrect parameter value: time granularity.
	INVALIDPARAMETERVALUE_DATAINTERVAL = "InvalidParameterValue.DataInterval"

	// Incorrect parameter value: data type.
	INVALIDPARAMETERVALUE_DATATYPE = "InvalidParameterValue.DataType"

	// Incorrect parameter value: the default face library filter tag is invalid.
	INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet"

	// Invalid parameter: Definition.
	INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"

	// Invalid parameter: Definitions.
	INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"

	// Incorrect parameter value: the default template cannot be deleted.
	INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate"

	// Incorrect parameter value: `Description` exceeds the length limit.
	INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"

	// Invalid value of the switch for prohibiting transcoding from low bitrate to high bitrate.
	INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate"

	// Invalid value of the switch for prohibiting transcoding from low resolution to high resolution.
	INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution"

	// Incorrect `Districts`.
	INVALIDPARAMETERVALUE_DISTRICTS = "InvalidParameterValue.Districts"

	// Invalid parameter: the domain name does not exist.
	INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName"

	// This domain name cannot be added as it is invalid.
	INVALIDPARAMETERVALUE_DOMAINNAMEINBLACKLIST = "InvalidParameterValue.DomainNameInBlackList"

	// Parameter value. The domain name list is too large.
	INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames"

	// Invalid DRM type.
	INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType"

	// Incorrect parameter value: invalid `EndTime`.
	INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"

	// Incorrect parameter: the end time is invalid.
	INVALIDPARAMETERVALUE_ENDTIMEOFFSET = "InvalidParameterValue.EndTimeOffset"

	// Incorrect parameter value: incorrect `ExpireTime` format.
	INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"

	// Incorrect parameter value: the same face already exists.
	INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate"

	// Incorrect parameter value: the face library parameter is invalid.
	INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary"

	// Incorrect parameter value: the value of the face score parameter is invalid.
	INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore"

	// The `FileId` does not exist.
	INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId"

	// Incorrect `FileIds` parameter.
	INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds"

	// The `FileIds` array is empty.
	INVALIDPARAMETERVALUE_FILEIDSEMPTY = "InvalidParameterValue.FileIdsEmpty"

	// Incorrect parameter value: too many `FileId`
	INVALIDPARAMETERVALUE_FILEIDSTOOMANY = "InvalidParameterValue.FileIdsTooMany"

	// Incorrect video type.
	INVALIDPARAMETERVALUE_FILETYPE = "InvalidParameterValue.FileType"

	// Invalid parameter: incorrect fill type.
	INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType"

	//
	INVALIDPARAMETERVALUE_FILTRATEAUDIO = "InvalidParameterValue.FiltrateAudio"

	//
	INVALIDPARAMETERVALUE_FILTRATEVIDEO = "InvalidParameterValue.FiltrateVideo"

	// Incorrect parameter value: Format.
	INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"

	// Incorrect parameter value: `Format` is `webp`, but both `Width` and `Height` are empty.
	INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight"

	// Incorrect parameter value: when `Format` is `webp`, `Width` and `Height` cannot be both 0.
	INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero"

	// Invalid parameter: video frame rate.
	INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"

	// The control field parameter for intelligent frame-specific tagging is incorrect.
	INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure"

	// Incorrect parameter value: FunctionArg.
	INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg"

	// Incorrect parameter value: FunctionName.
	INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"

	// Invalid parameter: height.
	INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"

	// Invalid intelligent highlight generating control parameter.
	INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure"

	// Invalid `ImageContent`.
	INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent"

	// Failed to Base64-decode the image.
	INVALIDPARAMETERVALUE_IMAGEDECODEERROR = "InvalidParameterValue.ImageDecodeError"

	// Invalid parameter: image watermarking template.
	INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate"

	// Invalid `OperationType`.
	INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType"

	// Invalid `Isps`.
	INVALIDPARAMETERVALUE_ISPS = "InvalidParameterValue.Isps"

	// Incorrect parameter value: the timestamp content is too long.
	INVALIDPARAMETERVALUE_KEYFRAMEDESCCONTENTTOOLONG = "InvalidParameterValue.KeyFrameDescContentTooLong"

	// Incorrect parameter value: the value of the `LabelSet` parameter is invalid.
	INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"

	// Invalid parameter: Limit.
	INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"

	// Incorrect parameter value: `Limit` is too large.
	INVALIDPARAMETERVALUE_LIMITTOOLARGE = "InvalidParameterValue.LimitTooLarge"

	// Incorrect parameter value: MediaManifestContent.
	INVALIDPARAMETERVALUE_MEDIAMANIFESTCONTENT = "InvalidParameterValue.MediaManifestContent"

	// Incorrect parameter value: media type.
	INVALIDPARAMETERVALUE_MEDIATYPE = "InvalidParameterValue.MediaType"

	// Incorrect parameter value: media file URL.
	INVALIDPARAMETERVALUE_MEDIAURL = "InvalidParameterValue.MediaUrl"

	// Invalid `Metric`.
	INVALIDPARAMETERVALUE_METRIC = "InvalidParameterValue.Metric"

	// Incorrect parameter value: the default template cannot be modified.
	INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate"

	// Incorrect parameter value: `Name` exceeds the length limit.
	INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"

	// Invalid filename prefix.
	INVALIDPARAMETERVALUE_NAMEPREFIXES = "InvalidParameterValue.NamePrefixes"

	// Too many elements in the `Names` array.
	INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names"

	// Incorrect parameter value: the value of the object library parameter is invalid.
	INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary"

	// Incorrect parameter value: invalid `Offset`.
	INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"

	// Incorrect parameter value: `Offset` is too large.
	INVALIDPARAMETERVALUE_OFFSETTOOLARGE = "InvalidParameterValue.OffsetTooLarge"

	// Incorrect parameter value: invalid `Operation`.
	INVALIDPARAMETERVALUE_OPERATION = "InvalidParameterValue.Operation"

	// Incorrect parameter value: invalid `ParentId`
	INVALIDPARAMETERVALUE_PARENTID = "InvalidParameterValue.ParentId"

	// Incorrect parameter value: the face image format is incorrect.
	INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError"

	// The task flow template name is invalid.
	INVALIDPARAMETERVALUE_PROCEDURENAME = "InvalidParameterValue.ProcedureName"

	// Incorrect parameter value: Quality.
	INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality"

	// Incorrect parameter value: RemoveAudio.
	INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"

	// Incorrect parameter value: RemoveVideo.
	INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo"

	// Invalid parameter: invalid `RepeatType`.
	INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType"

	// Invalid parameter: incorrect resolution.
	INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"

	// Invalid `ResolutionAdaptive`.
	INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive"

	// Incorrect parameter value: the value of the `ReviewConfidence` parameter is invalid.
	INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence"

	// Incorrect parameter value: the value of the `ReviewWallSwitch` parameter is invalid.
	INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch"

	// Incorrect parameter value: RowCount.
	INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount"

	// Incorrect parameter value: SampleInterval.
	INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"

	// Invalid audio sample rate.
	INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate"

	// Incorrect parameter value: SampleType.
	INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"

	// Incorrect parameter value: the value of the `ScreenshotInterval` parameter is invalid.
	INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"

	// `SessionContext` is too long.
	INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"

	// The deduplication ID already exists. The request is removed due to duplication.
	INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"

	// `SessionId` is too long.
	INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"

	// Incorrect parameter value: invalid `Sort`.
	INVALIDPARAMETERVALUE_SORT = "InvalidParameterValue.Sort"

	// Incorrect parameter: audio channel system.
	INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem"

	// Incorrect `SourceDefinition`. Please check whether the media file is bound with a transcoding template.
	INVALIDPARAMETERVALUE_SOURCEDEFINITION = "InvalidParameterValue.SourceDefinition"

	// Incorrect parameter value: invalid `SourceType`.
	INVALIDPARAMETERVALUE_SOURCETYPE = "InvalidParameterValue.SourceType"

	// Unknown media file source.
	INVALIDPARAMETERVALUE_SOURCETYPES = "InvalidParameterValue.SourceTypes"

	// Incorrect parameter value: invalid `StartTime`.
	INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"

	// Incorrect parameter: the start time is invalid.
	INVALIDPARAMETERVALUE_STARTTIMEOFFSET = "InvalidParameterValue.StartTimeOffset"

	// Incorrect parameter value: the value of human confirmation result is invalid.
	INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status"

	// Incorrect parameter value: `StorageRegion`.
	INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion"

	// Invalid `StorageRegions`.
	INVALIDPARAMETERVALUE_STORAGEREGIONS = "InvalidParameterValue.StorageRegions"

	// Incorrect parameter value: StorageType.
	INVALIDPARAMETERVALUE_STORAGETYPE = "InvalidParameterValue.StorageType"

	// Incorrect parameter value: invalid `StreamId`.
	INVALIDPARAMETERVALUE_STREAMIDINVALID = "InvalidParameterValue.StreamIdInvalid"

	// Invalid stream ID.
	INVALIDPARAMETERVALUE_STREAMIDS = "InvalidParameterValue.StreamIds"

	// Incorrect parameter value: subapplication ID
	INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"

	// Incorrect parameter value: the value of the `SubtitleFormat` parameter is invalid.
	INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat"

	// Incorrect parameter value: SVG is empty.
	INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate"

	// Incorrect parameter value: SVG height.
	INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight"

	// Incorrect parameter value: SVG width.
	INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth"

	// Incorrect parameter value: the value of the `Switch` parameter is invalid.
	INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"

	// Incorrect parameter value: `TEHD Type` is invalid.
	INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType"

	// The control field parameter for intelligent tagging is incorrect.
	INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure"

	// Incorrect parameter value: the tag is too long.
	INVALIDPARAMETERVALUE_TAGTOOLONG = "InvalidParameterValue.TagTooLong"

	// Incorrect parameter value: invalid `Tags`.
	INVALIDPARAMETERVALUE_TAGS = "InvalidParameterValue.Tags"

	// The task ID does not exist.
	INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId"

	// Incorrect parameter value: search text.
	INVALIDPARAMETERVALUE_TEXT = "InvalidParameterValue.Text"

	// Invalid parameter: text transparency.
	INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha"

	// Invalid parameter: text template.
	INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate"

	// Incorrect parameter value: TimeType.
	INVALIDPARAMETERVALUE_TIMETYPE = "InvalidParameterValue.TimeType"

	// Incorrect `Type` parameter value.
	INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"

	// Invalid `Types`.
	INVALIDPARAMETERVALUE_TYPES = "InvalidParameterValue.Types"

	// The deduplication ID already exists on the same day. The request is removed due to duplication.
	INVALIDPARAMETERVALUE_UNIQUEIDENTIFIER = "InvalidParameterValue.UniqueIdentifier"

	// Incorrect parameter: the URL is invalid.
	INVALIDPARAMETERVALUE_URL = "InvalidParameterValue.Url"

	// Incorrect parameter value: the custom face library filter tag is invalid.
	INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet"

	// Incorrect `vcrf`.
	INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf"

	// Invalid parameter: video stream bitrate.
	INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate"

	// Invalid parameter: video stream encoder.
	INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec"

	// Invalid `Vids`.
	INVALIDPARAMETERVALUE_VIDS = "InvalidParameterValue.Vids"

	// Incorrect parameter value: VOD session.
	INVALIDPARAMETERVALUE_VODSESSIONKEY = "InvalidParameterValue.VodSessionKey"

	// Invalid parameter: width.
	INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"

	// The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported.
	INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos"

	// The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported.
	INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos"

	// Quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Limit exceeded: the total number of new and old timestamps exceeds the limit.
	LIMITEXCEEDED_KEYFRAMEDESCCOUNTREACHMAX = "LimitExceeded.KeyFrameDescCountReachMax"

	// Limit exceeded: the total number of new and old tags exceeds the limit.
	LIMITEXCEEDED_TAGCOUNTREACHMAX = "LimitExceeded.TagCountReachMax"

	// Limit exceeded: the number of templates exceeds the limit.
	LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource does not exist: the cover does not exist.
	RESOURCENOTFOUND_COVERURL = "ResourceNotFound.CoverUrl"

	// The resource does not exist: the file does not exist.
	RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist"

	// The resource does not exist: figure.
	RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"

	// The service is not activated.
	RESOURCENOTFOUND_SERVICENOTEXIST = "ResourceNotFound.ServiceNotExist"

	// The resource does not exist: the template does not exist.
	RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"

	// The user does not exist.
	RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"

	// The resource does not exist: keyword.
	RESOURCENOTFOUND_WORD = "ResourceNotFound.Word"

	// Incorrect parameter: M3U8 of `MasterPlaylist` is not supported.
	RESOURCEUNAVAILABLE_MASTERPLAYLIST = "ResourceUnavailable.MasterPlaylist"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// Unknown parameter error.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// Non-empty categories cannot be deleted.
	UNSUPPORTEDOPERATION_CLASSNOTEMPTY = "UnsupportedOperation.ClassNotEmpty"
)
View Source
const APIVersion = "2018-07-17"

Variables

This section is empty.

Functions

This section is empty.

Types

type AIAnalysisTemplateItem

type AIAnalysisTemplateItem struct {

	// Unique ID of intelligent analysis template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Intelligent analysis template name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Intelligent analysis template description.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Control parameter of intelligent categorization task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"`

	// Control parameter of intelligent tagging task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagConfigure *TagConfigureInfo `json:"TagConfigure,omitempty" name:"TagConfigure"`

	// Control parameter of intelligent cover generating task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitempty" name:"CoverConfigure"`

	// Control parameter of intelligent frame-specific tagging task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"`

	// Control parameter of an intelligent highlight generating task.
	HighlightConfigure *HighlightsConfigureInfo `json:"HighlightConfigure,omitempty" name:"HighlightConfigure"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AIRecognitionTemplateItem

type AIRecognitionTemplateItem struct {

	// Unique ID of video content recognition template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Video content recognition template name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Video content recognition template description.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Control parameter of opening and closing credits recognition.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HeadTailConfigure *HeadTailConfigureInfo `json:"HeadTailConfigure,omitempty" name:"HeadTailConfigure"`

	// Control parameter of splitting recognition.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SegmentConfigure *SegmentConfigureInfo `json:"SegmentConfigure,omitempty" name:"SegmentConfigure"`

	// Face recognition control parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitempty" name:"FaceConfigure"`

	// Full text recognition control parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"`

	// Text keyword recognition control parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"`

	// Full speech recognition control parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"`

	// Speech keyword recognition control parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"`

	// Control parameter of object recognition.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ObjectConfigure *ObjectConfigureInfo `json:"ObjectConfigure,omitempty" name:"ObjectConfigure"`

	// Screencapturing interval in seconds.
	ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AccelerateAreaInfo

type AccelerateAreaInfo struct {

	// Acceleration region. Valid values:
	// <li>Chinese Mainland</li>
	// <li>Outside Chinese Mainland</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// Reason why acceleration is disabled by Tencent Cloud. Valid values:
	// <li>ForLegalReasons: legal reasons</li>
	// <li>ForOverdueBills: overdue payment</li>
	TencentDisableReason *string `json:"TencentDisableReason,omitempty" name:"TencentDisableReason"`

	// CNAME of the acceleration domain name
	TencentEdgeDomain *string `json:"TencentEdgeDomain,omitempty" name:"TencentEdgeDomain"`
}

type AdaptiveDynamicStreamingInfoItem

type AdaptiveDynamicStreamingInfoItem struct {

	// Adaptive bitrate streaming specification.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Container format. Valid values: hls, dash.
	Package *string `json:"Package,omitempty" name:"Package"`

	// Encryption type.
	DrmType *string `json:"DrmType,omitempty" name:"DrmType"`

	// Playback address.
	Url *string `json:"Url,omitempty" name:"Url"`

	// File size (bytes)
	// <li>If the file is an HLS file, the value of this parameter is the sum of the size of the M3U8 and TS files.</li>
	// <li>If the file is a DASH file, the value of this parameter is the sum of the size of the MPD and segment files.</li>
	// <li><font color=red>Note</font>: For adaptive bitrate streaming files generated before 2022-01-10T16:00:00Z, the value of this parameter is `0`.</li>
	Size *int64 `json:"Size,omitempty" name:"Size"`
}

type AdaptiveDynamicStreamingTaskInput

type AdaptiveDynamicStreamingTaskInput struct {

	// Adaptive bitrate streaming template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// List of up to 10 image or text watermarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"`

	// List of subtitle IDs (maximum: 16)
	SubtitleSet []*string `json:"SubtitleSet,omitempty" name:"SubtitleSet"`
}

type AdaptiveDynamicStreamingTemplate

type AdaptiveDynamicStreamingTemplate struct {

	// Unique ID of a transcoding to adaptive bitrate streaming template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Template type. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Name of a transcoding to adaptive bitrate streaming template.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Description of a transcoding to adaptive bitrate streaming template.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Adaptive bitstream format. Valid value:
	// <li>HLS.</li>
	Format *string `json:"Format,omitempty" name:"Format"`

	// DRM type. Valid values:
	// <li>FairPlay;</li>
	// <li>SimpleAES;</li>
	// <li>Widevine.</li>
	// If this field is a blank string, DRM will not be performed on the video.
	DrmType *string `json:"DrmType,omitempty" name:"DrmType"`

	// Parameter information of input stream for adaptive bitrate streaming. Up to 10 streams can be input.
	StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos"`

	// Whether to prohibit transcoding from low bitrate to high bitrate. Valid values:
	// <li>0: no,</li>
	// <li>1: yes.</li>
	DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"`

	// Whether to prohibit transcoding from low resolution to high resolution. Valid values:
	// <li>0: no,</li>
	// <li>1: yes.</li>
	DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AdaptiveStreamTemplate

type AdaptiveStreamTemplate struct {

	// Video parameter information.
	Video *VideoTemplateInfo `json:"Video,omitempty" name:"Video"`

	// Audio parameter information.
	Audio *AudioTemplateInfo `json:"Audio,omitempty" name:"Audio"`

	// Whether to remove audio stream. Valid values:
	// <li>0: no,</li>
	// <li>1: yes.</li>
	RemoveAudio *uint64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// Whether to remove a video stream. Valid values:
	// <li>0: no</li>
	// <li>1: yes</li>
	RemoveVideo *uint64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`
}

type AiAnalysisResult

type AiAnalysisResult struct {

	// Task type. Valid values:
	// <li>Classification: intelligent categorization</li>
	// <li>Cover: intelligent cover generating</li>
	// <li>Tag: intelligent tagging</li>
	// <li>FrameTag: intelligent frame tagging</li>
	// <li>Highlight: intelligent highlight generating</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Query result of intelligent categorization task in video content analysis, which is valid if task type is `Classification`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClassificationTask *AiAnalysisTaskClassificationResult `json:"ClassificationTask,omitempty" name:"ClassificationTask"`

	// Query result of intelligent cover generating task in video content analysis, which is valid if task type is `Cover`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CoverTask *AiAnalysisTaskCoverResult `json:"CoverTask,omitempty" name:"CoverTask"`

	// Query result of intelligent tagging task in video content analysis, which is valid if task type is `Tag`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagTask *AiAnalysisTaskTagResult `json:"TagTask,omitempty" name:"TagTask"`

	// Query result of intelligent frame-specific tagging task in video content analysis, which is valid if task type is `FrameTag`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FrameTagTask *AiAnalysisTaskFrameTagResult `json:"FrameTagTask,omitempty" name:"FrameTagTask"`

	// Query result of an intelligent highlight generating task in video content analysis, which is valid when task type is `Highlight`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HighlightTask *AiAnalysisTaskHighlightResult `json:"HighlightTask,omitempty" name:"HighlightTask"`
}

type AiAnalysisTaskClassificationInput

type AiAnalysisTaskClassificationInput struct {

	// Intelligent video categorization template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskClassificationOutput

type AiAnalysisTaskClassificationOutput struct {

	// List of intelligently generated video categories
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `ClassificationSetFileUrl`.
	ClassificationSet []*MediaAiAnalysisClassificationItem `json:"ClassificationSet,omitempty" name:"ClassificationSet"`

	// URL to the file for intelligently generated video categories. The file is in JSON format and has the same data structure as `ClassificationSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `ClassificationSetFileUrlExpireTime`.
	ClassificationSetFileUrl *string `json:"ClassificationSetFileUrl,omitempty" name:"ClassificationSetFileUrl"`

	// Expiration time of the URL to the file for intelligently generated video categories, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	ClassificationSetFileUrlExpireTime *string `json:"ClassificationSetFileUrlExpireTime,omitempty" name:"ClassificationSetFileUrlExpireTime"`
}

type AiAnalysisTaskClassificationResult

type AiAnalysisTaskClassificationResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of intelligent categorization task.
	Input *AiAnalysisTaskClassificationInput `json:"Input,omitempty" name:"Input"`

	// Output of intelligent categorization task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiAnalysisTaskClassificationOutput `json:"Output,omitempty" name:"Output"`
}

type AiAnalysisTaskCoverInput

type AiAnalysisTaskCoverInput struct {

	// Intelligent video cover generating template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskCoverOutput

type AiAnalysisTaskCoverOutput struct {

	// List of intelligently generated thumbnails
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `CoverSetFileUrl`.
	CoverSet []*MediaAiAnalysisCoverItem `json:"CoverSet,omitempty" name:"CoverSet"`

	// URL to the file for intelligently generated thumbnails. The file is in JSON format and has the same data structure as `CoverSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `CoverSetFileUrlExpireTime`.
	CoverSetFileUrl *string `json:"CoverSetFileUrl,omitempty" name:"CoverSetFileUrl"`

	// Expiration time of the URL to the file for intelligently generated thumbnails, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	CoverSetFileUrlExpireTime *string `json:"CoverSetFileUrlExpireTime,omitempty" name:"CoverSetFileUrlExpireTime"`
}

type AiAnalysisTaskCoverResult

type AiAnalysisTaskCoverResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of intelligent cover generating task.
	Input *AiAnalysisTaskCoverInput `json:"Input,omitempty" name:"Input"`

	// Output of intelligent cover generating task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiAnalysisTaskCoverOutput `json:"Output,omitempty" name:"Output"`
}

type AiAnalysisTaskFrameTagInput

type AiAnalysisTaskFrameTagInput struct {

	// Intelligent frame-specific video tagging template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskFrameTagOutput

type AiAnalysisTaskFrameTagOutput struct {

	// List of frame-specific video tags
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaAiAnalysisFrameTagSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for frame-specific video tags. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for frame-specific video tags, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiAnalysisTaskFrameTagResult

type AiAnalysisTaskFrameTagResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of intelligent frame-specific tagging task.
	Input *AiAnalysisTaskFrameTagInput `json:"Input,omitempty" name:"Input"`

	// Output of intelligent frame-specific tagging task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiAnalysisTaskFrameTagOutput `json:"Output,omitempty" name:"Output"`
}

type AiAnalysisTaskHighlightInput

type AiAnalysisTaskHighlightInput struct {

	// ID of an intelligent highlight generating template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskHighlightOutput

type AiAnalysisTaskHighlightOutput struct {

	// List of intelligently generated highlights
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `HighlightSetFileUrl`.
	HighlightSet []*MediaAiAnalysisHighlightItem `json:"HighlightSet,omitempty" name:"HighlightSet"`

	// URL to the file for intelligently generated highlights. The file is in JSON format and has the same data structure as `HighlightSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `HighlightSetFileUrlExpireTime`.
	HighlightSetFileUrl *string `json:"HighlightSetFileUrl,omitempty" name:"HighlightSetFileUrl"`

	// Expiration time of the URL to the file for intelligently generated highlights, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	HighlightSetFileUrlExpireTime *string `json:"HighlightSetFileUrlExpireTime,omitempty" name:"HighlightSetFileUrlExpireTime"`
}

type AiAnalysisTaskHighlightResult

type AiAnalysisTaskHighlightResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for an intelligent highlight generating task.
	Input *AiAnalysisTaskHighlightInput `json:"Input,omitempty" name:"Input"`

	// Output of an intelligent highlight generating task.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Output *AiAnalysisTaskHighlightOutput `json:"Output,omitempty" name:"Output"`
}

type AiAnalysisTaskInput

type AiAnalysisTaskInput struct {

	// Video content analysis template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskTagInput

type AiAnalysisTaskTagInput struct {

	// Intelligent video tagging template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiAnalysisTaskTagOutput

type AiAnalysisTaskTagOutput struct {

	// List of intelligently generated video tags
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `TagSetFileUrl`.
	TagSet []*MediaAiAnalysisTagItem `json:"TagSet,omitempty" name:"TagSet"`

	// URL to the file for intelligently generated video tags. The file is in JSON format and has the same data structure as `TagSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `TagSetFileUrlExpireTime`.
	TagSetFileUrl *string `json:"TagSetFileUrl,omitempty" name:"TagSetFileUrl"`

	// Expiration time of the URL to the file for intelligently generated video tags, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	TagSetFileUrlExpireTime *string `json:"TagSetFileUrlExpireTime,omitempty" name:"TagSetFileUrlExpireTime"`
}

type AiAnalysisTaskTagResult

type AiAnalysisTaskTagResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of intelligent tagging task.
	Input *AiAnalysisTaskTagInput `json:"Input,omitempty" name:"Input"`

	// Output of intelligent tagging task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiAnalysisTaskTagOutput `json:"Output,omitempty" name:"Output"`
}

type AiContentReviewResult

type AiContentReviewResult struct {

	// Task type. Valid values:
	// <li>`Porn`: recognition of pornographic content in images</li>
	// <li>`Terrorism`: recognition of terrorism content in images</li>
	// <li>`Political`: recognition of politically sensitive content in images</li>
	// <li>`Porn.Asr`: ASR-based recognition of pornographic content</li>
	// <li>`Porn.Ocr`: OCR-based recognition of pornographic content</li>
	// <li>`Political.Asr`: ASR-based recognition of politically sensitive content</li>
	// <li>`Political.Ocr`: OCR-based recognition of politically sensitive content</li>
	// <li>`Terrorism.Ocr`: OCR-based recognition of terrorism content</li>
	// <li>`Prohibited.Asr`: ASR-based recognition of banned content</li>
	// <li>`Prohibited.Ocr`: OCR-based recognition of banned content</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Result for intelligent recognition of pornographic content in images. This parameter is valid when `Type` is `Porn`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	PornTask *AiReviewTaskPornResult `json:"PornTask,omitempty" name:"PornTask"`

	// Result for intelligent recognition of terrorism content in images. This parameter is valid when `Type` is `Terrorism`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	TerrorismTask *AiReviewTaskTerrorismResult `json:"TerrorismTask,omitempty" name:"TerrorismTask"`

	// Result for intelligent recognition of politically sensitive content in images. This parameter is valid when `Type` is `Political`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	PoliticalTask *AiReviewTaskPoliticalResult `json:"PoliticalTask,omitempty" name:"PoliticalTask"`

	// Result for ASR-based recognition of pornographic content. This parameter is valid when `Type` is `Porn.Asr`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	PornAsrTask *AiReviewTaskPornAsrResult `json:"PornAsrTask,omitempty" name:"PornAsrTask"`

	// Result for OCR-based recognition of pornographic content. This parameter is valid when `Type` is `Porn.Ocr`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	PornOcrTask *AiReviewTaskPornOcrResult `json:"PornOcrTask,omitempty" name:"PornOcrTask"`

	// Result for ASR-based recognition of politically sensitive content. This parameter is valid when `Type` is `Political.Asr`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	PoliticalAsrTask *AiReviewTaskPoliticalAsrResult `json:"PoliticalAsrTask,omitempty" name:"PoliticalAsrTask"`

	// Result for OCR-based recognition of politically sensitive content. This parameter is valid when `Type` is `Political.Ocr`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	PoliticalOcrTask *AiReviewTaskPoliticalOcrResult `json:"PoliticalOcrTask,omitempty" name:"PoliticalOcrTask"`

	// Result for OCR-based recognition of terrorism content. This parameter is valid when `Type` is `Terrorism.Ocr`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	TerrorismOcrTask *AiReviewTaskTerrorismOcrResult `json:"TerrorismOcrTask,omitempty" name:"TerrorismOcrTask"`

	// Result for OCR-based recognition of banned content. This parameter is valid when `Type` is `Prohibited.Ocr`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	ProhibitedOcrTask *AiReviewTaskProhibitedOcrResult `json:"ProhibitedOcrTask,omitempty" name:"ProhibitedOcrTask"`

	// Result for ASR-based recognition of banned content. This parameter is valid when `Type` is `Prohibited.Asr`.
	// Note: This field may return `null`, indicating that no valid value can be found.
	ProhibitedAsrTask *AiReviewTaskProhibitedAsrResult `json:"ProhibitedAsrTask,omitempty" name:"ProhibitedAsrTask"`
}

type AiContentReviewTaskInput

type AiContentReviewTaskInput struct {

	// Intelligent recognition template ID
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionResult

type AiRecognitionResult struct {

	// Task type. Valid values:
	// <li>FaceRecognition: face recognition,</li>
	// <li>AsrWordsRecognition: speech keyword recognition,</li>
	// <li>OcrWordsRecognition: text keyword recognition,</li>
	// <li>AsrFullTextRecognition: full speech recognition,</li>
	// <li>OcrFullTextRecognition: full text recognition,</li>
	// <li>HeadTailRecognition: video opening and ending credits recognition,</li>
	// <li>ObjectRecognition: object recognition.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Video opening and ending credits recognition result, which is valid when `Type` is
	//  `HeadTailRecognition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HeadTailTask *AiRecognitionTaskHeadTailResult `json:"HeadTailTask,omitempty" name:"HeadTailTask"`

	// Video splitting recognition result, which is valid when `Type` is
	//  `SegmentRecognition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SegmentTask *AiRecognitionTaskSegmentResult `json:"SegmentTask,omitempty" name:"SegmentTask"`

	// Face recognition result, which is valid when `Type` is
	//  `FaceRecognition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FaceTask *AiRecognitionTaskFaceResult `json:"FaceTask,omitempty" name:"FaceTask"`

	// Speech keyword recognition result, which is valid when `Type` is
	//  `AsrWordsRecognition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AsrWordsTask *AiRecognitionTaskAsrWordsResult `json:"AsrWordsTask,omitempty" name:"AsrWordsTask"`

	// Full speech recognition result, which is valid when `Type` is
	//  `AsrFullTextRecognition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AsrFullTextTask *AiRecognitionTaskAsrFullTextResult `json:"AsrFullTextTask,omitempty" name:"AsrFullTextTask"`

	// Text keyword recognition result, which is valid when `Type` is
	//  `OcrWordsRecognition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OcrWordsTask *AiRecognitionTaskOcrWordsResult `json:"OcrWordsTask,omitempty" name:"OcrWordsTask"`

	// Full text recognition result, which is valid when `Type` is
	//  `OcrFullTextRecognition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OcrFullTextTask *AiRecognitionTaskOcrFullTextResult `json:"OcrFullTextTask,omitempty" name:"OcrFullTextTask"`

	// Object recognition result, which is valid when `Type` is
	//  `ObjectRecognition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ObjectTask *AiRecognitionTaskObjectResult `json:"ObjectTask,omitempty" name:"ObjectTask"`
}

type AiRecognitionTaskAsrFullTextResult

type AiRecognitionTaskAsrFullTextResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input information of full speech recognition task.
	Input *AiRecognitionTaskAsrFullTextResultInput `json:"Input,omitempty" name:"Input"`

	// Output information of full speech recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiRecognitionTaskAsrFullTextResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskAsrFullTextResultInput

type AiRecognitionTaskAsrFullTextResultInput struct {

	// Full speech recognition template ID.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskAsrFullTextResultOutput

type AiRecognitionTaskAsrFullTextResultOutput struct {

	// List of full-text speech recognition segments
	// <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`.
	SegmentSet []*AiRecognitionTaskAsrFullTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file of the list for full-text speech recognition segments. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file of the list for full-text speech recognition segments, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`

	// Subtitles file URL.
	SubtitleUrl *string `json:"SubtitleUrl,omitempty" name:"SubtitleUrl"`
}

type AiRecognitionTaskAsrFullTextSegmentItem

type AiRecognitionTaskAsrFullTextSegmentItem struct {

	// Confidence of recognized segment. Value range: 0-100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Start time offset of recognized segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of recognition segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Recognized text.
	Text *string `json:"Text,omitempty" name:"Text"`
}

type AiRecognitionTaskAsrWordsResult

type AiRecognitionTaskAsrWordsResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input information of speech keyword recognition task.
	Input *AiRecognitionTaskAsrWordsResultInput `json:"Input,omitempty" name:"Input"`

	// Output information of speech keyword recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiRecognitionTaskAsrWordsResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskAsrWordsResultInput

type AiRecognitionTaskAsrWordsResultInput struct {

	// Speech keyword recognition template ID.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskAsrWordsResultItem

type AiRecognitionTaskAsrWordsResultItem struct {

	// Speech keyword.
	Word *string `json:"Word,omitempty" name:"Word"`

	// List of time segments that contain the speech keyword.
	SegmentSet []*AiRecognitionTaskAsrWordsSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`
}

type AiRecognitionTaskAsrWordsResultOutput

type AiRecognitionTaskAsrWordsResultOutput struct {

	// Speech keyword recognition result set
	// <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`.
	ResultSet []*AiRecognitionTaskAsrWordsResultItem `json:"ResultSet,omitempty" name:"ResultSet"`

	// URL to the file of the speech keyword recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently.
	ResultSetFileUrl *string `json:"ResultSetFileUrl,omitempty" name:"ResultSetFileUrl"`

	// Expiration time of the URL to the file of the speech keyword recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	ResultSetFileUrlExpireTime *string `json:"ResultSetFileUrlExpireTime,omitempty" name:"ResultSetFileUrlExpireTime"`
}

type AiRecognitionTaskAsrWordsSegmentItem

type AiRecognitionTaskAsrWordsSegmentItem struct {

	// Start time offset of recognized segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of recognition segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Confidence of recognized segment. Value range: 0-100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type AiRecognitionTaskFaceResult

type AiRecognitionTaskFaceResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input information of face recognition task.
	Input *AiRecognitionTaskFaceResultInput `json:"Input,omitempty" name:"Input"`

	// Output information of face recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiRecognitionTaskFaceResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskFaceResultInput

type AiRecognitionTaskFaceResultInput struct {

	// Face recognition template ID.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskFaceResultItem

type AiRecognitionTaskFaceResultItem struct {

	// Unique ID of figure.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Figure library type, indicating to which figure library the recognized figure belongs:
	// <li>Default: default figure library;</li>
	// <li>UserDefine: custom figure library.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Figure name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Result set of segments that contain a figure.
	SegmentSet []*AiRecognitionTaskFaceSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`
}

type AiRecognitionTaskFaceResultOutput

type AiRecognitionTaskFaceResultOutput struct {

	// Intelligent face recognition result set
	// <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`.
	ResultSet []*AiRecognitionTaskFaceResultItem `json:"ResultSet,omitempty" name:"ResultSet"`

	// URL to the file of the intelligent face recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently.
	ResultSetFileUrl *string `json:"ResultSetFileUrl,omitempty" name:"ResultSetFileUrl"`

	// Expiration time of the URL to the file of the intelligent face recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	ResultSetFileUrlExpireTime *string `json:"ResultSetFileUrlExpireTime,omitempty" name:"ResultSetFileUrlExpireTime"`
}

type AiRecognitionTaskFaceSegmentItem

type AiRecognitionTaskFaceSegmentItem struct {

	// Start time offset of recognized segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of recognition segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Confidence of recognized segment. Value range: 0-100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners.
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"`
}

type AiRecognitionTaskHeadTailResult

type AiRecognitionTaskHeadTailResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input information of video opening and ending credits recognition task.
	Input *AiRecognitionTaskHeadTailResultInput `json:"Input,omitempty" name:"Input"`

	// Output information of video opening and ending credits recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiRecognitionTaskHeadTailResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskHeadTailResultInput

type AiRecognitionTaskHeadTailResultInput struct {

	// Video opening and ending credits recognition template ID.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskHeadTailResultOutput

type AiRecognitionTaskHeadTailResultOutput struct {

	// Confidence of recognized opening credits. Value range: 0-100.
	HeadConfidence *float64 `json:"HeadConfidence,omitempty" name:"HeadConfidence"`

	// End time point of video opening credits in seconds.
	HeadTimeOffset *float64 `json:"HeadTimeOffset,omitempty" name:"HeadTimeOffset"`

	// Confidence of recognized closing credits. Value range: 0-100.
	TailConfidence *float64 `json:"TailConfidence,omitempty" name:"TailConfidence"`

	// Start time point of video closing credits in seconds.
	TailTimeOffset *float64 `json:"TailTimeOffset,omitempty" name:"TailTimeOffset"`
}

type AiRecognitionTaskInput

type AiRecognitionTaskInput struct {

	// Intelligent video recognition template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskObjectResult

type AiRecognitionTaskObjectResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input information of object recognition task.
	Input *AiRecognitionTaskObjectResultInput `json:"Input,omitempty" name:"Input"`

	// Output information of object recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiRecognitionTaskObjectResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskObjectResultInput

type AiRecognitionTaskObjectResultInput struct {

	// Object recognition template ID.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskObjectResultItem

type AiRecognitionTaskObjectResultItem struct {

	// Name of recognized object.
	Name *string `json:"Name,omitempty" name:"Name"`

	// List of segments that contain an object.
	SegmentSet []*AiRecognitionTaskObjectSeqmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`
}

type AiRecognitionTaskObjectResultOutput

type AiRecognitionTaskObjectResultOutput struct {

	// Intelligent object recognition result set
	// <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`.
	ResultSet []*AiRecognitionTaskObjectResultItem `json:"ResultSet,omitempty" name:"ResultSet"`

	// URL to the file of the object recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently.
	ResultSetFileUrl *string `json:"ResultSetFileUrl,omitempty" name:"ResultSetFileUrl"`

	// Expiration time of the URL to the object recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	ResultSetFileUrlExpireTime *string `json:"ResultSetFileUrlExpireTime,omitempty" name:"ResultSetFileUrlExpireTime"`
}

type AiRecognitionTaskObjectSeqmentItem

type AiRecognitionTaskObjectSeqmentItem struct {

	// Start time offset of recognized segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of recognition segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Confidence of recognized segment. Value range: 0-100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners.
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"`
}

type AiRecognitionTaskOcrFullTextResult

type AiRecognitionTaskOcrFullTextResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input information of full text recognition task.
	Input *AiRecognitionTaskOcrFullTextResultInput `json:"Input,omitempty" name:"Input"`

	// Output information of full text recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiRecognitionTaskOcrFullTextResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskOcrFullTextResultInput

type AiRecognitionTaskOcrFullTextResultInput struct {

	// Full text recognition template ID.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskOcrFullTextResultOutput

type AiRecognitionTaskOcrFullTextResultOutput struct {

	// Full-text recognition result set
	// <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`.
	SegmentSet []*AiRecognitionTaskOcrFullTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file of the full-text recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file of the full-text recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiRecognitionTaskOcrFullTextSegmentItem

type AiRecognitionTaskOcrFullTextSegmentItem struct {

	// Start time offset of recognized segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of recognition segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Recognition segment result set.
	TextSet []*AiRecognitionTaskOcrFullTextSegmentTextItem `json:"TextSet,omitempty" name:"TextSet"`
}

type AiRecognitionTaskOcrFullTextSegmentTextItem

type AiRecognitionTaskOcrFullTextSegmentTextItem struct {

	// Confidence of recognized segment. Value range: 0-100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners.
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"`

	// Recognized text.
	Text *string `json:"Text,omitempty" name:"Text"`
}

type AiRecognitionTaskOcrWordsResult

type AiRecognitionTaskOcrWordsResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input information of text keyword recognition task.
	Input *AiRecognitionTaskOcrWordsResultInput `json:"Input,omitempty" name:"Input"`

	// Output information of text keyword recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiRecognitionTaskOcrWordsResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskOcrWordsResultInput

type AiRecognitionTaskOcrWordsResultInput struct {

	// Text keyword recognition template ID.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskOcrWordsResultItem

type AiRecognitionTaskOcrWordsResultItem struct {

	// Text keyword.
	Word *string `json:"Word,omitempty" name:"Word"`

	// List of segments that contain a text keyword.
	SegmentSet []*AiRecognitionTaskOcrWordsSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`
}

type AiRecognitionTaskOcrWordsResultOutput

type AiRecognitionTaskOcrWordsResultOutput struct {

	// Text keyword recognition result set
	// <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`.
	ResultSet []*AiRecognitionTaskOcrWordsResultItem `json:"ResultSet,omitempty" name:"ResultSet"`

	// URL to the file of the text keyword recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently.
	ResultSetFileUrl *string `json:"ResultSetFileUrl,omitempty" name:"ResultSetFileUrl"`

	// Expiration time of the URL to the file of the text keyword recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	ResultSetFileUrlExpireTime *string `json:"ResultSetFileUrlExpireTime,omitempty" name:"ResultSetFileUrlExpireTime"`
}

type AiRecognitionTaskOcrWordsSegmentItem

type AiRecognitionTaskOcrWordsSegmentItem struct {

	// Start time offset of recognized segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of recognition segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Confidence of recognized segment. Value range: 0-100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners.
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"`
}

type AiRecognitionTaskSegmentResult

type AiRecognitionTaskSegmentResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input information of video splitting task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Input *AiRecognitionTaskSegmentResultInput `json:"Input,omitempty" name:"Input"`

	// Output information of video splitting task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *AiRecognitionTaskSegmentResultOutput `json:"Output,omitempty" name:"Output"`
}

type AiRecognitionTaskSegmentResultInput

type AiRecognitionTaskSegmentResultInput struct {

	// Video splitting template ID.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type AiRecognitionTaskSegmentResultOutput

type AiRecognitionTaskSegmentResultOutput struct {

	// List of split video segments
	// <font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`.
	SegmentSet []*AiRecognitionTaskSegmentSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file of the list for split video segments. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file of the list for split video segments, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiRecognitionTaskSegmentSegmentItem

type AiRecognitionTaskSegmentSegmentItem struct {

	// File ID, which is valid only when a VOD file is processed and the subsegments generated through segmentation are also VOD files.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Split video segment URL.
	SegmentUrl *string `json:"SegmentUrl,omitempty" name:"SegmentUrl"`

	// Confidence of split segment. Value range: 0-100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Start time offset of split segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of split segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Split cover image URL.
	CovImgUrl *string `json:"CovImgUrl,omitempty" name:"CovImgUrl"`

	// Special field, which should be ignored.
	SpecialInfo *string `json:"SpecialInfo,omitempty" name:"SpecialInfo"`
}

type AiReviewPoliticalAsrTaskInput

type AiReviewPoliticalAsrTaskInput struct {

	// ID of the template for recognition of politically sensitive content
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPoliticalAsrTaskOutput

type AiReviewPoliticalAsrTaskOutput struct {

	// Confidence score for the ASR-detected politically sensitive content. Value range: 0-100
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the ASR-detected politically sensitive content. Valid values:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of video segments that contain ASR-detected politically sensitive content
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain ASR-detected politically sensitive content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain ASR-detected politically sensitive content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewPoliticalOcrTaskInput

type AiReviewPoliticalOcrTaskInput struct {

	// ID of the template for recognition of politically sensitive content
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPoliticalOcrTaskOutput

type AiReviewPoliticalOcrTaskOutput struct {

	// Confidence score for the OCR-detected politically sensitive content. Value range: 0-100
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the OCR-detected politically sensitive content. Valid values:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of video segments that contain OCR-detected politically sensitive content
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain OCR-detected politically sensitive content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain OCR-detected politically sensitive content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewPoliticalTaskInput

type AiReviewPoliticalTaskInput struct {

	// ID of the template for recognition of politically sensitive content
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPoliticalTaskOutput

type AiReviewPoliticalTaskOutput struct {

	// Confidence score for the detected politically sensitive content. Value range: 0-100
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the detected politically sensitive content
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Labels for the detected politically sensitive content. The relationship between the values of this parameter and those of the `LabelSet` parameter in [PoliticalImgReviewTemplateInfo](https://intl.cloud.tencent.com/document/api/266/31773?from_cn_redirect=1#PoliticalImgReviewTemplateInfo) is as follows:
	// violation_photo:
	// <li>`violation_photo`: banned images</li>
	// Other values (politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
	// <li>`politician`: politically sensitive people</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// List of video segments that contain detected politically sensitive content
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewPoliticalSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain detected politically sensitive content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain politically sensitive content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewPornAsrTaskInput

type AiReviewPornAsrTaskInput struct {

	// ID of the template for recognition of pornographic content
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPornAsrTaskOutput

type AiReviewPornAsrTaskOutput struct {

	// Confidence score for the ASR-detected pornographic content
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the ASR-detected pornographic content
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of video segments that contain ASR-detected pornographic content
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain ASR-detected pornographic content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain ASR-detected pornographic content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewPornOcrTaskInput

type AiReviewPornOcrTaskInput struct {

	// ID of the template for recognition of pornographic content
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPornOcrTaskOutput

type AiReviewPornOcrTaskOutput struct {

	// Confidence score for the OCR-detected pornographic content
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the OCR-detected pornographic content
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of video segments that contain OCR-detected pornographic content
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain OCR-detected pornographic content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain OCR-detected pornographic content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewPornTaskInput

type AiReviewPornTaskInput struct {

	// ID of the template for recognition of pornographic content
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewPornTaskOutput

type AiReviewPornTaskOutput struct {

	// Confidence score for the detected pornographic content. Value range: 0-100
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the detected pornographic content. Valid values:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Labels for the detected pornographic content. Valid values:
	// <li>porn</li>
	// <li>sexy</li>
	// <li>vulgar</li>
	// <li>intimacy</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// List of video segments that contain detected pornographic content
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain detected pornographic content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain detected pornographic content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewProhibitedAsrTaskInput

type AiReviewProhibitedAsrTaskInput struct {

	// Prohibited information detection template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewProhibitedAsrTaskOutput

type AiReviewProhibitedAsrTaskOutput struct {

	// Score of ASR-detected prohibited information in speech between 0 and 100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Suggestion for ASR-detected prohibited information in speech. Valid values:
	// <li>pass.</li>
	// <li>review.</li>
	// <li>block.</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of video segments that contain ASR-detected prohibited information
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewAsrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain ASR-detected prohibited information. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain ASR-detected prohibited information, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewProhibitedOcrTaskInput

type AiReviewProhibitedOcrTaskInput struct {

	// Prohibited information detection template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewProhibitedOcrTaskOutput

type AiReviewProhibitedOcrTaskOutput struct {

	// Score of OCR-detected prohibited information in text between 0 and 100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Suggestion for OCR-detected prohibited information in text. Valid values:
	// <li>pass.</li>
	// <li>review.</li>
	// <li>block.</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of video segments that contain OCR-detected prohibited information
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain OCR-detected prohibited information. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL for video segments that contain OCR-detected prohibited information, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewTaskPoliticalAsrResult

type AiReviewTaskPoliticalAsrResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for ASR-based recognition of politically sensitive content
	Input *AiReviewPoliticalAsrTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for ASR-based recognition of politically sensitive content
	Output *AiReviewPoliticalAsrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPoliticalOcrResult

type AiReviewTaskPoliticalOcrResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for OCR-based recognition of politically sensitive content
	Input *AiReviewPoliticalOcrTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for OCR-based recognition of politically sensitive content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewPoliticalOcrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPoliticalResult

type AiReviewTaskPoliticalResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for intelligent recognition of politically sensitive content
	Input *AiReviewPoliticalTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for intelligent recognition of politically sensitive content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewPoliticalTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPornAsrResult

type AiReviewTaskPornAsrResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for ASR-based recognition of pornographic content
	Input *AiReviewPornAsrTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for ASR-based recognition of pornographic content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewPornAsrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPornOcrResult

type AiReviewTaskPornOcrResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for OCR-based recognition of pornographic content
	Input *AiReviewPornOcrTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for OCR-based recognition of pornographic content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewPornOcrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskPornResult

type AiReviewTaskPornResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for intelligent recognition of pornographic content
	Input *AiReviewPornTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for intelligent recognition of pornographic content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewPornTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskProhibitedAsrResult

type AiReviewTaskProhibitedAsrResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for ASR-based recognition of banned content
	Input *AiReviewProhibitedAsrTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for ASR-based recognition of banned content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewProhibitedAsrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskProhibitedOcrResult

type AiReviewTaskProhibitedOcrResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for OCR-based recognition of banned content
	Input *AiReviewProhibitedOcrTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for OCR-based recognition of banned content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewProhibitedOcrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskTerrorismOcrResult

type AiReviewTaskTerrorismOcrResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for OCR-based recognition of terrorism content
	Input *AiReviewTerrorismOcrTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for OCR-based recognition of terrorism content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewTerrorismOcrTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTaskTerrorismResult

type AiReviewTaskTerrorismResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input for intelligent recognition of terrorism content
	Input *AiReviewTerrorismTaskInput `json:"Input,omitempty" name:"Input"`

	// Output for intelligent recognition of terrorism content
	// Note: This field may return `null`, indicating that no valid value can be found.
	Output *AiReviewTerrorismTaskOutput `json:"Output,omitempty" name:"Output"`
}

type AiReviewTerrorismOcrTaskInput

type AiReviewTerrorismOcrTaskInput struct {

	// ID of the template for recognition of terrorism content
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewTerrorismOcrTaskOutput

type AiReviewTerrorismOcrTaskOutput struct {

	// Confidence score for the OCR-detected terrorism content. Value range: 0-100
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the OCR-detected terrorism content
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of video segments that contain OCR-detected terrorism content
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewOcrTextSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain OCR-detected terrorism content. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain OCR-detected terrorism content, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiReviewTerrorismTaskInput

type AiReviewTerrorismTaskInput struct {

	// ID of the template for recognition of terrorism content
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type AiReviewTerrorismTaskOutput

type AiReviewTerrorismTaskOutput struct {

	// Score of detected terrorism information in a video between 0 and 100.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Suggestion for detected terrorism information. Valid values:
	// <li>pass.</li>
	// <li>review.</li>
	// <li>block.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Tag of the detected terrorism information in a video. Valid values:
	// <li>`guns`: weapons and guns</li>
	// <li>`crowd`: crowds</li>
	// <li>`police`: police forces</li>
	// <li>`bloody`: bloody images</li>
	// <li>`banners`: terrorism flags</li>
	// <li>`militant`: militants</li>
	// <li>`explosion`: explosions and fires</li>
	// <li>`terrorists`: terrorists</li>
	// <li>`scenario`: terrorism images</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// List of video segments that contain terrorism information
	// <font color=red>Note</font>: This list displays the first 100 results at most. You can get all the results from the file at the URL specified by `SegmentSetFileUrl`.
	SegmentSet []*MediaContentReviewSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`

	// URL to the file for video segments that contain terrorism information. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time specified by `SegmentSetFileUrlExpireTime`.
	SegmentSetFileUrl *string `json:"SegmentSetFileUrl,omitempty" name:"SegmentSetFileUrl"`

	// Expiration time of the URL to the file for video segments that contain terrorism information, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format)
	SegmentSetFileUrlExpireTime *string `json:"SegmentSetFileUrlExpireTime,omitempty" name:"SegmentSetFileUrlExpireTime"`
}

type AiSampleFaceInfo

type AiSampleFaceInfo struct {

	// Face image ID.
	FaceId *string `json:"FaceId,omitempty" name:"FaceId"`

	// Face image address.
	Url *string `json:"Url,omitempty" name:"Url"`
}

type AiSampleFaceOperation

type AiSampleFaceOperation struct {

	// Operation type. Valid values: add, delete, reset. The `reset` operation will clear the existing face data of a figure and add `FaceContents` as the specified face data.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Face ID set, which is required if `Type` is `delete`.
	FaceIds []*string `json:"FaceIds,omitempty" name:"FaceIds"`

	// String set generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the face image.
	// <li>This field is required if `Type` is `add` or `reset`;</li>
	// <li>Array length limit: 5 images.</li>
	// Note: the image must be a relatively clear full-face photo of a figure in at least 200 * 200 px.
	FaceContents []*string `json:"FaceContents,omitempty" name:"FaceContents"`
}

type AiSampleFailFaceInfo

type AiSampleFailFaceInfo struct {

	// It corresponds to incorrect image subscripts in the `FaceContents` input parameter, starting from 0.
	Index *uint64 `json:"Index,omitempty" name:"Index"`

	// Error code. Valid values:
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`
}

type AiSamplePerson

type AiSamplePerson struct {

	// Figure ID.
	PersonId *string `json:"PersonId,omitempty" name:"PersonId"`

	// Figure name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Figure description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Face information.
	FaceInfoSet []*AiSampleFaceInfo `json:"FaceInfoSet,omitempty" name:"FaceInfoSet"`

	// Figure tag.
	TagSet []*string `json:"TagSet,omitempty" name:"TagSet"`

	// Use case.
	UsageSet []*string `json:"UsageSet,omitempty" name:"UsageSet"`

	// Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AiSampleTagOperation

type AiSampleTagOperation struct {

	// Operation type. Valid values: add, delete, reset.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Tag. Length limit: 128 characters.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`
}

type AiSampleWord

type AiSampleWord struct {

	// Keyword.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// Keyword tag.
	TagSet []*string `json:"TagSet,omitempty" name:"TagSet"`

	// Keyword use case.
	UsageSet []*string `json:"UsageSet,omitempty" name:"UsageSet"`

	// Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type AiSampleWordInfo

type AiSampleWordInfo struct {

	// Keyword. Length limit: 20 characters.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// Keyword tag
	// <li>Array length limit: 20 tags;</li>
	// <li>Tag length limit: 128 characters.</li>
	Tags []*string `json:"Tags,omitempty" name:"Tags"`
}

type AnimatedGraphicTaskInput

type AnimatedGraphicTaskInput struct {

	// Animated image generating template ID
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Start time offset of an animated image in the video, in seconds.
	// <li>If this parameter is left empty or set to 0, the animated image will start at the same time as the video.</li>
	// <li>If this parameter is set to a positive number (n for example), the animated image will start at the nth second of the video.</li>
	// <li>If this parameter is set to a negative number (-n for example), the animated image will start at the nth second before the end of the video.</li>
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of an animated image in the video, in seconds.
	// <li>If this parameter is left empty or set to 0, the animated image will end at the same time as the video.</li>
	// <li>If this parameter is set to a positive number (n for example), the animated image will end at the nth second of the video.</li>
	// <li>If this parameter is set to a negative number (-n for example), the animated image will end at the nth second before the end of the video.</li>
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type AnimatedGraphicsTemplate

type AnimatedGraphicsTemplate struct {

	// Unique ID of an animated image generating template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Template type. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Name of an animated image generating template.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Description of an animated image generating template.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Animated image format.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Frame rate.
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// Image quality.
	Quality *float64 `json:"Quality,omitempty" name:"Quality"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type ApplyUploadRequest

type ApplyUploadRequest struct {
	*tchttp.BaseRequest

	// Media type. For the detailed valid values, please see [Upload Overview](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B).
	MediaType *string `json:"MediaType,omitempty" name:"MediaType"`

	// Media name.
	MediaName *string `json:"MediaName,omitempty" name:"MediaName"`

	// Cover type. For the detailed valid values, please see [Upload Overview](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E6.96.87.E4.BB.B6.E7.B1.BB.E5.9E.8B).
	CoverType *string `json:"CoverType,omitempty" name:"CoverType"`

	// Subsequent task operation on a media file, i.e., after a media file is uploaded, task flow operations will be initiated automatically. This parameter value is a task flow template name. VOD supports [creating task flow templates](https://intl.cloud.tencent.com/document/product/266/33819?from_cn_redirect=1) and naming the templates.
	Procedure *string `json:"Procedure,omitempty" name:"Procedure"`

	// Expiration time of a media file in ISO 8601 format. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Specifies upload region. This is only applicable to users that have special requirements for the upload region.
	StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`

	// Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.
	// <li>Default value: 0, which means "Other".</li>
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Source context, which is used to pass through the user request information. The [upload callback](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) API will return the value of this field. It can contain up to 250 characters.
	SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"`

	// Session context, which is used to pass through the user request information. If the `Procedure` parameter is specified, the [task flow status change callback](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) API will return the value of this field. It can contain up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// Reserved parameter for special purposes.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewApplyUploadRequest

func NewApplyUploadRequest() (request *ApplyUploadRequest)

func (*ApplyUploadRequest) FromJsonString

func (r *ApplyUploadRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyUploadRequest) ToJsonString

func (r *ApplyUploadRequest) ToJsonString() string

type ApplyUploadResponse

type ApplyUploadResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Storage bucket, which is used as the `bucket_name` in the URL of the upload API.
		StorageBucket *string `json:"StorageBucket,omitempty" name:"StorageBucket"`

		// Storage region, which is used as the `Region` in the `Host` of the upload API.
		StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`

		// VOD session, which is used to confirm the `VodSessionKey` parameter of the upload API.
		VodSessionKey *string `json:"VodSessionKey,omitempty" name:"VodSessionKey"`

		// Media storage path, which is used as the `Key` of the stored media of the upload API.
		// Note: this field may return null, indicating that no valid values can be obtained.
		MediaStoragePath *string `json:"MediaStoragePath,omitempty" name:"MediaStoragePath"`

		// Cover storage path, which is used as the `Key` of the stored cover of the upload API.
		// Note: this field may return null, indicating that no valid values can be obtained.
		CoverStoragePath *string `json:"CoverStoragePath,omitempty" name:"CoverStoragePath"`

		// Temporary credential, which is used for authentication of the upload API.
		TempCertificate *TempCertificate `json:"TempCertificate,omitempty" name:"TempCertificate"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyUploadResponse

func NewApplyUploadResponse() (response *ApplyUploadResponse)

func (*ApplyUploadResponse) FromJsonString

func (r *ApplyUploadResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyUploadResponse) ToJsonString

func (r *ApplyUploadResponse) ToJsonString() string

type AsrFullTextConfigureInfo

type AsrFullTextConfigureInfo struct {

	// Switch of full speech recognition task. Valid values:
	// <li>ON: enables intelligent full speech recognition task;</li>
	// <li>OFF: disables intelligent full speech recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Format of generated subtitles file. If this parameter is left empty or a blank string is entered, no subtitles files will be generated. Valid value:
	// <li>vtt: generates a WebVTT subtitles file.</li>
	SubtitleFormat *string `json:"SubtitleFormat,omitempty" name:"SubtitleFormat"`
}

type AsrFullTextConfigureInfoForUpdate

type AsrFullTextConfigureInfoForUpdate struct {

	// Switch of full speech recognition task. Valid values:
	// <li>ON: enables intelligent full speech recognition task;</li>
	// <li>OFF: disables intelligent full speech recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Format of generated subtitles file. If an empty string is entered, no subtitles files will be generated. Valid values:
	// <li>vtt: generates a WebVTT subtitles file.</li>
	SubtitleFormat *string `json:"SubtitleFormat,omitempty" name:"SubtitleFormat"`
}

type AsrWordsConfigureInfo

type AsrWordsConfigureInfo struct {

	// Switch of speech keyword recognition task. Valid values:
	// <li>ON: enables speech keyword recognition task;</li>
	// <li>OFF: disables speech keyword recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty, all results will be returned.
	// There can be up to 10 tags, each with a length limit of 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`
}

type AsrWordsConfigureInfoForUpdate

type AsrWordsConfigureInfoForUpdate struct {

	// Switch of speech keyword recognition task. Valid values:
	// <li>ON: enables speech keyword recognition task;</li>
	// <li>OFF: disables speech keyword recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty or a blank value is entered, all results will be returned.
	// There can be up to 10 tags, each with a length limit of 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`
}

type AttachMediaSubtitlesRequest

type AttachMediaSubtitlesRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the media file
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Operation. Valid values:
	// <li>`Attach`: associates subtitles.</li>
	// <li>`Detach`: disassociates subtitles.</li>
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// [Adaptive bitrate streaming template ID](https://intl.cloud.tencent.com/document/product/266/34071?from_cn_redirect=1#zsy)
	AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"`

	// Unique IDs of the subtitles
	SubtitleIds []*string `json:"SubtitleIds,omitempty" name:"SubtitleIds"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access the resources in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewAttachMediaSubtitlesRequest

func NewAttachMediaSubtitlesRequest() (request *AttachMediaSubtitlesRequest)

func (*AttachMediaSubtitlesRequest) FromJsonString

func (r *AttachMediaSubtitlesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachMediaSubtitlesRequest) ToJsonString

func (r *AttachMediaSubtitlesRequest) ToJsonString() string

type AttachMediaSubtitlesResponse

type AttachMediaSubtitlesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAttachMediaSubtitlesResponse

func NewAttachMediaSubtitlesResponse() (response *AttachMediaSubtitlesResponse)

func (*AttachMediaSubtitlesResponse) FromJsonString

func (r *AttachMediaSubtitlesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachMediaSubtitlesResponse) ToJsonString

func (r *AttachMediaSubtitlesResponse) ToJsonString() string

type AudioTemplateInfo

type AudioTemplateInfo struct {

	// Audio stream encoder.
	// When the outer `Container` parameter is `mp3`, the valid value is:
	// <li>libmp3lame.</li>
	// When the outer `Container` parameter is `ogg` or `flac`, the valid value is:
	// <li>flac.</li>
	// When the outer `Container` parameter is `m4a`, the valid values include:
	// <li>libfdk_aac;</li>
	// <li>libmp3lame;</li>
	// <li>ac3.</li>
	// When the outer `Container` parameter is `mp4` or `flv`, the valid values include:
	// <li>libfdk_aac: more suitable for mp4;</li>
	// <li>libmp3lame: More suitable for flv;</li>
	// <li>mp2.</li>
	// When the outer `Container` parameter is `hls`, the valid values include:
	// <li>libfdk_aac;</li>
	// <li>libmp3lame.</li>
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// Audio stream bitrate in Kbps. Value range: 0 and [26, 256].
	// If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Audio stream sample rate. Valid values:
	// <li>32,000</li>
	// <li>44,100</li>
	// <li>48,000</li>
	// In Hz.
	SampleRate *uint64 `json:"SampleRate,omitempty" name:"SampleRate"`

	// Audio channel system. Valid values:
	// <li>1: mono-channel</li>
	// <li>2: dual-channel</li>
	// <li>6: stereo</li>
	// You cannot set the sound channel as stereo for media files in container formats for audios (FLAC, OGG, MP3, M4A).
	// Default value: 2
	AudioChannel *int64 `json:"AudioChannel,omitempty" name:"AudioChannel"`
}

type AudioTemplateInfoForUpdate

type AudioTemplateInfoForUpdate struct {

	// Audio stream encoder.
	// When the outer `Container` parameter is `mp3`, the valid value is:
	// <li>libmp3lame.</li>
	// When the outer `Container` parameter is `ogg` or `flac`, the valid value is:
	// <li>flac.</li>
	// When the outer `Container` parameter is `m4a`, the valid values include:
	// <li>libfdk_aac;</li>
	// <li>libmp3lame;</li>
	// <li>ac3.</li>
	// When the outer `Container` parameter is `mp4` or `flv`, the valid values include:
	// <li>libfdk_aac: more suitable for mp4;</li>
	// <li>libmp3lame: More suitable for flv;</li>
	// <li>mp2.</li>
	// When the outer `Container` parameter is `hls`, the valid values include:
	// <li>libfdk_aac;</li>
	// <li>libmp3lame.</li>
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Audio stream sample rate. Valid values:
	// <li>32,000</li>
	// <li>44,100</li>
	// <li>48,000</li>
	// In Hz.
	SampleRate *uint64 `json:"SampleRate,omitempty" name:"SampleRate"`

	// Audio channel system. Valid values:
	// <li>1: mono-channel</li>
	// <li>2: dual-channel</li>
	// <li>6: stereo</li>
	// You cannot set the sound channel as stereo for media files in container formats for audios (FLAC, OGG, MP3, M4A).
	AudioChannel *int64 `json:"AudioChannel,omitempty" name:"AudioChannel"`
}

type AudioTrackItem

type AudioTrackItem struct {

	// Source of media material for audio segment, which can be:
	// <li>ID of VOD media files</li>
	// <li>Download URL of other media files</li>
	// Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature).
	SourceMedia *string `json:"SourceMedia,omitempty" name:"SourceMedia"`

	// Start time of audio segment in material file in seconds. Default value: 0, which means to start capturing from the beginning position of the material.
	SourceMediaStartTime *float64 `json:"SourceMediaStartTime,omitempty" name:"SourceMediaStartTime"`

	// Audio segment duration in seconds. By default, the length of the material will be used, which means that the entire material will be captured.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// Operation on audio segment, such as volume adjustment.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioOperations []*AudioTransform `json:"AudioOperations,omitempty" name:"AudioOperations"`
}

type AudioTransform

type AudioTransform struct {

	// Audio operation type. Valid values:
	// <li>Volume: volume adjustment.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Volume adjustment parameter, which is valid if `Type` is `Volume`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VolumeParam *AudioVolumeParam `json:"VolumeParam,omitempty" name:"VolumeParam"`
}

type AudioVolumeParam

type AudioVolumeParam struct {

	// Whether to mute. Valid values: 0, 1.
	// <li>0: not muted.</li>
	// <li>1: muted.</li>
	// Default value: 0.
	Mute *int64 `json:"Mute,omitempty" name:"Mute"`

	// Audio gain. Value range: 0-10.
	// <li>If the value is greater than 1, the volume will be increased.</li>
	// <li>If the value is smaller than 1, the volume will be decreased.</li>
	// <li>0 and 1: no change.</li>
	// Default value: 0.
	Gain *float64 `json:"Gain,omitempty" name:"Gain"`
}

type Canvas

type Canvas struct {

	// Background color. Valid values:
	// <li>Black: black background</li>
	// <li>White: white background</li>
	// Default value: Black.
	Color *string `json:"Color,omitempty" name:"Color"`

	// Canvas width, which is the width of the output video. Value range: 0-4096 px.
	// Default value: 0, which means that the value is the same as the video width of the first video segment in the first video track.
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Canvas height, which is the height (or long side) of the output video. Value range: 0-4096 px.
	// Default value: 0, which means that the value is the same as the video height of the first video segment in the first video track.
	Height *int64 `json:"Height,omitempty" name:"Height"`
}

type CdnLogInfo

type CdnLogInfo struct {

	// Log date in the format of `yyyy-MM-dd`, such as 2018-03-01.
	Date *string `json:"Date,omitempty" name:"Date"`

	// Log name in the format of date and time-domain name,
	// such as 2018120101-test.vod2.mqcloud.com.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Log download link, which is valid for 24 hours.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Log start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=)
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Log end time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=)
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type ClassificationConfigureInfo

type ClassificationConfigureInfo struct {

	// Switch of intelligent categorization task. Valid values:
	// <li>ON: enables intelligent categorization task;</li>
	// <li>OFF: disables intelligent categorization task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type ClassificationConfigureInfoForUpdate

type ClassificationConfigureInfoForUpdate struct {

	// Switch of intelligent categorization task. Valid values:
	// <li>ON: enables intelligent categorization task;</li>
	// <li>OFF: disables intelligent categorization task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) ApplyUpload

func (c *Client) ApplyUpload(request *ApplyUploadRequest) (response *ApplyUploadResponse, err error)

ApplyUpload * This API is used to apply for uploading a media file (and cover file) to VOD and obtain the metadata of file storage (including upload path and upload signature) for subsequent use by the uploading API.

* For the detailed upload process, please see [Overview of Upload from Client](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1).

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime"
INVALIDPARAMETERVALUE_COVERTYPE = "InvalidParameterValue.CoverType"
INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"
INVALIDPARAMETERVALUE_MEDIATYPE = "InvalidParameterValue.MediaType"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ApplyUploadWithContext

func (c *Client) ApplyUploadWithContext(ctx context.Context, request *ApplyUploadRequest) (response *ApplyUploadResponse, err error)

ApplyUpload * This API is used to apply for uploading a media file (and cover file) to VOD and obtain the metadata of file storage (including upload path and upload signature) for subsequent use by the uploading API.

* For the detailed upload process, please see [Overview of Upload from Client](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1).

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime"
INVALIDPARAMETERVALUE_COVERTYPE = "InvalidParameterValue.CoverType"
INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"
INVALIDPARAMETERVALUE_MEDIATYPE = "InvalidParameterValue.MediaType"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) AttachMediaSubtitles

func (c *Client) AttachMediaSubtitles(request *AttachMediaSubtitlesRequest) (response *AttachMediaSubtitlesResponse, err error)

AttachMediaSubtitles This API is used to associate/disassociate subtitles with/from a media file of a specific adaptive bitrate streaming template ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AttachMediaSubtitlesWithContext

func (c *Client) AttachMediaSubtitlesWithContext(ctx context.Context, request *AttachMediaSubtitlesRequest) (response *AttachMediaSubtitlesResponse, err error)

AttachMediaSubtitles This API is used to associate/disassociate subtitles with/from a media file of a specific adaptive bitrate streaming template ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CommitUpload

func (c *Client) CommitUpload(request *CommitUploadRequest) (response *CommitUploadResponse, err error)

CommitUpload This API is used to confirm the result of uploading a media file (and cover file) to VOD, store the media information, and return the playback address and ID of the file.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
INVALIDPARAMETERVALUE_VODSESSIONKEY = "InvalidParameterValue.VodSessionKey"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CommitUploadWithContext

func (c *Client) CommitUploadWithContext(ctx context.Context, request *CommitUploadRequest) (response *CommitUploadResponse, err error)

CommitUpload This API is used to confirm the result of uploading a media file (and cover file) to VOD, store the media information, and return the playback address and ID of the file.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
INVALIDPARAMETERVALUE_VODSESSIONKEY = "InvalidParameterValue.VodSessionKey"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ComposeMedia

func (c *Client) ComposeMedia(request *ComposeMediaRequest) (response *ComposeMediaResponse, err error)

ComposeMedia This API is used to compose a media file, including:

1. Clipping a media file to generate a new media file;

2. Clipping and splicing multiple media files to generate a new media file;

3. Clipping and splicing the media streams of multiple media files to generate a new media file;

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_UPLOADCOSFAIL = "FailedOperation.UploadCosFail"
INTERNALERROR = "InternalError"
INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError"
INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ComposeMediaWithContext

func (c *Client) ComposeMediaWithContext(ctx context.Context, request *ComposeMediaRequest) (response *ComposeMediaResponse, err error)

ComposeMedia This API is used to compose a media file, including:

1. Clipping a media file to generate a new media file;

2. Clipping and splicing multiple media files to generate a new media file;

3. Clipping and splicing the media streams of multiple media files to generate a new media file;

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_UPLOADCOSFAIL = "FailedOperation.UploadCosFail"
INTERNALERROR = "InternalError"
INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError"
INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ConfirmEvents

func (c *Client) ConfirmEvents(request *ConfirmEventsRequest) (response *ConfirmEventsResponse, err error)

ConfirmEvents * After the `PullEvents` API is called to get an event, this API must be called to confirm that the message has been received;

* After the event handler is obtained, the validity period of waiting for confirmation is 30 seconds. If the wait exceeds 30 seconds, a parameter error will be reported (4000);

* For more information, please see the [reliable callback](https://intl.cloud.tencent.com/document/product/266/33779?from_cn_redirect=1#.E5.8F.AF.E9.9D.A0.E5.9B.9E.E8.B0.83) of event notification.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ConfirmEventsWithContext

func (c *Client) ConfirmEventsWithContext(ctx context.Context, request *ConfirmEventsRequest) (response *ConfirmEventsResponse, err error)

ConfirmEvents * After the `PullEvents` API is called to get an event, this API must be called to confirm that the message has been received;

* After the event handler is obtained, the validity period of waiting for confirmation is 30 seconds. If the wait exceeds 30 seconds, a parameter error will be reported (4000);

* For more information, please see the [reliable callback](https://intl.cloud.tencent.com/document/product/266/33779?from_cn_redirect=1#.E5.8F.AF.E9.9D.A0.E5.9B.9E.E8.B0.83) of event notification.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAIAnalysisTemplate

func (c *Client) CreateAIAnalysisTemplate(request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)

CreateAIAnalysisTemplate This API is used to create a custom video content analysis template. Up to 50 templates can be created.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure"
INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"
INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure"
INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAIAnalysisTemplateWithContext

func (c *Client) CreateAIAnalysisTemplateWithContext(ctx context.Context, request *CreateAIAnalysisTemplateRequest) (response *CreateAIAnalysisTemplateResponse, err error)

CreateAIAnalysisTemplate This API is used to create a custom video content analysis template. Up to 50 templates can be created.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure"
INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"
INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure"
INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAIRecognitionTemplate

func (c *Client) CreateAIRecognitionTemplate(request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)

CreateAIRecognitionTemplate This API is used to create a custom video content recognition template. Up to 50 templates can be created.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet"
INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary"
INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore"
INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary"
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"
INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat"
INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"
INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAIRecognitionTemplateWithContext

func (c *Client) CreateAIRecognitionTemplateWithContext(ctx context.Context, request *CreateAIRecognitionTemplateRequest) (response *CreateAIRecognitionTemplateResponse, err error)

CreateAIRecognitionTemplate This API is used to create a custom video content recognition template. Up to 50 templates can be created.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet"
INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary"
INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore"
INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary"
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"
INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat"
INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"
INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAdaptiveDynamicStreamingTemplate

func (c *Client) CreateAdaptiveDynamicStreamingTemplate(request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)

CreateAdaptiveDynamicStreamingTemplate This API is used to create an adaptive bitrate streaming template. Up to 100 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"
INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate"
INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution"
INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType"
INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"
INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate"
INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"

func (*Client) CreateAdaptiveDynamicStreamingTemplateWithContext

func (c *Client) CreateAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *CreateAdaptiveDynamicStreamingTemplateRequest) (response *CreateAdaptiveDynamicStreamingTemplateResponse, err error)

CreateAdaptiveDynamicStreamingTemplate This API is used to create an adaptive bitrate streaming template. Up to 100 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"
INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate"
INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution"
INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType"
INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"
INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate"
INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"

func (*Client) CreateAnimatedGraphicsTemplate

func (c *Client) CreateAnimatedGraphicsTemplate(request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)

CreateAnimatedGraphicsTemplate This API is used to create a custom animated image generating template. Up to 16 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight"
INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAnimatedGraphicsTemplateWithContext

func (c *Client) CreateAnimatedGraphicsTemplateWithContext(ctx context.Context, request *CreateAnimatedGraphicsTemplateRequest) (response *CreateAnimatedGraphicsTemplateResponse, err error)

CreateAnimatedGraphicsTemplate This API is used to create a custom animated image generating template. Up to 16 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight"
INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateClass

func (c *Client) CreateClass(request *CreateClassRequest) (response *CreateClassResponse, err error)

CreateClass * This API is used to categorize media assets for management;

* It does not affect the categories of existing media assets. If you want to modify the category of a media asset, call the [ModifyMediaInfo](https://intl.cloud.tencent.com/document/product/266/31762?from_cn_redirect=1) API.

* There can be up to 4 levels of categories.

* One category can have up to 500 subcategories under it.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLASSLEVELLIMITEXCEEDED = "FailedOperation.ClassLevelLimitExceeded"
FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_PARENTIDNOFOUND = "FailedOperation.ParentIdNoFound"
FAILEDOPERATION_SUBCLASSLIMITEXCEEDED = "FailedOperation.SubclassLimitExceeded"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName"
INVALIDPARAMETERVALUE_PARENTID = "InvalidParameterValue.ParentId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateClassWithContext

func (c *Client) CreateClassWithContext(ctx context.Context, request *CreateClassRequest) (response *CreateClassResponse, err error)

CreateClass * This API is used to categorize media assets for management;

* It does not affect the categories of existing media assets. If you want to modify the category of a media asset, call the [ModifyMediaInfo](https://intl.cloud.tencent.com/document/product/266/31762?from_cn_redirect=1) API.

* There can be up to 4 levels of categories.

* One category can have up to 500 subcategories under it.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLASSLEVELLIMITEXCEEDED = "FailedOperation.ClassLevelLimitExceeded"
FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_PARENTIDNOFOUND = "FailedOperation.ParentIdNoFound"
FAILEDOPERATION_SUBCLASSLIMITEXCEEDED = "FailedOperation.SubclassLimitExceeded"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName"
INVALIDPARAMETERVALUE_PARENTID = "InvalidParameterValue.ParentId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateContentReviewTemplate

func (c *Client) CreateContentReviewTemplate(request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)

CreateContentReviewTemplate This API is used to create custom intelligent video content recognition templates. Up to 50 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition"
INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence"
INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch"
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"
INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateContentReviewTemplateWithContext

func (c *Client) CreateContentReviewTemplateWithContext(ctx context.Context, request *CreateContentReviewTemplateRequest) (response *CreateContentReviewTemplateResponse, err error)

CreateContentReviewTemplate This API is used to create custom intelligent video content recognition templates. Up to 50 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition"
INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence"
INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch"
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"
INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateImageSpriteTemplate

func (c *Client) CreateImageSpriteTemplate(request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)

CreateImageSpriteTemplate This API is used to create a custom image sprite generating template. Up to 16 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount"
INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"
INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateImageSpriteTemplateWithContext

func (c *Client) CreateImageSpriteTemplateWithContext(ctx context.Context, request *CreateImageSpriteTemplateRequest) (response *CreateImageSpriteTemplateResponse, err error)

CreateImageSpriteTemplate This API is used to create a custom image sprite generating template. Up to 16 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount"
INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"
INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreatePersonSample

func (c *Client) CreatePersonSample(request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)

CreatePersonSample This API is used to create samples for using facial features positioning and other technologies to perform video processing operations such as content recognition and inappropriate information recognition.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate"
INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreatePersonSampleWithContext

func (c *Client) CreatePersonSampleWithContext(ctx context.Context, request *CreatePersonSampleRequest) (response *CreatePersonSampleResponse, err error)

CreatePersonSample This API is used to create samples for using facial features positioning and other technologies to perform video processing operations such as content recognition and inappropriate information recognition.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate"
INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateProcedureTemplate

func (c *Client) CreateProcedureTemplate(request *CreateProcedureTemplateRequest) (response *CreateProcedureTemplateResponse, err error)

CreateProcedureTemplate This API is used to create a custom task flow template. Up to 50 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXISTEDPROCEDURENAME = "InvalidParameter.ExistedProcedureName"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateProcedureTemplateWithContext

func (c *Client) CreateProcedureTemplateWithContext(ctx context.Context, request *CreateProcedureTemplateRequest) (response *CreateProcedureTemplateResponse, err error)

CreateProcedureTemplate This API is used to create a custom task flow template. Up to 50 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXISTEDPROCEDURENAME = "InvalidParameter.ExistedProcedureName"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSampleSnapshotTemplate

func (c *Client) CreateSampleSnapshotTemplate(request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)

CreateSampleSnapshotTemplate This API is used to create a custom sampled screencapturing template. Up to 16 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"
INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSampleSnapshotTemplateWithContext

func (c *Client) CreateSampleSnapshotTemplateWithContext(ctx context.Context, request *CreateSampleSnapshotTemplateRequest) (response *CreateSampleSnapshotTemplateResponse, err error)

CreateSampleSnapshotTemplate This API is used to create a custom sampled screencapturing template. Up to 16 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"
INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSnapshotByTimeOffsetTemplate

func (c *Client) CreateSnapshotByTimeOffsetTemplate(request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)

CreateSnapshotByTimeOffsetTemplate This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSnapshotByTimeOffsetTemplateWithContext

func (c *Client) CreateSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *CreateSnapshotByTimeOffsetTemplateRequest) (response *CreateSnapshotByTimeOffsetTemplateResponse, err error)

CreateSnapshotByTimeOffsetTemplate This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSubAppId

func (c *Client) CreateSubAppId(request *CreateSubAppIdRequest) (response *CreateSubAppIdResponse, err error)

CreateSubAppId This API is used to create a VOD subapplication.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSubAppIdWithContext

func (c *Client) CreateSubAppIdWithContext(ctx context.Context, request *CreateSubAppIdRequest) (response *CreateSubAppIdResponse, err error)

CreateSubAppId This API is used to create a VOD subapplication.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSuperPlayerConfig

func (c *Client) CreateSuperPlayerConfig(request *CreateSuperPlayerConfigRequest) (response *CreateSuperPlayerConfigResponse, err error)

CreateSuperPlayerConfig This API is used to create a superplayer configuration. Up to 100 configurations can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateSuperPlayerConfigWithContext

func (c *Client) CreateSuperPlayerConfigWithContext(ctx context.Context, request *CreateSuperPlayerConfigRequest) (response *CreateSuperPlayerConfigResponse, err error)

CreateSuperPlayerConfig This API is used to create a superplayer configuration. Up to 100 configurations can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateTranscodeTemplate

func (c *Client) CreateTranscodeTemplate(request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)

CreateTranscodeTemplate This API is used to create a custom transcoding template. Up to 100 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate"
INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel"
INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec"
INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate"
INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"
INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container"
INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"
INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive"
INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf"
INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate"
INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateTranscodeTemplateWithContext

func (c *Client) CreateTranscodeTemplateWithContext(ctx context.Context, request *CreateTranscodeTemplateRequest) (response *CreateTranscodeTemplateResponse, err error)

CreateTranscodeTemplate This API is used to create a custom transcoding template. Up to 100 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate"
INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel"
INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec"
INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate"
INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"
INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container"
INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"
INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive"
INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf"
INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate"
INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateVodDomain

func (c *Client) CreateVodDomain(request *CreateVodDomainRequest) (response *CreateVodDomainResponse, err error)

CreateVodDomain This API is used to add an acceleration domain name to VOD. One user can add up to 20 domain names.

1. After a domain name is added, VOD will deploy it, and it takes about 2 minutes for the domain name status to change from `Deploying` to `Online`.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DOMAINNAMEINBLACKLIST = "InvalidParameterValue.DomainNameInBlackList"

func (*Client) CreateVodDomainWithContext

func (c *Client) CreateVodDomainWithContext(ctx context.Context, request *CreateVodDomainRequest) (response *CreateVodDomainResponse, err error)

CreateVodDomain This API is used to add an acceleration domain name to VOD. One user can add up to 20 domain names.

1. After a domain name is added, VOD will deploy it, and it takes about 2 minutes for the domain name status to change from `Deploying` to `Online`.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DOMAINNAMEINBLACKLIST = "InvalidParameterValue.DomainNameInBlackList"

func (*Client) CreateWatermarkTemplate

func (c *Client) CreateWatermarkTemplate(request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)

CreateWatermarkTemplate This API is used to create a custom watermarking template. Up to 1,000 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition"
INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent"
INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType"
INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate"
INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight"
INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth"
INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha"
INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos"
INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateWatermarkTemplateWithContext

func (c *Client) CreateWatermarkTemplateWithContext(ctx context.Context, request *CreateWatermarkTemplateRequest) (response *CreateWatermarkTemplateResponse, err error)

CreateWatermarkTemplate This API is used to create a custom watermarking template. Up to 1,000 templates can be created.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_GENDEFINITION = "InternalError.GenDefinition"
INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent"
INVALIDPARAMETERVALUE_IMAGETEMPLATE = "InvalidParameterValue.ImageTemplate"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType"
INVALIDPARAMETERVALUE_SVGTEMPLATE = "InvalidParameterValue.SvgTemplate"
INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight"
INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth"
INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha"
INVALIDPARAMETERVALUE_TEXTTEMPLATE = "InvalidParameterValue.TextTemplate"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos"
INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateWordSamples

func (c *Client) CreateWordSamples(request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)

CreateWordSamples This API is used to create keyword samples in batches for using OCR and ASR technologies to perform video processing operations such as content recognition and inappropriate information recognition.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateWordSamplesWithContext

func (c *Client) CreateWordSamplesWithContext(ctx context.Context, request *CreateWordSamplesRequest) (response *CreateWordSamplesResponse, err error)

CreateWordSamples This API is used to create keyword samples in batches for using OCR and ASR technologies to perform video processing operations such as content recognition and inappropriate information recognition.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAIAnalysisTemplate

func (c *Client) DeleteAIAnalysisTemplate(request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)

DeleteAIAnalysisTemplate This API is used to delete a custom video content analysis template.

Note: templates with an ID below 10000 are preset and cannot be deleted.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAIAnalysisTemplateWithContext

func (c *Client) DeleteAIAnalysisTemplateWithContext(ctx context.Context, request *DeleteAIAnalysisTemplateRequest) (response *DeleteAIAnalysisTemplateResponse, err error)

DeleteAIAnalysisTemplate This API is used to delete a custom video content analysis template.

Note: templates with an ID below 10000 are preset and cannot be deleted.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAIRecognitionTemplate

func (c *Client) DeleteAIRecognitionTemplate(request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)

DeleteAIRecognitionTemplate This API is used to delete a custom video content recognition template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAIRecognitionTemplateWithContext

func (c *Client) DeleteAIRecognitionTemplateWithContext(ctx context.Context, request *DeleteAIRecognitionTemplateRequest) (response *DeleteAIRecognitionTemplateResponse, err error)

DeleteAIRecognitionTemplate This API is used to delete a custom video content recognition template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAdaptiveDynamicStreamingTemplate

func (c *Client) DeleteAdaptiveDynamicStreamingTemplate(request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)

DeleteAdaptiveDynamicStreamingTemplate This API is used to delete an adaptive bitrate streaming template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"

func (*Client) DeleteAdaptiveDynamicStreamingTemplateWithContext

func (c *Client) DeleteAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *DeleteAdaptiveDynamicStreamingTemplateRequest) (response *DeleteAdaptiveDynamicStreamingTemplateResponse, err error)

DeleteAdaptiveDynamicStreamingTemplate This API is used to delete an adaptive bitrate streaming template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"

func (*Client) DeleteAnimatedGraphicsTemplate

func (c *Client) DeleteAnimatedGraphicsTemplate(request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)

DeleteAnimatedGraphicsTemplate This API is used to delete a custom animated image generating template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAnimatedGraphicsTemplateWithContext

func (c *Client) DeleteAnimatedGraphicsTemplateWithContext(ctx context.Context, request *DeleteAnimatedGraphicsTemplateRequest) (response *DeleteAnimatedGraphicsTemplateResponse, err error)

DeleteAnimatedGraphicsTemplate This API is used to delete a custom animated image generating template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteClass

func (c *Client) DeleteClass(request *DeleteClassRequest) (response *DeleteClassResponse, err error)

DeleteClass * A category can be deleted only if it has no subcategories and associated media files;

* Otherwise, [delete the media files](https://intl.cloud.tencent.com/document/product/266/31764?from_cn_redirect=1) and subcategories first before deleting the category.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_CLASSNOTEMPTY = "UnsupportedOperation.ClassNotEmpty"

func (*Client) DeleteClassWithContext

func (c *Client) DeleteClassWithContext(ctx context.Context, request *DeleteClassRequest) (response *DeleteClassResponse, err error)

DeleteClass * A category can be deleted only if it has no subcategories and associated media files;

* Otherwise, [delete the media files](https://intl.cloud.tencent.com/document/product/266/31764?from_cn_redirect=1) and subcategories first before deleting the category.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_CLASSNOTEMPTY = "UnsupportedOperation.ClassNotEmpty"

func (*Client) DeleteContentReviewTemplate

func (c *Client) DeleteContentReviewTemplate(request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)

DeleteContentReviewTemplate This API is used to delete custom intelligent video content recognition templates.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteContentReviewTemplateWithContext

func (c *Client) DeleteContentReviewTemplateWithContext(ctx context.Context, request *DeleteContentReviewTemplateRequest) (response *DeleteContentReviewTemplateResponse, err error)

DeleteContentReviewTemplate This API is used to delete custom intelligent video content recognition templates.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DELETEDEFAULTTEMPLATE = "InvalidParameterValue.DeleteDefaultTemplate"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteImageSpriteTemplate

func (c *Client) DeleteImageSpriteTemplate(request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)

DeleteImageSpriteTemplate This API is used to delete an image sprite generating template.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteImageSpriteTemplateWithContext

func (c *Client) DeleteImageSpriteTemplateWithContext(ctx context.Context, request *DeleteImageSpriteTemplateRequest) (response *DeleteImageSpriteTemplateResponse, err error)

DeleteImageSpriteTemplate This API is used to delete an image sprite generating template.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteMedia

func (c *Client) DeleteMedia(request *DeleteMediaRequest) (response *DeleteMediaResponse, err error)

DeleteMedia * This API is used to delete a media file and its processed files, such as the transcoded video files, image sprites, screenshots, and videos for publishing on WeChat.

* You can delete the original files, transcoded video files, and videos for publishing on WeChat, etc. of videos with specified IDs.

* Note: after the original file of a video is deleted, you cannot transcode the video, publish it on WeChat, or perform other operations on it.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteMediaWithContext

func (c *Client) DeleteMediaWithContext(ctx context.Context, request *DeleteMediaRequest) (response *DeleteMediaResponse, err error)

DeleteMedia * This API is used to delete a media file and its processed files, such as the transcoded video files, image sprites, screenshots, and videos for publishing on WeChat.

* You can delete the original files, transcoded video files, and videos for publishing on WeChat, etc. of videos with specified IDs.

* Note: after the original file of a video is deleted, you cannot transcode the video, publish it on WeChat, or perform other operations on it.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeletePersonSample

func (c *Client) DeletePersonSample(request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)

DeletePersonSample This API is used to delete samples according to sample IDs.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeletePersonSampleWithContext

func (c *Client) DeletePersonSampleWithContext(ctx context.Context, request *DeletePersonSampleRequest) (response *DeletePersonSampleResponse, err error)

DeletePersonSample This API is used to delete samples according to sample IDs.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteProcedureTemplate

func (c *Client) DeleteProcedureTemplate(request *DeleteProcedureTemplateRequest) (response *DeleteProcedureTemplateResponse, err error)

DeleteProcedureTemplate This API is used to delete a custom task flow template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteProcedureTemplateWithContext

func (c *Client) DeleteProcedureTemplateWithContext(ctx context.Context, request *DeleteProcedureTemplateRequest) (response *DeleteProcedureTemplateResponse, err error)

DeleteProcedureTemplate This API is used to delete a custom task flow template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteSampleSnapshotTemplate

func (c *Client) DeleteSampleSnapshotTemplate(request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)

DeleteSampleSnapshotTemplate This API is used to delete a custom sampled screencapturing template.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteSampleSnapshotTemplateWithContext

func (c *Client) DeleteSampleSnapshotTemplateWithContext(ctx context.Context, request *DeleteSampleSnapshotTemplateRequest) (response *DeleteSampleSnapshotTemplateResponse, err error)

DeleteSampleSnapshotTemplate This API is used to delete a custom sampled screencapturing template.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteSnapshotByTimeOffsetTemplate

func (c *Client) DeleteSnapshotByTimeOffsetTemplate(request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)

DeleteSnapshotByTimeOffsetTemplate This API is used to delete a custom time point screencapturing template.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteSnapshotByTimeOffsetTemplateWithContext

func (c *Client) DeleteSnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *DeleteSnapshotByTimeOffsetTemplateRequest) (response *DeleteSnapshotByTimeOffsetTemplateResponse, err error)

DeleteSnapshotByTimeOffsetTemplate This API is used to delete a custom time point screencapturing template.

error code that may be returned:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteSuperPlayerConfig

func (c *Client) DeleteSuperPlayerConfig(request *DeleteSuperPlayerConfigRequest) (response *DeleteSuperPlayerConfigResponse, err error)

DeleteSuperPlayerConfig This API is used to delete a superplayer configuration.

*Note: preset player configurations cannot be deleted.*

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteSuperPlayerConfigWithContext

func (c *Client) DeleteSuperPlayerConfigWithContext(ctx context.Context, request *DeleteSuperPlayerConfigRequest) (response *DeleteSuperPlayerConfigResponse, err error)

DeleteSuperPlayerConfig This API is used to delete a superplayer configuration.

*Note: preset player configurations cannot be deleted.*

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteTranscodeTemplate

func (c *Client) DeleteTranscodeTemplate(request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)

DeleteTranscodeTemplate This API is used to delete a custom transcoding template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteTranscodeTemplateWithContext

func (c *Client) DeleteTranscodeTemplateWithContext(ctx context.Context, request *DeleteTranscodeTemplateRequest) (response *DeleteTranscodeTemplateResponse, err error)

DeleteTranscodeTemplate This API is used to delete a custom transcoding template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteVodDomain

func (c *Client) DeleteVodDomain(request *DeleteVodDomainRequest) (response *DeleteVodDomainResponse, err error)

DeleteVodDomain This API is used to delete an acceleration domain name from VOD.

1. Before deleting a domain name, disable its acceleration in all regions.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DeleteVodDomainWithContext

func (c *Client) DeleteVodDomainWithContext(ctx context.Context, request *DeleteVodDomainRequest) (response *DeleteVodDomainResponse, err error)

DeleteVodDomain This API is used to delete an acceleration domain name from VOD.

1. Before deleting a domain name, disable its acceleration in all regions.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DeleteWatermarkTemplate

func (c *Client) DeleteWatermarkTemplate(request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)

DeleteWatermarkTemplate This API is used to delete a custom watermarking template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteWatermarkTemplateWithContext

func (c *Client) DeleteWatermarkTemplateWithContext(ctx context.Context, request *DeleteWatermarkTemplateRequest) (response *DeleteWatermarkTemplateResponse, err error)

DeleteWatermarkTemplate This API is used to delete a custom watermarking template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteWordSamples

func (c *Client) DeleteWordSamples(request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)

DeleteWordSamples This API is used to delete keyword samples in batches.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteWordSamplesWithContext

func (c *Client) DeleteWordSamplesWithContext(ctx context.Context, request *DeleteWordSamplesRequest) (response *DeleteWordSamplesResponse, err error)

DeleteWordSamples This API is used to delete keyword samples in batches.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAIAnalysisTemplates

func (c *Client) DescribeAIAnalysisTemplates(request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)

DescribeAIAnalysisTemplates This API is used to get the list of video content analysis templates based on unique template ID. The returned result includes all eligible custom and [preset video content analysis templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.88.86.E6.9E.90.E6.A8.A1.E6.9D.BF).

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAIAnalysisTemplatesWithContext

func (c *Client) DescribeAIAnalysisTemplatesWithContext(ctx context.Context, request *DescribeAIAnalysisTemplatesRequest) (response *DescribeAIAnalysisTemplatesResponse, err error)

DescribeAIAnalysisTemplates This API is used to get the list of video content analysis templates based on unique template ID. The returned result includes all eligible custom and [preset video content analysis templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.88.86.E6.9E.90.E6.A8.A1.E6.9D.BF).

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED_TOOMUCHTEMPLATE = "LimitExceeded.TooMuchTemplate"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAIRecognitionTemplates

func (c *Client) DescribeAIRecognitionTemplates(request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)

DescribeAIRecognitionTemplates This API is used to get the list of video content recognition templates based on unique template ID. The return result includes all eligible custom and [preset video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E8.AF.86.E5.88.AB.E6.A8.A1.E6.9D.BF).

error code that may be returned:

FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAIRecognitionTemplatesWithContext

func (c *Client) DescribeAIRecognitionTemplatesWithContext(ctx context.Context, request *DescribeAIRecognitionTemplatesRequest) (response *DescribeAIRecognitionTemplatesResponse, err error)

DescribeAIRecognitionTemplates This API is used to get the list of video content recognition templates based on unique template ID. The return result includes all eligible custom and [preset video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E8.AF.86.E5.88.AB.E6.A8.A1.E6.9D.BF).

error code that may be returned:

FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAdaptiveDynamicStreamingTemplates

func (c *Client) DescribeAdaptiveDynamicStreamingTemplates(request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)

DescribeAdaptiveDynamicStreamingTemplates This API is used to query the list of transcoding to adaptive bitrate streaming templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAdaptiveDynamicStreamingTemplatesWithContext

func (c *Client) DescribeAdaptiveDynamicStreamingTemplatesWithContext(ctx context.Context, request *DescribeAdaptiveDynamicStreamingTemplatesRequest) (response *DescribeAdaptiveDynamicStreamingTemplatesResponse, err error)

DescribeAdaptiveDynamicStreamingTemplates This API is used to query the list of transcoding to adaptive bitrate streaming templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAllClass

func (c *Client) DescribeAllClass(request *DescribeAllClassRequest) (response *DescribeAllClassResponse, err error)

DescribeAllClass * This API is used to get the information of all categories.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAllClassWithContext

func (c *Client) DescribeAllClassWithContext(ctx context.Context, request *DescribeAllClassRequest) (response *DescribeAllClassResponse, err error)

DescribeAllClass * This API is used to get the information of all categories.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAnimatedGraphicsTemplates

func (c *Client) DescribeAnimatedGraphicsTemplates(request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)

DescribeAnimatedGraphicsTemplates This API is used to query the list of animated image generating templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAnimatedGraphicsTemplatesWithContext

func (c *Client) DescribeAnimatedGraphicsTemplatesWithContext(ctx context.Context, request *DescribeAnimatedGraphicsTemplatesRequest) (response *DescribeAnimatedGraphicsTemplatesResponse, err error)

DescribeAnimatedGraphicsTemplates This API is used to query the list of animated image generating templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCDNStatDetails

func (c *Client) DescribeCDNStatDetails(request *DescribeCDNStatDetailsRequest) (response *DescribeCDNStatDetailsResponse, err error)

DescribeCDNStatDetails This API is used to query CDN bandwidth, traffic, and other data of VOD domain names.

* The query period is up to 90 days.

* You can query data of different service regions.

* You can query data of Chinese mainland by region and ISP.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area"
INVALIDPARAMETERVALUE_DISTRICTS = "InvalidParameterValue.Districts"
INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_ISPS = "InvalidParameterValue.Isps"
INVALIDPARAMETERVALUE_METRIC = "InvalidParameterValue.Metric"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"

func (*Client) DescribeCDNStatDetailsWithContext

func (c *Client) DescribeCDNStatDetailsWithContext(ctx context.Context, request *DescribeCDNStatDetailsRequest) (response *DescribeCDNStatDetailsResponse, err error)

DescribeCDNStatDetails This API is used to query CDN bandwidth, traffic, and other data of VOD domain names.

* The query period is up to 90 days.

* You can query data of different service regions.

* You can query data of Chinese mainland by region and ISP.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDACCOUNT = "FailedOperation.InvalidAccount"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area"
INVALIDPARAMETERVALUE_DISTRICTS = "InvalidParameterValue.Districts"
INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_ISPS = "InvalidParameterValue.Isps"
INVALIDPARAMETERVALUE_METRIC = "InvalidParameterValue.Metric"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"

func (*Client) DescribeCDNUsageData

func (c *Client) DescribeCDNUsageData(request *DescribeCDNUsageDataRequest) (response *DescribeCDNUsageDataResponse, err error)

DescribeCDNUsageData This API is used to query the CDN statistics of VOD such as traffic and bandwidth.

  1. Only CDN usage data for the last 365 days can be queried.

  2. The query time range cannot be more than 90 days.

  3. The time granularity of usage data can be specified, including 5-minute, 1-hour, and 1-day.

  4. Traffic refers to the total traffic within the query time granularity, while bandwidth the peak bandwidth.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATAINTERVAL = "InvalidParameterValue.DataInterval"
INVALIDPARAMETERVALUE_DATATYPE = "InvalidParameterValue.DataType"
INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName"
INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCDNUsageDataWithContext

func (c *Client) DescribeCDNUsageDataWithContext(ctx context.Context, request *DescribeCDNUsageDataRequest) (response *DescribeCDNUsageDataResponse, err error)

DescribeCDNUsageData This API is used to query the CDN statistics of VOD such as traffic and bandwidth.

  1. Only CDN usage data for the last 365 days can be queried.

  2. The query time range cannot be more than 90 days.

  3. The time granularity of usage data can be specified, including 5-minute, 1-hour, and 1-day.

  4. Traffic refers to the total traffic within the query time granularity, while bandwidth the peak bandwidth.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATAINTERVAL = "InvalidParameterValue.DataInterval"
INVALIDPARAMETERVALUE_DATATYPE = "InvalidParameterValue.DataType"
INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName"
INVALIDPARAMETERVALUE_DOMAINNAMES = "InvalidParameterValue.DomainNames"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCdnLogs

func (c *Client) DescribeCdnLogs(request *DescribeCdnLogsRequest) (response *DescribeCdnLogsResponse, err error)

DescribeCdnLogs This API is used to query the download links of CDN access logs of a VOD domain name.

  1. Only download links of CDN logs for the last 30 days can be queried.

  2. By default, CDN generates a log file every hour. If there is no CDN access for a certain hour, no log file will be generated for the hour.

  3. A CDN log download link is valid for 24 hours.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeCdnLogsWithContext

func (c *Client) DescribeCdnLogsWithContext(ctx context.Context, request *DescribeCdnLogsRequest) (response *DescribeCdnLogsResponse, err error)

DescribeCdnLogs This API is used to query the download links of CDN access logs of a VOD domain name.

  1. Only download links of CDN logs for the last 30 days can be queried.

  2. By default, CDN generates a log file every hour. If there is no CDN access for a certain hour, no log file will be generated for the hour.

  3. A CDN log download link is valid for 24 hours.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetWorkError"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DOMAINNAME = "InvalidParameterValue.DomainName"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeContentReviewTemplates

func (c *Client) DescribeContentReviewTemplates(request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)

DescribeContentReviewTemplates This API is used to get the list of intelligent video content recognition template details according to unique template IDs. The return result includes all eligible custom and [preset intelligent video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33932).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeContentReviewTemplatesWithContext

func (c *Client) DescribeContentReviewTemplatesWithContext(ctx context.Context, request *DescribeContentReviewTemplatesRequest) (response *DescribeContentReviewTemplatesResponse, err error)

DescribeContentReviewTemplates This API is used to get the list of intelligent video content recognition template details according to unique template IDs. The return result includes all eligible custom and [preset intelligent video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33932).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeDailyPlayStatFileList

func (c *Client) DescribeDailyPlayStatFileList(request *DescribeDailyPlayStatFileListRequest) (response *DescribeDailyPlayStatFileListResponse, err error)

DescribeDailyPlayStatFileList This API is used to query the download links of playback statistics files.

* You can query the download links of playback statistics files in the past year. The start and end dates for query cannot be more than 90 days apart.

* Every day, VOD will analyze CDN request logs of the previous day and then generate a playback statistics file.

* A playback statistics file includes playback times and traffic of media files.

* Notes on playback times:

  1. HLS file: VOD counts playback times when M3U8 files are accessed, but not when TS files are accessed.

  2. Other files (MP4 files for example): VOD does not count playback times when the playback request carries the `range` parameter and the `start` parameter in `range` is not `0`. In other cases, VOD counts playback times.

* Statistics on playback devices: VOD counts playback times on mobile clients when the playback request carries the `UserAgent` parameter which includes an identifier such as `Android` or `iPhone`. In other cases, VOD counts playback times on PC clients.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"

func (*Client) DescribeDailyPlayStatFileListWithContext

func (c *Client) DescribeDailyPlayStatFileListWithContext(ctx context.Context, request *DescribeDailyPlayStatFileListRequest) (response *DescribeDailyPlayStatFileListResponse, err error)

DescribeDailyPlayStatFileList This API is used to query the download links of playback statistics files.

* You can query the download links of playback statistics files in the past year. The start and end dates for query cannot be more than 90 days apart.

* Every day, VOD will analyze CDN request logs of the previous day and then generate a playback statistics file.

* A playback statistics file includes playback times and traffic of media files.

* Notes on playback times:

  1. HLS file: VOD counts playback times when M3U8 files are accessed, but not when TS files are accessed.

  2. Other files (MP4 files for example): VOD does not count playback times when the playback request carries the `range` parameter and the `start` parameter in `range` is not `0`. In other cases, VOD counts playback times.

* Statistics on playback devices: VOD counts playback times on mobile clients when the playback request carries the `UserAgent` parameter which includes an identifier such as `Android` or `iPhone`. In other cases, VOD counts playback times on PC clients.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"

func (*Client) DescribeImageSpriteTemplates

func (c *Client) DescribeImageSpriteTemplates(request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)

DescribeImageSpriteTemplates This API is used to query the list of image sprite generating templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeImageSpriteTemplatesWithContext

func (c *Client) DescribeImageSpriteTemplatesWithContext(ctx context.Context, request *DescribeImageSpriteTemplatesRequest) (response *DescribeImageSpriteTemplatesResponse, err error)

DescribeImageSpriteTemplates This API is used to query the list of image sprite generating templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeMediaInfos

func (c *Client) DescribeMediaInfos(request *DescribeMediaInfosRequest) (response *DescribeMediaInfosResponse, err error)

DescribeMediaInfos 1. This API can get multiple types of information of multiple media files, including:

  1. Basic information (basicInfo): media name, category, playback address, cover image, etc.

  2. Metadata (metaData): size, duration, video stream information, audio stream information, etc.

  3. Information of the transcoding result (transcodeInfo): addresses, video stream parameters, and audio stream parameters of the media files with various specifications generated by transcoding a media file.

  4. Information of the animated image generating result (animatedGraphicsInfo): information of an animated image (such as .gif) generated from a video.

  5. Information of a sampled screenshot (sampleSnapshotInfo): information of a sampled screenshot of a video.

  6. Information of an image sprite (imageSpriteInfo): information of an image sprite generated from a video.

  7. Information of a time point screenshot (snapshotByTimeOffsetInfo): information of a time point screenshot of a video.

  8. Information of a timestamp (keyFrameDescInfo): information of a timestamp set for a video.

  9. Information of transcoding to adaptive bitrate streaming (adaptiveDynamicStreamingInfo): specification, encryption type, container format, etc.

2. The return packet can be configured to only contain certain information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds"
INVALIDPARAMETERVALUE_FILEIDSEMPTY = "InvalidParameterValue.FileIdsEmpty"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeMediaInfosWithContext

func (c *Client) DescribeMediaInfosWithContext(ctx context.Context, request *DescribeMediaInfosRequest) (response *DescribeMediaInfosResponse, err error)

DescribeMediaInfos 1. This API can get multiple types of information of multiple media files, including:

  1. Basic information (basicInfo): media name, category, playback address, cover image, etc.

  2. Metadata (metaData): size, duration, video stream information, audio stream information, etc.

  3. Information of the transcoding result (transcodeInfo): addresses, video stream parameters, and audio stream parameters of the media files with various specifications generated by transcoding a media file.

  4. Information of the animated image generating result (animatedGraphicsInfo): information of an animated image (such as .gif) generated from a video.

  5. Information of a sampled screenshot (sampleSnapshotInfo): information of a sampled screenshot of a video.

  6. Information of an image sprite (imageSpriteInfo): information of an image sprite generated from a video.

  7. Information of a time point screenshot (snapshotByTimeOffsetInfo): information of a time point screenshot of a video.

  8. Information of a timestamp (keyFrameDescInfo): information of a timestamp set for a video.

  9. Information of transcoding to adaptive bitrate streaming (adaptiveDynamicStreamingInfo): specification, encryption type, container format, etc.

2. The return packet can be configured to only contain certain information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds"
INVALIDPARAMETERVALUE_FILEIDSEMPTY = "InvalidParameterValue.FileIdsEmpty"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeMediaProcessUsageData

func (c *Client) DescribeMediaProcessUsageData(request *DescribeMediaProcessUsageDataRequest) (response *DescribeMediaProcessUsageDataResponse, err error)

DescribeMediaProcessUsageData This API is used to query the information of video processing usage within the specified time range.

  1. Statistics on video processing for the last 365 days can be queried.

  2. The query time range cannot be more than 90 days.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeMediaProcessUsageDataWithContext

func (c *Client) DescribeMediaProcessUsageDataWithContext(ctx context.Context, request *DescribeMediaProcessUsageDataRequest) (response *DescribeMediaProcessUsageDataResponse, err error)

DescribeMediaProcessUsageData This API is used to query the information of video processing usage within the specified time range.

  1. Statistics on video processing for the last 365 days can be queried.

  2. The query time range cannot be more than 90 days.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribePersonSamples

func (c *Client) DescribePersonSamples(request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)

DescribePersonSamples This API is used to query the information of samples and supports paginated queries by sample ID, name, and tag.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribePersonSamplesWithContext

func (c *Client) DescribePersonSamplesWithContext(ctx context.Context, request *DescribePersonSamplesRequest) (response *DescribePersonSamplesResponse, err error)

DescribePersonSamples This API is used to query the information of samples and supports paginated queries by sample ID, name, and tag.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeProcedureTemplates

func (c *Client) DescribeProcedureTemplates(request *DescribeProcedureTemplatesRequest) (response *DescribeProcedureTemplatesResponse, err error)

DescribeProcedureTemplates This API is used to get the list of task flow template details by task flow template name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeProcedureTemplatesWithContext

func (c *Client) DescribeProcedureTemplatesWithContext(ctx context.Context, request *DescribeProcedureTemplatesRequest) (response *DescribeProcedureTemplatesResponse, err error)

DescribeProcedureTemplates This API is used to get the list of task flow template details by task flow template name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeReviewDetails

func (c *Client) DescribeReviewDetails(request *DescribeReviewDetailsRequest) (response *DescribeReviewDetailsResponse, err error)

DescribeReviewDetails <b>This API is disused and replaced by [DescribeMediaProcessUsageData](https://intl.cloud.tencent.com/document/product/266/41464?from_cn_redirect=1).</b>

This API returns the video content duration for intelligent recognition in seconds per day within the queried period.

1. The API is used to query statistics on the video content duration for intelligent recognition in the last 365 days.

2. The query period is up to 90 days.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeReviewDetailsWithContext

func (c *Client) DescribeReviewDetailsWithContext(ctx context.Context, request *DescribeReviewDetailsRequest) (response *DescribeReviewDetailsResponse, err error)

DescribeReviewDetails <b>This API is disused and replaced by [DescribeMediaProcessUsageData](https://intl.cloud.tencent.com/document/product/266/41464?from_cn_redirect=1).</b>

This API returns the video content duration for intelligent recognition in seconds per day within the queried period.

1. The API is used to query statistics on the video content duration for intelligent recognition in the last 365 days.

2. The query period is up to 90 days.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSampleSnapshotTemplates

func (c *Client) DescribeSampleSnapshotTemplates(request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)

DescribeSampleSnapshotTemplates This API is used to query the list of sampled screencapturing templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSampleSnapshotTemplatesWithContext

func (c *Client) DescribeSampleSnapshotTemplatesWithContext(ctx context.Context, request *DescribeSampleSnapshotTemplatesRequest) (response *DescribeSampleSnapshotTemplatesResponse, err error)

DescribeSampleSnapshotTemplates This API is used to query the list of sampled screencapturing templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSnapshotByTimeOffsetTemplates

func (c *Client) DescribeSnapshotByTimeOffsetTemplates(request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)

DescribeSnapshotByTimeOffsetTemplates This API is used to query the list of time point screencapturing templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSnapshotByTimeOffsetTemplatesWithContext

func (c *Client) DescribeSnapshotByTimeOffsetTemplatesWithContext(ctx context.Context, request *DescribeSnapshotByTimeOffsetTemplatesRequest) (response *DescribeSnapshotByTimeOffsetTemplatesResponse, err error)

DescribeSnapshotByTimeOffsetTemplates This API is used to query the list of time point screencapturing templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeStorageData

func (c *Client) DescribeStorageData(request *DescribeStorageDataRequest) (response *DescribeStorageDataResponse, err error)

DescribeStorageData This API is used to query the storage capacity usage and number of files.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeStorageDataWithContext

func (c *Client) DescribeStorageDataWithContext(ctx context.Context, request *DescribeStorageDataRequest) (response *DescribeStorageDataResponse, err error)

DescribeStorageData This API is used to query the storage capacity usage and number of files.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeStorageDetails

func (c *Client) DescribeStorageDetails(request *DescribeStorageDetailsRequest) (response *DescribeStorageDetailsResponse, err error)

DescribeStorageDetails This API is used to query VOD storage usage in bytes within the query period.

  1. You can only query storage usage for the last 365 days.

  2. The query period is up to 90 days.

  3. The query period at minute-level granularity is up to 7 days.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_TIMEPARSEERROR = "InternalError.TimeParseError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
INVALIDPARAMETERVALUE_STORAGETYPE = "InvalidParameterValue.StorageType"
INVALIDPARAMETERVALUE_TIMETYPE = "InvalidParameterValue.TimeType"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeStorageDetailsWithContext

func (c *Client) DescribeStorageDetailsWithContext(ctx context.Context, request *DescribeStorageDetailsRequest) (response *DescribeStorageDetailsResponse, err error)

DescribeStorageDetails This API is used to query VOD storage usage in bytes within the query period.

  1. You can only query storage usage for the last 365 days.

  2. The query period is up to 90 days.

  3. The query period at minute-level granularity is up to 7 days.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_TIMEPARSEERROR = "InternalError.TimeParseError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_AREA = "InvalidParameterValue.Area"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
INVALIDPARAMETERVALUE_STORAGETYPE = "InvalidParameterValue.StorageType"
INVALIDPARAMETERVALUE_TIMETYPE = "InvalidParameterValue.TimeType"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSubAppIds

func (c *Client) DescribeSubAppIds(request *DescribeSubAppIdsRequest) (response *DescribeSubAppIdsResponse, err error)

DescribeSubAppIds This API is used to query the list of the primary application and subapplications of the current account.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_SERVICENOTEXIST = "ResourceNotFound.ServiceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSubAppIdsWithContext

func (c *Client) DescribeSubAppIdsWithContext(ctx context.Context, request *DescribeSubAppIdsRequest) (response *DescribeSubAppIdsResponse, err error)

DescribeSubAppIds This API is used to query the list of the primary application and subapplications of the current account.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_SERVICENOTEXIST = "ResourceNotFound.ServiceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSuperPlayerConfigs

func (c *Client) DescribeSuperPlayerConfigs(request *DescribeSuperPlayerConfigsRequest) (response *DescribeSuperPlayerConfigsResponse, err error)

DescribeSuperPlayerConfigs This API is used to query the list of superplayer configurations and supports paginated queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSuperPlayerConfigsWithContext

func (c *Client) DescribeSuperPlayerConfigsWithContext(ctx context.Context, request *DescribeSuperPlayerConfigsRequest) (response *DescribeSuperPlayerConfigsResponse, err error)

DescribeSuperPlayerConfigs This API is used to query the list of superplayer configurations and supports paginated queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTaskDetail

func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)

DescribeTaskDetail This API is used to query the details of execution status and result of a task submitted in the last 3 days by task ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTaskDetailWithContext

func (c *Client) DescribeTaskDetailWithContext(ctx context.Context, request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error)

DescribeTaskDetail This API is used to query the details of execution status and result of a task submitted in the last 3 days by task ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTasks

func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)

DescribeTasks * This API is used to query the task list;

* If there are many data entries in the list, one single call of the API may not be able to pull the entire list. The `ScrollToken` parameter can be used to pull the list in batches;

* Only tasks in the last three days (72 hours) can be queried.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTasksWithContext

func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)

DescribeTasks * This API is used to query the task list;

* If there are many data entries in the list, one single call of the API may not be able to pull the entire list. The `ScrollToken` parameter can be used to pull the list in batches;

* Only tasks in the last three days (72 hours) can be queried.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTranscodeTemplates

func (c *Client) DescribeTranscodeTemplates(request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)

DescribeTranscodeTemplates This API is used to get the list of transcoding templates based on unique template ID. The return result includes all eligible custom and [preset transcoding templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTranscodeTemplatesWithContext

func (c *Client) DescribeTranscodeTemplatesWithContext(ctx context.Context, request *DescribeTranscodeTemplatesRequest) (response *DescribeTranscodeTemplatesResponse, err error)

DescribeTranscodeTemplates This API is used to get the list of transcoding templates based on unique template ID. The return result includes all eligible custom and [preset transcoding templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CONTAINERTYPE = "InvalidParameterValue.ContainerType"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeVodDomains

func (c *Client) DescribeVodDomains(request *DescribeVodDomainsRequest) (response *DescribeVodDomainsResponse, err error)

DescribeVodDomains This API is used to query the list of VOD domain names.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_LIMITTOOLARGE = "InvalidParameterValue.LimitTooLarge"
INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"
INVALIDPARAMETERVALUE_OFFSETTOOLARGE = "InvalidParameterValue.OffsetTooLarge"

func (*Client) DescribeVodDomainsWithContext

func (c *Client) DescribeVodDomainsWithContext(ctx context.Context, request *DescribeVodDomainsRequest) (response *DescribeVodDomainsResponse, err error)

DescribeVodDomains This API is used to query the list of VOD domain names.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_LIMITTOOLARGE = "InvalidParameterValue.LimitTooLarge"
INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"
INVALIDPARAMETERVALUE_OFFSETTOOLARGE = "InvalidParameterValue.OffsetTooLarge"

func (*Client) DescribeWatermarkTemplates

func (c *Client) DescribeWatermarkTemplates(request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)

DescribeWatermarkTemplates This API is used to query custom watermarking templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeWatermarkTemplatesWithContext

func (c *Client) DescribeWatermarkTemplatesWithContext(ctx context.Context, request *DescribeWatermarkTemplatesRequest) (response *DescribeWatermarkTemplatesResponse, err error)

DescribeWatermarkTemplates This API is used to query custom watermarking templates and supports paged queries by filters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_DEFINITIONS = "InvalidParameterValue.Definitions"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeWordSamples

func (c *Client) DescribeWordSamples(request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)

DescribeWordSamples This API is used to perform paginated queries of keyword sample information by use case, keyword, and tag.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeWordSamplesWithContext

func (c *Client) DescribeWordSamplesWithContext(ctx context.Context, request *DescribeWordSamplesRequest) (response *DescribeWordSamplesResponse, err error)

DescribeWordSamples This API is used to perform paginated queries of keyword sample information by use case, keyword, and tag.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) EditMedia

func (c *Client) EditMedia(request *EditMediaRequest) (response *EditMediaResponse, err error)

EditMedia This API is used to edit a video (by clipping, splicing, etc.) to generate a new VOD video. Editing features include:

1. Clipping a file in VOD to generate a new video;

2. Splicing multiple files in VOD to generate a new video;

3. Clipping multiple files in VOD and then splicing the clips to generate a new video;

4. Directly generating a new video from a stream in VOD;

5. Clipping a stream in VOD to generate a new video;

6. Splicing multiple streams in VOD to generate a new video;

7. Clipping multiple streams in VOD and then splicing the clips to generate a new video.

You can also specify whether to perform a task flow for the generated new video.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) EditMediaWithContext

func (c *Client) EditMediaWithContext(ctx context.Context, request *EditMediaRequest) (response *EditMediaResponse, err error)

EditMedia This API is used to edit a video (by clipping, splicing, etc.) to generate a new VOD video. Editing features include:

1. Clipping a file in VOD to generate a new video;

2. Splicing multiple files in VOD to generate a new video;

3. Clipping multiple files in VOD and then splicing the clips to generate a new video;

4. Directly generating a new video from a stream in VOD;

5. Clipping a stream in VOD to generate a new video;

6. Splicing multiple streams in VOD to generate a new video;

7. Clipping multiple streams in VOD and then splicing the clips to generate a new video.

You can also specify whether to perform a task flow for the generated new video.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ExecuteFunction

func (c *Client) ExecuteFunction(request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)

ExecuteFunction This API is only used in special scenarios of custom development. Unless requested by VOD customer service, please do not call it.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ExecuteFunctionWithContext

func (c *Client) ExecuteFunctionWithContext(ctx context.Context, request *ExecuteFunctionRequest) (response *ExecuteFunctionResponse, err error)

ExecuteFunction This API is only used in special scenarios of custom development. Unless requested by VOD customer service, please do not call it.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_FUNCTIONARG = "InvalidParameterValue.FunctionArg"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ForbidMediaDistribution

func (c *Client) ForbidMediaDistribution(request *ForbidMediaDistributionRequest) (response *ForbidMediaDistributionResponse, err error)

ForbidMediaDistribution * After a media file is forbidden, except previewing it in the VOD Console, accessing the URLs of its various resources (such as source file, output files, and screenshots) in other scenarios will return error 403.

It takes about 5-10 minutes for a forbidding/unblocking operation to take effect across the entire network.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_MEDIAFORBIDEDBYSYSTEM = "FailedOperation.MediaForbidedBySystem"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_FILEIDSTOOMANY = "InvalidParameterValue.FileIdsTooMany"
INVALIDPARAMETERVALUE_OPERATION = "InvalidParameterValue.Operation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ForbidMediaDistributionWithContext

func (c *Client) ForbidMediaDistributionWithContext(ctx context.Context, request *ForbidMediaDistributionRequest) (response *ForbidMediaDistributionResponse, err error)

ForbidMediaDistribution * After a media file is forbidden, except previewing it in the VOD Console, accessing the URLs of its various resources (such as source file, output files, and screenshots) in other scenarios will return error 403.

It takes about 5-10 minutes for a forbidding/unblocking operation to take effect across the entire network.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_MEDIAFORBIDEDBYSYSTEM = "FailedOperation.MediaForbidedBySystem"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_FILEIDSTOOMANY = "InvalidParameterValue.FileIdsTooMany"
INVALIDPARAMETERVALUE_OPERATION = "InvalidParameterValue.Operation"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) LiveRealTimeClip

func (c *Client) LiveRealTimeClip(request *LiveRealTimeClipRequest) (response *LiveRealTimeClipResponse, err error)

LiveRealTimeClip Live clipping means that during a live broadcast (before it ends), you can select a segment of previous live broadcast content to generate a new video (in HLS format) in real time and share it immediately or store it persistently.

VOD supports two live clipping modes:

- Persistent clipping: in this mode, the clipped video is saved as an independent video file with a `FileId`, which is suitable for **persistently storing** highlights;

- Temporary clipping: in this mode, the clipped video is part of the LVB recording file with no `FileId`, which is suitable for **temporarily sharing** highlights;

Note:

- The live clipping feature can be used only when [time shifting](https://intl.cloud.tencent.com/document/product/267/32742?from_cn_redirect=1) has been enabled for the target live stream.

- Live clipping is performed based on the m3u8 file generated by LVB recording, so its minimum clipping granularity is one ts segment rather than at or below the second level.

### Persistent clipping

In persistent clipping mode, the clipped video is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the source LVB recording video (even if the source video is deleted, the clipped video will not be affected in any way). It can be further processed (transcoded, published on WeChat, etc.).

An example is as follows: for a complete football match, the source LVB recording video may be up to 2 hours in length. You want to store this video for only 2 months for the purpose of cost savings. However, you want to specify a longer retention period for the "highlights" video created by live clipping and perform additional VOD operations on it such as transcoding and release on WeChat. In this case, you need to choose the persistent clipping mode of live clipping.

The advantage of persistent clipping is that the clipped video has a lifecycle independent of the source recording video and can be managed independently and stored persistently.

### Temporary clipping

In temporary clipping mode, the clipped video (m3u8 file) shares the same ts segments with the LVB recording video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the LVB recording video; therefore, if the LVB recording video is deleted, it cannot be played back.

For temporary clipping, as the clipping result is not an independent video, it will not be included in VOD's media asset management (for example, it will not be counted in the total videos in the console), and no video processing operations can be separately performed on it, such as transcoding and release on WeChat.

The advantage of temporary clipping is that the clipping operation is very "lightweight" and does not incur additional storage fees. However, the clipped video has the same lifecycle as the source recording video and cannot be further transcoded or processed.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
INVALIDPARAMETERVALUE_STREAMIDINVALID = "InvalidParameterValue.StreamIdInvalid"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) LiveRealTimeClipWithContext

func (c *Client) LiveRealTimeClipWithContext(ctx context.Context, request *LiveRealTimeClipRequest) (response *LiveRealTimeClipResponse, err error)

LiveRealTimeClip Live clipping means that during a live broadcast (before it ends), you can select a segment of previous live broadcast content to generate a new video (in HLS format) in real time and share it immediately or store it persistently.

VOD supports two live clipping modes:

- Persistent clipping: in this mode, the clipped video is saved as an independent video file with a `FileId`, which is suitable for **persistently storing** highlights;

- Temporary clipping: in this mode, the clipped video is part of the LVB recording file with no `FileId`, which is suitable for **temporarily sharing** highlights;

Note:

- The live clipping feature can be used only when [time shifting](https://intl.cloud.tencent.com/document/product/267/32742?from_cn_redirect=1) has been enabled for the target live stream.

- Live clipping is performed based on the m3u8 file generated by LVB recording, so its minimum clipping granularity is one ts segment rather than at or below the second level.

### Persistent clipping

In persistent clipping mode, the clipped video is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the source LVB recording video (even if the source video is deleted, the clipped video will not be affected in any way). It can be further processed (transcoded, published on WeChat, etc.).

An example is as follows: for a complete football match, the source LVB recording video may be up to 2 hours in length. You want to store this video for only 2 months for the purpose of cost savings. However, you want to specify a longer retention period for the "highlights" video created by live clipping and perform additional VOD operations on it such as transcoding and release on WeChat. In this case, you need to choose the persistent clipping mode of live clipping.

The advantage of persistent clipping is that the clipped video has a lifecycle independent of the source recording video and can be managed independently and stored persistently.

### Temporary clipping

In temporary clipping mode, the clipped video (m3u8 file) shares the same ts segments with the LVB recording video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the LVB recording video; therefore, if the LVB recording video is deleted, it cannot be played back.

For temporary clipping, as the clipping result is not an independent video, it will not be included in VOD's media asset management (for example, it will not be counted in the total videos in the console), and no video processing operations can be separately performed on it, such as transcoding and release on WeChat.

The advantage of temporary clipping is that the clipping operation is very "lightweight" and does not incur additional storage fees. However, the clipped video has the same lifecycle as the source recording video and cannot be further transcoded or processed.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CLIPDURATION = "InvalidParameterValue.ClipDuration"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
INVALIDPARAMETERVALUE_STREAMIDINVALID = "InvalidParameterValue.StreamIdInvalid"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ManageTask

func (c *Client) ManageTask(request *ManageTaskRequest) (response *ManageTaskResponse, err error)

ManageTask This API is used to manage initiated tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType"
INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ManageTaskWithContext

func (c *Client) ManageTaskWithContext(ctx context.Context, request *ManageTaskRequest) (response *ManageTaskResponse, err error)

ManageTask This API is used to manage initiated tasks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDOPERATIONTYPE = "InvalidParameterValue.InvalidOperationType"
INVALIDPARAMETERVALUE_TASKID = "InvalidParameterValue.TaskId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAIAnalysisTemplate

func (c *Client) ModifyAIAnalysisTemplate(request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)

ModifyAIAnalysisTemplate This API is used to modify a custom video content analysis template.

Note: templates with an ID below 10000 are preset and cannot be modified.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure"
INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure"
INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAIAnalysisTemplateWithContext

func (c *Client) ModifyAIAnalysisTemplateWithContext(ctx context.Context, request *ModifyAIAnalysisTemplateRequest) (response *ModifyAIAnalysisTemplateResponse, err error)

ModifyAIAnalysisTemplate This API is used to modify a custom video content analysis template.

Note: templates with an ID below 10000 are preset and cannot be modified.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_CLASSIFCATIONCONFIGURE = "InvalidParameterValue.ClassifcationConfigure"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_COVERCONFIGURE = "InvalidParameterValue.CoverConfigure"
INVALIDPARAMETERVALUE_FRAMETAGCONFIGURE = "InvalidParameterValue.FrameTagConfigure"
INVALIDPARAMETERVALUE_HIGHLIGHTCONFIGURE = "InvalidParameterValue.HighlightConfigure"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_TAGCONFIGURE = "InvalidParameterValue.TagConfigure"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAIRecognitionTemplate

func (c *Client) ModifyAIRecognitionTemplate(request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)

ModifyAIRecognitionTemplate This API is used to modify a custom video content recognition template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet"
INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary"
INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore"
INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"
INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary"
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"
INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat"
INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"
INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAIRecognitionTemplateWithContext

func (c *Client) ModifyAIRecognitionTemplateWithContext(ctx context.Context, request *ModifyAIRecognitionTemplateRequest) (response *ModifyAIRecognitionTemplateResponse, err error)

ModifyAIRecognitionTemplate This API is used to modify a custom video content recognition template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_DEFAULTLIBRARYLABELSET = "InvalidParameterValue.DefaultLibraryLabelSet"
INVALIDPARAMETERVALUE_FACELIBRARY = "InvalidParameterValue.FaceLibrary"
INVALIDPARAMETERVALUE_FACESCORE = "InvalidParameterValue.FaceScore"
INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"
INVALIDPARAMETERVALUE_MODIFYDEFAULTTEMPLATE = "InvalidParameterValue.ModifyDefaultTemplate"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_OBJECTLIBRARY = "InvalidParameterValue.ObjectLibrary"
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"
INVALIDPARAMETERVALUE_SUBTITLEFORMAT = "InvalidParameterValue.SubtitleFormat"
INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"
INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = "InvalidParameterValue.UserDefineLibraryLabelSet"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAdaptiveDynamicStreamingTemplate

func (c *Client) ModifyAdaptiveDynamicStreamingTemplate(request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)

ModifyAdaptiveDynamicStreamingTemplate This API is used to modify an adaptive bitrate streaming template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"
INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"
INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate"
INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution"
INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType"
INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"
INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate"
INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"

func (*Client) ModifyAdaptiveDynamicStreamingTemplateWithContext

func (c *Client) ModifyAdaptiveDynamicStreamingTemplateWithContext(ctx context.Context, request *ModifyAdaptiveDynamicStreamingTemplateRequest) (response *ModifyAdaptiveDynamicStreamingTemplateResponse, err error)

ModifyAdaptiveDynamicStreamingTemplate This API is used to modify an adaptive bitrate streaming template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"
INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_DEFINITION = "InvalidParameterValue.Definition"
INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEOBITRATE = "InvalidParameterValue.DisableHigherVideoBitrate"
INVALIDPARAMETERVALUE_DISABLEHIGHERVIDEORESOLUTION = "InvalidParameterValue.DisableHigherVideoResolution"
INVALIDPARAMETERVALUE_DRMTYPE = "InvalidParameterValue.DrmType"
INVALIDPARAMETERVALUE_FILLTYPE = "InvalidParameterValue.FillType"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"
INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate"
INVALIDPARAMETERVALUE_SOUNDSYSTEM = "InvalidParameterValue.SoundSystem"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"

func (*Client) ModifyAnimatedGraphicsTemplate

func (c *Client) ModifyAnimatedGraphicsTemplate(request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)

ModifyAnimatedGraphicsTemplate This API is used to modify a custom animated image generating template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight"
INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAnimatedGraphicsTemplateWithContext

func (c *Client) ModifyAnimatedGraphicsTemplateWithContext(ctx context.Context, request *ModifyAnimatedGraphicsTemplateRequest) (response *ModifyAnimatedGraphicsTemplateResponse, err error)

ModifyAnimatedGraphicsTemplate This API is used to modify a custom animated image generating template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_FORMATWEBPLACKWIDTHANDHEIGHT = "InvalidParameterValue.FormatWebpLackWidthAndHeight"
INVALIDPARAMETERVALUE_FORMATWEBPWIDTHANDHEIGHTBOTHZERO = "InvalidParameterValue.FormatWebpWidthAndHeightBothZero"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_QUALITY = "InvalidParameterValue.Quality"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyClass

func (c *Client) ModifyClass(request *ModifyClassRequest) (response *ModifyClassResponse, err error)

ModifyClass This API is used to modify the category of a media file.

error code that may be returned:

FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate"
FAILEDOPERATION_CLASSNOFOUND = "FailedOperation.ClassNoFound"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId"
INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyClassWithContext

func (c *Client) ModifyClassWithContext(ctx context.Context, request *ModifyClassRequest) (response *ModifyClassResponse, err error)

ModifyClass This API is used to modify the category of a media file.

error code that may be returned:

FAILEDOPERATION_CLASSNAMEDUPLICATE = "FailedOperation.ClassNameDuplicate"
FAILEDOPERATION_CLASSNOFOUND = "FailedOperation.ClassNoFound"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CLASSID = "InvalidParameterValue.ClassId"
INVALIDPARAMETERVALUE_CLASSNAME = "InvalidParameterValue.ClassName"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyContentReviewTemplate

func (c *Client) ModifyContentReviewTemplate(request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)

ModifyContentReviewTemplate This API is used to modify custom intelligent video content recognition templates.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence"
INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch"
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"
INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyContentReviewTemplateWithContext

func (c *Client) ModifyContentReviewTemplateWithContext(ctx context.Context, request *ModifyContentReviewTemplateRequest) (response *ModifyContentReviewTemplateResponse, err error)

ModifyContentReviewTemplate This API is used to modify custom intelligent video content recognition templates.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BLOCKCONFIDENCE = "InvalidParameterValue.BlockConfidence"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_LABELSET = "InvalidParameterValue.LabelSet"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REVIEWCONFIDENCE = "InvalidParameterValue.ReviewConfidence"
INVALIDPARAMETERVALUE_REVIEWWALLSWITCH = "InvalidParameterValue.ReviewWallSwitch"
INVALIDPARAMETERVALUE_SCREENSHOTINTERVAL = "InvalidParameterValue.ScreenshotInterval"
INVALIDPARAMETERVALUE_SWITCH = "InvalidParameterValue.Switch"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyImageSpriteTemplate

func (c *Client) ModifyImageSpriteTemplate(request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)

ModifyImageSpriteTemplate This API is used to modify a custom image sprite generating template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount"
INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"
INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyImageSpriteTemplateWithContext

func (c *Client) ModifyImageSpriteTemplateWithContext(ctx context.Context, request *ModifyImageSpriteTemplateRequest) (response *ModifyImageSpriteTemplateResponse, err error)

ModifyImageSpriteTemplate This API is used to modify a custom image sprite generating template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COLUMNCOUNT = "InvalidParameterValue.ColumnCount"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_ROWCOUNT = "InvalidParameterValue.RowCount"
INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"
INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyMediaInfo

func (c *Client) ModifyMediaInfo(request *ModifyMediaInfoRequest) (response *ModifyMediaInfoResponse, err error)

ModifyMediaInfo This API is used to modify the attributes of a media file, including category, name, description, tag, expiration time, timestamp information, video thumbnail, and subtitle information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError"
INTERNALERROR_UPDATEMEDIAERROR = "InternalError.UpdateMediaError"
INTERNALERROR_UPLOADCOVERIMAGEERROR = "InternalError.UploadCoverImageError"
INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDCLEARKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndClearKeyFrameDescsConflict"
INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDDELETEKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndDeleteKeyFrameDescsConflict"
INVALIDPARAMETERVALUE_ADDTAGSANDCLEARTAGSCONFLICT = "InvalidParameterValue.AddTagsAndClearTagsConflict"
INVALIDPARAMETERVALUE_ADDTAGSANDDELETETAGSCONFLICT = "InvalidParameterValue.AddTagsAndDeleteTagsConflict"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"
INVALIDPARAMETERVALUE_IMAGEDECODEERROR = "InvalidParameterValue.ImageDecodeError"
INVALIDPARAMETERVALUE_KEYFRAMEDESCCONTENTTOOLONG = "InvalidParameterValue.KeyFrameDescContentTooLong"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_TAGTOOLONG = "InvalidParameterValue.TagTooLong"
LIMITEXCEEDED_KEYFRAMEDESCCOUNTREACHMAX = "LimitExceeded.KeyFrameDescCountReachMax"
LIMITEXCEEDED_TAGCOUNTREACHMAX = "LimitExceeded.TagCountReachMax"
RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyMediaInfoWithContext

func (c *Client) ModifyMediaInfoWithContext(ctx context.Context, request *ModifyMediaInfoRequest) (response *ModifyMediaInfoResponse, err error)

ModifyMediaInfo This API is used to modify the attributes of a media file, including category, name, description, tag, expiration time, timestamp information, video thumbnail, and subtitle information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError"
INTERNALERROR_UPDATEMEDIAERROR = "InternalError.UpdateMediaError"
INTERNALERROR_UPLOADCOVERIMAGEERROR = "InternalError.UploadCoverImageError"
INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDCLEARKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndClearKeyFrameDescsConflict"
INVALIDPARAMETERVALUE_ADDKEYFRAMEDESCSANDDELETEKEYFRAMEDESCSCONFLICT = "InvalidParameterValue.AddKeyFrameDescsAndDeleteKeyFrameDescsConflict"
INVALIDPARAMETERVALUE_ADDTAGSANDCLEARTAGSCONFLICT = "InvalidParameterValue.AddTagsAndClearTagsConflict"
INVALIDPARAMETERVALUE_ADDTAGSANDDELETETAGSCONFLICT = "InvalidParameterValue.AddTagsAndDeleteTagsConflict"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"
INVALIDPARAMETERVALUE_IMAGEDECODEERROR = "InvalidParameterValue.ImageDecodeError"
INVALIDPARAMETERVALUE_KEYFRAMEDESCCONTENTTOOLONG = "InvalidParameterValue.KeyFrameDescContentTooLong"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_TAGTOOLONG = "InvalidParameterValue.TagTooLong"
LIMITEXCEEDED_KEYFRAMEDESCCOUNTREACHMAX = "LimitExceeded.KeyFrameDescCountReachMax"
LIMITEXCEEDED_TAGCOUNTREACHMAX = "LimitExceeded.TagCountReachMax"
RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyPersonSample

func (c *Client) ModifyPersonSample(request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)

ModifyPersonSample This API is used to modify sample information according to the sample ID. You can modify the name and description, add, delete, and reset facial features or tags. Leave at least one image after deleting facial features. To leave no image, please use the reset operation.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate"
INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError"
RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyPersonSampleWithContext

func (c *Client) ModifyPersonSampleWithContext(ctx context.Context, request *ModifyPersonSampleRequest) (response *ModifyPersonSampleResponse, err error)

ModifyPersonSample This API is used to modify sample information according to the sample ID. You can modify the name and description, add, delete, and reset facial features or tags. Leave at least one image after deleting facial features. To leave no image, please use the reset operation.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FACEDUPLICATE = "InvalidParameterValue.FaceDuplicate"
INVALIDPARAMETERVALUE_PICFORMATERROR = "InvalidParameterValue.PicFormatError"
RESOURCENOTFOUND_PERSON = "ResourceNotFound.Person"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySampleSnapshotTemplate

func (c *Client) ModifySampleSnapshotTemplate(request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)

ModifySampleSnapshotTemplate This API is used to modify a custom sampled screencapturing template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"
INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySampleSnapshotTemplateWithContext

func (c *Client) ModifySampleSnapshotTemplateWithContext(ctx context.Context, request *ModifySampleSnapshotTemplateRequest) (response *ModifySampleSnapshotTemplateResponse, err error)

ModifySampleSnapshotTemplate This API is used to modify a custom sampled screencapturing template.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_SAMPLEINTERVAL = "InvalidParameterValue.SampleInterval"
INVALIDPARAMETERVALUE_SAMPLETYPE = "InvalidParameterValue.SampleType"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySnapshotByTimeOffsetTemplate

func (c *Client) ModifySnapshotByTimeOffsetTemplate(request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)

ModifySnapshotByTimeOffsetTemplate This API is used to modify a custom time point screencapturing template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySnapshotByTimeOffsetTemplateWithContext

func (c *Client) ModifySnapshotByTimeOffsetTemplateWithContext(ctx context.Context, request *ModifySnapshotByTimeOffsetTemplateRequest) (response *ModifySnapshotByTimeOffsetTemplateResponse, err error)

ModifySnapshotByTimeOffsetTemplate This API is used to modify a custom time point screencapturing template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_FORMAT = "InvalidParameterValue.Format"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySubAppIdInfo

func (c *Client) ModifySubAppIdInfo(request *ModifySubAppIdInfoRequest) (response *ModifySubAppIdInfoResponse, err error)

ModifySubAppIdInfo This API is used to modify subapplication information, but it is not allowed to modify primary application information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySubAppIdInfoWithContext

func (c *Client) ModifySubAppIdInfoWithContext(ctx context.Context, request *ModifySubAppIdInfoRequest) (response *ModifySubAppIdInfoResponse, err error)

ModifySubAppIdInfo This API is used to modify subapplication information, but it is not allowed to modify primary application information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySubAppIdStatus

func (c *Client) ModifySubAppIdStatus(request *ModifySubAppIdStatusRequest) (response *ModifySubAppIdStatusResponse, err error)

ModifySubAppIdStatus This API is used to enable/disable a subapplication. After a subapplication is disabled, its corresponding domain name will be blocked and its access to the console will be restricted.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySubAppIdStatusWithContext

func (c *Client) ModifySubAppIdStatusWithContext(ctx context.Context, request *ModifySubAppIdStatusRequest) (response *ModifySubAppIdStatusResponse, err error)

ModifySubAppIdStatus This API is used to enable/disable a subapplication. After a subapplication is disabled, its corresponding domain name will be blocked and its access to the console will be restricted.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySuperPlayerConfig

func (c *Client) ModifySuperPlayerConfig(request *ModifySuperPlayerConfigRequest) (response *ModifySuperPlayerConfigResponse, err error)

ModifySuperPlayerConfig This API is used to modify a superplayer configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySuperPlayerConfigWithContext

func (c *Client) ModifySuperPlayerConfigWithContext(ctx context.Context, request *ModifySuperPlayerConfigRequest) (response *ModifySuperPlayerConfigResponse, err error)

ModifySuperPlayerConfig This API is used to modify a superplayer configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTranscodeTemplate

func (c *Client) ModifyTranscodeTemplate(request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)

ModifyTranscodeTemplate This API is used to modify a custom transcoding template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate"
INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel"
INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec"
INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate"
INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"
INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"
INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container"
INVALIDPARAMETERVALUE_FILTRATEAUDIO = "InvalidParameterValue.FiltrateAudio"
INVALIDPARAMETERVALUE_FILTRATEVIDEO = "InvalidParameterValue.FiltrateVideo"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"
INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive"
INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate"
INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf"
INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate"
INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTranscodeTemplateWithContext

func (c *Client) ModifyTranscodeTemplateWithContext(ctx context.Context, request *ModifyTranscodeTemplateRequest) (response *ModifyTranscodeTemplateResponse, err error)

ModifyTranscodeTemplate This API is used to modify a custom transcoding template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_AUDIOBITRATE = "InvalidParameterValue.AudioBitrate"
INVALIDPARAMETERVALUE_AUDIOCHANNEL = "InvalidParameterValue.AudioChannel"
INVALIDPARAMETERVALUE_AUDIOCODEC = "InvalidParameterValue.AudioCodec"
INVALIDPARAMETERVALUE_AUDIOSAMPLERATE = "InvalidParameterValue.AudioSampleRate"
INVALIDPARAMETERVALUE_BITRATE = "InvalidParameterValue.Bitrate"
INVALIDPARAMETERVALUE_CODEC = "InvalidParameterValue.Codec"
INVALIDPARAMETERVALUE_CONTAINER = "InvalidParameterValue.Container"
INVALIDPARAMETERVALUE_FILTRATEAUDIO = "InvalidParameterValue.FiltrateAudio"
INVALIDPARAMETERVALUE_FILTRATEVIDEO = "InvalidParameterValue.FiltrateVideo"
INVALIDPARAMETERVALUE_FPS = "InvalidParameterValue.Fps"
INVALIDPARAMETERVALUE_REMOVEAUDIO = "InvalidParameterValue.RemoveAudio"
INVALIDPARAMETERVALUE_REMOVEVIDEO = "InvalidParameterValue.RemoveVideo"
INVALIDPARAMETERVALUE_RESOLUTION = "InvalidParameterValue.Resolution"
INVALIDPARAMETERVALUE_RESOLUTIONADAPTIVE = "InvalidParameterValue.ResolutionAdaptive"
INVALIDPARAMETERVALUE_SAMPLERATE = "InvalidParameterValue.SampleRate"
INVALIDPARAMETERVALUE_TEHDTYPE = "InvalidParameterValue.TEHDType"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_VCRF = "InvalidParameterValue.Vcrf"
INVALIDPARAMETERVALUE_VIDEOBITRATE = "InvalidParameterValue.VideoBitrate"
INVALIDPARAMETERVALUE_VIDEOCODEC = "InvalidParameterValue.VideoCodec"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyVodDomainAccelerateConfig

func (c *Client) ModifyVodDomainAccelerateConfig(request *ModifyVodDomainAccelerateConfigRequest) (response *ModifyVodDomainAccelerateConfigResponse, err error)

ModifyVodDomainAccelerateConfig This API is used to modify the acceleration region of a domain name on VOD.

1. You can modify acceleration regions of only domain names whose status is `Online`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) ModifyVodDomainAccelerateConfigWithContext

func (c *Client) ModifyVodDomainAccelerateConfigWithContext(ctx context.Context, request *ModifyVodDomainAccelerateConfigRequest) (response *ModifyVodDomainAccelerateConfigResponse, err error)

ModifyVodDomainAccelerateConfig This API is used to modify the acceleration region of a domain name on VOD.

1. You can modify acceleration regions of only domain names whose status is `Online`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) ModifyVodDomainConfig

func (c *Client) ModifyVodDomainConfig(request *ModifyVodDomainConfigRequest) (response *ModifyVodDomainConfigResponse, err error)

ModifyVodDomainConfig This API is used to modify domain name settings, such as the hotlink protection configuration.

1. You can modify settings of only domain names whose status is `Online`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) ModifyVodDomainConfigWithContext

func (c *Client) ModifyVodDomainConfigWithContext(ctx context.Context, request *ModifyVodDomainConfigRequest) (response *ModifyVodDomainConfigResponse, err error)

ModifyVodDomainConfig This API is used to modify domain name settings, such as the hotlink protection configuration.

1. You can modify settings of only domain names whose status is `Online`.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DOMAINDEPLOYING = "FailedOperation.DomainDeploying"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) ModifyWatermarkTemplate

func (c *Client) ModifyWatermarkTemplate(request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)

ModifyWatermarkTemplate This API is used to modify a custom watermarking template. The watermark type cannot be modified.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType"
INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight"
INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth"
INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos"
INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyWatermarkTemplateWithContext

func (c *Client) ModifyWatermarkTemplateWithContext(ctx context.Context, request *ModifyWatermarkTemplateRequest) (response *ModifyWatermarkTemplateResponse, err error)

ModifyWatermarkTemplate This API is used to modify a custom watermarking template. The watermark type cannot be modified.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_UPLOADWATERMARKERROR = "InternalError.UploadWatermarkError"
INVALIDPARAMETERVALUE_COMMENT = "InvalidParameterValue.Comment"
INVALIDPARAMETERVALUE_COORDINATEORIGIN = "InvalidParameterValue.CoordinateOrigin"
INVALIDPARAMETERVALUE_HEIGHT = "InvalidParameterValue.Height"
INVALIDPARAMETERVALUE_IMAGECONTENT = "InvalidParameterValue.ImageContent"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_REPEATTYPE = "InvalidParameterValue.RepeatType"
INVALIDPARAMETERVALUE_SVGTEMPLATEHEIGHT = "InvalidParameterValue.SvgTemplateHeight"
INVALIDPARAMETERVALUE_SVGTEMPLATEWIDTH = "InvalidParameterValue.SvgTemplateWidth"
INVALIDPARAMETERVALUE_TEXTALPHA = "InvalidParameterValue.TextAlpha"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_WIDTH = "InvalidParameterValue.Width"
INVALIDPARAMETERVALUE_XPOS = "InvalidParameterValue.XPos"
INVALIDPARAMETERVALUE_YPOS = "InvalidParameterValue.YPos"
RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyWordSample

func (c *Client) ModifyWordSample(request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)

ModifyWordSample This API is used to modify the use case and tag of a keyword. The keyword itself cannot be modified, but you can delete it and create another one if needed.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_WORD = "ResourceNotFound.Word"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyWordSampleWithContext

func (c *Client) ModifyWordSampleWithContext(ctx context.Context, request *ModifyWordSampleRequest) (response *ModifyWordSampleResponse, err error)

ModifyWordSample This API is used to modify the use case and tag of a keyword. The keyword itself cannot be modified, but you can delete it and create another one if needed.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_WORD = "ResourceNotFound.Word"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ParseStreamingManifest

func (c *Client) ParseStreamingManifest(request *ParseStreamingManifestRequest) (response *ParseStreamingManifestResponse, err error)

ParseStreamingManifest This API is used to parse the index file content and return the list of segment files to be uploaded when an HLS video is uploaded. A segment file path must be a relative path of the current directory or subdirectory instead of a URL or absolute path.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MEDIAMANIFESTCONTENT = "InvalidParameterValue.MediaManifestContent"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ParseStreamingManifestWithContext

func (c *Client) ParseStreamingManifestWithContext(ctx context.Context, request *ParseStreamingManifestRequest) (response *ParseStreamingManifestResponse, err error)

ParseStreamingManifest This API is used to parse the index file content and return the list of segment files to be uploaded when an HLS video is uploaded. A segment file path must be a relative path of the current directory or subdirectory instead of a URL or absolute path.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MEDIAMANIFESTCONTENT = "InvalidParameterValue.MediaManifestContent"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ProcessMedia

func (c *Client) ProcessMedia(request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)

ProcessMedia This API is used to initiate a media processing task on a VOD file. The task may include:

1. Video transcoding (with watermark)

2. Animated image generating

3. Time point screenshot

4. Sampled screenshot

5. Image sprite generating

6. Taking a screenshot to use as the thumbnail

7. Adaptive bitrate streaming and encryption

8. Intelligent recognition of pornographic, terrorism, and politically sensitive content

9. Intelligent content analysis for labeling, categorization, thumbnail generation, or frame-specific labeling

10. Recognition of opening and closing credits, faces, full text, text keywords, full speech, speech keywords, and objects

If event notifications are used, the event type is [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition"
INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition"
INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition"
INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ProcessMediaByProcedure

func (c *Client) ProcessMediaByProcedure(request *ProcessMediaByProcedureRequest) (response *ProcessMediaByProcedureResponse, err error)

ProcessMediaByProcedure This API is used to initiate a processing task for a VOD video with a task flow template.

There are two ways to create a task flow template:

1. Create and modify a task flow template in the console;

2. Create a task flow template through the task flow template API.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId"
INVALIDPARAMETERVALUE_PROCEDURENAME = "InvalidParameterValue.ProcedureName"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
INVALIDPARAMETERVALUE_UNIQUEIDENTIFIER = "InvalidParameterValue.UniqueIdentifier"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ProcessMediaByProcedureWithContext

func (c *Client) ProcessMediaByProcedureWithContext(ctx context.Context, request *ProcessMediaByProcedureRequest) (response *ProcessMediaByProcedureResponse, err error)

ProcessMediaByProcedure This API is used to initiate a processing task for a VOD video with a task flow template.

There are two ways to create a task flow template:

1. Create and modify a task flow template in the console;

2. Create a task flow template through the task flow template API.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId"
INVALIDPARAMETERVALUE_PROCEDURENAME = "InvalidParameterValue.ProcedureName"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
INVALIDPARAMETERVALUE_UNIQUEIDENTIFIER = "InvalidParameterValue.UniqueIdentifier"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ProcessMediaByUrl

func (c *Client) ProcessMediaByUrl(request *ProcessMediaByUrlRequest) (response *ProcessMediaByUrlResponse, err error)

ProcessMediaByUrl This API is <font color='red'>disused</font>, please use [ProcessMedia](https://intl.cloud.tencent.com/document/product/862/37578?from_cn_redirect=1) API of MPS, with the input parameter `InputInfo.UrlInputInfo.Url` set to a video URL.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate"
INTERNALERROR = "InternalError"
INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition"
INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition"
INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ProcessMediaByUrlWithContext

func (c *Client) ProcessMediaByUrlWithContext(ctx context.Context, request *ProcessMediaByUrlRequest) (response *ProcessMediaByUrlResponse, err error)

ProcessMediaByUrl This API is <font color='red'>disused</font>, please use [ProcessMedia](https://intl.cloud.tencent.com/document/product/862/37578?from_cn_redirect=1) API of MPS, with the input parameter `InputInfo.UrlInputInfo.Url` set to a video URL.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate"
INTERNALERROR = "InternalError"
INTERNALERROR_GETFILEINFOERROR = "InternalError.GetFileInfoError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition"
INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition"
INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ProcessMediaWithContext

func (c *Client) ProcessMediaWithContext(ctx context.Context, request *ProcessMediaRequest) (response *ProcessMediaResponse, err error)

ProcessMedia This API is used to initiate a media processing task on a VOD file. The task may include:

1. Video transcoding (with watermark)

2. Animated image generating

3. Time point screenshot

4. Sampled screenshot

5. Image sprite generating

6. Taking a screenshot to use as the thumbnail

7. Adaptive bitrate streaming and encryption

8. Intelligent recognition of pornographic, terrorism, and politically sensitive content

9. Intelligent content analysis for labeling, categorization, thumbnail generation, or frame-specific labeling

10. Recognition of opening and closing credits, faces, full text, text keywords, full speech, speech keywords, and objects

If event notifications are used, the event type is [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_TASKDUPLICATE = "FailedOperation.TaskDuplicate"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_AIANALYSISTASKDEFINITION = "InvalidParameterValue.AiAnalysisTaskDefinition"
INVALIDPARAMETERVALUE_AICONTENTREVIEWTASKDEFINITION = "InvalidParameterValue.AiContentReviewTaskDefinition"
INVALIDPARAMETERVALUE_AIRECOGNITIONTASKDEFINITION = "InvalidParameterValue.AiRecognitionTaskDefinition"
INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PullEvents

func (c *Client) PullEvents(request *PullEventsRequest) (response *PullEventsResponse, err error)

PullEvents * This API is used to get event notifications from the business server through [reliable callback](https://intl.cloud.tencent.com/document/product/266/33948).

* The API gets event data through long polling. That is, if there is any unconsumed event on the server, the event notification will be returned to the requester immediately. If there is no unconsumed event on the server, the request will be suspended in the backend until a new event is generated.

* The request can be suspended for up to 5 seconds. It’s recommended to set the request timeout period to 10 seconds.

* Event notifications not pulled will be retained for up to 4 days and may be cleared after this period.

* After the API returns an event, the caller must call the [ConfirmEvents](https://intl.cloud.tencent.com/document/product/266/34184) API within <font color="red">30 seconds</font> to confirm that the event notification has been processed. Otherwise, the event notification will be pulled again after <font color="red">30 seconds</font>.

* This API can get up to 16 event notifications at a time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PullEventsWithContext

func (c *Client) PullEventsWithContext(ctx context.Context, request *PullEventsRequest) (response *PullEventsResponse, err error)

PullEvents * This API is used to get event notifications from the business server through [reliable callback](https://intl.cloud.tencent.com/document/product/266/33948).

* The API gets event data through long polling. That is, if there is any unconsumed event on the server, the event notification will be returned to the requester immediately. If there is no unconsumed event on the server, the request will be suspended in the backend until a new event is generated.

* The request can be suspended for up to 5 seconds. It’s recommended to set the request timeout period to 10 seconds.

* Event notifications not pulled will be retained for up to 4 days and may be cleared after this period.

* After the API returns an event, the caller must call the [ConfirmEvents](https://intl.cloud.tencent.com/document/product/266/34184) API within <font color="red">30 seconds</font> to confirm that the event notification has been processed. Otherwise, the event notification will be pulled again after <font color="red">30 seconds</font>.

* This API can get up to 16 event notifications at a time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PullUpload

func (c *Client) PullUpload(request *PullUploadRequest) (response *PullUploadResponse, err error)

PullUpload This API is used to pull a video on the internet to the VOD platform.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COVERTYPE = "FailedOperation.CoverType"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_MEDIATYPE = "FailedOperation.MediaType"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime"
INVALIDPARAMETER_STORAGEREGION = "InvalidParameter.StorageRegion"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_COVERURL = "InvalidParameterValue.CoverUrl"
INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"
INVALIDPARAMETERVALUE_MEDIAURL = "InvalidParameterValue.MediaUrl"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion"
RESOURCENOTFOUND_COVERURL = "ResourceNotFound.CoverUrl"
RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PullUploadWithContext

func (c *Client) PullUploadWithContext(ctx context.Context, request *PullUploadRequest) (response *PullUploadResponse, err error)

PullUpload This API is used to pull a video on the internet to the VOD platform.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COVERTYPE = "FailedOperation.CoverType"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_MEDIATYPE = "FailedOperation.MediaType"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_EXPIRETIME = "InvalidParameter.ExpireTime"
INVALIDPARAMETER_STORAGEREGION = "InvalidParameter.StorageRegion"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_COVERURL = "InvalidParameterValue.CoverUrl"
INVALIDPARAMETERVALUE_EXPIRETIME = "InvalidParameterValue.ExpireTime"
INVALIDPARAMETERVALUE_MEDIAURL = "InvalidParameterValue.MediaUrl"
INVALIDPARAMETERVALUE_SESSIONCONTEXTTOOLONG = "InvalidParameterValue.SessionContextTooLong"
INVALIDPARAMETERVALUE_SESSIONID = "InvalidParameterValue.SessionId"
INVALIDPARAMETERVALUE_SESSIONIDTOOLONG = "InvalidParameterValue.SessionIdTooLong"
INVALIDPARAMETERVALUE_STORAGEREGION = "InvalidParameterValue.StorageRegion"
RESOURCENOTFOUND_COVERURL = "ResourceNotFound.CoverUrl"
RESOURCENOTFOUND_USERNOTEXIST = "ResourceNotFound.UserNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PushUrlCache

func (c *Client) PushUrlCache(request *PushUrlCacheRequest) (response *PushUrlCacheResponse, err error)

PushUrlCache 1. This API is used to prefetch a list of specified URLs.

2. The URL domain names must have already been registered with VOD.

3. Up to 20 URLs can be specified in one request.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PushUrlCacheWithContext

func (c *Client) PushUrlCacheWithContext(ctx context.Context, request *PushUrlCacheRequest) (response *PushUrlCacheResponse, err error)

PushUrlCache 1. This API is used to prefetch a list of specified URLs.

2. The URL domain names must have already been registered with VOD.

3. Up to 20 URLs can be specified in one request.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ResetProcedureTemplate

func (c *Client) ResetProcedureTemplate(request *ResetProcedureTemplateRequest) (response *ResetProcedureTemplateResponse, err error)

ResetProcedureTemplate This API is used to reset a custom task flow template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROCEDURENAMENOTEXIST = "InvalidParameter.ProcedureNameNotExist"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ResetProcedureTemplateWithContext

func (c *Client) ResetProcedureTemplateWithContext(ctx context.Context, request *ResetProcedureTemplateRequest) (response *ResetProcedureTemplateResponse, err error)

ResetProcedureTemplate This API is used to reset a custom task flow template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROCEDURENAMENOTEXIST = "InvalidParameter.ProcedureNameNotExist"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SearchMedia

func (c *Client) SearchMedia(request *SearchMediaRequest) (response *SearchMediaResponse, err error)

SearchMedia This API is used to search for media information and supports filtering and sorting the returned results in many ways. You can:

- Specify the file ID set `FileIds` to return the media files with any ID in the set.

- Fuzzily search by multiple media filenames `Names` or multiple descriptions `Descriptions`.

- Search by multiple filename prefixes `NamePrefixes`.

- Specify the category set `ClassIds` (please see the input parameters) to return the media files in any category in the set. For example, assuming that there are categories of `Movies`, `TV Series`, and `Variety Shows`, and there are subcategories of `History`, `Action`, and `Romance` in the category of `Movies`, if `Movies` and `TV Series` are specified in `ClassIds`, then all the subcategories under `Movies` and `TV Series` will be returned. However, if `History` and `Action` are specified in `ClassIds`, only the media files in these two subcategories will be returned.

- Specify the tag set `Tags` (please see the input parameters) to return the media files with any tag in the set. For example, assuming that there are tags of `ACG`, `Drama`, and `YTPMV`, if `ACG` and `YTPMV` are specified in `Tags`, then any media files with either tag will be retrieved.

- Specify the file type set `Categories` (please see the input parameters) to return the media files of any type in the set. For example, assuming that there are `Video`, `Audio`, and `Image` file types, if `Video` and `Audio` are specified in `Categories`, then all media files of these two types will be retrieved.

- Specify the source set `SourceTypes` (please see the input parameters) to return the media files from any source in the set. For example, assuming that there are `Record` (live recording) and `Upload` (upload) sources, if `Record` and `Upload` are specified in `SourceTypes`, then all media files from these two sources will be retrieved.

- Specify the live stream code set `StreamIds` (please see the input parameters) to filter live recording media files.

- Specify the video ID set `Vids` (please see the input parameters) to filter live recording media files.

- Specify the creation time range to filter media files.

- Specify a text string `Text` for fuzzy search by media filenames or descriptions. (This is not recommended. `Names`, `NamePrefixes`, or `Descriptions` should be used instead.)

- Specify a media file source `SourceType` for search. (This is not recommended. `SourceTypes` should be used instead.)

- Specify a live stream code `StreamId` for search. (This is not recommended. `StreamIds` should be used instead.)

- Specify a video ID `Vid` for search. (This is not recommended. `Vids` should be used instead.)

- Specify a creation start time `StartTime` for search. (This is not recommended. `CreateTime` should be used instead.)

- Specify a creation end time `EndTime` for search. (This is not recommended. `CreateTime` should be used instead.)

- Search by any combination of the parameters above. For example, you can search for the media files with the tags of "Drama" and "Suspense" in the category of "Movies" or "TV Series" created between 12:00:00, December 1, 2018 and 12:00:00, December 8, 2018. Please note that for any parameter that supports array input, the search logic between its elements is "OR", and the logical relationship between parameters is "AND".

- Sort the results by creation time and return them in multiple pages by specifying `Offset` and `Limit` (please see the input parameters).

- Specify `Filters` to return specified types of media information (all types will be returned by default). Valid values:

  1. Basic information `basicInfo`: media name, category, playback address, cover image, etc.

  2. Metadata `metaData`: size, duration, video stream information, audio stream information, etc.

  3. Information of the transcoding result `transcodeInfo`: addresses, video stream parameters, and audio stream parameters of various specifications generated by the file transcoding.

  4. Information of the animated image generating result `animatedGraphicsInfo`: information of an animated image (such as .gif) generated from a video.

  5. Information of a sampled screenshot `sampleSnapshotInfo`: information of a sampled screenshot of a video.

  6. Information of an image sprite `imageSpriteInfo`: information of an image sprite generated from a video.

  7. Information of a point-in-time screenshot `snapshotByTimeOffsetInfo`: information of a point-in-time screenshot of a video.

  8. Information of a timestamp `keyFrameDescInfo`: information of a timestamp configured for a video.

  9. Information of transcoding to adaptive bitrate streaming `adaptiveDynamicStreamingInfo`: specification, encryption type, muxing format, etc.

<div id="maxResultsDesc">Upper limit of returned results:</div>

- The <b><a href="#p_offset">Offset</a> and <a href="#p_limit">Limit</a> parameters determine the number of search results on one single page. Note: if both of them use the default value, this API will return up to 10 results.</b>

- <b>Up to 5,000 search results can be returned, and excessive ones will not be displayed. If there are too many search results, you are recommended to use more filters to narrow down the search results.</b>

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError"
INVALIDPARAMETERVALUE_CATEGORIES = "InvalidParameterValue.Categories"
INVALIDPARAMETERVALUE_CLASSIDS = "InvalidParameterValue.ClassIds"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds"
INVALIDPARAMETERVALUE_NAMEPREFIXES = "InvalidParameterValue.NamePrefixes"
INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names"
INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"
INVALIDPARAMETERVALUE_SORT = "InvalidParameterValue.Sort"
INVALIDPARAMETERVALUE_SOURCETYPE = "InvalidParameterValue.SourceType"
INVALIDPARAMETERVALUE_SOURCETYPES = "InvalidParameterValue.SourceTypes"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
INVALIDPARAMETERVALUE_STORAGEREGIONS = "InvalidParameterValue.StorageRegions"
INVALIDPARAMETERVALUE_STREAMIDS = "InvalidParameterValue.StreamIds"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
INVALIDPARAMETERVALUE_TAGS = "InvalidParameterValue.Tags"
INVALIDPARAMETERVALUE_TEXT = "InvalidParameterValue.Text"
INVALIDPARAMETERVALUE_TYPES = "InvalidParameterValue.Types"
INVALIDPARAMETERVALUE_VIDS = "InvalidParameterValue.Vids"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SearchMediaWithContext

func (c *Client) SearchMediaWithContext(ctx context.Context, request *SearchMediaRequest) (response *SearchMediaResponse, err error)

SearchMedia This API is used to search for media information and supports filtering and sorting the returned results in many ways. You can:

- Specify the file ID set `FileIds` to return the media files with any ID in the set.

- Fuzzily search by multiple media filenames `Names` or multiple descriptions `Descriptions`.

- Search by multiple filename prefixes `NamePrefixes`.

- Specify the category set `ClassIds` (please see the input parameters) to return the media files in any category in the set. For example, assuming that there are categories of `Movies`, `TV Series`, and `Variety Shows`, and there are subcategories of `History`, `Action`, and `Romance` in the category of `Movies`, if `Movies` and `TV Series` are specified in `ClassIds`, then all the subcategories under `Movies` and `TV Series` will be returned. However, if `History` and `Action` are specified in `ClassIds`, only the media files in these two subcategories will be returned.

- Specify the tag set `Tags` (please see the input parameters) to return the media files with any tag in the set. For example, assuming that there are tags of `ACG`, `Drama`, and `YTPMV`, if `ACG` and `YTPMV` are specified in `Tags`, then any media files with either tag will be retrieved.

- Specify the file type set `Categories` (please see the input parameters) to return the media files of any type in the set. For example, assuming that there are `Video`, `Audio`, and `Image` file types, if `Video` and `Audio` are specified in `Categories`, then all media files of these two types will be retrieved.

- Specify the source set `SourceTypes` (please see the input parameters) to return the media files from any source in the set. For example, assuming that there are `Record` (live recording) and `Upload` (upload) sources, if `Record` and `Upload` are specified in `SourceTypes`, then all media files from these two sources will be retrieved.

- Specify the live stream code set `StreamIds` (please see the input parameters) to filter live recording media files.

- Specify the video ID set `Vids` (please see the input parameters) to filter live recording media files.

- Specify the creation time range to filter media files.

- Specify a text string `Text` for fuzzy search by media filenames or descriptions. (This is not recommended. `Names`, `NamePrefixes`, or `Descriptions` should be used instead.)

- Specify a media file source `SourceType` for search. (This is not recommended. `SourceTypes` should be used instead.)

- Specify a live stream code `StreamId` for search. (This is not recommended. `StreamIds` should be used instead.)

- Specify a video ID `Vid` for search. (This is not recommended. `Vids` should be used instead.)

- Specify a creation start time `StartTime` for search. (This is not recommended. `CreateTime` should be used instead.)

- Specify a creation end time `EndTime` for search. (This is not recommended. `CreateTime` should be used instead.)

- Search by any combination of the parameters above. For example, you can search for the media files with the tags of "Drama" and "Suspense" in the category of "Movies" or "TV Series" created between 12:00:00, December 1, 2018 and 12:00:00, December 8, 2018. Please note that for any parameter that supports array input, the search logic between its elements is "OR", and the logical relationship between parameters is "AND".

- Sort the results by creation time and return them in multiple pages by specifying `Offset` and `Limit` (please see the input parameters).

- Specify `Filters` to return specified types of media information (all types will be returned by default). Valid values:

  1. Basic information `basicInfo`: media name, category, playback address, cover image, etc.

  2. Metadata `metaData`: size, duration, video stream information, audio stream information, etc.

  3. Information of the transcoding result `transcodeInfo`: addresses, video stream parameters, and audio stream parameters of various specifications generated by the file transcoding.

  4. Information of the animated image generating result `animatedGraphicsInfo`: information of an animated image (such as .gif) generated from a video.

  5. Information of a sampled screenshot `sampleSnapshotInfo`: information of a sampled screenshot of a video.

  6. Information of an image sprite `imageSpriteInfo`: information of an image sprite generated from a video.

  7. Information of a point-in-time screenshot `snapshotByTimeOffsetInfo`: information of a point-in-time screenshot of a video.

  8. Information of a timestamp `keyFrameDescInfo`: information of a timestamp configured for a video.

  9. Information of transcoding to adaptive bitrate streaming `adaptiveDynamicStreamingInfo`: specification, encryption type, muxing format, etc.

<div id="maxResultsDesc">Upper limit of returned results:</div>

- The <b><a href="#p_offset">Offset</a> and <a href="#p_limit">Limit</a> parameters determine the number of search results on one single page. Note: if both of them use the default value, this API will return up to 10 results.</b>

- <b>Up to 5,000 search results can be returned, and excessive ones will not be displayed. If there are too many search results, you are recommended to use more filters to narrow down the search results.</b>

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INTERNALERROR_GETMEDIALISTERROR = "InternalError.GetMediaListError"
INVALIDPARAMETERVALUE_CATEGORIES = "InvalidParameterValue.Categories"
INVALIDPARAMETERVALUE_CLASSIDS = "InvalidParameterValue.ClassIds"
INVALIDPARAMETERVALUE_ENDTIME = "InvalidParameterValue.EndTime"
INVALIDPARAMETERVALUE_FILEIDS = "InvalidParameterValue.FileIds"
INVALIDPARAMETERVALUE_NAMEPREFIXES = "InvalidParameterValue.NamePrefixes"
INVALIDPARAMETERVALUE_NAMES = "InvalidParameterValue.Names"
INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"
INVALIDPARAMETERVALUE_SORT = "InvalidParameterValue.Sort"
INVALIDPARAMETERVALUE_SOURCETYPE = "InvalidParameterValue.SourceType"
INVALIDPARAMETERVALUE_SOURCETYPES = "InvalidParameterValue.SourceTypes"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
INVALIDPARAMETERVALUE_STORAGEREGIONS = "InvalidParameterValue.StorageRegions"
INVALIDPARAMETERVALUE_STREAMIDS = "InvalidParameterValue.StreamIds"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
INVALIDPARAMETERVALUE_TAGS = "InvalidParameterValue.Tags"
INVALIDPARAMETERVALUE_TEXT = "InvalidParameterValue.Text"
INVALIDPARAMETERVALUE_TYPES = "InvalidParameterValue.Types"
INVALIDPARAMETERVALUE_VIDS = "InvalidParameterValue.Vids"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SimpleHlsClip

func (c *Client) SimpleHlsClip(request *SimpleHlsClipRequest) (response *SimpleHlsClipResponse, err error)

SimpleHlsClip This API is used to clip an HLS video by time period and then generate a new HLS video which developers can share right away or store persistently.

VOD supports two types of clipping:

- Clipping for persistent storage: the video clip is saved as an independent video file with a `FileId`.

- Clipping for temporary sharing: the video clip is affiliated to the input file and has no `FileId`.

Notes:

- Clipping is based on the input M3U8 file that contains the list of TS segments, so the smallest clipping unit is one TS segment instead of in seconds or less.

### Clipping for Persistent Storage

In this mode, a video clip is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the input video. Even if the source video is deleted, the video clip still exists. Moreover, the video clip can be transcoded, published on WeChat, and processed in other ways.

Take the video of a two-hour long football match for example. The customer may only want to store the original two-hour video for two months to save costs, but want to store clipped highlights for a specified longer time and also to transcode and publish such highlights on WeChat. Clipping for persistent storage is suitable for this customer.

The advantage of clipping for persistent storage is that the video clip has a lifecycle independent of the input video and can be managed independently and stored persistently.

### Clipping for Temporary Sharing

The video clip (an M3U8 file) shares the same TS segments with the input video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the input video. Once the input video is deleted, the video clip cannot be played back.

As the video clip is not an independent video, it will not be managed as a VOD media asset. For example, it will not be counted in the total videos displayed on the VOD console, and also cannot be transcoded or published on WeChat.

Clipping for temporary sharing is lightweight and incurs no additional storage fees. However, the video clip has the same lifecycle as the source recording video and cannot be transcoded or processed in other ways.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ENDTIMEOFFSET = "InvalidParameterValue.EndTimeOffset"
INVALIDPARAMETERVALUE_STARTTIMEOFFSET = "InvalidParameterValue.StartTimeOffset"
INVALIDPARAMETERVALUE_URL = "InvalidParameterValue.Url"
RESOURCEUNAVAILABLE_MASTERPLAYLIST = "ResourceUnavailable.MasterPlaylist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SimpleHlsClipWithContext

func (c *Client) SimpleHlsClipWithContext(ctx context.Context, request *SimpleHlsClipRequest) (response *SimpleHlsClipResponse, err error)

SimpleHlsClip This API is used to clip an HLS video by time period and then generate a new HLS video which developers can share right away or store persistently.

VOD supports two types of clipping:

- Clipping for persistent storage: the video clip is saved as an independent video file with a `FileId`.

- Clipping for temporary sharing: the video clip is affiliated to the input file and has no `FileId`.

Notes:

- Clipping is based on the input M3U8 file that contains the list of TS segments, so the smallest clipping unit is one TS segment instead of in seconds or less.

### Clipping for Persistent Storage

In this mode, a video clip is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the input video. Even if the source video is deleted, the video clip still exists. Moreover, the video clip can be transcoded, published on WeChat, and processed in other ways.

Take the video of a two-hour long football match for example. The customer may only want to store the original two-hour video for two months to save costs, but want to store clipped highlights for a specified longer time and also to transcode and publish such highlights on WeChat. Clipping for persistent storage is suitable for this customer.

The advantage of clipping for persistent storage is that the video clip has a lifecycle independent of the input video and can be managed independently and stored persistently.

### Clipping for Temporary Sharing

The video clip (an M3U8 file) shares the same TS segments with the input video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the input video. Once the input video is deleted, the video clip cannot be played back.

As the video clip is not an independent video, it will not be managed as a VOD media asset. For example, it will not be counted in the total videos displayed on the VOD console, and also cannot be transcoded or published on WeChat.

Clipping for temporary sharing is lightweight and incurs no additional storage fees. However, the video clip has the same lifecycle as the source recording video and cannot be transcoded or processed in other ways.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ENDTIMEOFFSET = "InvalidParameterValue.EndTimeOffset"
INVALIDPARAMETERVALUE_STARTTIMEOFFSET = "InvalidParameterValue.StartTimeOffset"
INVALIDPARAMETERVALUE_URL = "InvalidParameterValue.Url"
RESOURCEUNAVAILABLE_MASTERPLAYLIST = "ResourceUnavailable.MasterPlaylist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) WeChatMiniProgramPublish

func (c *Client) WeChatMiniProgramPublish(request *WeChatMiniProgramPublishRequest) (response *WeChatMiniProgramPublishResponse, err error)

WeChatMiniProgramPublish This API is used to publish a VOD video on WeChat Mini Program for playback in the WeChat Mini Program player.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_NOPRIVILEGES = "FailedOperation.NoPrivileges"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId"
INVALIDPARAMETERVALUE_FILETYPE = "InvalidParameterValue.FileType"
INVALIDPARAMETERVALUE_SOURCEDEFINITION = "InvalidParameterValue.SourceDefinition"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) WeChatMiniProgramPublishWithContext

func (c *Client) WeChatMiniProgramPublishWithContext(ctx context.Context, request *WeChatMiniProgramPublishRequest) (response *WeChatMiniProgramPublishResponse, err error)

WeChatMiniProgramPublish This API is used to publish a VOD video on WeChat Mini Program for playback in the WeChat Mini Program player.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INVALIDVODUSER = "FailedOperation.InvalidVodUser"
FAILEDOPERATION_NOPRIVILEGES = "FailedOperation.NoPrivileges"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FILEID = "InvalidParameterValue.FileId"
INVALIDPARAMETERVALUE_FILETYPE = "InvalidParameterValue.FileType"
INVALIDPARAMETERVALUE_SOURCEDEFINITION = "InvalidParameterValue.SourceDefinition"
INVALIDPARAMETERVALUE_SUBAPPID = "InvalidParameterValue.SubAppId"
RESOURCENOTFOUND_FILENOTEXIST = "ResourceNotFound.FileNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

type ClipFileInfo2017

type ClipFileInfo2017 struct {

	// Error code
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Output target file ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Output target file address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// Output target file type.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileType *string `json:"FileType,omitempty" name:"FileType"`
}

type ClipTask2017

type ClipTask2017 struct {

	// Video clipping task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// ID of source file for video clipping task.
	SrcFileId *string `json:"SrcFileId,omitempty" name:"SrcFileId"`

	// Information of file output by video clipping.
	FileInfo *ClipFileInfo2017 `json:"FileInfo,omitempty" name:"FileInfo"`
}

type CommitUploadRequest

type CommitUploadRequest struct {
	*tchttp.BaseRequest

	// VOD session, which takes the returned value (VodSessionKey) of the `ApplyUpload` API.
	VodSessionKey *string `json:"VodSessionKey,omitempty" name:"VodSessionKey"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCommitUploadRequest

func NewCommitUploadRequest() (request *CommitUploadRequest)

func (*CommitUploadRequest) FromJsonString

func (r *CommitUploadRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CommitUploadRequest) ToJsonString

func (r *CommitUploadRequest) ToJsonString() string

type CommitUploadResponse

type CommitUploadResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of media file.
		FileId *string `json:"FileId,omitempty" name:"FileId"`

		// Media playback address.
		// Note: this field may return null, indicating that no valid values can be obtained.
		MediaUrl *string `json:"MediaUrl,omitempty" name:"MediaUrl"`

		// Media cover address.
		// Note: this field may return null, indicating that no valid values can be obtained.
		CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCommitUploadResponse

func NewCommitUploadResponse() (response *CommitUploadResponse)

func (*CommitUploadResponse) FromJsonString

func (r *CommitUploadResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CommitUploadResponse) ToJsonString

func (r *CommitUploadResponse) ToJsonString() string

type ComposeMediaOutput

type ComposeMediaOutput struct {

	// Filename of up to 64 characters.
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// Description, which can contain up to 128 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.
	// <li>Default value: 0, which means "Other".</li>
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Expiration time of output media file in ISO 8601 format, after which the file will be deleted. Files will never expire by default. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Container. Valid values: mp4, mp3. mp3 is for audio files.
	Container *string `json:"Container,omitempty" name:"Container"`

	// Information of output video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VideoStream *OutputVideoStream `json:"VideoStream,omitempty" name:"VideoStream"`

	// Information of output audio.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioStream *OutputAudioStream `json:"AudioStream,omitempty" name:"AudioStream"`

	// Whether to remove video data. Valid values:
	// <li>0: retain</li>
	// <li>1: remove</li>
	// Default value: 0.
	RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`

	// Whether to remove audio data. Valid values:
	// <li>0: retain</li>
	// <li>1: remove</li>
	// Default value: 0.
	RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`
}

type ComposeMediaRequest

type ComposeMediaRequest struct {
	*tchttp.BaseRequest

	// List of input media tracks, including video, audio, and image tracks. <li>Input tracks are synced to the output media file.</li><li>Input tracks are synced to each other. Videos and images in higher tracks are superimposed over those in lower tracks. Audio tracks are mixed.</li><li>There can be up to 10 tracks for video, audio, and images each.</li><li>The total number of clips in all tracks cannot exceed 500.</li>
	Tracks []*MediaTrack `json:"Tracks,omitempty" name:"Tracks"`

	// Information of output media file.
	Output *ComposeMediaOutput `json:"Output,omitempty" name:"Output"`

	// Canvas used for composing video file.
	Canvas *Canvas `json:"Canvas,omitempty" name:"Canvas"`

	// Used to pass through user request information. `ComposeMediaComplete` callback will return the value of this parameter. It contains up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewComposeMediaRequest

func NewComposeMediaRequest() (request *ComposeMediaRequest)

func (*ComposeMediaRequest) FromJsonString

func (r *ComposeMediaRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ComposeMediaRequest) ToJsonString

func (r *ComposeMediaRequest) ToJsonString() string

type ComposeMediaResponse

type ComposeMediaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Media file composing task ID, which can be used to query the status of composing task (with task type being `MakeMedia`).
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewComposeMediaResponse

func NewComposeMediaResponse() (response *ComposeMediaResponse)

func (*ComposeMediaResponse) FromJsonString

func (r *ComposeMediaResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ComposeMediaResponse) ToJsonString

func (r *ComposeMediaResponse) ToJsonString() string

type ComposeMediaTask

type ComposeMediaTask struct {

	// Task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Task flow status. Valid values:
	// <li>PROCESSING: processing;</li>
	// <li>FINISH: completed.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Progress of a media file composing task. Value range: [0, 100]
	Progress *int64 `json:"Progress,omitempty" name:"Progress"`

	// Input of media file composing task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Input *ComposeMediaTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of media file composing task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *ComposeMediaTaskOutput `json:"Output,omitempty" name:"Output"`

	// Metadata of a source video.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

	// ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is not carried or is left empty, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this parameter. It can contain up to 1000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`
}

type ComposeMediaTaskInput

type ComposeMediaTaskInput struct {

	// List of input media tracks, i.e., information of multiple tracks composed of video, audio, image, and other materials.
	Tracks []*MediaTrack `json:"Tracks,omitempty" name:"Tracks"`

	// Canvas used for composing video file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Canvas *Canvas `json:"Canvas,omitempty" name:"Canvas"`

	// Information of output media file.
	Output *ComposeMediaOutput `json:"Output,omitempty" name:"Output"`
}

type ComposeMediaTaskOutput

type ComposeMediaTaskOutput struct {

	// File type, such as mp4 and mp3.
	FileType *string `json:"FileType,omitempty" name:"FileType"`

	// Media file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Media file playback address.
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// Filename of up to 64 characters.
	MediaName *string `json:"MediaName,omitempty" name:"MediaName"`

	// Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.
	// <li>Default value: 0, which means "Other".</li>
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Expiration time of output media file in ISO 8601 format, after which the file will be deleted. Files will never expire by default. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

type ConcatFileInfo2017

type ConcatFileInfo2017 struct {

	// Error code
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// ID of source file for video splicing.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Address of source file for video splicing.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// Format of source file for video splicing.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileType *string `json:"FileType,omitempty" name:"FileType"`
}

type ConcatTask2017

type ConcatTask2017 struct {

	// Video splicing task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Information of source file for video splicing.
	FileInfoSet []*ConcatFileInfo2017 `json:"FileInfoSet,omitempty" name:"FileInfoSet"`
}

type ConfirmEventsRequest

type ConfirmEventsRequest struct {
	*tchttp.BaseRequest

	// Event handler, i.e., the `EventSet. EventHandle` field in the output parameters of the [event notification pulling](https://intl.cloud.tencent.com/document/product/266/33433?from_cn_redirect=1) API.
	// Array length limit: 16.
	EventHandles []*string `json:"EventHandles,omitempty" name:"EventHandles"`

	// Reserved field for special purposes.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewConfirmEventsRequest

func NewConfirmEventsRequest() (request *ConfirmEventsRequest)

func (*ConfirmEventsRequest) FromJsonString

func (r *ConfirmEventsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ConfirmEventsRequest) ToJsonString

func (r *ConfirmEventsRequest) ToJsonString() string

type ConfirmEventsResponse

type ConfirmEventsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewConfirmEventsResponse

func NewConfirmEventsResponse() (response *ConfirmEventsResponse)

func (*ConfirmEventsResponse) FromJsonString

func (r *ConfirmEventsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ConfirmEventsResponse) ToJsonString

func (r *ConfirmEventsResponse) ToJsonString() string

type ContentReviewTemplateItem

type ContentReviewTemplateItem struct {

	// Unique ID of an intelligent recognition template
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Name of an intelligent recognition template. Max 64 characters
	Name *string `json:"Name,omitempty" name:"Name"`

	// Description of an intelligent recognition template. Max 256 characters
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Parameters for recognition of pornographic content
	// Note: This field may return `null`, indicating that no valid value can be found.
	PornConfigure *PornConfigureInfo `json:"PornConfigure,omitempty" name:"PornConfigure"`

	// Parameters for recognition of terrorism content
	// Note: This field may return `null`, indicating that no valid value can be found.
	TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"`

	// Parameters for recognition of politically sensitive content
	// Note: This field may return `null`, indicating that no valid value can be found.
	PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"`

	// Control parameter of prohibited information detection. Prohibited information includes:
	// <li>Abusive;</li>
	// <li>Drug-related.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"`

	// Custom recognition parameters
	// Note: This field may return `null`, indicating that no valid value can be found.
	UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"`

	// Whether to subject the recognition result to human review
	// <li>ON</li>
	// <li>OFF</li>
	ReviewWallSwitch *string `json:"ReviewWallSwitch,omitempty" name:"ReviewWallSwitch"`

	// Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds.
	ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type CoverBySnapshotTaskInput

type CoverBySnapshotTaskInput struct {

	// Time point screencapturing template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Screencapturing mode. Valid values:
	// <li>Time: screencaptures by time point</li>
	// <li>Percent: screencaptures by percentage</li>
	PositionType *string `json:"PositionType,omitempty" name:"PositionType"`

	// Screenshot position:
	// <li>For time point screencapturing, this means to take a screenshot at a specified time point (in seconds) and use it as the cover</li>
	// <li>For percentage screencapturing, this value means to take a screenshot at a specified percentage of the video duration and use it as the cover</li>
	PositionValue *float64 `json:"PositionValue,omitempty" name:"PositionValue"`

	// List of up to 10 image or text watermarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"`
}

type CoverBySnapshotTaskOutput

type CoverBySnapshotTaskOutput struct {

	// Cover URL.
	CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"`
}

type CoverConfigureInfo

type CoverConfigureInfo struct {

	// Switch of intelligent cover generating task. Valid values:
	// <li>ON: enables intelligent cover generating task;</li>
	// <li>OFF: disables intelligent cover generating task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type CoverConfigureInfoForUpdate

type CoverConfigureInfoForUpdate struct {

	// Switch of intelligent cover generating task. Valid values:
	// <li>ON: enables intelligent cover generating task;</li>
	// <li>OFF: disables intelligent cover generating task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type CreateAIAnalysisTemplateRequest

type CreateAIAnalysisTemplateRequest struct {
	*tchttp.BaseRequest

	// Video content analysis template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Video content analysis template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Control parameter of intelligent categorization task.
	ClassificationConfigure *ClassificationConfigureInfo `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"`

	// Control parameter of intelligent tagging task.
	TagConfigure *TagConfigureInfo `json:"TagConfigure,omitempty" name:"TagConfigure"`

	// Control parameter of intelligent cover generating task.
	CoverConfigure *CoverConfigureInfo `json:"CoverConfigure,omitempty" name:"CoverConfigure"`

	// Control parameter of intelligent frame-specific tagging task.
	FrameTagConfigure *FrameTagConfigureInfo `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"`

	// Control parameter of an intelligent highlight generating task.
	HighlightConfigure *HighlightsConfigureInfo `json:"HighlightConfigure,omitempty" name:"HighlightConfigure"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateAIAnalysisTemplateRequest

func NewCreateAIAnalysisTemplateRequest() (request *CreateAIAnalysisTemplateRequest)

func (*CreateAIAnalysisTemplateRequest) FromJsonString

func (r *CreateAIAnalysisTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAIAnalysisTemplateRequest) ToJsonString

func (r *CreateAIAnalysisTemplateRequest) ToJsonString() string

type CreateAIAnalysisTemplateResponse

type CreateAIAnalysisTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of video content analysis template.
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAIAnalysisTemplateResponse

func NewCreateAIAnalysisTemplateResponse() (response *CreateAIAnalysisTemplateResponse)

func (*CreateAIAnalysisTemplateResponse) FromJsonString

func (r *CreateAIAnalysisTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAIAnalysisTemplateResponse) ToJsonString

func (r *CreateAIAnalysisTemplateResponse) ToJsonString() string

type CreateAIRecognitionTemplateRequest

type CreateAIRecognitionTemplateRequest struct {
	*tchttp.BaseRequest

	// Video content recognition template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Description of video content recognition template. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Control parameter of video opening and ending credits recognition.
	HeadTailConfigure *HeadTailConfigureInfo `json:"HeadTailConfigure,omitempty" name:"HeadTailConfigure"`

	// Control parameter of video splitting recognition.
	SegmentConfigure *SegmentConfigureInfo `json:"SegmentConfigure,omitempty" name:"SegmentConfigure"`

	// Control parameter of face recognition.
	FaceConfigure *FaceConfigureInfo `json:"FaceConfigure,omitempty" name:"FaceConfigure"`

	// Control parameter of full text recognition.
	OcrFullTextConfigure *OcrFullTextConfigureInfo `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"`

	// Control parameter of text keyword recognition.
	OcrWordsConfigure *OcrWordsConfigureInfo `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"`

	// Control parameter of full speech recognition.
	AsrFullTextConfigure *AsrFullTextConfigureInfo `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"`

	// Control parameter of speech keyword recognition.
	AsrWordsConfigure *AsrWordsConfigureInfo `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"`

	// Control parameter of object recognition.
	ObjectConfigure *ObjectConfigureInfo `json:"ObjectConfigure,omitempty" name:"ObjectConfigure"`

	// Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds.
	ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateAIRecognitionTemplateRequest

func NewCreateAIRecognitionTemplateRequest() (request *CreateAIRecognitionTemplateRequest)

func (*CreateAIRecognitionTemplateRequest) FromJsonString

func (r *CreateAIRecognitionTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAIRecognitionTemplateRequest) ToJsonString

func (r *CreateAIRecognitionTemplateRequest) ToJsonString() string

type CreateAIRecognitionTemplateResponse

type CreateAIRecognitionTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of video content recognition template.
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAIRecognitionTemplateResponse

func NewCreateAIRecognitionTemplateResponse() (response *CreateAIRecognitionTemplateResponse)

func (*CreateAIRecognitionTemplateResponse) FromJsonString

func (r *CreateAIRecognitionTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAIRecognitionTemplateResponse) ToJsonString

func (r *CreateAIRecognitionTemplateResponse) ToJsonString() string

type CreateAdaptiveDynamicStreamingTemplateRequest

type CreateAdaptiveDynamicStreamingTemplateRequest struct {
	*tchttp.BaseRequest

	// Adaptive bitstream format. Valid values:
	// <li>HLS.</li>
	Format *string `json:"Format,omitempty" name:"Format"`

	// Parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output.
	// Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
	StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos"`

	// Template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// DRM scheme type. Valid values:
	// <li>SimpleAES.</li>
	// If this field is an empty string, DRM will not be performed on the video.
	DrmType *string `json:"DrmType,omitempty" name:"DrmType"`

	// Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
	// <li>0: no,</li>
	// <li>1: yes.</li>
	// Default value: no.
	DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"`

	// Whether to prohibit transcoding from low resolution to high resolution. Valid values:
	// <li>0: no,</li>
	// <li>1: yes.</li>
	// Default value: no.
	DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateAdaptiveDynamicStreamingTemplateRequest

func NewCreateAdaptiveDynamicStreamingTemplateRequest() (request *CreateAdaptiveDynamicStreamingTemplateRequest)

func (*CreateAdaptiveDynamicStreamingTemplateRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAdaptiveDynamicStreamingTemplateRequest) ToJsonString

type CreateAdaptiveDynamicStreamingTemplateResponse

type CreateAdaptiveDynamicStreamingTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of adaptive bitrate streaming template.
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAdaptiveDynamicStreamingTemplateResponse

func NewCreateAdaptiveDynamicStreamingTemplateResponse() (response *CreateAdaptiveDynamicStreamingTemplateResponse)

func (*CreateAdaptiveDynamicStreamingTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAdaptiveDynamicStreamingTemplateResponse) ToJsonString

type CreateAnimatedGraphicsTemplateRequest

type CreateAnimatedGraphicsTemplateRequest struct {
	*tchttp.BaseRequest

	// Video frame rate in Hz. Value range: [1, 30].
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Animated image format. Valid values: gif; webp. Default value: gif.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Image quality. Value range: [1, 100]. Default value: 75.
	Quality *float64 `json:"Quality,omitempty" name:"Quality"`

	// Name of an animated image generating template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateAnimatedGraphicsTemplateRequest

func NewCreateAnimatedGraphicsTemplateRequest() (request *CreateAnimatedGraphicsTemplateRequest)

func (*CreateAnimatedGraphicsTemplateRequest) FromJsonString

func (r *CreateAnimatedGraphicsTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAnimatedGraphicsTemplateRequest) ToJsonString

type CreateAnimatedGraphicsTemplateResponse

type CreateAnimatedGraphicsTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of an animated image generating template.
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAnimatedGraphicsTemplateResponse

func NewCreateAnimatedGraphicsTemplateResponse() (response *CreateAnimatedGraphicsTemplateResponse)

func (*CreateAnimatedGraphicsTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAnimatedGraphicsTemplateResponse) ToJsonString

type CreateClassRequest

type CreateClassRequest struct {
	*tchttp.BaseRequest

	// Parent category ID. For a first-level category, enter `-1`.
	ParentId *int64 `json:"ParentId,omitempty" name:"ParentId"`

	// Category name. Length limit: 1-64 characters.
	ClassName *string `json:"ClassName,omitempty" name:"ClassName"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateClassRequest

func NewCreateClassRequest() (request *CreateClassRequest)

func (*CreateClassRequest) FromJsonString

func (r *CreateClassRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClassRequest) ToJsonString

func (r *CreateClassRequest) ToJsonString() string

type CreateClassResponse

type CreateClassResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Category ID
		ClassId *uint64 `json:"ClassId,omitempty" name:"ClassId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateClassResponse

func NewCreateClassResponse() (response *CreateClassResponse)

func (*CreateClassResponse) FromJsonString

func (r *CreateClassResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClassResponse) ToJsonString

func (r *CreateClassResponse) ToJsonString() string

type CreateContentReviewTemplateRequest

type CreateContentReviewTemplateRequest struct {
	*tchttp.BaseRequest

	// Whether to allow the recognition result to enter the intelligent recognition platform (for human recognition).
	// <li>ON: yes</li>
	// <li>OFF: no</li>
	ReviewWallSwitch *string `json:"ReviewWallSwitch,omitempty" name:"ReviewWallSwitch"`

	// Name of an intelligent content recognition template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Description of an intelligent content recognition template. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Control parameter for porn information.
	PornConfigure *PornConfigureInfo `json:"PornConfigure,omitempty" name:"PornConfigure"`

	// Control parameter for terrorism information.
	TerrorismConfigure *TerrorismConfigureInfo `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"`

	// Control parameter for politically sensitive information.
	PoliticalConfigure *PoliticalConfigureInfo `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"`

	// Control parameter of prohibited information detection. Prohibited information includes:
	// <li>Abusive;</li>
	// <li>Drug-related.</li>
	ProhibitedConfigure *ProhibitedConfigureInfo `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"`

	// Control parameter for custom intelligent content recognition.
	UserDefineConfigure *UserDefineConfigureInfo `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"`

	// Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds.
	ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateContentReviewTemplateRequest

func NewCreateContentReviewTemplateRequest() (request *CreateContentReviewTemplateRequest)

func (*CreateContentReviewTemplateRequest) FromJsonString

func (r *CreateContentReviewTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateContentReviewTemplateRequest) ToJsonString

func (r *CreateContentReviewTemplateRequest) ToJsonString() string

type CreateContentReviewTemplateResponse

type CreateContentReviewTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of an intelligent recognition template.
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateContentReviewTemplateResponse

func NewCreateContentReviewTemplateResponse() (response *CreateContentReviewTemplateResponse)

func (*CreateContentReviewTemplateResponse) FromJsonString

func (r *CreateContentReviewTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateContentReviewTemplateResponse) ToJsonString

func (r *CreateContentReviewTemplateResponse) ToJsonString() string

type CreateImageSpriteTask2017

type CreateImageSpriteTask2017 struct {

	// Image sprite generating task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Error code
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// ID of generated image sprite file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Image sprite specification. For more information, please see [Image Sprite Generating Template](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E9.9B.AA.E7.A2.A7.E5.9B.BE.E6.A8.A1.E6.9D.BF).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Total number of subimages in image sprite.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Address of output image sprite.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageSpriteUrlSet []*string `json:"ImageSpriteUrlSet,omitempty" name:"ImageSpriteUrlSet"`

	// Address of WebVtt file for the position-time relationship among subimages in an image sprite.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WebVttUrl *string `json:"WebVttUrl,omitempty" name:"WebVttUrl"`
}

type CreateImageSpriteTemplateRequest

type CreateImageSpriteTemplateRequest struct {
	*tchttp.BaseRequest

	// Sampling type. Valid values:
	// <li>Percent: by percent.</li>
	// <li>Time: by time interval.</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// Sampling interval.
	// <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li>
	// <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li>
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// Subimage row count of an image sprite.
	RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"`

	// Subimage column count of an image sprite.
	ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"`

	// Name of an image sprite generating template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`

	// Maximum value of the width (or long side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateImageSpriteTemplateRequest

func NewCreateImageSpriteTemplateRequest() (request *CreateImageSpriteTemplateRequest)

func (*CreateImageSpriteTemplateRequest) FromJsonString

func (r *CreateImageSpriteTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateImageSpriteTemplateRequest) ToJsonString

func (r *CreateImageSpriteTemplateRequest) ToJsonString() string

type CreateImageSpriteTemplateResponse

type CreateImageSpriteTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of an image sprite generating template.
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateImageSpriteTemplateResponse

func NewCreateImageSpriteTemplateResponse() (response *CreateImageSpriteTemplateResponse)

func (*CreateImageSpriteTemplateResponse) FromJsonString

func (r *CreateImageSpriteTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateImageSpriteTemplateResponse) ToJsonString

func (r *CreateImageSpriteTemplateResponse) ToJsonString() string

type CreatePersonSampleRequest

type CreatePersonSampleRequest struct {
	*tchttp.BaseRequest

	// Name of a sample. Length limit: 20 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Usage of a sample. Valid values:
	// 1. Recognition: used for content recognition; equivalent to `Recognition.Face`
	// 2. Review: used for inappropriate information recognition; equivalent to `Review.Face`
	// 3. All: equivalent to 1+2.
	Usages []*string `json:"Usages,omitempty" name:"Usages"`

	// Description of a sample. Length limit: 1024 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// String generated after the sample image is encoded by [Base64](https://tools.ietf.org/html/rfc4648). Only JPEG and PNG images are supported. Array length limit: 5 images.
	// Note: the image must be a relatively clear full-face photo of a person and has a resolution of no less than 200 x 200.
	FaceContents []*string `json:"FaceContents,omitempty" name:"FaceContents"`

	// Tags of a sample
	// <li>Array length limit: 20 tags</li>
	// <li>Length limit of a tag: 128 characters</li>
	Tags []*string `json:"Tags,omitempty" name:"Tags"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreatePersonSampleRequest

func NewCreatePersonSampleRequest() (request *CreatePersonSampleRequest)

func (*CreatePersonSampleRequest) FromJsonString

func (r *CreatePersonSampleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePersonSampleRequest) ToJsonString

func (r *CreatePersonSampleRequest) ToJsonString() string

type CreatePersonSampleResponse

type CreatePersonSampleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Information of a sample.
		Person *AiSamplePerson `json:"Person,omitempty" name:"Person"`

		// Information of samples that failed the verification by facial feature positioning.
		FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitempty" name:"FailFaceInfoSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreatePersonSampleResponse

func NewCreatePersonSampleResponse() (response *CreatePersonSampleResponse)

func (*CreatePersonSampleResponse) FromJsonString

func (r *CreatePersonSampleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePersonSampleResponse) ToJsonString

func (r *CreatePersonSampleResponse) ToJsonString() string

type CreateProcedureTemplateRequest

type CreateProcedureTemplateRequest struct {
	*tchttp.BaseRequest

	// Task flow name (up to 20 characters).
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Parameter of video processing task.
	MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"`

	// Intelligent recognition task
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// Parameter of AI-based content analysis task.
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// Type parameter of AI-based content recognition task.
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateProcedureTemplateRequest

func NewCreateProcedureTemplateRequest() (request *CreateProcedureTemplateRequest)

func (*CreateProcedureTemplateRequest) FromJsonString

func (r *CreateProcedureTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProcedureTemplateRequest) ToJsonString

func (r *CreateProcedureTemplateRequest) ToJsonString() string

type CreateProcedureTemplateResponse

type CreateProcedureTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateProcedureTemplateResponse

func NewCreateProcedureTemplateResponse() (response *CreateProcedureTemplateResponse)

func (*CreateProcedureTemplateResponse) FromJsonString

func (r *CreateProcedureTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProcedureTemplateResponse) ToJsonString

func (r *CreateProcedureTemplateResponse) ToJsonString() string

type CreateSampleSnapshotTemplateRequest

type CreateSampleSnapshotTemplateRequest struct {
	*tchttp.BaseRequest

	// Sampled screencapturing type. Valid values:
	// <li>Percent: by percent.</li>
	// <li>Time: by time interval.</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// Sampling interval.
	// <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li>
	// <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li>
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// Name of a sampled screencapturing template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Image format. Valid values: jpg, png. Default value: jpg.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li>
	// <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

func NewCreateSampleSnapshotTemplateRequest

func NewCreateSampleSnapshotTemplateRequest() (request *CreateSampleSnapshotTemplateRequest)

func (*CreateSampleSnapshotTemplateRequest) FromJsonString

func (r *CreateSampleSnapshotTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSampleSnapshotTemplateRequest) ToJsonString

func (r *CreateSampleSnapshotTemplateRequest) ToJsonString() string

type CreateSampleSnapshotTemplateResponse

type CreateSampleSnapshotTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of a sampled screencapturing template.
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSampleSnapshotTemplateResponse

func NewCreateSampleSnapshotTemplateResponse() (response *CreateSampleSnapshotTemplateResponse)

func (*CreateSampleSnapshotTemplateResponse) FromJsonString

func (r *CreateSampleSnapshotTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSampleSnapshotTemplateResponse) ToJsonString

func (r *CreateSampleSnapshotTemplateResponse) ToJsonString() string

type CreateSnapshotByTimeOffsetTemplateRequest

type CreateSnapshotByTimeOffsetTemplateRequest struct {
	*tchttp.BaseRequest

	// Name of a time point screencapturing template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Image format. Valid values: jpg, png. Default value: jpg.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li>
	// <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

func NewCreateSnapshotByTimeOffsetTemplateRequest

func NewCreateSnapshotByTimeOffsetTemplateRequest() (request *CreateSnapshotByTimeOffsetTemplateRequest)

func (*CreateSnapshotByTimeOffsetTemplateRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSnapshotByTimeOffsetTemplateRequest) ToJsonString

type CreateSnapshotByTimeOffsetTemplateResponse

type CreateSnapshotByTimeOffsetTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of a time point screencapturing template.
		Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSnapshotByTimeOffsetTemplateResponse

func NewCreateSnapshotByTimeOffsetTemplateResponse() (response *CreateSnapshotByTimeOffsetTemplateResponse)

func (*CreateSnapshotByTimeOffsetTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSnapshotByTimeOffsetTemplateResponse) ToJsonString

type CreateSubAppIdRequest

type CreateSubAppIdRequest struct {
	*tchttp.BaseRequest

	// Subapplication name. Length limit: 40 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Subapplication overview. Length limit: 300 characters.
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewCreateSubAppIdRequest

func NewCreateSubAppIdRequest() (request *CreateSubAppIdRequest)

func (*CreateSubAppIdRequest) FromJsonString

func (r *CreateSubAppIdRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSubAppIdRequest) ToJsonString

func (r *CreateSubAppIdRequest) ToJsonString() string

type CreateSubAppIdResponse

type CreateSubAppIdResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// ID of created subapplication.
		SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSubAppIdResponse

func NewCreateSubAppIdResponse() (response *CreateSubAppIdResponse)

func (*CreateSubAppIdResponse) FromJsonString

func (r *CreateSubAppIdResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSubAppIdResponse) ToJsonString

func (r *CreateSubAppIdResponse) ToJsonString() string

type CreateSuperPlayerConfigRequest

type CreateSuperPlayerConfigRequest struct {
	*tchttp.BaseRequest

	// Player configuration name, which can contain up to 64 letters, digits, underscores, and hyphens (such as test_ABC-123) and must be unique under a user.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Type of audio/video played. Valid values:
	// <li>AdaptiveDynamicStreaming</li>
	// <li>Transcode</li>
	// <li>Original</li>
	// Default value: `AdaptiveDynamicStream`
	AudioVideoType *string `json:"AudioVideoType,omitempty" name:"AudioVideoType"`

	// Whether to allow only adaptive bitrate streaming playback protected by DRM. Valid values:
	// <li>`ON`: allow only adaptive bitrate streaming playback protected by DRM</li>
	// <li>`OFF`: allow adaptive bitrate streaming playback not protected by DRM</li>
	// Default value: `OFF`
	// This parameter is valid when `AudioVideoType` is `AdaptiveDynamicStream`.
	DrmSwitch *string `json:"DrmSwitch,omitempty" name:"DrmSwitch"`

	// ID of the adaptive bitrate streaming template allowed for playback not protected by DRM.
	//
	// This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `OFF`.
	AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"`

	// Content of the adaptive bitrate streaming template allowed for playback protected by DRM.
	//
	// This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `ON`.
	DrmStreamingsInfo *DrmStreamingsInfo `json:"DrmStreamingsInfo,omitempty" name:"DrmStreamingsInfo"`

	// ID of the transcoding template allowed for playback
	//
	// This parameter is required if `AudioVideoType` is `Transcode`.
	TranscodeDefinition *uint64 `json:"TranscodeDefinition,omitempty" name:"TranscodeDefinition"`

	// ID of the image sprite generating template that allows output.
	ImageSpriteDefinition *uint64 `json:"ImageSpriteDefinition,omitempty" name:"ImageSpriteDefinition"`

	// Display name of player for substreams with different resolutions. If this parameter is left empty or an empty array, the default configuration will be used:
	// <li>MinEdgeLength: 240, Name: LD;</li>
	// <li>MinEdgeLength: 480, Name: SD;</li>
	// <li>MinEdgeLength: 720, Name: HD;</li>
	// <li>MinEdgeLength: 1080, Name: FHD;</li>
	// <li>MinEdgeLength: 1440, Name: 2K;</li>
	// <li>MinEdgeLength: 2160, Name: 4K;</li>
	// <li>MinEdgeLength: 4320, Name: 8K.</li>
	ResolutionNames []*ResolutionNameInfo `json:"ResolutionNames,omitempty" name:"ResolutionNames"`

	// Domain name used for playback. If it is left empty or set to `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Scheme used for playback. If it is left empty or set to `Default`, the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Other valid values:
	// <li>HTTP;</li>
	// <li>HTTPS.</li>
	Scheme *string `json:"Scheme,omitempty" name:"Scheme"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateSuperPlayerConfigRequest

func NewCreateSuperPlayerConfigRequest() (request *CreateSuperPlayerConfigRequest)

func (*CreateSuperPlayerConfigRequest) FromJsonString

func (r *CreateSuperPlayerConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSuperPlayerConfigRequest) ToJsonString

func (r *CreateSuperPlayerConfigRequest) ToJsonString() string

type CreateSuperPlayerConfigResponse

type CreateSuperPlayerConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSuperPlayerConfigResponse

func NewCreateSuperPlayerConfigResponse() (response *CreateSuperPlayerConfigResponse)

func (*CreateSuperPlayerConfigResponse) FromJsonString

func (r *CreateSuperPlayerConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSuperPlayerConfigResponse) ToJsonString

func (r *CreateSuperPlayerConfigResponse) ToJsonString() string

type CreateTranscodeTemplateRequest

type CreateTranscodeTemplateRequest struct {
	*tchttp.BaseRequest

	// Container. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files.
	Container *string `json:"Container,omitempty" name:"Container"`

	// Transcoding template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Whether to remove video data. Valid values:
	// <li>0: retain</li>
	// <li>1: remove</li>
	// Default value: 0.
	RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`

	// Whether to remove audio data. Valid values:
	// <li>0: retain</li>
	// <li>1: remove</li>
	// Default value: 0.
	RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// Video stream configuration parameter. This field is required when `RemoveVideo` is 0.
	VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitempty" name:"VideoTemplate"`

	// Audio stream configuration parameter. This field is required when `RemoveAudio` is 0.
	AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitempty" name:"AudioTemplate"`

	// TESHD transcoding parameter.
	TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateTranscodeTemplateRequest

func NewCreateTranscodeTemplateRequest() (request *CreateTranscodeTemplateRequest)

func (*CreateTranscodeTemplateRequest) FromJsonString

func (r *CreateTranscodeTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTranscodeTemplateRequest) ToJsonString

func (r *CreateTranscodeTemplateRequest) ToJsonString() string

type CreateTranscodeTemplateResponse

type CreateTranscodeTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of transcoding template.
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTranscodeTemplateResponse

func NewCreateTranscodeTemplateResponse() (response *CreateTranscodeTemplateResponse)

func (*CreateTranscodeTemplateResponse) FromJsonString

func (r *CreateTranscodeTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTranscodeTemplateResponse) ToJsonString

func (r *CreateTranscodeTemplateResponse) ToJsonString() string

type CreateVodDomainRequest

type CreateVodDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name to add to VOD. Note: a wildcard domain name is not supported.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Region to enable acceleration. Valid values:
	// <li>`Chinese Mainland`</li>
	// <li>`Outside Chinese Mainland`</li>
	// <li>`Global`</li>
	// If `AccelerateArea` is not specified, VOD will enable acceleration in or outside Chinese mainland based on the regional information a user has configured with Tencent Cloud.
	AccelerateArea *string `json:"AccelerateArea,omitempty" name:"AccelerateArea"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateVodDomainRequest

func NewCreateVodDomainRequest() (request *CreateVodDomainRequest)

func (*CreateVodDomainRequest) FromJsonString

func (r *CreateVodDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateVodDomainRequest) ToJsonString

func (r *CreateVodDomainRequest) ToJsonString() string

type CreateVodDomainResponse

type CreateVodDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateVodDomainResponse

func NewCreateVodDomainResponse() (response *CreateVodDomainResponse)

func (*CreateVodDomainResponse) FromJsonString

func (r *CreateVodDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateVodDomainResponse) ToJsonString

func (r *CreateVodDomainResponse) ToJsonString() string

type CreateWatermarkTemplateRequest

type CreateWatermarkTemplateRequest struct {
	*tchttp.BaseRequest

	// Watermarking type. Valid values:
	// <li>image: image watermark;</li>
	// <li>text: text watermark;</li>
	// <li>svg: SVG watermark.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Watermarking template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Origin position. Valid values:
	// <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li>
	// <li>TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li>
	// <li>BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li>
	// <li>BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li>
	// Default value: TopLeft.
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
	// <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li>
	// <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li>
	// Default value: 0 px.
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
	// <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li>
	// <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li>
	// Default value: 0 px.
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// Image watermarking template. This field is required when `Type` is `image` and is invalid when `Type` is `text`.
	ImageTemplate *ImageWatermarkInput `json:"ImageTemplate,omitempty" name:"ImageTemplate"`

	// Text watermarking template. This field is required when `Type` is `text` and is invalid when `Type` is `image`.
	TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitempty" name:"TextTemplate"`

	// SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`.
	SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitempty" name:"SvgTemplate"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateWatermarkTemplateRequest

func NewCreateWatermarkTemplateRequest() (request *CreateWatermarkTemplateRequest)

func (*CreateWatermarkTemplateRequest) FromJsonString

func (r *CreateWatermarkTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWatermarkTemplateRequest) ToJsonString

func (r *CreateWatermarkTemplateRequest) ToJsonString() string

type CreateWatermarkTemplateResponse

type CreateWatermarkTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unique ID of watermarking template.
		Definition *int64 `json:"Definition,omitempty" name:"Definition"`

		// Watermark image address. This field is valid only when `Type` is `image`.
		ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateWatermarkTemplateResponse

func NewCreateWatermarkTemplateResponse() (response *CreateWatermarkTemplateResponse)

func (*CreateWatermarkTemplateResponse) FromJsonString

func (r *CreateWatermarkTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWatermarkTemplateResponse) ToJsonString

func (r *CreateWatermarkTemplateResponse) ToJsonString() string

type CreateWordSamplesRequest

type CreateWordSamplesRequest struct {
	*tchttp.BaseRequest

	// <b>Keyword usage. Valid values:</b>
	// 1. Recognition.Ocr: OCR-based content recognition
	// 2. Recognition.Asr: ASR-based content recognition
	// 3. Review.Ocr: OCR-based inappropriate information recognition
	// 4. Review.Asr: ASR-based inappropriate information recognition
	// <b>Valid values can also be:</b>
	// 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2
	// 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4
	// 7. All: ASR- and OCR-based content recognition and inappropriate information recognition; equivalent to 1+2+3+4
	Usages []*string `json:"Usages,omitempty" name:"Usages"`

	// Keyword. Array length limit: 100.
	Words []*AiSampleWordInfo `json:"Words,omitempty" name:"Words"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewCreateWordSamplesRequest

func NewCreateWordSamplesRequest() (request *CreateWordSamplesRequest)

func (*CreateWordSamplesRequest) FromJsonString

func (r *CreateWordSamplesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWordSamplesRequest) ToJsonString

func (r *CreateWordSamplesRequest) ToJsonString() string

type CreateWordSamplesResponse

type CreateWordSamplesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateWordSamplesResponse

func NewCreateWordSamplesResponse() (response *CreateWordSamplesResponse)

func (*CreateWordSamplesResponse) FromJsonString

func (r *CreateWordSamplesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWordSamplesResponse) ToJsonString

func (r *CreateWordSamplesResponse) ToJsonString() string

type DeleteAIAnalysisTemplateRequest

type DeleteAIAnalysisTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of video content analysis template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteAIAnalysisTemplateRequest

func NewDeleteAIAnalysisTemplateRequest() (request *DeleteAIAnalysisTemplateRequest)

func (*DeleteAIAnalysisTemplateRequest) FromJsonString

func (r *DeleteAIAnalysisTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAIAnalysisTemplateRequest) ToJsonString

func (r *DeleteAIAnalysisTemplateRequest) ToJsonString() string

type DeleteAIAnalysisTemplateResponse

type DeleteAIAnalysisTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAIAnalysisTemplateResponse

func NewDeleteAIAnalysisTemplateResponse() (response *DeleteAIAnalysisTemplateResponse)

func (*DeleteAIAnalysisTemplateResponse) FromJsonString

func (r *DeleteAIAnalysisTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAIAnalysisTemplateResponse) ToJsonString

func (r *DeleteAIAnalysisTemplateResponse) ToJsonString() string

type DeleteAIRecognitionTemplateRequest

type DeleteAIRecognitionTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of video content recognition template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteAIRecognitionTemplateRequest

func NewDeleteAIRecognitionTemplateRequest() (request *DeleteAIRecognitionTemplateRequest)

func (*DeleteAIRecognitionTemplateRequest) FromJsonString

func (r *DeleteAIRecognitionTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAIRecognitionTemplateRequest) ToJsonString

func (r *DeleteAIRecognitionTemplateRequest) ToJsonString() string

type DeleteAIRecognitionTemplateResponse

type DeleteAIRecognitionTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAIRecognitionTemplateResponse

func NewDeleteAIRecognitionTemplateResponse() (response *DeleteAIRecognitionTemplateResponse)

func (*DeleteAIRecognitionTemplateResponse) FromJsonString

func (r *DeleteAIRecognitionTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAIRecognitionTemplateResponse) ToJsonString

func (r *DeleteAIRecognitionTemplateResponse) ToJsonString() string

type DeleteAdaptiveDynamicStreamingTemplateRequest

type DeleteAdaptiveDynamicStreamingTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of adaptive bitrate streaming template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteAdaptiveDynamicStreamingTemplateRequest

func NewDeleteAdaptiveDynamicStreamingTemplateRequest() (request *DeleteAdaptiveDynamicStreamingTemplateRequest)

func (*DeleteAdaptiveDynamicStreamingTemplateRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAdaptiveDynamicStreamingTemplateRequest) ToJsonString

type DeleteAdaptiveDynamicStreamingTemplateResponse

type DeleteAdaptiveDynamicStreamingTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAdaptiveDynamicStreamingTemplateResponse

func NewDeleteAdaptiveDynamicStreamingTemplateResponse() (response *DeleteAdaptiveDynamicStreamingTemplateResponse)

func (*DeleteAdaptiveDynamicStreamingTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAdaptiveDynamicStreamingTemplateResponse) ToJsonString

type DeleteAnimatedGraphicsTemplateRequest

type DeleteAnimatedGraphicsTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of an animated image generating template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteAnimatedGraphicsTemplateRequest

func NewDeleteAnimatedGraphicsTemplateRequest() (request *DeleteAnimatedGraphicsTemplateRequest)

func (*DeleteAnimatedGraphicsTemplateRequest) FromJsonString

func (r *DeleteAnimatedGraphicsTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAnimatedGraphicsTemplateRequest) ToJsonString

type DeleteAnimatedGraphicsTemplateResponse

type DeleteAnimatedGraphicsTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAnimatedGraphicsTemplateResponse

func NewDeleteAnimatedGraphicsTemplateResponse() (response *DeleteAnimatedGraphicsTemplateResponse)

func (*DeleteAnimatedGraphicsTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAnimatedGraphicsTemplateResponse) ToJsonString

type DeleteClassRequest

type DeleteClassRequest struct {
	*tchttp.BaseRequest

	// Category ID
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteClassRequest

func NewDeleteClassRequest() (request *DeleteClassRequest)

func (*DeleteClassRequest) FromJsonString

func (r *DeleteClassRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClassRequest) ToJsonString

func (r *DeleteClassRequest) ToJsonString() string

type DeleteClassResponse

type DeleteClassResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteClassResponse

func NewDeleteClassResponse() (response *DeleteClassResponse)

func (*DeleteClassResponse) FromJsonString

func (r *DeleteClassResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClassResponse) ToJsonString

func (r *DeleteClassResponse) ToJsonString() string

type DeleteContentReviewTemplateRequest

type DeleteContentReviewTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of an intelligent content recognition template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteContentReviewTemplateRequest

func NewDeleteContentReviewTemplateRequest() (request *DeleteContentReviewTemplateRequest)

func (*DeleteContentReviewTemplateRequest) FromJsonString

func (r *DeleteContentReviewTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteContentReviewTemplateRequest) ToJsonString

func (r *DeleteContentReviewTemplateRequest) ToJsonString() string

type DeleteContentReviewTemplateResponse

type DeleteContentReviewTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteContentReviewTemplateResponse

func NewDeleteContentReviewTemplateResponse() (response *DeleteContentReviewTemplateResponse)

func (*DeleteContentReviewTemplateResponse) FromJsonString

func (r *DeleteContentReviewTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteContentReviewTemplateResponse) ToJsonString

func (r *DeleteContentReviewTemplateResponse) ToJsonString() string

type DeleteImageSpriteTemplateRequest

type DeleteImageSpriteTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of an image sprite generating template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteImageSpriteTemplateRequest

func NewDeleteImageSpriteTemplateRequest() (request *DeleteImageSpriteTemplateRequest)

func (*DeleteImageSpriteTemplateRequest) FromJsonString

func (r *DeleteImageSpriteTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteImageSpriteTemplateRequest) ToJsonString

func (r *DeleteImageSpriteTemplateRequest) ToJsonString() string

type DeleteImageSpriteTemplateResponse

type DeleteImageSpriteTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteImageSpriteTemplateResponse

func NewDeleteImageSpriteTemplateResponse() (response *DeleteImageSpriteTemplateResponse)

func (*DeleteImageSpriteTemplateResponse) FromJsonString

func (r *DeleteImageSpriteTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteImageSpriteTemplateResponse) ToJsonString

func (r *DeleteImageSpriteTemplateResponse) ToJsonString() string

type DeleteMediaRequest

type DeleteMediaRequest struct {
	*tchttp.BaseRequest

	// Unique media file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Content to be deleted. The default value is "[]", which indicates to delete the media file and all its corresponding files generated by video processing.
	DeleteParts []*MediaDeleteItem `json:"DeleteParts,omitempty" name:"DeleteParts"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteMediaRequest

func NewDeleteMediaRequest() (request *DeleteMediaRequest)

func (*DeleteMediaRequest) FromJsonString

func (r *DeleteMediaRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMediaRequest) ToJsonString

func (r *DeleteMediaRequest) ToJsonString() string

type DeleteMediaResponse

type DeleteMediaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteMediaResponse

func NewDeleteMediaResponse() (response *DeleteMediaResponse)

func (*DeleteMediaResponse) FromJsonString

func (r *DeleteMediaResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMediaResponse) ToJsonString

func (r *DeleteMediaResponse) ToJsonString() string

type DeletePersonSampleRequest

type DeletePersonSampleRequest struct {
	*tchttp.BaseRequest

	// ID of a sample.
	PersonId *string `json:"PersonId,omitempty" name:"PersonId"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeletePersonSampleRequest

func NewDeletePersonSampleRequest() (request *DeletePersonSampleRequest)

func (*DeletePersonSampleRequest) FromJsonString

func (r *DeletePersonSampleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePersonSampleRequest) ToJsonString

func (r *DeletePersonSampleRequest) ToJsonString() string

type DeletePersonSampleResponse

type DeletePersonSampleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeletePersonSampleResponse

func NewDeletePersonSampleResponse() (response *DeletePersonSampleResponse)

func (*DeletePersonSampleResponse) FromJsonString

func (r *DeletePersonSampleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePersonSampleResponse) ToJsonString

func (r *DeletePersonSampleResponse) ToJsonString() string

type DeleteProcedureTemplateRequest

type DeleteProcedureTemplateRequest struct {
	*tchttp.BaseRequest

	// Task flow name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteProcedureTemplateRequest

func NewDeleteProcedureTemplateRequest() (request *DeleteProcedureTemplateRequest)

func (*DeleteProcedureTemplateRequest) FromJsonString

func (r *DeleteProcedureTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProcedureTemplateRequest) ToJsonString

func (r *DeleteProcedureTemplateRequest) ToJsonString() string

type DeleteProcedureTemplateResponse

type DeleteProcedureTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteProcedureTemplateResponse

func NewDeleteProcedureTemplateResponse() (response *DeleteProcedureTemplateResponse)

func (*DeleteProcedureTemplateResponse) FromJsonString

func (r *DeleteProcedureTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProcedureTemplateResponse) ToJsonString

func (r *DeleteProcedureTemplateResponse) ToJsonString() string

type DeleteSampleSnapshotTemplateRequest

type DeleteSampleSnapshotTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of a sampled screencapturing template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteSampleSnapshotTemplateRequest

func NewDeleteSampleSnapshotTemplateRequest() (request *DeleteSampleSnapshotTemplateRequest)

func (*DeleteSampleSnapshotTemplateRequest) FromJsonString

func (r *DeleteSampleSnapshotTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSampleSnapshotTemplateRequest) ToJsonString

func (r *DeleteSampleSnapshotTemplateRequest) ToJsonString() string

type DeleteSampleSnapshotTemplateResponse

type DeleteSampleSnapshotTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSampleSnapshotTemplateResponse

func NewDeleteSampleSnapshotTemplateResponse() (response *DeleteSampleSnapshotTemplateResponse)

func (*DeleteSampleSnapshotTemplateResponse) FromJsonString

func (r *DeleteSampleSnapshotTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSampleSnapshotTemplateResponse) ToJsonString

func (r *DeleteSampleSnapshotTemplateResponse) ToJsonString() string

type DeleteSnapshotByTimeOffsetTemplateRequest

type DeleteSnapshotByTimeOffsetTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of a specified time point screencapturing template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteSnapshotByTimeOffsetTemplateRequest

func NewDeleteSnapshotByTimeOffsetTemplateRequest() (request *DeleteSnapshotByTimeOffsetTemplateRequest)

func (*DeleteSnapshotByTimeOffsetTemplateRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSnapshotByTimeOffsetTemplateRequest) ToJsonString

type DeleteSnapshotByTimeOffsetTemplateResponse

type DeleteSnapshotByTimeOffsetTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSnapshotByTimeOffsetTemplateResponse

func NewDeleteSnapshotByTimeOffsetTemplateResponse() (response *DeleteSnapshotByTimeOffsetTemplateResponse)

func (*DeleteSnapshotByTimeOffsetTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSnapshotByTimeOffsetTemplateResponse) ToJsonString

type DeleteSuperPlayerConfigRequest

type DeleteSuperPlayerConfigRequest struct {
	*tchttp.BaseRequest

	// Player configuration name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteSuperPlayerConfigRequest

func NewDeleteSuperPlayerConfigRequest() (request *DeleteSuperPlayerConfigRequest)

func (*DeleteSuperPlayerConfigRequest) FromJsonString

func (r *DeleteSuperPlayerConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSuperPlayerConfigRequest) ToJsonString

func (r *DeleteSuperPlayerConfigRequest) ToJsonString() string

type DeleteSuperPlayerConfigResponse

type DeleteSuperPlayerConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSuperPlayerConfigResponse

func NewDeleteSuperPlayerConfigResponse() (response *DeleteSuperPlayerConfigResponse)

func (*DeleteSuperPlayerConfigResponse) FromJsonString

func (r *DeleteSuperPlayerConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSuperPlayerConfigResponse) ToJsonString

func (r *DeleteSuperPlayerConfigResponse) ToJsonString() string

type DeleteTranscodeTemplateRequest

type DeleteTranscodeTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of transcoding template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteTranscodeTemplateRequest

func NewDeleteTranscodeTemplateRequest() (request *DeleteTranscodeTemplateRequest)

func (*DeleteTranscodeTemplateRequest) FromJsonString

func (r *DeleteTranscodeTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTranscodeTemplateRequest) ToJsonString

func (r *DeleteTranscodeTemplateRequest) ToJsonString() string

type DeleteTranscodeTemplateResponse

type DeleteTranscodeTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteTranscodeTemplateResponse

func NewDeleteTranscodeTemplateResponse() (response *DeleteTranscodeTemplateResponse)

func (*DeleteTranscodeTemplateResponse) FromJsonString

func (r *DeleteTranscodeTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTranscodeTemplateResponse) ToJsonString

func (r *DeleteTranscodeTemplateResponse) ToJsonString() string

type DeleteVodDomainRequest

type DeleteVodDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name to delete from VOD
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteVodDomainRequest

func NewDeleteVodDomainRequest() (request *DeleteVodDomainRequest)

func (*DeleteVodDomainRequest) FromJsonString

func (r *DeleteVodDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteVodDomainRequest) ToJsonString

func (r *DeleteVodDomainRequest) ToJsonString() string

type DeleteVodDomainResponse

type DeleteVodDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteVodDomainResponse

func NewDeleteVodDomainResponse() (response *DeleteVodDomainResponse)

func (*DeleteVodDomainResponse) FromJsonString

func (r *DeleteVodDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteVodDomainResponse) ToJsonString

func (r *DeleteVodDomainResponse) ToJsonString() string

type DeleteWatermarkTemplateRequest

type DeleteWatermarkTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of watermarking template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteWatermarkTemplateRequest

func NewDeleteWatermarkTemplateRequest() (request *DeleteWatermarkTemplateRequest)

func (*DeleteWatermarkTemplateRequest) FromJsonString

func (r *DeleteWatermarkTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWatermarkTemplateRequest) ToJsonString

func (r *DeleteWatermarkTemplateRequest) ToJsonString() string

type DeleteWatermarkTemplateResponse

type DeleteWatermarkTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteWatermarkTemplateResponse

func NewDeleteWatermarkTemplateResponse() (response *DeleteWatermarkTemplateResponse)

func (*DeleteWatermarkTemplateResponse) FromJsonString

func (r *DeleteWatermarkTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWatermarkTemplateResponse) ToJsonString

func (r *DeleteWatermarkTemplateResponse) ToJsonString() string

type DeleteWordSamplesRequest

type DeleteWordSamplesRequest struct {
	*tchttp.BaseRequest

	// Keyword. Array length limit: 100 words.
	Keywords []*string `json:"Keywords,omitempty" name:"Keywords"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDeleteWordSamplesRequest

func NewDeleteWordSamplesRequest() (request *DeleteWordSamplesRequest)

func (*DeleteWordSamplesRequest) FromJsonString

func (r *DeleteWordSamplesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWordSamplesRequest) ToJsonString

func (r *DeleteWordSamplesRequest) ToJsonString() string

type DeleteWordSamplesResponse

type DeleteWordSamplesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteWordSamplesResponse

func NewDeleteWordSamplesResponse() (response *DeleteWordSamplesResponse)

func (*DeleteWordSamplesResponse) FromJsonString

func (r *DeleteWordSamplesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWordSamplesResponse) ToJsonString

func (r *DeleteWordSamplesResponse) ToJsonString() string

type DescribeAIAnalysisTemplatesRequest

type DescribeAIAnalysisTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of video content analysis templates. Array length limit: 100.
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeAIAnalysisTemplatesRequest

func NewDescribeAIAnalysisTemplatesRequest() (request *DescribeAIAnalysisTemplatesRequest)

func (*DescribeAIAnalysisTemplatesRequest) FromJsonString

func (r *DescribeAIAnalysisTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAIAnalysisTemplatesRequest) ToJsonString

func (r *DescribeAIAnalysisTemplatesRequest) ToJsonString() string

type DescribeAIAnalysisTemplatesResponse

type DescribeAIAnalysisTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of video content analysis template details.
		AIAnalysisTemplateSet []*AIAnalysisTemplateItem `json:"AIAnalysisTemplateSet,omitempty" name:"AIAnalysisTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAIAnalysisTemplatesResponse

func NewDescribeAIAnalysisTemplatesResponse() (response *DescribeAIAnalysisTemplatesResponse)

func (*DescribeAIAnalysisTemplatesResponse) FromJsonString

func (r *DescribeAIAnalysisTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAIAnalysisTemplatesResponse) ToJsonString

func (r *DescribeAIAnalysisTemplatesResponse) ToJsonString() string

type DescribeAIRecognitionTemplatesRequest

type DescribeAIRecognitionTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of video content recognition templates. Array length limit: 100.
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeAIRecognitionTemplatesRequest

func NewDescribeAIRecognitionTemplatesRequest() (request *DescribeAIRecognitionTemplatesRequest)

func (*DescribeAIRecognitionTemplatesRequest) FromJsonString

func (r *DescribeAIRecognitionTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAIRecognitionTemplatesRequest) ToJsonString

type DescribeAIRecognitionTemplatesResponse

type DescribeAIRecognitionTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of video content recognition template details.
		AIRecognitionTemplateSet []*AIRecognitionTemplateItem `json:"AIRecognitionTemplateSet,omitempty" name:"AIRecognitionTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAIRecognitionTemplatesResponse

func NewDescribeAIRecognitionTemplatesResponse() (response *DescribeAIRecognitionTemplatesResponse)

func (*DescribeAIRecognitionTemplatesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAIRecognitionTemplatesResponse) ToJsonString

type DescribeAdaptiveDynamicStreamingTemplatesRequest

type DescribeAdaptiveDynamicStreamingTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of transcoding to adaptive bitrate streaming templates. Array length limit: 100.
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"`

	// Paged offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Template type filter. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeAdaptiveDynamicStreamingTemplatesRequest

func NewDescribeAdaptiveDynamicStreamingTemplatesRequest() (request *DescribeAdaptiveDynamicStreamingTemplatesRequest)

func (*DescribeAdaptiveDynamicStreamingTemplatesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAdaptiveDynamicStreamingTemplatesRequest) ToJsonString

type DescribeAdaptiveDynamicStreamingTemplatesResponse

type DescribeAdaptiveDynamicStreamingTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of transcoding to adaptive bitrate streaming template details.
		AdaptiveDynamicStreamingTemplateSet []*AdaptiveDynamicStreamingTemplate `json:"AdaptiveDynamicStreamingTemplateSet,omitempty" name:"AdaptiveDynamicStreamingTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAdaptiveDynamicStreamingTemplatesResponse

func NewDescribeAdaptiveDynamicStreamingTemplatesResponse() (response *DescribeAdaptiveDynamicStreamingTemplatesResponse)

func (*DescribeAdaptiveDynamicStreamingTemplatesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAdaptiveDynamicStreamingTemplatesResponse) ToJsonString

type DescribeAllClassRequest

type DescribeAllClassRequest struct {
	*tchttp.BaseRequest

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeAllClassRequest

func NewDescribeAllClassRequest() (request *DescribeAllClassRequest)

func (*DescribeAllClassRequest) FromJsonString

func (r *DescribeAllClassRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAllClassRequest) ToJsonString

func (r *DescribeAllClassRequest) ToJsonString() string

type DescribeAllClassResponse

type DescribeAllClassResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Category information set
		// Note: this field may return null, indicating that no valid values can be obtained.
		ClassInfoSet []*MediaClassInfo `json:"ClassInfoSet,omitempty" name:"ClassInfoSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAllClassResponse

func NewDescribeAllClassResponse() (response *DescribeAllClassResponse)

func (*DescribeAllClassResponse) FromJsonString

func (r *DescribeAllClassResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAllClassResponse) ToJsonString

func (r *DescribeAllClassResponse) ToJsonString() string

type DescribeAnimatedGraphicsTemplatesRequest

type DescribeAnimatedGraphicsTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of animated image generating templates. Array length limit: 100.
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"`

	// Paged offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Template type filter. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeAnimatedGraphicsTemplatesRequest

func NewDescribeAnimatedGraphicsTemplatesRequest() (request *DescribeAnimatedGraphicsTemplatesRequest)

func (*DescribeAnimatedGraphicsTemplatesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAnimatedGraphicsTemplatesRequest) ToJsonString

type DescribeAnimatedGraphicsTemplatesResponse

type DescribeAnimatedGraphicsTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of animated image generating template details.
		AnimatedGraphicsTemplateSet []*AnimatedGraphicsTemplate `json:"AnimatedGraphicsTemplateSet,omitempty" name:"AnimatedGraphicsTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAnimatedGraphicsTemplatesResponse

func NewDescribeAnimatedGraphicsTemplatesResponse() (response *DescribeAnimatedGraphicsTemplatesResponse)

func (*DescribeAnimatedGraphicsTemplatesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAnimatedGraphicsTemplatesResponse) ToJsonString

type DescribeCDNStatDetailsRequest

type DescribeCDNStatDetailsRequest struct {
	*tchttp.BaseRequest

	// Metrics to query. Valid values:
	// <li>`Traffic`: traffic in bytes</li>
	// <li>`Bandwidth`: bandwidth in bps</li>
	// <li>`Requests`: the number of requests</li>
	Metric *string `json:"Metric,omitempty" name:"Metric"`

	// Start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of domain names. The usage data of up to 20 domain names can be queried at a time. The usage data of all domain names is returned by default.
	DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"`

	// Service region. Valid values:
	// <li>Chinese Mainland</li>
	// <li>Asia Pacific Region 1: Hong Kong (China), Macao (China), Singapore, Vietnam, and Thailand</li>
	// <li>Asia Pacific Region 2: Taiwan (China), Japan, Malaysia, Indonesia, and South Korea</li>
	// <li>Asia Pacific Region 3: Philippines, India, Australia, and other Asia Pacific countries and regions</li>
	// <li>Middle East</li>
	// <li>Europe</li>
	// <li>North America</li>
	// <li>South America</li>
	// <li>Africa</li>
	// Default value: Chinese Mainland
	Area *string `json:"Area,omitempty" name:"Area"`

	// District where users are located. When `Area` is `Chinese Mainland`, valid values for `Districts` are as follows. Otherwise, `Districts` can be ignored.
	// <li>Beijing</li>
	// <li>Inner Mongolia</li>
	// <li>Shanxi</li>
	// <li>Hebei</li>
	// <li>Tianjin</li>
	// <li>Ningxia</li>
	// <li>Shaanxi</li>
	// <li>Gansu</li>
	// <li>Qinghai</li>
	// <li>Xinjiang</li>
	// <li>Heilongjiang</li>
	// <li>Jilin</li>
	// <li>Liaoning</li>
	// <li>Fujian</li>
	// <li>Jiangsu</li>
	// <li>Anhui</li>
	// <li>Shandong</li>
	// <li>Shanghai</li>
	// <li>Zhejiang</li>
	// <li>Henan</li>
	// <li>Hubei</li>
	// <li>Jiangxi</li>
	// <li>Hunan</li>
	// <li>Guizhou</li>
	// <li>Yunnan</li>
	// <li>Chongqing</li>
	// <li>Sichuan</li>
	// <li>Tibet</li>
	// <li>Guangdong</li>
	// <li>Guangxi</li>
	// <li>Hainan</li>
	// <li>Hong Kong, Macao and Taiwan</li>
	// <li>Outside Chinese Mainland</li>
	// <li>Other</li>
	Districts []*string `json:"Districts,omitempty" name:"Districts"`

	// ISP of users. When `Area` is `Chinese Mainland`, valid values for `Isps` are as follows. Otherwise, `Isps` can be ignored.
	// <li>China Telecom</li>
	// <li>China Unicom</li>
	// <li>CERNET</li>
	// <li>Great Wall Broadband Network</li>
	// <li>China Mobile</li>
	// <li>China Mobile Tietong</li>
	// <li>ISPs outside Chinese Mainland</li>
	// <li>Other ISPs</li>
	Isps []*string `json:"Isps,omitempty" name:"Isps"`

	// Time granularity of every piece of data in minutes. Valid values:
	// <li>5: 5-minute granularity. The data at 5-minute granularity in the query period will be returned.</li>
	// <li>1440: 1-day granularity. The data at 1-day granularity in the query period will be returned. If the query period is larger than 24 hours, only data at 1-day granularity can be queried.</li>
	// If the difference between `StartTime` and `EndTime` is larger than 24 hours, the default value of `DataInterval` is 1440.
	DataInterval *uint64 `json:"DataInterval,omitempty" name:"DataInterval"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeCDNStatDetailsRequest

func NewDescribeCDNStatDetailsRequest() (request *DescribeCDNStatDetailsRequest)

func (*DescribeCDNStatDetailsRequest) FromJsonString

func (r *DescribeCDNStatDetailsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCDNStatDetailsRequest) ToJsonString

func (r *DescribeCDNStatDetailsRequest) ToJsonString() string

type DescribeCDNStatDetailsResponse

type DescribeCDNStatDetailsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Time granularity of every piece of data in minutes.
		DataInterval *uint64 `json:"DataInterval,omitempty" name:"DataInterval"`

		// CDN usage statistics.
		Data []*StatDataItem `json:"Data,omitempty" name:"Data"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCDNStatDetailsResponse

func NewDescribeCDNStatDetailsResponse() (response *DescribeCDNStatDetailsResponse)

func (*DescribeCDNStatDetailsResponse) FromJsonString

func (r *DescribeCDNStatDetailsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCDNStatDetailsResponse) ToJsonString

func (r *DescribeCDNStatDetailsResponse) ToJsonString() string

type DescribeCDNUsageDataRequest

type DescribeCDNUsageDataRequest struct {
	*tchttp.BaseRequest

	// Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The end date must be after the start date.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// CDN statistics type. Valid values:
	// <li>Flux: traffic in bytes.</li>
	// <li>Bandwidth: bandwidth in bps.</li>
	DataType *string `json:"DataType,omitempty" name:"DataType"`

	// Time granularity of usage data in minutes. Valid values:
	// <li>5: 5-minute granularity. The data at 5-minute granularity in the query period will be returned.</li>
	// <li>60: 1-hour granularity. The data at 1-hour granularity in the query period will be returned.</li>
	// <li>1440: 1-day granularity. The data at 1-day granularity in the query period will be returned.</li>
	// Default value: 1440. Data at 1-day granularity will be returned.
	DataInterval *uint64 `json:"DataInterval,omitempty" name:"DataInterval"`

	// List of domain names. The usage data of up to 20 domain names can be queried at a time. You can specify multiple domain names and query their combined usage data. The usage data of all domain names will be returned by default.
	DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	// When the value of this field is 1, the total usage of all subapplications (including primary application) are queried by an admin. In this case, only 1-day granularity is supported.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeCDNUsageDataRequest

func NewDescribeCDNUsageDataRequest() (request *DescribeCDNUsageDataRequest)

func (*DescribeCDNUsageDataRequest) FromJsonString

func (r *DescribeCDNUsageDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCDNUsageDataRequest) ToJsonString

func (r *DescribeCDNUsageDataRequest) ToJsonString() string

type DescribeCDNUsageDataResponse

type DescribeCDNUsageDataResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Time granularity in minutes.
		DataInterval *int64 `json:"DataInterval,omitempty" name:"DataInterval"`

		// CDN statistics.
		Data []*StatDataItem `json:"Data,omitempty" name:"Data"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCDNUsageDataResponse

func NewDescribeCDNUsageDataResponse() (response *DescribeCDNUsageDataResponse)

func (*DescribeCDNUsageDataResponse) FromJsonString

func (r *DescribeCDNUsageDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCDNUsageDataResponse) ToJsonString

func (r *DescribeCDNUsageDataResponse) ToJsonString() string

type DescribeCdnLogsRequest

type DescribeCdnLogsRequest struct {
	*tchttp.BaseRequest

	// Domain name.
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// Start time for log acquisition in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F), which must be after the start time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Maximum return results of pulling paginated queries. Default value: 100; maximum value: 1000
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Page number offset from the beginning of paginated queries. Default value: 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeCdnLogsRequest

func NewDescribeCdnLogsRequest() (request *DescribeCdnLogsRequest)

func (*DescribeCdnLogsRequest) FromJsonString

func (r *DescribeCdnLogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnLogsRequest) ToJsonString

func (r *DescribeCdnLogsRequest) ToJsonString() string

type DescribeCdnLogsResponse

type DescribeCdnLogsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of log download links
		// Note: this field may return `null`, indicating that no valid value is obtained.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Log download list for CDN nodes outside Mainland China. If global acceleration is not enabled for the domain name, ignore this parameter.
		// Note: this field may return null, indicating that no valid values can be obtained.
		OverseaCdnLogs []*CdnLogInfo `json:"OverseaCdnLogs,omitempty" name:"OverseaCdnLogs"`

		// Log download list for CDN nodes in Mainland China.
		// Note: this field may return null, indicating that no valid values can be obtained.
		DomesticCdnLogs []*CdnLogInfo `json:"DomesticCdnLogs,omitempty" name:"DomesticCdnLogs"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCdnLogsResponse

func NewDescribeCdnLogsResponse() (response *DescribeCdnLogsResponse)

func (*DescribeCdnLogsResponse) FromJsonString

func (r *DescribeCdnLogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnLogsResponse) ToJsonString

func (r *DescribeCdnLogsResponse) ToJsonString() string

type DescribeContentReviewTemplatesRequest

type DescribeContentReviewTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique IDs for filters of an intelligent content recognition template. Array length limit: 100.
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeContentReviewTemplatesRequest

func NewDescribeContentReviewTemplatesRequest() (request *DescribeContentReviewTemplatesRequest)

func (*DescribeContentReviewTemplatesRequest) FromJsonString

func (r *DescribeContentReviewTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeContentReviewTemplatesRequest) ToJsonString

type DescribeContentReviewTemplatesResponse

type DescribeContentReviewTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of intelligent content recognition template details.
		ContentReviewTemplateSet []*ContentReviewTemplateItem `json:"ContentReviewTemplateSet,omitempty" name:"ContentReviewTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeContentReviewTemplatesResponse

func NewDescribeContentReviewTemplatesResponse() (response *DescribeContentReviewTemplatesResponse)

func (*DescribeContentReviewTemplatesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeContentReviewTemplatesResponse) ToJsonString

type DescribeDailyPlayStatFileListRequest

type DescribeDailyPlayStatFileListRequest struct {
	*tchttp.BaseRequest

	// Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeDailyPlayStatFileListRequest

func NewDescribeDailyPlayStatFileListRequest() (request *DescribeDailyPlayStatFileListRequest)

func (*DescribeDailyPlayStatFileListRequest) FromJsonString

func (r *DescribeDailyPlayStatFileListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDailyPlayStatFileListRequest) ToJsonString

func (r *DescribeDailyPlayStatFileListRequest) ToJsonString() string

type DescribeDailyPlayStatFileListResponse

type DescribeDailyPlayStatFileListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of playback statistics files.
		PlayStatFileSet []*PlayStatFileInfo `json:"PlayStatFileSet,omitempty" name:"PlayStatFileSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDailyPlayStatFileListResponse

func NewDescribeDailyPlayStatFileListResponse() (response *DescribeDailyPlayStatFileListResponse)

func (*DescribeDailyPlayStatFileListResponse) FromJsonString

func (r *DescribeDailyPlayStatFileListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDailyPlayStatFileListResponse) ToJsonString

type DescribeImageSpriteTemplatesRequest

type DescribeImageSpriteTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of image sprite generating templates. Array length limit: 100.
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"`

	// Paged offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Template type filter. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeImageSpriteTemplatesRequest

func NewDescribeImageSpriteTemplatesRequest() (request *DescribeImageSpriteTemplatesRequest)

func (*DescribeImageSpriteTemplatesRequest) FromJsonString

func (r *DescribeImageSpriteTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImageSpriteTemplatesRequest) ToJsonString

func (r *DescribeImageSpriteTemplatesRequest) ToJsonString() string

type DescribeImageSpriteTemplatesResponse

type DescribeImageSpriteTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of image sprite generating template details.
		ImageSpriteTemplateSet []*ImageSpriteTemplate `json:"ImageSpriteTemplateSet,omitempty" name:"ImageSpriteTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeImageSpriteTemplatesResponse

func NewDescribeImageSpriteTemplatesResponse() (response *DescribeImageSpriteTemplatesResponse)

func (*DescribeImageSpriteTemplatesResponse) FromJsonString

func (r *DescribeImageSpriteTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImageSpriteTemplatesResponse) ToJsonString

func (r *DescribeImageSpriteTemplatesResponse) ToJsonString() string

type DescribeMediaInfosRequest

type DescribeMediaInfosRequest struct {
	*tchttp.BaseRequest

	// List of media file IDs. N starts from 0 and can be up to 19.
	FileIds []*string `json:"FileIds,omitempty" name:"FileIds"`

	// Specifies information entry that needs to be returned by all media files. Multiple entries can be specified simultaneously. N starts from 0. If this field is left empty, all information entries will be returned by default. Valid values:
	// <li>basicInfo (basic video information).</li>
	// <li>metaData (video metadata).</li>
	// <li>transcodeInfo (result information of video transcoding).</li>
	// <li>animatedGraphicsInfo (result information of animated image generating task).</li>
	// <li>imageSpriteInfo (image sprite information).</li>
	// <li>snapshotByTimeOffsetInfo (time point screenshot information).</li>
	// <li>sampleSnapshotInfo (sampled screenshot information).</li>
	// <li>keyFrameDescInfo (timestamp information).</li>
	// <li>adaptiveDynamicStreamingInfo (information of adaptive bitrate streaming).</li>
	// <li>miniProgramReviewInfo (WeChat Mini Program audit information).</li>
	Filters []*string `json:"Filters,omitempty" name:"Filters"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeMediaInfosRequest

func NewDescribeMediaInfosRequest() (request *DescribeMediaInfosRequest)

func (*DescribeMediaInfosRequest) FromJsonString

func (r *DescribeMediaInfosRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMediaInfosRequest) ToJsonString

func (r *DescribeMediaInfosRequest) ToJsonString() string

type DescribeMediaInfosResponse

type DescribeMediaInfosResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Media file information list.
		MediaInfoSet []*MediaInfo `json:"MediaInfoSet,omitempty" name:"MediaInfoSet"`

		// List of IDs of files that do not exist.
		NotExistFileIdSet []*string `json:"NotExistFileIdSet,omitempty" name:"NotExistFileIdSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMediaInfosResponse

func NewDescribeMediaInfosResponse() (response *DescribeMediaInfosResponse)

func (*DescribeMediaInfosResponse) FromJsonString

func (r *DescribeMediaInfosResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMediaInfosResponse) ToJsonString

func (r *DescribeMediaInfosResponse) ToJsonString() string

type DescribeMediaProcessUsageDataRequest

type DescribeMediaProcessUsageDataRequest struct {
	*tchttp.BaseRequest

	// Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). The end date must be on or after the start date.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Type of media processing task. Valid values:
	// <li>`Transcoding`: basic transcoding</li>
	// <li>`Transcoding-TESHD`: TESHD transcoding</li>
	// <li>`Editing`: video editing</li>
	// <li>`AdaptiveBitrateStreaming`: adaptive bitrate streaming</li>
	// <li>`ContentAudit`: content moderation</li>
	// <li>`RemoveWatermark`: watermark removal</li>
	// <li>`Transcode`: transcoding, including basic transcoding, TESHD transcoding, and video editing. This value is not recommended.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeMediaProcessUsageDataRequest

func NewDescribeMediaProcessUsageDataRequest() (request *DescribeMediaProcessUsageDataRequest)

func (*DescribeMediaProcessUsageDataRequest) FromJsonString

func (r *DescribeMediaProcessUsageDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMediaProcessUsageDataRequest) ToJsonString

func (r *DescribeMediaProcessUsageDataRequest) ToJsonString() string

type DescribeMediaProcessUsageDataResponse

type DescribeMediaProcessUsageDataResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Overview of video processing statistics, which displays the overview and details of queried tasks.
		MediaProcessDataSet []*TaskStatData `json:"MediaProcessDataSet,omitempty" name:"MediaProcessDataSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMediaProcessUsageDataResponse

func NewDescribeMediaProcessUsageDataResponse() (response *DescribeMediaProcessUsageDataResponse)

func (*DescribeMediaProcessUsageDataResponse) FromJsonString

func (r *DescribeMediaProcessUsageDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMediaProcessUsageDataResponse) ToJsonString

type DescribePersonSamplesRequest

type DescribePersonSamplesRequest struct {
	*tchttp.BaseRequest

	// Type of samples to pull. Valid values:
	// <li>UserDefine: custom sample library</li>
	// <li>Default: default sample library</li>
	//
	// Default value: UserDefine. Samples in the custom sample library will be pulled.
	// Note: samples from the default library can only be pulled by providing the name or both the ID and name of a sample. Only one face image will be returned.
	Type *string `json:"Type,omitempty" name:"Type"`

	// IDs of samples. Array length limit: 100.
	PersonIds []*string `json:"PersonIds,omitempty" name:"PersonIds"`

	// Names of samples. Array length limit: 20.
	Names []*string `json:"Names,omitempty" name:"Names"`

	// Tags of a sample. Array length limit: 20.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries to be returned. Default value: 100. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribePersonSamplesRequest

func NewDescribePersonSamplesRequest() (request *DescribePersonSamplesRequest)

func (*DescribePersonSamplesRequest) FromJsonString

func (r *DescribePersonSamplesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePersonSamplesRequest) ToJsonString

func (r *DescribePersonSamplesRequest) ToJsonString() string

type DescribePersonSamplesResponse

type DescribePersonSamplesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Figure information.
		PersonSet []*AiSamplePerson `json:"PersonSet,omitempty" name:"PersonSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePersonSamplesResponse

func NewDescribePersonSamplesResponse() (response *DescribePersonSamplesResponse)

func (*DescribePersonSamplesResponse) FromJsonString

func (r *DescribePersonSamplesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePersonSamplesResponse) ToJsonString

func (r *DescribePersonSamplesResponse) ToJsonString() string

type DescribeProcedureTemplatesRequest

type DescribeProcedureTemplatesRequest struct {
	*tchttp.BaseRequest

	// Name filter of task flow template. Array length limit: 100.
	Names []*string `json:"Names,omitempty" name:"Names"`

	// Filter of task flow template types. Valid values:
	// <li>Preset: preset task flow template;</li>
	// <li>Custom: custom task flow template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeProcedureTemplatesRequest

func NewDescribeProcedureTemplatesRequest() (request *DescribeProcedureTemplatesRequest)

func (*DescribeProcedureTemplatesRequest) FromJsonString

func (r *DescribeProcedureTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProcedureTemplatesRequest) ToJsonString

func (r *DescribeProcedureTemplatesRequest) ToJsonString() string

type DescribeProcedureTemplatesResponse

type DescribeProcedureTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of task flow template details.
		ProcedureTemplateSet []*ProcedureTemplate `json:"ProcedureTemplateSet,omitempty" name:"ProcedureTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProcedureTemplatesResponse

func NewDescribeProcedureTemplatesResponse() (response *DescribeProcedureTemplatesResponse)

func (*DescribeProcedureTemplatesResponse) FromJsonString

func (r *DescribeProcedureTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProcedureTemplatesResponse) ToJsonString

func (r *DescribeProcedureTemplatesResponse) ToJsonString() string

type DescribeReviewDetailsRequest

type DescribeReviewDetailsRequest struct {
	*tchttp.BaseRequest

	// Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The end date must be after the start date.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeReviewDetailsRequest

func NewDescribeReviewDetailsRequest() (request *DescribeReviewDetailsRequest)

func (*DescribeReviewDetailsRequest) FromJsonString

func (r *DescribeReviewDetailsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReviewDetailsRequest) ToJsonString

func (r *DescribeReviewDetailsRequest) ToJsonString() string

type DescribeReviewDetailsResponse

type DescribeReviewDetailsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Times of initiating intelligent content recognition tasks.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Duration of intelligent recognition content.
		TotalDuration *int64 `json:"TotalDuration,omitempty" name:"TotalDuration"`

		// Data of intelligent recognition content duration. One piece of data is collected every day.
		Data []*StatDataItem `json:"Data,omitempty" name:"Data"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeReviewDetailsResponse

func NewDescribeReviewDetailsResponse() (response *DescribeReviewDetailsResponse)

func (*DescribeReviewDetailsResponse) FromJsonString

func (r *DescribeReviewDetailsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReviewDetailsResponse) ToJsonString

func (r *DescribeReviewDetailsResponse) ToJsonString() string

type DescribeSampleSnapshotTemplatesRequest

type DescribeSampleSnapshotTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of sampled screencapturing templates. Array length limit: 100.
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"`

	// Paged offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Template type filter. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeSampleSnapshotTemplatesRequest

func NewDescribeSampleSnapshotTemplatesRequest() (request *DescribeSampleSnapshotTemplatesRequest)

func (*DescribeSampleSnapshotTemplatesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSampleSnapshotTemplatesRequest) ToJsonString

type DescribeSampleSnapshotTemplatesResponse

type DescribeSampleSnapshotTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of sampled screencapturing template details.
		SampleSnapshotTemplateSet []*SampleSnapshotTemplate `json:"SampleSnapshotTemplateSet,omitempty" name:"SampleSnapshotTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSampleSnapshotTemplatesResponse

func NewDescribeSampleSnapshotTemplatesResponse() (response *DescribeSampleSnapshotTemplatesResponse)

func (*DescribeSampleSnapshotTemplatesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSampleSnapshotTemplatesResponse) ToJsonString

type DescribeSnapshotByTimeOffsetTemplatesRequest

type DescribeSnapshotByTimeOffsetTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of time point screencapturing templates. Array length limit: 100.
	Definitions []*uint64 `json:"Definitions,omitempty" name:"Definitions"`

	// Paged offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Template type filter. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeSnapshotByTimeOffsetTemplatesRequest

func NewDescribeSnapshotByTimeOffsetTemplatesRequest() (request *DescribeSnapshotByTimeOffsetTemplatesRequest)

func (*DescribeSnapshotByTimeOffsetTemplatesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSnapshotByTimeOffsetTemplatesRequest) ToJsonString

type DescribeSnapshotByTimeOffsetTemplatesResponse

type DescribeSnapshotByTimeOffsetTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of time point screencapturing template details.
		SnapshotByTimeOffsetTemplateSet []*SnapshotByTimeOffsetTemplate `json:"SnapshotByTimeOffsetTemplateSet,omitempty" name:"SnapshotByTimeOffsetTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSnapshotByTimeOffsetTemplatesResponse

func NewDescribeSnapshotByTimeOffsetTemplatesResponse() (response *DescribeSnapshotByTimeOffsetTemplatesResponse)

func (*DescribeSnapshotByTimeOffsetTemplatesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSnapshotByTimeOffsetTemplatesResponse) ToJsonString

type DescribeStorageDataRequest

type DescribeStorageDataRequest struct {
	*tchttp.BaseRequest

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeStorageDataRequest

func NewDescribeStorageDataRequest() (request *DescribeStorageDataRequest)

func (*DescribeStorageDataRequest) FromJsonString

func (r *DescribeStorageDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStorageDataRequest) ToJsonString

func (r *DescribeStorageDataRequest) ToJsonString() string

type DescribeStorageDataResponse

type DescribeStorageDataResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of current media files.
		MediaCount *uint64 `json:"MediaCount,omitempty" name:"MediaCount"`

		// Total current storage capacity in bytes.
		TotalStorage *uint64 `json:"TotalStorage,omitempty" name:"TotalStorage"`

		// Current Standard_IA storage capacity in bytes.
		InfrequentStorage *uint64 `json:"InfrequentStorage,omitempty" name:"InfrequentStorage"`

		// Current Standard storage capacity in bytes.
		StandardStorage *uint64 `json:"StandardStorage,omitempty" name:"StandardStorage"`

		// Storage usage by billing region.
		StorageStat []*StorageStatData `json:"StorageStat,omitempty" name:"StorageStat"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeStorageDataResponse

func NewDescribeStorageDataResponse() (response *DescribeStorageDataResponse)

func (*DescribeStorageDataResponse) FromJsonString

func (r *DescribeStorageDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStorageDataResponse) ToJsonString

func (r *DescribeStorageDataResponse) ToJsonString() string

type DescribeStorageDetailsRequest

type DescribeStorageDetailsRequest struct {
	*tchttp.BaseRequest

	// Start time in ISO 8601 format. For more information, please see [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time in ISO 8601 format, which should be larger than the start time. For more information, please see [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Time granularity. Valid values:
	// <li>Minute: 5-minute granularity</li>
	// <li>Day: 1-day granularity</li>
	// The value is set according to query period length by default. 5-minute granularity is set for periods no longer than 1 day, and 1-day granularity is set for periods longer than 1 day.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Storage class to query. Valid values:
	// <li>`TotalStorage`: total storage usage in classes of STANDARD, STANDARD_IA, ARCHIVE, and DEEP ARCHIVE, excluding the storage usage for data deleted in advance.</li>
	// <li>`StandardStorage`: STANDARD</li>
	// <li>`InfrequentStorage`: STANDARD_IA</li>
	// <li>`ArchiveStorage`: ARCHIVE</li>
	// <li>`DeepArchiveStorage`: DEEP ARCHIVE</li>
	// <li>`DeletedInfrequentStorage`: STANDARD_IA data deleted in advance</li>
	// <li>`DeletedArchiveStorage`: ARCHIVE data deleted in advance</li>
	// <li>`DeletedDeepArchiveStorage`: DEEP ARCHIVE data deleted in advance</li>
	// <li>`ArchiveStandardRetrieval`: ARCHIVE data retrieved using standard retrievals</li>
	// <li>`ArchiveExpeditedRetrieval`: ARCHIVE data retrieved using expedited retrievals</li>
	// <li>`ArchiveBulkRetrieval`: ARCHIVE data retrieved using bulk retrievals</li>
	// <li>`DeepArchiveStandardRetrieval`: DEEP ARCHIVE data retrieved using standard retrievals</li>
	// <li>`DeepArchiveBulkRetrieval`: DEEP ARCHIVE data retrieved using bulk retrievals</li>
	// Default value: `TotalStorage`
	StorageType *string `json:"StorageType,omitempty" name:"StorageType"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	// When the value of this field is 1, the total usage of all subapplications (including primary application) are queried by an admin.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Storage region to query. Valid values:
	// <li>Chinese Mainland</li>
	// <li>Outside Chinese Mainland</li>
	// Default value: Chinese Mainland
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeStorageDetailsRequest

func NewDescribeStorageDetailsRequest() (request *DescribeStorageDetailsRequest)

func (*DescribeStorageDetailsRequest) FromJsonString

func (r *DescribeStorageDetailsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStorageDetailsRequest) ToJsonString

func (r *DescribeStorageDetailsRequest) ToJsonString() string

type DescribeStorageDetailsResponse

type DescribeStorageDetailsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Storage statistics with one piece of data for every 5 minutes or 1 day.
		Data []*StatDataItem `json:"Data,omitempty" name:"Data"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeStorageDetailsResponse

func NewDescribeStorageDetailsResponse() (response *DescribeStorageDetailsResponse)

func (*DescribeStorageDetailsResponse) FromJsonString

func (r *DescribeStorageDetailsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStorageDetailsResponse) ToJsonString

func (r *DescribeStorageDetailsResponse) ToJsonString() string

type DescribeSubAppIdsRequest

type DescribeSubAppIdsRequest struct {
	*tchttp.BaseRequest

	// Subapplication name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Tag information. You can query the list of subapplications with specified tags.
	Tags []*ResourceTag `json:"Tags,omitempty" name:"Tags"`

	// Page number offset from the beginning of paginated queries. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum return results of pulling paginated queries. Default: 200; maximum: 200.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeSubAppIdsRequest

func NewDescribeSubAppIdsRequest() (request *DescribeSubAppIdsRequest)

func (*DescribeSubAppIdsRequest) FromJsonString

func (r *DescribeSubAppIdsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSubAppIdsRequest) ToJsonString

func (r *DescribeSubAppIdsRequest) ToJsonString() string

type DescribeSubAppIdsResponse

type DescribeSubAppIdsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Subapplication information set.
		SubAppIdInfoSet []*SubAppIdInfo `json:"SubAppIdInfoSet,omitempty" name:"SubAppIdInfoSet"`

		// Total number of subapplications.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSubAppIdsResponse

func NewDescribeSubAppIdsResponse() (response *DescribeSubAppIdsResponse)

func (*DescribeSubAppIdsResponse) FromJsonString

func (r *DescribeSubAppIdsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSubAppIdsResponse) ToJsonString

func (r *DescribeSubAppIdsResponse) ToJsonString() string

type DescribeSuperPlayerConfigsRequest

type DescribeSuperPlayerConfigsRequest struct {
	*tchttp.BaseRequest

	// Player configuration name filter. Array length limit: 100.
	Names []*string `json:"Names,omitempty" name:"Names"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Player configuration type filter. Valid values:
	// <li>Preset: preset configuration;</li>
	// <li>Custom: custom configuration.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeSuperPlayerConfigsRequest

func NewDescribeSuperPlayerConfigsRequest() (request *DescribeSuperPlayerConfigsRequest)

func (*DescribeSuperPlayerConfigsRequest) FromJsonString

func (r *DescribeSuperPlayerConfigsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSuperPlayerConfigsRequest) ToJsonString

func (r *DescribeSuperPlayerConfigsRequest) ToJsonString() string

type DescribeSuperPlayerConfigsResponse

type DescribeSuperPlayerConfigsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Player configuration array.
		PlayerConfigSet []*PlayerConfig `json:"PlayerConfigSet,omitempty" name:"PlayerConfigSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSuperPlayerConfigsResponse

func NewDescribeSuperPlayerConfigsResponse() (response *DescribeSuperPlayerConfigsResponse)

func (*DescribeSuperPlayerConfigsResponse) FromJsonString

func (r *DescribeSuperPlayerConfigsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSuperPlayerConfigsResponse) ToJsonString

func (r *DescribeSuperPlayerConfigsResponse) ToJsonString() string

type DescribeTaskDetailRequest

type DescribeTaskDetailRequest struct {
	*tchttp.BaseRequest

	// Video processing task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeTaskDetailRequest

func NewDescribeTaskDetailRequest() (request *DescribeTaskDetailRequest)

func (*DescribeTaskDetailRequest) FromJsonString

func (r *DescribeTaskDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTaskDetailRequest) ToJsonString

func (r *DescribeTaskDetailRequest) ToJsonString() string

type DescribeTaskDetailResponse

type DescribeTaskDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task type. Valid values:
		// <li>Procedure: video processing task</li>
		// <li>EditMedia: video editing task</li>
		// <li>SplitMedia: video splitting task</li>
		// <li>ComposeMedia: media file producing task</li>
		// <li>WechatPublish: WeChat publishing task</li>
		// <li>WechatMiniProgramPublish: video publishing on WeChat Mini Program</li>
		// <li>PullUpload: pulling media files for upload</li>
		//
		// Support v2017 task types:
		// <li>Transcode: transcoding task</li>
		// <li>SnapshotByTimeOffset: screencapturing task</li>
		// <li>Concat: video splicing task</li>
		// <li>Clip: video clipping task</li>
		// <li>ImageSprites: image sprite generating task</li>
		TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

		// Task status. Valid values:
		// <li>WAITING: waiting;</li>
		// <li>PROCESSING: processing;</li>
		// <li>FINISH: completed.</li>
		Status *string `json:"Status,omitempty" name:"Status"`

		// Creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
		CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

		// Start time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
		BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"`

		// End time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
		FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"`

		// Video processing task information. This field has a value only when `TaskType` is `Procedure`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ProcedureTask *ProcedureTask `json:"ProcedureTask,omitempty" name:"ProcedureTask"`

		// Video editing task information. This field has a value only when `TaskType` is `EditMedia`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		EditMediaTask *EditMediaTask `json:"EditMediaTask,omitempty" name:"EditMediaTask"`

		// Release on WeChat task information. This field has a value only when `TaskType` is `WechatPublish`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		WechatPublishTask *WechatPublishTask `json:"WechatPublishTask,omitempty" name:"WechatPublishTask"`

		// Media file composing task information. This field has a value only when `TaskType` is `ComposeMedia`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ComposeMediaTask *ComposeMediaTask `json:"ComposeMediaTask,omitempty" name:"ComposeMediaTask"`

		// Video splitting task information. This field has a value only when `TaskType` is `EditMedia`.
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		SplitMediaTask *SplitMediaTask `json:"SplitMediaTask,omitempty" name:"SplitMediaTask"`

		// Release on WeChat Mini Program task information. This field has a value only when `TaskType` is `WechatMiniProgramPublish`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		WechatMiniProgramPublishTask *WechatMiniProgramPublishTask `json:"WechatMiniProgramPublishTask,omitempty" name:"WechatMiniProgramPublishTask"`

		// Media file pulling for upload task information. This field has a value only when `TaskType` is `PullUpload`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		PullUploadTask *PullUploadTask `json:"PullUploadTask,omitempty" name:"PullUploadTask"`

		// Video transcoding task information. This field has a value only when `TaskType` is `Transcode`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TranscodeTask *TranscodeTask2017 `json:"TranscodeTask,omitempty" name:"TranscodeTask"`

		// Video splicing task information. This field has a value only when `TaskType` is `Concat`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ConcatTask *ConcatTask2017 `json:"ConcatTask,omitempty" name:"ConcatTask"`

		// Video clipping task information. This field has a value only when `TaskType` is `Clip`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ClipTask *ClipTask2017 `json:"ClipTask,omitempty" name:"ClipTask"`

		// Image sprite creating task information. This field has a value only when `TaskType` is `ImageSprite`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		CreateImageSpriteTask *CreateImageSpriteTask2017 `json:"CreateImageSpriteTask,omitempty" name:"CreateImageSpriteTask"`

		// Time point screencapturing task information. This field has a value only when `TaskType` is `SnapshotByTimeOffset`.
		// Note: this field may return null, indicating that no valid values can be obtained.
		SnapshotByTimeOffsetTask *SnapshotByTimeOffsetTask2017 `json:"SnapshotByTimeOffsetTask,omitempty" name:"SnapshotByTimeOffsetTask"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTaskDetailResponse

func NewDescribeTaskDetailResponse() (response *DescribeTaskDetailResponse)

func (*DescribeTaskDetailResponse) FromJsonString

func (r *DescribeTaskDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTaskDetailResponse) ToJsonString

func (r *DescribeTaskDetailResponse) ToJsonString() string

type DescribeTasksRequest

type DescribeTasksRequest struct {
	*tchttp.BaseRequest

	// Filter: Task status. Valid values: WAITING (waiting), PROCESSING (processing), FINISH (completed).
	Status *string `json:"Status,omitempty" name:"Status"`

	// Filter: file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Filter: task creation time.
	CreateTime *TimeRange `json:"CreateTime,omitempty" name:"CreateTime"`

	// Filter: task end time.
	FinishTime *TimeRange `json:"FinishTime,omitempty" name:"FinishTime"`

	// Sort field. Valid values:
	// <li>`CreateTime`: task creation time</li>
	// <li>`FinishTime`: task end time</li>
	Sort *SortBy `json:"Sort,omitempty" name:"Sort"`

	// Number of entries to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Scrolling identifier which is used for pulling in batches. If a single request cannot pull all the data entries, the API will return `ScrollToken`, and if the next request carries it, the next pull will start from the next entry.
	ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeTasksRequest

func NewDescribeTasksRequest() (request *DescribeTasksRequest)

func (*DescribeTasksRequest) FromJsonString

func (r *DescribeTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTasksRequest) ToJsonString

func (r *DescribeTasksRequest) ToJsonString() string

type DescribeTasksResponse

type DescribeTasksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task overview list.
		TaskSet []*TaskSimpleInfo `json:"TaskSet,omitempty" name:"TaskSet"`

		// Scrolling identifier. If a request does not return all the data entries, this field indicates the ID of the next entry. If this field is empty, there is no more data.
		ScrollToken *string `json:"ScrollToken,omitempty" name:"ScrollToken"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTasksResponse

func NewDescribeTasksResponse() (response *DescribeTasksResponse)

func (*DescribeTasksResponse) FromJsonString

func (r *DescribeTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTasksResponse) ToJsonString

func (r *DescribeTasksResponse) ToJsonString() string

type DescribeTranscodeTemplatesRequest

type DescribeTranscodeTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of transcoding templates. Array length limit: 100.
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"`

	// Template type filter. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Container filter. Valid values:
	// <li>Video: video container that can contain both video stream and audio stream;</li>
	// <li>PureAudio: audio container that can contain only audio stream.</li>
	ContainerType *string `json:"ContainerType,omitempty" name:"ContainerType"`

	// TESHD filter, which is used to filter common transcoding or ultra-fast HD transcoding templates. Valid values:
	// <li>Common: Common transcoding template;</li>
	// <li>TEHD: TESHD template.</li>
	TEHDType *string `json:"TEHDType,omitempty" name:"TEHDType"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeTranscodeTemplatesRequest

func NewDescribeTranscodeTemplatesRequest() (request *DescribeTranscodeTemplatesRequest)

func (*DescribeTranscodeTemplatesRequest) FromJsonString

func (r *DescribeTranscodeTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTranscodeTemplatesRequest) ToJsonString

func (r *DescribeTranscodeTemplatesRequest) ToJsonString() string

type DescribeTranscodeTemplatesResponse

type DescribeTranscodeTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of transcoding template details.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TranscodeTemplateSet []*TranscodeTemplate `json:"TranscodeTemplateSet,omitempty" name:"TranscodeTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTranscodeTemplatesResponse

func NewDescribeTranscodeTemplatesResponse() (response *DescribeTranscodeTemplatesResponse)

func (*DescribeTranscodeTemplatesResponse) FromJsonString

func (r *DescribeTranscodeTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTranscodeTemplatesResponse) ToJsonString

func (r *DescribeTranscodeTemplatesResponse) ToJsonString() string

type DescribeVodDomainsRequest

type DescribeVodDomainsRequest struct {
	*tchttp.BaseRequest

	// List of domain names. If this parameter is left empty, all domain names will be listed.
	// <li>Maximum number of domain names listed: 20</li>
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Maximum results to return for pulling paginated queries. Default value: 20
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Page number offset from the beginning of paginated queries. Default value: 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeVodDomainsRequest

func NewDescribeVodDomainsRequest() (request *DescribeVodDomainsRequest)

func (*DescribeVodDomainsRequest) FromJsonString

func (r *DescribeVodDomainsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVodDomainsRequest) ToJsonString

func (r *DescribeVodDomainsRequest) ToJsonString() string

type DescribeVodDomainsResponse

type DescribeVodDomainsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of domain names
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Domain name information list
		DomainSet []*DomainDetailInfo `json:"DomainSet,omitempty" name:"DomainSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeVodDomainsResponse

func NewDescribeVodDomainsResponse() (response *DescribeVodDomainsResponse)

func (*DescribeVodDomainsResponse) FromJsonString

func (r *DescribeVodDomainsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVodDomainsResponse) ToJsonString

func (r *DescribeVodDomainsResponse) ToJsonString() string

type DescribeWatermarkTemplatesRequest

type DescribeWatermarkTemplatesRequest struct {
	*tchttp.BaseRequest

	// Unique ID filter of watermarking templates. Array length limit: 100.
	Definitions []*int64 `json:"Definitions,omitempty" name:"Definitions"`

	// Watermark type filter. Valid values:
	// <li>image: image watermark;</li>
	// <li>text: text watermark.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned entries
	// <li>Default value: 10;</li>
	// <li>Maximum value: 100.</li>
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeWatermarkTemplatesRequest

func NewDescribeWatermarkTemplatesRequest() (request *DescribeWatermarkTemplatesRequest)

func (*DescribeWatermarkTemplatesRequest) FromJsonString

func (r *DescribeWatermarkTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWatermarkTemplatesRequest) ToJsonString

func (r *DescribeWatermarkTemplatesRequest) ToJsonString() string

type DescribeWatermarkTemplatesResponse

type DescribeWatermarkTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of watermarking template details.
		// Note: this field may return null, indicating that no valid values can be obtained.
		WatermarkTemplateSet []*WatermarkTemplate `json:"WatermarkTemplateSet,omitempty" name:"WatermarkTemplateSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWatermarkTemplatesResponse

func NewDescribeWatermarkTemplatesResponse() (response *DescribeWatermarkTemplatesResponse)

func (*DescribeWatermarkTemplatesResponse) FromJsonString

func (r *DescribeWatermarkTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWatermarkTemplatesResponse) ToJsonString

func (r *DescribeWatermarkTemplatesResponse) ToJsonString() string

type DescribeWordSamplesRequest

type DescribeWordSamplesRequest struct {
	*tchttp.BaseRequest

	// <b>Keyword usage. Valid values:</b>
	// 1. Recognition.Ocr: OCR-based content recognition
	// 2. Recognition.Asr: ASR-based content recognition
	// 3. Review.Ocr: OCR-based inappropriate information recognition
	// 4. Review.Asr: ASR-based inappropriate information recognition
	// <b>Valid values can also be:</b>
	// 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2
	// 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4
	// You can select multiple elements, which are connected by OR logic. If a use case contains any element in this parameter, the keyword sample will be used.
	Usages []*string `json:"Usages,omitempty" name:"Usages"`

	// Keyword filter. Array length limit: 100 words.
	Keywords []*string `json:"Keywords,omitempty" name:"Keywords"`

	// Tag filter. Array length limit: 20 words.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`

	// Pagination offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of entries to be returned. Default value: 100. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewDescribeWordSamplesRequest

func NewDescribeWordSamplesRequest() (request *DescribeWordSamplesRequest)

func (*DescribeWordSamplesRequest) FromJsonString

func (r *DescribeWordSamplesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWordSamplesRequest) ToJsonString

func (r *DescribeWordSamplesRequest) ToJsonString() string

type DescribeWordSamplesResponse

type DescribeWordSamplesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Keyword information.
		WordSet []*AiSampleWord `json:"WordSet,omitempty" name:"WordSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWordSamplesResponse

func NewDescribeWordSamplesResponse() (response *DescribeWordSamplesResponse)

func (*DescribeWordSamplesResponse) FromJsonString

func (r *DescribeWordSamplesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWordSamplesResponse) ToJsonString

func (r *DescribeWordSamplesResponse) ToJsonString() string

type DomainDetailInfo

type DomainDetailInfo struct {

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Acceleration region information
	// Note: this field may return `null`, indicating that no valid value is obtained.
	AccelerateAreaInfos []*AccelerateAreaInfo `json:"AccelerateAreaInfos,omitempty" name:"AccelerateAreaInfos"`

	// Deployment status. Valid values:
	// <li>Online</li>
	// <li>Deploying</li>
	// <li>Locked: you cannot change the deployment status of locked domain names</li>
	DeployStatus *string `json:"DeployStatus,omitempty" name:"DeployStatus"`

	// HTTPS configuration information
	// Note: this field may return `null`, indicating that no valid value is obtained.
	HTTPSConfig *DomainHTTPSConfig `json:"HTTPSConfig,omitempty" name:"HTTPSConfig"`

	// [Key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986) configuration
	// Note: this field may return `null`, indicating that no valid value is obtained.
	UrlSignatureAuthPolicy *UrlSignatureAuthPolicy `json:"UrlSignatureAuthPolicy,omitempty" name:"UrlSignatureAuthPolicy"`

	// [Referer hotlink protection](https://intl.cloud.tencent.com/document/product/266/33985) configuration
	// Note: this field may return `null`, indicating that no valid value is obtained.
	RefererAuthPolicy *RefererAuthPolicy `json:"RefererAuthPolicy,omitempty" name:"RefererAuthPolicy"`

	// The time when the domain name was added in the VOD system
	// <li>The time is in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732).</li>
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type DomainHTTPSConfig

type DomainHTTPSConfig struct {

	// Time when the certificate expires
	// <li>The time is in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732).</li>
	CertExpireTime *string `json:"CertExpireTime,omitempty" name:"CertExpireTime"`
}

type DrmStreamingsInfo

type DrmStreamingsInfo struct {

	// ID of the adaptive bitrate streaming template whose protection type is SimpleAES.
	SimpleAesDefinition *uint64 `json:"SimpleAesDefinition,omitempty" name:"SimpleAesDefinition"`
}

type DrmStreamingsInfoForUpdate

type DrmStreamingsInfoForUpdate struct {

	// ID of the adaptive bitrate streaming template whose protection type is SimpleAES.
	SimpleAesDefinition *uint64 `json:"SimpleAesDefinition,omitempty" name:"SimpleAesDefinition"`
}

type EditMediaFileInfo

type EditMediaFileInfo struct {

	// Video ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Start time offset of video clipping in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of video clipping in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type EditMediaOutputConfig

type EditMediaOutputConfig struct {

	// Output filename of up to 64 characters, which is generated by the system by default.
	MediaName *string `json:"MediaName,omitempty" name:"MediaName"`

	// Output file format. Valid values: mp4, hls. Default value: mp4.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.
	// <li>Default value: 0, which means "Other".</li>
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Expiration time of output media file in ISO 8601 format, after which the file will be deleted. Files will never expire by default. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

type EditMediaRequest

type EditMediaRequest struct {
	*tchttp.BaseRequest

	// Input video type. Valid values: File, Stream.
	InputType *string `json:"InputType,omitempty" name:"InputType"`

	// Information of input video file, which is required if `InputType` is `File`.
	FileInfos []*EditMediaFileInfo `json:"FileInfos,omitempty" name:"FileInfos"`

	// Input stream information, which is required if `InputType` is `Stream`.
	StreamInfos []*EditMediaStreamInfo `json:"StreamInfos,omitempty" name:"StreamInfos"`

	// Editing template ID. Valid values: 10, 20. If this parameter is left empty, template 10 will be used.
	// <li>10: the input with the highest resolution will be used as the benchmark;</li>
	// <li>20: the input with the highest bitrate will be used as the benchmark;</li>
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// [Task flow template](https://intl.cloud.tencent.com/document/product/266/11700?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E6.B5.81.E6.A8.A1.E6.9D.BF) name, which should be entered if you want to perform a task flow on the generated new video.
	ProcedureName *string `json:"ProcedureName,omitempty" name:"ProcedureName"`

	// Configuration of file generated after editing.
	OutputConfig *EditMediaOutputConfig `json:"OutputConfig,omitempty" name:"OutputConfig"`

	// Identifies the source context which is used to pass through the user request information. The `EditMediaComplete` callback and task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// Task priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used.
	TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"`

	// Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// Reserved field for special purposes.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewEditMediaRequest

func NewEditMediaRequest() (request *EditMediaRequest)

func (*EditMediaRequest) FromJsonString

func (r *EditMediaRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EditMediaRequest) ToJsonString

func (r *EditMediaRequest) ToJsonString() string

type EditMediaResponse

type EditMediaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Video editing task ID, which can be used to query the status of editing task (with task type being `EditMedia`).
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewEditMediaResponse

func NewEditMediaResponse() (response *EditMediaResponse)

func (*EditMediaResponse) FromJsonString

func (r *EditMediaResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EditMediaResponse) ToJsonString

func (r *EditMediaResponse) ToJsonString() string

type EditMediaStreamInfo

type EditMediaStreamInfo struct {

	// ID of recorded stream
	StreamId *string `json:"StreamId,omitempty" name:"StreamId"`

	// Start time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	// Note: this field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type EditMediaTask

type EditMediaTask struct {

	// Task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Task flow status. Valid values:
	// <li>PROCESSING: processing;</li>
	// <li>FINISH: completed.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. 0: success; other values: failure.
	// <li>40000: invalid input parameter. Please check it;</li>
	// <li>60000: invalid source file (e.g., video data is corrupted). Please check whether the source file is normal;</li>
	// <li>70000: internal service error. Please try again.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Progress of a video editing task. Value range: [0, 100]
	Progress *int64 `json:"Progress,omitempty" name:"Progress"`

	// Input of video editing task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Input *EditMediaTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of video editing task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *EditMediaTaskOutput `json:"Output,omitempty" name:"Output"`

	// Metadata of a source video
	MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

	// If a video processing flow is specified when a video editing task is initiated, this field will be the ID of the task flow.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProcedureTaskId *string `json:"ProcedureTaskId,omitempty" name:"ProcedureTaskId"`

	// The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`
}

type EditMediaTaskInput

type EditMediaTaskInput struct {

	// Input video source type. Valid values: File, Stream.
	InputType *string `json:"InputType,omitempty" name:"InputType"`

	// Information of input video file. This field has a value only when `InputType` is `File`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileInfoSet []*EditMediaFileInfo `json:"FileInfoSet,omitempty" name:"FileInfoSet"`

	// Input stream information. This field has a value only when `InputType` is `Stream`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StreamInfoSet []*EditMediaStreamInfo `json:"StreamInfoSet,omitempty" name:"StreamInfoSet"`
}

type EditMediaTaskOutput

type EditMediaTaskOutput struct {

	// File type, such as mp4 and flv.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileType *string `json:"FileType,omitempty" name:"FileType"`

	// Media file playback address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// Media file ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Output filename of up to 64 characters, which is generated by the system by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MediaName *string `json:"MediaName,omitempty" name:"MediaName"`

	// Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [category creating](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.
	// <li>Default value: 0, which means "Other".</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Expiration time of output media file in ISO 8601 format, after which the file will be deleted. Files will never expire by default. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

type EmptyTrackItem

type EmptyTrackItem struct {

	// Duration in seconds.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`
}

type EventContent

type EventContent struct {

	// Event handler. The caller must call `ConfirmEvents` to confirm that the message has been received, and the confirmation is valid for 30 seconds. After the confirmation expires, the event can be obtained again.
	EventHandle *string `json:"EventHandle,omitempty" name:"EventHandle"`

	// <b>Supported event types:</b>
	// <li>NewFileUpload: finished video upload</li>
	// <li>ProcedureStateChanged: task flow status changed</li>
	// <li>FileDeleted: finished video deletion</li>
	// <li>PullComplete: finished pulling for upload</li>
	// <li>EditMediaComplete: finished video editing</li>
	// <li>SplitMediaComplete: finished video splitting</li>
	// <li>WechatPublishComplete: finished publishing on WeChat</li>
	// <li>ComposeMediaComplete: finished producing the media file</li>
	// <li>WechatMiniProgramPublishComplete: finished publishing on WeChat Mini Program</li>
	// <b>Support v2017 task types:</b>
	// <li>TranscodeComplete: finished video transcoding</li>
	// <li>ConcatComplete: finished video splicing</li>
	// <li>ClipComplete: finished video clipping</li>
	// <li>CreateImageSpriteComplete: finished image sprite generation</li>
	// <li>CreateSnapshotByTimeOffsetComplete: finished point-in-time screencapturing</li>
	EventType *string `json:"EventType,omitempty" name:"EventType"`

	// Video upload completion event, which is valid if the event type is `NewFileUpload`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileUploadEvent *FileUploadTask `json:"FileUploadEvent,omitempty" name:"FileUploadEvent"`

	// Task flow status change event, which is valid if the event type is `ProcedureStateChanged`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProcedureStateChangeEvent *ProcedureTask `json:"ProcedureStateChangeEvent,omitempty" name:"ProcedureStateChangeEvent"`

	// File deletion event, which is valid if the event type is `FileDeleted`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileDeleteEvent *FileDeleteTask `json:"FileDeleteEvent,omitempty" name:"FileDeleteEvent"`

	// Video pull for upload completion event, which is valid if the event type is `PullComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PullCompleteEvent *PullUploadTask `json:"PullCompleteEvent,omitempty" name:"PullCompleteEvent"`

	// Video editing completion event, which is valid if the event type is `EditMediaComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EditMediaCompleteEvent *EditMediaTask `json:"EditMediaCompleteEvent,omitempty" name:"EditMediaCompleteEvent"`

	// Video splitting completion event, which is valid if the event type is `EditMediaComplete`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SplitMediaCompleteEvent *SplitMediaTask `json:"SplitMediaCompleteEvent,omitempty" name:"SplitMediaCompleteEvent"`

	// Media file composing task completion event, which is valid when the event type is `ComposeMediaComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ComposeMediaCompleteEvent *ComposeMediaTask `json:"ComposeMediaCompleteEvent,omitempty" name:"ComposeMediaCompleteEvent"`

	// Video clipping completion event, which is valid if the event type is `ClipComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClipCompleteEvent *ClipTask2017 `json:"ClipCompleteEvent,omitempty" name:"ClipCompleteEvent"`

	// Video transcoding completion event, which is valid if the event type is `TranscodeComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TranscodeCompleteEvent *TranscodeTask2017 `json:"TranscodeCompleteEvent,omitempty" name:"TranscodeCompleteEvent"`

	// Image sprite generating completion event, which is valid if the event type is `CreateImageSpriteComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreateImageSpriteCompleteEvent *CreateImageSpriteTask2017 `json:"CreateImageSpriteCompleteEvent,omitempty" name:"CreateImageSpriteCompleteEvent"`

	// Video splicing completion event, which is valid if the event type is `ConcatComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ConcatCompleteEvent *ConcatTask2017 `json:"ConcatCompleteEvent,omitempty" name:"ConcatCompleteEvent"`

	// Time point screencapturing completion event, which is valid when the event type is `CreateSnapshotByTimeOffsetComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SnapshotByTimeOffsetCompleteEvent *SnapshotByTimeOffsetTask2017 `json:"SnapshotByTimeOffsetCompleteEvent,omitempty" name:"SnapshotByTimeOffsetCompleteEvent"`

	// Release on WeChat completion event, which is valid if the event type is `WechatPublishComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WechatPublishCompleteEvent *WechatPublishTask `json:"WechatPublishCompleteEvent,omitempty" name:"WechatPublishCompleteEvent"`

	// Release on WeChat Mini Program task completion event, which is valid if the event type is `WechatMiniProgramPublishComplete`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WechatMiniProgramPublishCompleteEvent *WechatMiniProgramPublishTask `json:"WechatMiniProgramPublishCompleteEvent,omitempty" name:"WechatMiniProgramPublishCompleteEvent"`

	// Callback for video retrieval. This parameter is valid when the event type is `RestoreMediaComplete`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RestoreMediaCompleteEvent *RestoreMediaTask `json:"RestoreMediaCompleteEvent,omitempty" name:"RestoreMediaCompleteEvent"`
}

type ExecuteFunctionRequest

type ExecuteFunctionRequest struct {
	*tchttp.BaseRequest

	// Name of called backend API.
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// API parameter. For specific parameter format, negotiate with the backend before calling.
	FunctionArg *string `json:"FunctionArg,omitempty" name:"FunctionArg"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// Reserved field for special purposes.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewExecuteFunctionRequest

func NewExecuteFunctionRequest() (request *ExecuteFunctionRequest)

func (*ExecuteFunctionRequest) FromJsonString

func (r *ExecuteFunctionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExecuteFunctionRequest) ToJsonString

func (r *ExecuteFunctionRequest) ToJsonString() string

type ExecuteFunctionResponse

type ExecuteFunctionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String generated by packaging processing result. For specifications, negotiate with the backend.
		// Note: this field may return null, indicating that no valid values can be obtained.
		Result *string `json:"Result,omitempty" name:"Result"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewExecuteFunctionResponse

func NewExecuteFunctionResponse() (response *ExecuteFunctionResponse)

func (*ExecuteFunctionResponse) FromJsonString

func (r *ExecuteFunctionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExecuteFunctionResponse) ToJsonString

func (r *ExecuteFunctionResponse) ToJsonString() string

type FaceConfigureInfo

type FaceConfigureInfo struct {

	// Switch of face recognition task. Valid values:
	// <li>ON: enables intelligent face recognition task;</li>
	// <li>OFF: disables intelligent face recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Face recognition filter score. If this score is reached or exceeded, a recognition result will be returned. Value range: 0–100. Default value: 95.
	Score *float64 `json:"Score,omitempty" name:"Score"`

	// Default face filter labels, which specify the types of faces to return. If this parameter is left empty, the recognition results for all labels are returned. Valid values:
	// <li>`entertainment`: people in the entertainment industry</li>
	// <li>`sport`: sports celebrities</li>
	// <li>`politician`: politically sensitive people</li>
	DefaultLibraryLabelSet []*string `json:"DefaultLibraryLabelSet,omitempty" name:"DefaultLibraryLabelSet"`

	// Custom face labels for filtering. After you specify a label, callbacks of face images without this label will be returned. If this parameter is not specified or left empty, callbacks of all face images will be returned.
	// You can specify up to 100 labels, with each containing up to 16 characters.
	UserDefineLibraryLabelSet []*string `json:"UserDefineLibraryLabelSet,omitempty" name:"UserDefineLibraryLabelSet"`

	// Figure library. Valid values:
	// <li>Default: default figure library;</li>
	// <li>UserDefine: custom figure library.</li>
	// <li>All: both default and custom figure libraries will be used.</li>
	// Default value: All (both default and custom figure libraries will be used.)
	FaceLibrary *string `json:"FaceLibrary,omitempty" name:"FaceLibrary"`
}

type FaceConfigureInfoForUpdate

type FaceConfigureInfoForUpdate struct {

	// Switch of face recognition task. Valid values:
	// <li>ON: enables intelligent face recognition task;</li>
	// <li>OFF: disables intelligent face recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Face recognition filter score. If this score is reached or exceeded, a recognition result will be returned. Value range: 0–100.
	Score *float64 `json:"Score,omitempty" name:"Score"`

	// Default face filter labels, which specify the types of faces to return. If this parameter is left empty or an empty value is entered, the recognition results for all labels are returned. Valid values:
	// <li>`entertainment`: people in the entertainment industry</li>
	// <li>`sport`: sports celebrities</li>
	// <li>`politician`: politically sensitive people</li>
	DefaultLibraryLabelSet []*string `json:"DefaultLibraryLabelSet,omitempty" name:"DefaultLibraryLabelSet"`

	// Custom face labels for filtering. After you specify a label, callbacks of face images without this label will be returned. If this parameter is not specified or left empty, callbacks of all face images will be returned.
	// You can specify up to 100 labels, with each containing up to 16 characters.
	UserDefineLibraryLabelSet []*string `json:"UserDefineLibraryLabelSet,omitempty" name:"UserDefineLibraryLabelSet"`

	// Figure library. Valid values:
	// <li>Default: default figure library;</li>
	// <li>UserDefine: custom figure library.</li>
	// <li>All: both default and custom figure libraries will be used.</li>
	FaceLibrary *string `json:"FaceLibrary,omitempty" name:"FaceLibrary"`
}

type FileDeleteTask

type FileDeleteTask struct {

	// List of IDs of deleted files.
	FileIdSet []*string `json:"FileIdSet,omitempty" name:"FileIdSet"`
}

type FileUploadTask

type FileUploadTask struct {

	// Unique file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Basic information of media file generated after upload is completed.
	MediaBasicInfo *MediaBasicInfo `json:"MediaBasicInfo,omitempty" name:"MediaBasicInfo"`

	// If a video processing flow is specified when a video is uploaded, this field will be the ID of the task flow.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProcedureTaskId *string `json:"ProcedureTaskId,omitempty" name:"ProcedureTaskId"`

	// Metadata, such as size, duration, video stream information, audio stream information, etc.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`
}

type ForbidMediaDistributionRequest

type ForbidMediaDistributionRequest struct {
	*tchttp.BaseRequest

	// List of media files. Up to 20 ones can be submitted at a time.
	FileIds []*string `json:"FileIds,omitempty" name:"FileIds"`

	// forbid: forbids, recover: unblocks.
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewForbidMediaDistributionRequest

func NewForbidMediaDistributionRequest() (request *ForbidMediaDistributionRequest)

func (*ForbidMediaDistributionRequest) FromJsonString

func (r *ForbidMediaDistributionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ForbidMediaDistributionRequest) ToJsonString

func (r *ForbidMediaDistributionRequest) ToJsonString() string

type ForbidMediaDistributionResponse

type ForbidMediaDistributionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of IDs of files that do not exist.
		NotExistFileIdSet []*string `json:"NotExistFileIdSet,omitempty" name:"NotExistFileIdSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewForbidMediaDistributionResponse

func NewForbidMediaDistributionResponse() (response *ForbidMediaDistributionResponse)

func (*ForbidMediaDistributionResponse) FromJsonString

func (r *ForbidMediaDistributionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ForbidMediaDistributionResponse) ToJsonString

func (r *ForbidMediaDistributionResponse) ToJsonString() string

type FrameTagConfigureInfo

type FrameTagConfigureInfo struct {

	// Switch of intelligent frame-specific tagging task. Valid values:
	// <li>ON: enables intelligent frame-specific tagging task;</li>
	// <li>OFF: disables intelligent frame-specific tagging task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Frame capturing interval in seconds. If this parameter is left empty, 1 second will be used by default. Minimum value: 0.5 seconds.
	ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"`
}

type FrameTagConfigureInfoForUpdate

type FrameTagConfigureInfoForUpdate struct {

	// Switch of intelligent frame-specific tagging task. Valid values:
	// <li>ON: enables intelligent frame-specific tagging task;</li>
	// <li>OFF: disables intelligent frame-specific tagging task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Frame capturing interval in seconds. Minimum value: 0.5 seconds.
	ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"`
}

type HeadTailConfigureInfo

type HeadTailConfigureInfo struct {

	// Switch of video opening and ending credits recognition task. Valid values:
	// <li>ON: enables video opening and ending credits recognition task;</li>
	// <li>OFF: disables video opening and ending credits recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type HeadTailConfigureInfoForUpdate

type HeadTailConfigureInfoForUpdate struct {

	// Switch of video opening and ending credits recognition task. Valid values:
	// <li>ON: enables video opening and ending credits recognition task;</li>
	// <li>OFF: disables video opening and ending credits recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type HeadTailTaskInput

type HeadTailTaskInput struct {

	// Video opening/closing credits configuration template ID
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type HighlightSegmentItem

type HighlightSegmentItem struct {

	// Confidence.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Start time offset of a segment.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of a segment.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type HighlightsConfigureInfo

type HighlightsConfigureInfo struct {

	// Switch of an intelligent highlight generating task. Valid values:
	// <li>ON: enable an intelligent highlight generating task;</li>
	// <li>OFF: disable an intelligent highlight generating task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type HighlightsConfigureInfoForUpdate

type HighlightsConfigureInfoForUpdate struct {

	// Switch of an intelligent highlight generating task. Valid values:
	// <li>ON: enable an intelligent highlight generating task;</li>
	// <li>OFF: disable an intelligent highlight generating task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type ImageSpriteTaskInput

type ImageSpriteTaskInput struct {

	// Image sprite generating template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`
}

type ImageSpriteTemplate

type ImageSpriteTemplate struct {

	// Unique ID of an image sprite generating template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Template type. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Name of an image sprite generating template.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Maximum value of the width (or long side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a subimage in an image sprite in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Sampling type.
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// Sampling interval.
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// Subimage row count of an image sprite.
	RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"`

	// Subimage column count of an image sprite.
	ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`

	// Template description.
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

type ImageTransform

type ImageTransform struct {

	// Type. Valid values:
	// <li> Rotate: image rotation.</li>
	// <li> Flip: image flipping.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Rotation angle of image with its center point as origin. Value range: 0-360. This parameter is valid if `Type` is `Rotate`.
	RotateAngle *float64 `json:"RotateAngle,omitempty" name:"RotateAngle"`

	// Image flipping action. Valid values:
	// <li>Horizental: horizontal flipping, i.e., horizontally mirrored.</li>
	// <li>Vertical: vertical flipping, i.e., vertically mirrored.</li>
	// This is valid if `Type` is `Flip`.
	Flip *string `json:"Flip,omitempty" name:"Flip"`
}

type ImageWatermarkInput

type ImageWatermarkInput struct {

	// The [Base64](https://tools.ietf.org/html/rfc4648) encoded string of a watermark image. Only JPEG, PNG, and GIF images are supported.
	ImageContent *string `json:"ImageContent,omitempty" name:"ImageContent"`

	// Watermark width. % and px formats are supported:
	// <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width. For example, `10%` means that `Width` is 10% of the video width;</li>
	// <li>If the string ends in px, the `Width` of the watermark will be in pixels. For example, `100px` means that `Width` is 100 pixels. Value range: [8, 4096].</li>
	// Default value: 10%.
	Width *string `json:"Width,omitempty" name:"Width"`

	// Watermark height. % and px formats are supported:
	// <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li>
	// <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px. Valid values: 0 or [8,4096].</li>
	// Default value: 0 px, which means that `Height` will be proportionally scaled according to the aspect ratio of the original watermark image.
	Height *string `json:"Height,omitempty" name:"Height"`

	// Repeat type of an animated watermark. Valid values:
	// <li>once: no longer appears after watermark playback ends.</li>
	// <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li>
	// <li>repeat (default): repeats the playback until the video ends.</li>
	RepeatType *string `json:"RepeatType,omitempty" name:"RepeatType"`
}

type ImageWatermarkInputForUpdate

type ImageWatermarkInputForUpdate struct {

	// String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) a watermark image. JPEG and PNG images are supported.
	ImageContent *string `json:"ImageContent,omitempty" name:"ImageContent"`

	// Watermark width. % and px formats are supported:
	// <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width. For example, `10%` means that `Width` is 10% of the video width;</li>
	// <li>If the string ends in px, the `Width` of the watermark will be in pixels. For example, `100px` means that `Width` is 100 pixels. Value range: [8, 4096].</li>
	Width *string `json:"Width,omitempty" name:"Width"`

	// Watermark height. % and px formats are supported:
	// <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li>
	// <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px. Valid values: 0 or [8,4096].</li>
	Height *string `json:"Height,omitempty" name:"Height"`

	// Repeat type of an animated watermark. Valid values:
	// <li>once: no longer appears after watermark playback ends.</li>
	// <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li>
	// <li>repeat (default): repeats the playback until the video ends.</li>
	RepeatType *string `json:"RepeatType,omitempty" name:"RepeatType"`
}

type ImageWatermarkTemplate

type ImageWatermarkTemplate struct {

	// Watermark image address.
	ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`

	// Watermark width. % and px formats are supported:
	// <li>If the string ends in %, the `Width` of the watermark will be the specified percentage of the video width; for example, `10%` means that `Width` is 10% of the video width;</li>
	// <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px.</li>
	Width *string `json:"Width,omitempty" name:"Width"`

	// Watermark height. % and px formats are supported:
	// <li>If the string ends in %, the `Height` of the watermark will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li>
	// <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px;</li>
	// `0px` means that `Height` will be proportionally scaled according to the video width.
	Height *string `json:"Height,omitempty" name:"Height"`

	// Repeat type of an animated watermark. Valid values:
	// <li>once: no longer appears after watermark playback ends.</li>
	// <li>repeat_last_frame: stays on the last frame after watermark playback ends.</li>
	// <li>repeat (default): repeats the playback until the video ends.</li>
	RepeatType *string `json:"RepeatType,omitempty" name:"RepeatType"`
}

type LiveRealTimeClipRequest

type LiveRealTimeClipRequest struct {
	*tchttp.BaseRequest

	// [LVB code](https://intl.cloud.tencent.com/document/product/267/5959?from_cn_redirect=1) of a stream.
	StreamId *string `json:"StreamId,omitempty" name:"StreamId"`

	// Start time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Whether to clip persistently. 0: no, 1: yes. Default: no.
	IsPersistence *int64 `json:"IsPersistence,omitempty" name:"IsPersistence"`

	// Storage expiration time of video generated by persistent clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). `9999-12-31T23:59:59Z` means `never expire`. After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. This parameter will be valid only when `IsPersistence` is 1. By default, the video will never expire.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// VOD task flow processing for video generated by persistent clipping. For more information, please see [Specifying Task Flow After Upload](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1). This parameter will be valid only when `IsPersistence` is 1.
	Procedure *string `json:"Procedure,omitempty" name:"Procedure"`

	// Whether the metadata of clipped video needs to be returned. 0: no, 1: yes. Default value: no.
	MetaDataRequired *uint64 `json:"MetaDataRequired,omitempty" name:"MetaDataRequired"`

	// Domain name used for live clipping. Time shifting must be enabled in LVB.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Reserved field. Do not enter a value for it.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewLiveRealTimeClipRequest

func NewLiveRealTimeClipRequest() (request *LiveRealTimeClipRequest)

func (*LiveRealTimeClipRequest) FromJsonString

func (r *LiveRealTimeClipRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*LiveRealTimeClipRequest) ToJsonString

func (r *LiveRealTimeClipRequest) ToJsonString() string

type LiveRealTimeClipResponse

type LiveRealTimeClipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Playback URL of clipped video.
		Url *string `json:"Url,omitempty" name:"Url"`

		// Unique media file ID of video generated by persistent clipping.
		// Note: this field may return null, indicating that no valid values can be obtained.
		FileId *string `json:"FileId,omitempty" name:"FileId"`

		// Task flow ID of video generated by persistent clipping.
		// Note: this field may return null, indicating that no valid values can be obtained.
		VodTaskId *string `json:"VodTaskId,omitempty" name:"VodTaskId"`

		// Metadata of clipped video.
		// Note: this field may return null, indicating that no valid values can be obtained.
		MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewLiveRealTimeClipResponse

func NewLiveRealTimeClipResponse() (response *LiveRealTimeClipResponse)

func (*LiveRealTimeClipResponse) FromJsonString

func (r *LiveRealTimeClipResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*LiveRealTimeClipResponse) ToJsonString

func (r *LiveRealTimeClipResponse) ToJsonString() string

type ManageTaskRequest

type ManageTaskRequest struct {
	*tchttp.BaseRequest

	// Video processing task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Operation type. Valid value:
	// <li>Abort: terminate a task. You can only terminate initiated tasks in `WAITING` status.</li>
	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewManageTaskRequest

func NewManageTaskRequest() (request *ManageTaskRequest)

func (*ManageTaskRequest) FromJsonString

func (r *ManageTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ManageTaskRequest) ToJsonString

func (r *ManageTaskRequest) ToJsonString() string

type ManageTaskResponse

type ManageTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewManageTaskResponse

func NewManageTaskResponse() (response *ManageTaskResponse)

func (*ManageTaskResponse) FromJsonString

func (r *ManageTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ManageTaskResponse) ToJsonString

func (r *ManageTaskResponse) ToJsonString() string

type MediaAdaptiveDynamicStreamingInfo

type MediaAdaptiveDynamicStreamingInfo struct {

	// Information array of adaptive bitrate streaming.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdaptiveDynamicStreamingSet []*AdaptiveDynamicStreamingInfoItem `json:"AdaptiveDynamicStreamingSet,omitempty" name:"AdaptiveDynamicStreamingSet"`
}

type MediaAiAnalysisClassificationItem

type MediaAiAnalysisClassificationItem struct {

	// Name of intelligently generated category.
	Classification *string `json:"Classification,omitempty" name:"Classification"`

	// Confidence of intelligently generated category between 0 and 100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaAiAnalysisCoverItem

type MediaAiAnalysisCoverItem struct {

	// Address of intelligently generated cover.
	CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"`

	// Confidence of intelligently generated cover between 0 and 100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaAiAnalysisFrameTagItem

type MediaAiAnalysisFrameTagItem struct {

	// Frame-specific tag name.
	Tag *string `json:"Tag,omitempty" name:"Tag"`

	// Category list of frame-specific tag names. `CategorySet.N` indicates the N+1-level category.
	// For example, if the `Tag` is "tower", and `CategorySet` contains two elements (`CategorySet.0` is "scene", and `CategorySet.1` is "architecture"), then the frame-specific tag is "tower", the first-level category is "scene", and the second-level category is "architecture".
	CategorySet []*string `json:"CategorySet,omitempty" name:"CategorySet"`

	// Confidence of intelligently generated frame-specific tag between 0 and 100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaAiAnalysisFrameTagSegmentItem

type MediaAiAnalysisFrameTagSegmentItem struct {

	// Start time offset of frame-specific tag.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of frame-specific tag.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// List of tags in time period.
	TagSet []*MediaAiAnalysisFrameTagItem `json:"TagSet,omitempty" name:"TagSet"`
}

type MediaAiAnalysisHighlightItem

type MediaAiAnalysisHighlightItem struct {

	// Address of an intelligently generated highlight.
	HighlightUrl *string `json:"HighlightUrl,omitempty" name:"HighlightUrl"`

	// Address of an intelligently generated highlight cover.
	CovImgUrl *string `json:"CovImgUrl,omitempty" name:"CovImgUrl"`

	// Confidence of an intelligently generated highlight between 0 and 100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Duration of an intelligently generated highlight.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// List of intelligently generated highlight subsegments, which together form a highlight.
	SegmentSet []*HighlightSegmentItem `json:"SegmentSet,omitempty" name:"SegmentSet"`
}

type MediaAiAnalysisTagItem

type MediaAiAnalysisTagItem struct {

	// Tag name.
	Tag *string `json:"Tag,omitempty" name:"Tag"`

	// Confidence of tag between 0 and 100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaAnimatedGraphicsInfo

type MediaAnimatedGraphicsInfo struct {

	// Result information of animated image generating task
	// Note: this field may return null, indicating that no valid values can be obtained.
	AnimatedGraphicsSet []*MediaAnimatedGraphicsItem `json:"AnimatedGraphicsSet,omitempty" name:"AnimatedGraphicsSet"`
}

type MediaAnimatedGraphicsItem

type MediaAnimatedGraphicsItem struct {

	// Address of generated animated image.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Animated image generating template ID. For more information, please see [Animated Image Generating Parameter Template](https://intl.cloud.tencent.com/document/product/266/33481?from_cn_redirect=1#.3Cspan-id-.3D-.22zdt.22.3E.3C.2Fspan.3E.E8.BD.AC.E5.8A.A8.E5.9B.BE.E6.A8.A1.E6.9D.BF).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Animated image format, such as gif.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Container *string `json:"Container,omitempty" name:"Container"`

	// Height of animated image in px.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// Width of animated image in px.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Bitrate of animated image in bps.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Size of animated image in bytes.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// MD5 value of an animated image.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Md5 *string `json:"Md5,omitempty" name:"Md5"`

	// Start time offset of animated image in video in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of animated image in video in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type MediaAudioStreamItem

type MediaAudioStreamItem struct {

	// Bitrate of audio stream in bps.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Sample rate of audio stream in Hz.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SamplingRate *int64 `json:"SamplingRate,omitempty" name:"SamplingRate"`

	// Audio stream encoder, such as aac.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Codec *string `json:"Codec,omitempty" name:"Codec"`
}

type MediaBasicInfo

type MediaBasicInfo struct {

	// Media filename.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Media file description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Creation time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last update time of media file (by an operation that triggers updating of media file information such as modifying video attributes or initiating video processing) in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	// Note: this field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Expiration time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. `9999-12-31T23:59:59Z` means "never expire".
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Category ID of media file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Category name of media file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClassName *string `json:"ClassName,omitempty" name:"ClassName"`

	// Category path to media file separated by "-", such as "new first-level category - new second-level category".
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClassPath *string `json:"ClassPath,omitempty" name:"ClassPath"`

	// Cover image address of media file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"`

	// Media file container, such as mp4 and flv.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`

	// URL of source media file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MediaUrl *string `json:"MediaUrl,omitempty" name:"MediaUrl"`

	// Source information of media file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SourceInfo *MediaSourceData `json:"SourceInfo,omitempty" name:"SourceInfo"`

	// Regions where media files are stored, such as `ap-chongqing`. For more regions, see [Storage Region](https://intl.cloud.tencent.com/document/product/266/9760).
	StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`

	// Tag information of media file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagSet []*string `json:"TagSet,omitempty" name:"TagSet"`

	// Unique ID of an LVB recording file.
	Vid *string `json:"Vid,omitempty" name:"Vid"`

	// File type:
	// <li>Video: video file</li>
	// <li>Audio: audio file</li>
	// <li>Image: image file</li>
	Category *string `json:"Category,omitempty" name:"Category"`

	// File status. Valid values: Normal, Forbidden.
	//
	// *Note: this field is not supported yet.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Storage class of a media file:
	// <li>STANDARD</li>
	// <li>STANDARD_IA</li>
	// <li>ARCHIVE</li>
	// <li>DEEP_ARCHIVE</li>
	StorageClass *string `json:"StorageClass,omitempty" name:"StorageClass"`
}

type MediaClassInfo

type MediaClassInfo struct {

	// Category ID
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Parent category ID, which is -1 for a first-level category.
	ParentId *int64 `json:"ParentId,omitempty" name:"ParentId"`

	// Category name
	ClassName *string `json:"ClassName,omitempty" name:"ClassName"`

	// Category level. 0 for first-level category, up to 3, i.e., up to 4 levels of categories are allowed.
	Level *uint64 `json:"Level,omitempty" name:"Level"`

	// Set of IDs of the immediate subcategories in current category
	SubClassIdSet []*int64 `json:"SubClassIdSet,omitempty" name:"SubClassIdSet"`
}

type MediaContentReviewAsrTextSegmentItem

type MediaContentReviewAsrTextSegmentItem struct {

	// Start time offset of suspected segment in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of suspected segment in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Confidence of suspected segment.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the detected suspicious content. Valid values:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of suspected keywords.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeywordSet []*string `json:"KeywordSet,omitempty" name:"KeywordSet"`
}

type MediaContentReviewOcrTextSegmentItem

type MediaContentReviewOcrTextSegmentItem struct {

	// Start time offset of suspected segment in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of suspected segment in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Confidence of suspected segment.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the detected suspicious content. Valid values:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// List of suspected keywords.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeywordSet []*string `json:"KeywordSet,omitempty" name:"KeywordSet"`

	// Zone coordinates (at the pixel level) of suspected text: [x1, y1, x2, y2], i.e., the coordinates of the top-left and bottom-right corners.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"`

	// URL of a suspected image (which will not be permanently stored
	// and will be deleted after `PicUrlExpireTime`).
	Url *string `json:"Url,omitempty" name:"Url"`

	// Expiration time of suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type MediaContentReviewPoliticalSegmentItem

type MediaContentReviewPoliticalSegmentItem struct {

	// Start time offset of a suspected segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of a suspected segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Confidence score for the detected politically sensitive content
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Processing suggestion for the detected politically sensitive content. Valid values:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Name of the politically sensitive content or banned images
	Name *string `json:"Name,omitempty" name:"Name"`

	// Labels for the detected politically sensitive content. The relationship between the values of this parameter and those of the `LabelSet` parameter in [PoliticalImgReviewTemplateInfo](https://intl.cloud.tencent.com/document/api/266/31773?from_cn_redirect=1#PoliticalImgReviewTemplateInfo) is as follows:
	// violation_photo:
	// <li>`violation_photo`: banned images</li>
	// politician:
	// <li>`nation_politician`: state leader of China</li>
	// <li>`province_politician`: provincial officials</li>
	// <li>`bureau_politician`: bureau-level officials</li>
	// <li>`county_politician`: county-level officials</li>
	// <li>`rural_politician`: township-level officials</li>
	// <li>`sensitive_politician`: politically sensitive people</li>
	// <li>`foreign_politician`: state leaders of other countries</li>
	// entertainment:
	// <li>`sensitive_entertainment`: banned people in the entertainment industry</li>
	// sport:
	// <li>`sensitive_sport`: banned sports celebrities</li>
	// entrepreneur:
	// <li>`sensitive_entrepreneur`: banned businesspeople</li>
	// scholar:
	// <li>sensitive_scholar: banned scholars</li>
	// celebrity:
	// <li>sensitive_celebrity: banned celebrities</li>
	// <li>historical_celebrity: banned historical figures</li>
	// military:
	// <li>sensitive_military: banned people in military</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// URL of a suspected image (which will not be permanently stored
	//  and will be deleted after `PicUrlExpireTime`).
	Url *string `json:"Url,omitempty" name:"Url"`

	// Coordinates (pixel) of the detected politically sensitive content or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners.
	AreaCoordSet []*int64 `json:"AreaCoordSet,omitempty" name:"AreaCoordSet"`

	// This field has been disused. Please use `PicUrlExpireTime`.
	PicUrlExpireTimeStamp *int64 `json:"PicUrlExpireTimeStamp,omitempty" name:"PicUrlExpireTimeStamp"`

	// Expiration time of suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type MediaContentReviewSegmentItem

type MediaContentReviewSegmentItem struct {

	// Start time offset of a suspected segment in seconds.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of a suspected segment in seconds.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Confidence score for the detected pornographic content
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`

	// Label for the detected pornographic content
	Label *string `json:"Label,omitempty" name:"Label"`

	// Processing suggestion for the detected pornographic content. Valid values:
	// <li>pass</li>
	// <li>review</li>
	// <li>block</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// URL of a suspected image (which will not be permanently stored
	//  and will be deleted after `PicUrlExpireTime`).
	Url *string `json:"Url,omitempty" name:"Url"`

	// This field has been disused. Please use `PicUrlExpireTime`.
	PicUrlExpireTimeStamp *int64 `json:"PicUrlExpireTimeStamp,omitempty" name:"PicUrlExpireTimeStamp"`

	// Expiration time of suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	PicUrlExpireTime *string `json:"PicUrlExpireTime,omitempty" name:"PicUrlExpireTime"`
}

type MediaDeleteItem

type MediaDeleteItem struct {

	// Type of files to delete. If this parameter is left empty, it will be invalid. Valid values:
	// <li>`OriginalFiles`: original files. You cannot initiate transcoding, publishing on WeChat, or other video processing operations after deleting the original files.</li>
	// <li>`TranscodeFiles`: transcoded files</li>
	// <li>`WechatPublishFiles`: files for publishing on WeChat</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of the template for which to delete the videos of the type specified by the `Type` parameter. For the template definition, please see [Transcoding Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.3Cspan-id-.3D-.22zm.22-.3E.3C.2Fspan.3E.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
	// Default value: 0, which indicates to delete all videos of the type specified by the `Type` parameter.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`
}

type MediaImageSpriteInfo

type MediaImageSpriteInfo struct {

	// Information set of image sprites with specified specifications. Each element represents a set of image sprites with the same specification.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageSpriteSet []*MediaImageSpriteItem `json:"ImageSpriteSet,omitempty" name:"ImageSpriteSet"`
}

type MediaImageSpriteItem

type MediaImageSpriteItem struct {

	// Image sprite specification. For more information, please see [Image Sprite Parameter Template](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E9.9B.AA.E7.A2.A7.E5.9B.BE.E6.A8.A1.E6.9D.BF).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Subimage height of image sprite.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// Subimage width of image sprite.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Total number of subimages in each image sprite.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Address of each image sprite.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageUrlSet []*string `json:"ImageUrlSet,omitempty" name:"ImageUrlSet"`

	// Address of WebVtt file for the position-time relationship among subimages in an image sprite. The WebVtt file indicates the corresponding time points of each subimage and their coordinates in the image sprite, which is typically used by the player for implementing preview.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WebVttUrl *string `json:"WebVttUrl,omitempty" name:"WebVttUrl"`
}

type MediaInfo

type MediaInfo struct {

	// Basic information, such as video name, category, playback address, and cover image.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BasicInfo *MediaBasicInfo `json:"BasicInfo,omitempty" name:"BasicInfo"`

	// Metadata, such as size, duration, video stream information, and audio stream information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

	// Result information of transcoding, such as address, specification, bitrate, and resolution of the videos in various bitrates generated by transcoding a video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TranscodeInfo *MediaTranscodeInfo `json:"TranscodeInfo,omitempty" name:"TranscodeInfo"`

	// Result information of animated image generating, i.e., relevant information of an animated image (such as .gif) generated from a video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AnimatedGraphicsInfo *MediaAnimatedGraphicsInfo `json:"AnimatedGraphicsInfo,omitempty" name:"AnimatedGraphicsInfo"`

	// Sampled screenshot information, i.e., relevant information of a sampled screenshot generated from a video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SampleSnapshotInfo *MediaSampleSnapshotInfo `json:"SampleSnapshotInfo,omitempty" name:"SampleSnapshotInfo"`

	// Image sprite information, i.e., relevant information of image sprite generated from video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageSpriteInfo *MediaImageSpriteInfo `json:"ImageSpriteInfo,omitempty" name:"ImageSpriteInfo"`

	// Time point screenshot information, i.e., information of each time point screenshot generated from a video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SnapshotByTimeOffsetInfo *MediaSnapshotByTimeOffsetInfo `json:"SnapshotByTimeOffsetInfo,omitempty" name:"SnapshotByTimeOffsetInfo"`

	// Timestamp information, i.e., information of each timestamp set for a video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyFrameDescInfo *MediaKeyFrameDescInfo `json:"KeyFrameDescInfo,omitempty" name:"KeyFrameDescInfo"`

	// Adaptive bitrate streaming information, such as specification, encryption type, and container format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdaptiveDynamicStreamingInfo *MediaAdaptiveDynamicStreamingInfo `json:"AdaptiveDynamicStreamingInfo,omitempty" name:"AdaptiveDynamicStreamingInfo"`

	// WeChat Mini Program audit information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MiniProgramReviewInfo *MediaMiniProgramReviewInfo `json:"MiniProgramReviewInfo,omitempty" name:"MiniProgramReviewInfo"`

	// Subtitle information
	// Note: this field may return `null`, indicating that no valid value is obtained.
	SubtitleInfo *MediaSubtitleInfo `json:"SubtitleInfo,omitempty" name:"SubtitleInfo"`

	// Unique ID of media file.
	FileId *string `json:"FileId,omitempty" name:"FileId"`
}

type MediaInputInfo

type MediaInputInfo struct {

	// Video URL.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Video name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Custom video ID.
	Id *string `json:"Id,omitempty" name:"Id"`
}

type MediaKeyFrameDescInfo

type MediaKeyFrameDescInfo struct {

	// Information array of video timestamps.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyFrameDescSet []*MediaKeyFrameDescItem `json:"KeyFrameDescSet,omitempty" name:"KeyFrameDescSet"`
}

type MediaKeyFrameDescItem

type MediaKeyFrameDescItem struct {

	// Offset time of video timestamp in seconds.
	TimeOffset *float64 `json:"TimeOffset,omitempty" name:"TimeOffset"`

	// Content string of timestamp containing 1-128 characters.
	Content *string `json:"Content,omitempty" name:"Content"`
}

type MediaMetaData

type MediaMetaData struct {

	// Size of uploaded media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// Container, such as m4a and mp4.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Container *string `json:"Container,omitempty" name:"Container"`

	// Sum of the average bitrate of a video stream and that of an audio stream in bps.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Maximum value of the height of a video stream in px.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// Maximum value of the width of a video stream in px.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Video duration in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// Selected angle during video recording in degrees.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Rotate *int64 `json:"Rotate,omitempty" name:"Rotate"`

	// Video stream information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitempty" name:"VideoStreamSet"`

	// Audio stream information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitempty" name:"AudioStreamSet"`

	// Video duration in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VideoDuration *float64 `json:"VideoDuration,omitempty" name:"VideoDuration"`

	// Audio duration in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioDuration *float64 `json:"AudioDuration,omitempty" name:"AudioDuration"`
}

type MediaMiniProgramReviewElem

type MediaMiniProgramReviewElem struct {

	// Audit type.
	// <li>Porn: porn image,</li>
	// <li>Porn.Ocr: porn text,</li>
	// <li>Porn.Asr: porn speech,</li>
	// <li>Terrorism: terrorism image,</li>
	// <li>Political: politically sensitive image,</li>
	// <li>Political.Ocr: politically sensitive text</li>
	// <li>Political.Asr: politically sensitive speech</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Audit suggestion.
	// <li>pass: normal,</li>
	// <li>block: violating,</li>
	// <li>review: suspected of violation.</li>
	Suggestion *string `json:"Suggestion,omitempty" name:"Suggestion"`

	// Confidence of audit result between 0 and 100.
	Confidence *float64 `json:"Confidence,omitempty" name:"Confidence"`
}

type MediaMiniProgramReviewInfo

type MediaMiniProgramReviewInfo struct {

	// Audit information list.
	MiniProgramReviewList []*MediaMiniProgramReviewInfoItem `json:"MiniProgramReviewList,omitempty" name:"MiniProgramReviewList"`
}

type MediaMiniProgramReviewInfoItem

type MediaMiniProgramReviewInfoItem struct {

	// Template ID, which is the ID of the transcoding template corresponding to the video published on WeChat Mini Program. 0 represents the source video.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Video metadata.
	MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

	// Video playback address for WeChat Mini Program audit
	// Note: this field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Status of video release on WeChat Mini Program
	// <li>Pass: succeeded.</li>
	// <li>Rejected: rejected.</li>
	ReviewResult *string `json:"ReviewResult,omitempty" name:"ReviewResult"`

	// WeChat Mini Program audit element.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReviewSummary []*MediaMiniProgramReviewElem `json:"ReviewSummary,omitempty" name:"ReviewSummary"`
}

type MediaOutputInfo

type MediaOutputInfo struct {

	// Region of the bucket where an output file is stored, such as ap-guangzhou.
	Region *string `json:"Region,omitempty" name:"Region"`

	// Bucket of output file.
	Bucket *string `json:"Bucket,omitempty" name:"Bucket"`

	// Path to output file, which must end in "/".
	Dir *string `json:"Dir,omitempty" name:"Dir"`
}

type MediaProcessTaskAdaptiveDynamicStreamingResult

type MediaProcessTaskAdaptiveDynamicStreamingResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of adaptive bitrate streaming task.
	Input *AdaptiveDynamicStreamingTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of adaptive bitrate streaming task.
	Output *AdaptiveDynamicStreamingInfoItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskAnimatedGraphicResult

type MediaProcessTaskAnimatedGraphicResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of animated image generating task.
	Input *AnimatedGraphicTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of animated image generating task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *MediaAnimatedGraphicsItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskCoverBySnapshotResult

type MediaProcessTaskCoverBySnapshotResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of cover generating task.
	Input *CoverBySnapshotTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of cover generating task.
	Output *CoverBySnapshotTaskOutput `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskImageSpriteResult

type MediaProcessTaskImageSpriteResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of image sprite generating task.
	Input *ImageSpriteTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of image sprite generating task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *MediaImageSpriteItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskInput

type MediaProcessTaskInput struct {

	// List of transcoding tasks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TranscodeTaskSet []*TranscodeTaskInput `json:"TranscodeTaskSet,omitempty" name:"TranscodeTaskSet"`

	// List of animated image generating tasks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AnimatedGraphicTaskSet []*AnimatedGraphicTaskInput `json:"AnimatedGraphicTaskSet,omitempty" name:"AnimatedGraphicTaskSet"`

	// List of time point screencapturing tasks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SnapshotByTimeOffsetTaskSet []*SnapshotByTimeOffsetTaskInput `json:"SnapshotByTimeOffsetTaskSet,omitempty" name:"SnapshotByTimeOffsetTaskSet"`

	// List of sampled screencapturing tasks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SampleSnapshotTaskSet []*SampleSnapshotTaskInput `json:"SampleSnapshotTaskSet,omitempty" name:"SampleSnapshotTaskSet"`

	// List of image sprite generating tasks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageSpriteTaskSet []*ImageSpriteTaskInput `json:"ImageSpriteTaskSet,omitempty" name:"ImageSpriteTaskSet"`

	// List of cover generating tasks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CoverBySnapshotTaskSet []*CoverBySnapshotTaskInput `json:"CoverBySnapshotTaskSet,omitempty" name:"CoverBySnapshotTaskSet"`

	// List of adaptive bitrate streaming tasks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdaptiveDynamicStreamingTaskSet []*AdaptiveDynamicStreamingTaskInput `json:"AdaptiveDynamicStreamingTaskSet,omitempty" name:"AdaptiveDynamicStreamingTaskSet"`
}

type MediaProcessTaskResult

type MediaProcessTaskResult struct {

	// Task type. Valid values:
	// <li>Transcode: transcoding</li>
	// <li>AnimatedGraphics: animated image generating</li>
	// <li>SnapshotByTimeOffset: time point screencapturing</li>
	// <li>SampleSnapshot: sampled screencapturing</li>
	// <li>ImageSprites: image sprite generating</li>
	// <li>CoverBySnapshot: Screencapturing for cover image</li>
	// <li>AdaptiveDynamicStreaming: adaptive bitrate streaming</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Query result of transcoding task, which is valid when task type is `Transcode`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TranscodeTask *MediaProcessTaskTranscodeResult `json:"TranscodeTask,omitempty" name:"TranscodeTask"`

	// Query result of animated image generating task, which is valid when task type is `AnimatedGraphics`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AnimatedGraphicTask *MediaProcessTaskAnimatedGraphicResult `json:"AnimatedGraphicTask,omitempty" name:"AnimatedGraphicTask"`

	// Query result of time point screencapturing task, which is valid when task type is `SnapshotByTimeOffset`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SnapshotByTimeOffsetTask *MediaProcessTaskSnapshotByTimeOffsetResult `json:"SnapshotByTimeOffsetTask,omitempty" name:"SnapshotByTimeOffsetTask"`

	// Query result of sampled screencapturing task, which is valid when task type is `SampleSnapshot`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SampleSnapshotTask *MediaProcessTaskSampleSnapshotResult `json:"SampleSnapshotTask,omitempty" name:"SampleSnapshotTask"`

	// Query result of image sprite generating task, which is valid when task type is `ImageSprite`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageSpriteTask *MediaProcessTaskImageSpriteResult `json:"ImageSpriteTask,omitempty" name:"ImageSpriteTask"`

	// Query result of cover generating task, which is valid if task type is `CoverBySnapshot`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CoverBySnapshotTask *MediaProcessTaskCoverBySnapshotResult `json:"CoverBySnapshotTask,omitempty" name:"CoverBySnapshotTask"`

	// Query result of adaptive bitrate streaming, which is valid if task type is `AdaptiveDynamicStreaming`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdaptiveDynamicStreamingTask *MediaProcessTaskAdaptiveDynamicStreamingResult `json:"AdaptiveDynamicStreamingTask,omitempty" name:"AdaptiveDynamicStreamingTask"`
}

type MediaProcessTaskSampleSnapshotResult

type MediaProcessTaskSampleSnapshotResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of sampled screencapturing task.
	Input *SampleSnapshotTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of sampled screencapturing task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *MediaSampleSnapshotItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskSnapshotByTimeOffsetResult

type MediaProcessTaskSnapshotByTimeOffsetResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of time point screencapturing task.
	Input *SnapshotByTimeOffsetTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of time point screencapturing task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *MediaSnapshotByTimeOffsetItem `json:"Output,omitempty" name:"Output"`
}

type MediaProcessTaskTranscodeResult

type MediaProcessTaskTranscodeResult struct {

	// Task status. Valid values: PROCESSING, SUCCESS, FAIL.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You’re not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Input of transcoding task.
	Input *TranscodeTaskInput `json:"Input,omitempty" name:"Input"`

	// Output of transcoding task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Output *MediaTranscodeItem `json:"Output,omitempty" name:"Output"`

	// Transcoding progress. Value range: 0-100.
	Progress *int64 `json:"Progress,omitempty" name:"Progress"`

	// Transcoding task start time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"`

	// Transcoding task end time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
	FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"`
}

type MediaSampleSnapshotInfo

type MediaSampleSnapshotInfo struct {

	// Information set of sampled screenshots with the specified specifications. Each element represents a set of sampled screenshots with the same specification.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SampleSnapshotSet []*MediaSampleSnapshotItem `json:"SampleSnapshotSet,omitempty" name:"SampleSnapshotSet"`
}

type MediaSampleSnapshotItem

type MediaSampleSnapshotItem struct {

	// Sampled screenshot specification ID. For more information, please see [Sampled Screencapturing Parameter Template](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E9.87.87.E6.A0.B7.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Sample type. Valid values:
	// <li>Percent: samples at a specified percentage interval.</li>
	// <li>Time: samples at a specified time interval.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// Sampling interval
	// <li>If `SampleType` is `Percent`, this value means taking a screenshot at an interval of the specified percentage.</li>
	// <li>If `SampleType` is `Time`, this value means taking a screenshot at an interval of the specified time (in seconds). The first screenshot is always the first video frame.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	Interval *int64 `json:"Interval,omitempty" name:"Interval"`

	// List of URLs of generated screenshots.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageUrlSet []*string `json:"ImageUrlSet,omitempty" name:"ImageUrlSet"`

	// List of watermarking template IDs if the screenshots are watermarked.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitempty" name:"WaterMarkDefinition"`
}

type MediaSnapshotByTimeOffsetInfo

type MediaSnapshotByTimeOffsetInfo struct {

	// Information set of time point screenshots with a specified specification. Currently, there can be only one set of screenshots for each specification.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SnapshotByTimeOffsetSet []*MediaSnapshotByTimeOffsetItem `json:"SnapshotByTimeOffsetSet,omitempty" name:"SnapshotByTimeOffsetSet"`
}

type MediaSnapshotByTimeOffsetItem

type MediaSnapshotByTimeOffsetItem struct {

	// Specification of a time point screenshot. For more information, please see [Parameter Template for Time Point Screencapturing](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E6.97.B6.E9.97.B4.E7.82.B9.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Information set of screenshots of the same specification. Each element represents a screenshot.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PicInfoSet []*MediaSnapshotByTimePicInfoItem `json:"PicInfoSet,omitempty" name:"PicInfoSet"`
}

type MediaSnapshotByTimePicInfoItem

type MediaSnapshotByTimePicInfoItem struct {

	// Time offset corresponding to the screenshot in the video in <font color=red>milliseconds</font>.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TimeOffset *float64 `json:"TimeOffset,omitempty" name:"TimeOffset"`

	// Screenshot URL.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitempty" name:"Url"`

	// List of watermarking template IDs if the screenshots are watermarked.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WaterMarkDefinition []*int64 `json:"WaterMarkDefinition,omitempty" name:"WaterMarkDefinition"`
}

type MediaSourceData

type MediaSourceData struct {

	// Source of a media file:
	// <li>`Record`: recording, such as live or time-shift recording</li>
	// <li>`Upload`: upload, such as pull for upload, upload from server, and UGC upload from client</li>
	// <li>`VideoProcessing`: video processing, such as video splicing and video clipping</li>
	// <li>`WebPageRecord`: panoramic recording </li>
	// <li>`Unknown`: unknown source</li>
	SourceType *string `json:"SourceType,omitempty" name:"SourceType"`

	// Field passed through when a file is created.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"`
}

type MediaSubtitleInfo

type MediaSubtitleInfo struct {

	// Subtitle information list
	SubtitleSet []*MediaSubtitleItem `json:"SubtitleSet,omitempty" name:"SubtitleSet"`
}

type MediaSubtitleInput

type MediaSubtitleInput struct {

	// Subtitle name. Length limit: 64 characters
	Name *string `json:"Name,omitempty" name:"Name"`

	// Subtitle language. Common values:
	// <li>`cn`: Chinese</li>
	// <li>`ja`: Japanese</li>
	// <li>`en-US`: English</li>
	// For other valid values, see [RFC 5646](https://tools.ietf.org/html/rfc5646).
	Language *string `json:"Language,omitempty" name:"Language"`

	// Subtitle format. Valid value:
	// <li>vtt</li>
	Format *string `json:"Format,omitempty" name:"Format"`

	// Subtitle content, which is [Base64-encoded](https://tools.ietf.org/html/rfc4648) strings
	Content *string `json:"Content,omitempty" name:"Content"`

	// Subtitle ID. Its length cannot exceed 16 characters. Uppercase and lowercase letters, numbers, underscores (_), and hyphens (-) are supported. It cannot be the same as the IDs of the existing subtitles in the media file.
	Id *string `json:"Id,omitempty" name:"Id"`
}

type MediaSubtitleItem

type MediaSubtitleItem struct {

	// Unique subtitle ID
	Id *string `json:"Id,omitempty" name:"Id"`

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

	// Subtitle language. Common values:
	// <li>`cn`: Chinese</li>
	// <li>`ja`: Japanese</li>
	// <li>`en-US`: English</li>
	// For other values, see [RFC 5646](https://tools.ietf.org/html/rfc5646).
	Language *string `json:"Language,omitempty" name:"Language"`

	// Subtitle format. Valid value:
	// <li>vtt</li>
	Format *string `json:"Format,omitempty" name:"Format"`

	// Subtitle URL
	Url *string `json:"Url,omitempty" name:"Url"`
}

type MediaTrack

type MediaTrack struct {

	// Track type. Valid values:
	// <ul>
	// <li>Video: video track, which is composed of the following items: <ul><li>VideoTrackItem</li><li>MediaTransitionItem</li> <li>EmptyTrackItem</li></ul> </li>
	// <li>Audio: audio track, which is composed of the following items: <ul><li>AudioTrackItem</li><li>MediaTransitionItem</li><li>EmptyTrackItem</li></ul></li>
	// <li>Sticker: sticker track, which is composed of the following items: <ul><li> StickerTrackItem</li><li>EmptyTrackItem</li></ul></li>
	// </ul>
	Type *string `json:"Type,omitempty" name:"Type"`

	// List of media segments on track.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TrackItems []*MediaTrackItem `json:"TrackItems,omitempty" name:"TrackItems"`
}

type MediaTrackItem

type MediaTrackItem struct {

	// Segment type. Valid values:
	// <li>Video: video segment.</li>
	// <li>Audio: audio segment.</li>
	// <li>Sticker: sticker segment.</li>
	// <li>Transition: transition.</li>
	// <li>Empty: empty segment.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Video segment, which is valid if `Type` is `Video`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VideoItem *VideoTrackItem `json:"VideoItem,omitempty" name:"VideoItem"`

	// Audio segment, which is valid if `Type` is `Audio`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioItem *AudioTrackItem `json:"AudioItem,omitempty" name:"AudioItem"`

	// Sticker segment, which is valid if `Type` is `Sticker`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StickerItem *StickerTrackItem `json:"StickerItem,omitempty" name:"StickerItem"`

	// Transition, which is valid if `Type` is `Transition`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TransitionItem *MediaTransitionItem `json:"TransitionItem,omitempty" name:"TransitionItem"`

	// Empty segment, which is valid if `Type` is `Empty`. It is used as placeholder on time axis. <li>If you want a period of silence between two audio segments, you can use `EmptyTrackItem` to hold the place.</li>
	// <li>Use `EmptyTrackItem` as a placeholder to locate an item.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	EmptyItem *EmptyTrackItem `json:"EmptyItem,omitempty" name:"EmptyItem"`
}

type MediaTranscodeInfo

type MediaTranscodeInfo struct {

	// Information set of transcoding with each specification. Each element represents a result of transcoding with a specification.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TranscodeSet []*MediaTranscodeItem `json:"TranscodeSet,omitempty" name:"TranscodeSet"`
}

type MediaTranscodeItem

type MediaTranscodeItem struct {

	// Address of output video file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Transcoding specification ID. For more information, please see [Transcoding Parameter Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Sum of the average bitrate of a video stream and that of an audio stream in bps.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Maximum value of the height of a video stream in px.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// Maximum value of the width of a video stream in px.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Total size of a media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// Video duration in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// Container, such as m4a and mp4.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Container *string `json:"Container,omitempty" name:"Container"`

	// MD5 value of video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Md5 *string `json:"Md5,omitempty" name:"Md5"`

	// Audio stream information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioStreamSet []*MediaAudioStreamItem `json:"AudioStreamSet,omitempty" name:"AudioStreamSet"`

	// Video stream information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VideoStreamSet []*MediaVideoStreamItem `json:"VideoStreamSet,omitempty" name:"VideoStreamSet"`
}

type MediaTransitionItem

type MediaTransitionItem struct {

	// Transition duration in seconds. For two media segments that use a transition, the start time of the second segment on the track will be automatically set to the end time of the first segment minus the transition duration.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// List of transition operations. Up to one video image or audio transition operation is supported.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Transitions []*TransitionOpertion `json:"Transitions,omitempty" name:"Transitions"`
}

type MediaVideoStreamItem

type MediaVideoStreamItem struct {

	// Bitrate of video stream in bps.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Height of video stream in px.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// Width of video stream in px.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Video stream encoder, such as h264.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// Frame rate in Hz.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Fps *int64 `json:"Fps,omitempty" name:"Fps"`
}

type ModifyAIAnalysisTemplateRequest

type ModifyAIAnalysisTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of video content analysis template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Video content analysis template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Video content analysis template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Control parameter of intelligent categorization task.
	ClassificationConfigure *ClassificationConfigureInfoForUpdate `json:"ClassificationConfigure,omitempty" name:"ClassificationConfigure"`

	// Control parameter of intelligent tagging task.
	TagConfigure *TagConfigureInfoForUpdate `json:"TagConfigure,omitempty" name:"TagConfigure"`

	// Control parameter of intelligent cover generating task.
	CoverConfigure *CoverConfigureInfoForUpdate `json:"CoverConfigure,omitempty" name:"CoverConfigure"`

	// Control parameter of intelligent frame-specific tagging task.
	FrameTagConfigure *FrameTagConfigureInfoForUpdate `json:"FrameTagConfigure,omitempty" name:"FrameTagConfigure"`

	// Control parameter of an intelligent highlight generating task.
	HighlightConfigure *HighlightsConfigureInfoForUpdate `json:"HighlightConfigure,omitempty" name:"HighlightConfigure"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyAIAnalysisTemplateRequest

func NewModifyAIAnalysisTemplateRequest() (request *ModifyAIAnalysisTemplateRequest)

func (*ModifyAIAnalysisTemplateRequest) FromJsonString

func (r *ModifyAIAnalysisTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAIAnalysisTemplateRequest) ToJsonString

func (r *ModifyAIAnalysisTemplateRequest) ToJsonString() string

type ModifyAIAnalysisTemplateResponse

type ModifyAIAnalysisTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAIAnalysisTemplateResponse

func NewModifyAIAnalysisTemplateResponse() (response *ModifyAIAnalysisTemplateResponse)

func (*ModifyAIAnalysisTemplateResponse) FromJsonString

func (r *ModifyAIAnalysisTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAIAnalysisTemplateResponse) ToJsonString

func (r *ModifyAIAnalysisTemplateResponse) ToJsonString() string

type ModifyAIRecognitionTemplateRequest

type ModifyAIRecognitionTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of video content recognition template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Video content recognition template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Description of video content recognition template. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Control parameter of video opening and ending credits recognition.
	HeadTailConfigure *HeadTailConfigureInfoForUpdate `json:"HeadTailConfigure,omitempty" name:"HeadTailConfigure"`

	// Control parameter of video splitting recognition.
	SegmentConfigure *SegmentConfigureInfoForUpdate `json:"SegmentConfigure,omitempty" name:"SegmentConfigure"`

	// Control parameter of face recognition.
	FaceConfigure *FaceConfigureInfoForUpdate `json:"FaceConfigure,omitempty" name:"FaceConfigure"`

	// Control parameter of full text recognition.
	OcrFullTextConfigure *OcrFullTextConfigureInfoForUpdate `json:"OcrFullTextConfigure,omitempty" name:"OcrFullTextConfigure"`

	// Control parameter of text keyword recognition.
	OcrWordsConfigure *OcrWordsConfigureInfoForUpdate `json:"OcrWordsConfigure,omitempty" name:"OcrWordsConfigure"`

	// Control parameter of full speech recognition.
	AsrFullTextConfigure *AsrFullTextConfigureInfoForUpdate `json:"AsrFullTextConfigure,omitempty" name:"AsrFullTextConfigure"`

	// Control parameter of speech keyword recognition.
	AsrWordsConfigure *AsrWordsConfigureInfoForUpdate `json:"AsrWordsConfigure,omitempty" name:"AsrWordsConfigure"`

	// Control parameter of object recognition.
	ObjectConfigure *ObjectConfigureInfoForUpdate `json:"ObjectConfigure,omitempty" name:"ObjectConfigure"`

	// Frame capturing interval in seconds. Minimum value: 0.5 seconds.
	ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyAIRecognitionTemplateRequest

func NewModifyAIRecognitionTemplateRequest() (request *ModifyAIRecognitionTemplateRequest)

func (*ModifyAIRecognitionTemplateRequest) FromJsonString

func (r *ModifyAIRecognitionTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAIRecognitionTemplateRequest) ToJsonString

func (r *ModifyAIRecognitionTemplateRequest) ToJsonString() string

type ModifyAIRecognitionTemplateResponse

type ModifyAIRecognitionTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAIRecognitionTemplateResponse

func NewModifyAIRecognitionTemplateResponse() (response *ModifyAIRecognitionTemplateResponse)

func (*ModifyAIRecognitionTemplateResponse) FromJsonString

func (r *ModifyAIRecognitionTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAIRecognitionTemplateResponse) ToJsonString

func (r *ModifyAIRecognitionTemplateResponse) ToJsonString() string

type ModifyAdaptiveDynamicStreamingTemplateRequest

type ModifyAdaptiveDynamicStreamingTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of adaptive bitrate streaming template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Adaptive bitstream format. Valid values:
	// <li>HLS.</li>
	Format *string `json:"Format,omitempty" name:"Format"`

	// Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
	// <li>0: no,</li>
	// <li>1: yes.</li>
	DisableHigherVideoBitrate *uint64 `json:"DisableHigherVideoBitrate,omitempty" name:"DisableHigherVideoBitrate"`

	// Whether to prohibit transcoding from low resolution to high resolution. Valid values:
	// <li>0: no,</li>
	// <li>1: yes.</li>
	DisableHigherVideoResolution *uint64 `json:"DisableHigherVideoResolution,omitempty" name:"DisableHigherVideoResolution"`

	// Parameter information of input stream for adaptive bitrate streaming. Up to 10 streams can be input.
	// Note: the frame rate of all streams must be the same; otherwise, the frame rate of the first stream will be used as the output frame rate.
	StreamInfos []*AdaptiveStreamTemplate `json:"StreamInfos,omitempty" name:"StreamInfos"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyAdaptiveDynamicStreamingTemplateRequest

func NewModifyAdaptiveDynamicStreamingTemplateRequest() (request *ModifyAdaptiveDynamicStreamingTemplateRequest)

func (*ModifyAdaptiveDynamicStreamingTemplateRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAdaptiveDynamicStreamingTemplateRequest) ToJsonString

type ModifyAdaptiveDynamicStreamingTemplateResponse

type ModifyAdaptiveDynamicStreamingTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAdaptiveDynamicStreamingTemplateResponse

func NewModifyAdaptiveDynamicStreamingTemplateResponse() (response *ModifyAdaptiveDynamicStreamingTemplateResponse)

func (*ModifyAdaptiveDynamicStreamingTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAdaptiveDynamicStreamingTemplateResponse) ToJsonString

type ModifyAnimatedGraphicsTemplateRequest

type ModifyAnimatedGraphicsTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of an animated image generating template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Name of an animated image generating template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Maximum value of the width (or long side) of an animated image in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of an animated image in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Animated image format. Valid values: gif, webp.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Video frame rate in Hz. Value range: [1, 30].
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// Image quality. Value range: [1, 100]. Default value: 75.
	Quality *float64 `json:"Quality,omitempty" name:"Quality"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyAnimatedGraphicsTemplateRequest

func NewModifyAnimatedGraphicsTemplateRequest() (request *ModifyAnimatedGraphicsTemplateRequest)

func (*ModifyAnimatedGraphicsTemplateRequest) FromJsonString

func (r *ModifyAnimatedGraphicsTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAnimatedGraphicsTemplateRequest) ToJsonString

type ModifyAnimatedGraphicsTemplateResponse

type ModifyAnimatedGraphicsTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAnimatedGraphicsTemplateResponse

func NewModifyAnimatedGraphicsTemplateResponse() (response *ModifyAnimatedGraphicsTemplateResponse)

func (*ModifyAnimatedGraphicsTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAnimatedGraphicsTemplateResponse) ToJsonString

type ModifyClassRequest

type ModifyClassRequest struct {
	*tchttp.BaseRequest

	// Category ID
	ClassId *uint64 `json:"ClassId,omitempty" name:"ClassId"`

	// Category name, which can contain 1–64 characters.
	ClassName *string `json:"ClassName,omitempty" name:"ClassName"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyClassRequest

func NewModifyClassRequest() (request *ModifyClassRequest)

func (*ModifyClassRequest) FromJsonString

func (r *ModifyClassRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClassRequest) ToJsonString

func (r *ModifyClassRequest) ToJsonString() string

type ModifyClassResponse

type ModifyClassResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyClassResponse

func NewModifyClassResponse() (response *ModifyClassResponse)

func (*ModifyClassResponse) FromJsonString

func (r *ModifyClassResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClassResponse) ToJsonString

func (r *ModifyClassResponse) ToJsonString() string

type ModifyContentReviewTemplateRequest

type ModifyContentReviewTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of an intelligent content recognition template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Name of an intelligent content recognition template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Description of an intelligent content recognition template. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Control parameter for terrorism information.
	TerrorismConfigure *TerrorismConfigureInfoForUpdate `json:"TerrorismConfigure,omitempty" name:"TerrorismConfigure"`

	// Control parameter for porn information.
	PornConfigure *PornConfigureInfoForUpdate `json:"PornConfigure,omitempty" name:"PornConfigure"`

	// Control parameter for politically sensitive information.
	PoliticalConfigure *PoliticalConfigureInfoForUpdate `json:"PoliticalConfigure,omitempty" name:"PoliticalConfigure"`

	// Control parameter of prohibited information detection. Prohibited information includes:
	// <li>Abusive;</li>
	// <li>Drug-related.</li>
	ProhibitedConfigure *ProhibitedConfigureInfoForUpdate `json:"ProhibitedConfigure,omitempty" name:"ProhibitedConfigure"`

	// Control parameter for custom intelligent content recognition tasks.
	UserDefineConfigure *UserDefineConfigureInfoForUpdate `json:"UserDefineConfigure,omitempty" name:"UserDefineConfigure"`

	// Frame capturing interval in seconds. Minimum value: 0.5 seconds.
	ScreenshotInterval *float64 `json:"ScreenshotInterval,omitempty" name:"ScreenshotInterval"`

	// Whether to allow the recognition result to enter the intelligent recognition platform (for human recognition).
	// <li>ON: yes</li>
	// <li>OFF: no</li>
	ReviewWallSwitch *string `json:"ReviewWallSwitch,omitempty" name:"ReviewWallSwitch"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyContentReviewTemplateRequest

func NewModifyContentReviewTemplateRequest() (request *ModifyContentReviewTemplateRequest)

func (*ModifyContentReviewTemplateRequest) FromJsonString

func (r *ModifyContentReviewTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyContentReviewTemplateRequest) ToJsonString

func (r *ModifyContentReviewTemplateRequest) ToJsonString() string

type ModifyContentReviewTemplateResponse

type ModifyContentReviewTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyContentReviewTemplateResponse

func NewModifyContentReviewTemplateResponse() (response *ModifyContentReviewTemplateResponse)

func (*ModifyContentReviewTemplateResponse) FromJsonString

func (r *ModifyContentReviewTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyContentReviewTemplateResponse) ToJsonString

func (r *ModifyContentReviewTemplateResponse) ToJsonString() string

type ModifyImageSpriteTemplateRequest

type ModifyImageSpriteTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of an image sprite generating template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Name of an image sprite generating template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Subimage width of an image sprite in px. Value range: [128, 4,096].
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Subimage height of an image sprite in px. Value range: [128, 4,096].
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Sampling type. Valid values:
	// <li>Percent: by percent.</li>
	// <li>Time: by time interval.</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// Sampling interval.
	// <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li>
	// <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li>
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// Subimage row count of an image sprite.
	RowCount *uint64 `json:"RowCount,omitempty" name:"RowCount"`

	// Subimage column count of an image sprite.
	ColumnCount *uint64 `json:"ColumnCount,omitempty" name:"ColumnCount"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyImageSpriteTemplateRequest

func NewModifyImageSpriteTemplateRequest() (request *ModifyImageSpriteTemplateRequest)

func (*ModifyImageSpriteTemplateRequest) FromJsonString

func (r *ModifyImageSpriteTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyImageSpriteTemplateRequest) ToJsonString

func (r *ModifyImageSpriteTemplateRequest) ToJsonString() string

type ModifyImageSpriteTemplateResponse

type ModifyImageSpriteTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyImageSpriteTemplateResponse

func NewModifyImageSpriteTemplateResponse() (response *ModifyImageSpriteTemplateResponse)

func (*ModifyImageSpriteTemplateResponse) FromJsonString

func (r *ModifyImageSpriteTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyImageSpriteTemplateResponse) ToJsonString

func (r *ModifyImageSpriteTemplateResponse) ToJsonString() string

type ModifyMediaInfoRequest

type ModifyMediaInfoRequest struct {
	*tchttp.BaseRequest

	// Unique media file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Media filename, which can contain up to 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Media file description, which can contain up to 128 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Media file category ID.
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Media file expiration time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The value `9999-12-31T23:59:59Z` indicates that the media file never expires. After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the video cover image file (such as .jpeg or .png file). Only .gif, .jpeg, and .png image formats are supported.
	CoverData *string `json:"CoverData,omitempty" name:"CoverData"`

	// Set of video timestamps to be added. If a timestamp already exists at an offset time point, it will be overwritten. Up to 100 timestamps can be added to one media file. In the same request, the time offset parameters of `AddKeyFrameDescs` must be different from those of `DeleteKeyFrameDescs`.
	AddKeyFrameDescs []*MediaKeyFrameDescItem `json:"AddKeyFrameDescs,omitempty" name:"AddKeyFrameDescs"`

	// Time offset of the set of video timestamps to be deleted in seconds. In the same request, the time offset parameters of `AddKeyFrameDescs` must be different from those of `DeleteKeyFrameDescs`.
	DeleteKeyFrameDescs []*float64 `json:"DeleteKeyFrameDescs,omitempty" name:"DeleteKeyFrameDescs"`

	// The value `1` indicates to delete all timestamps in the video. Other values are meaningless.
	// In the same request, `ClearKeyFrameDescs` and `AddKeyFrameDescs` cannot be present at the same time.
	ClearKeyFrameDescs *int64 `json:"ClearKeyFrameDescs,omitempty" name:"ClearKeyFrameDescs"`

	// Set of tags to be added. Up to 16 tags can be added to one media file, and one tag can contain up to 16 characters. In the same request, the parameters of `AddTags` must be different from those of `DeleteTags`.
	AddTags []*string `json:"AddTags,omitempty" name:"AddTags"`

	// Set of tags to be deleted. In the same request, the parameters of `AddTags` must be different from those of `DeleteTags`.
	DeleteTags []*string `json:"DeleteTags,omitempty" name:"DeleteTags"`

	// The value `1` indicates to delete all tags of the media file. Other values are meaningless.
	// In the same request, `ClearTags` and `AddTags` cannot be present at the same time.
	ClearTags *int64 `json:"ClearTags,omitempty" name:"ClearTags"`

	// Information of multiple subtitles to be added. A single media file can have up to 16 subtitles. In the same request, the subtitle IDs specified in `AddSubtitles` must be different from those in `DeleteSubtitleIds`.
	AddSubtitles []*MediaSubtitleInput `json:"AddSubtitles,omitempty" name:"AddSubtitles"`

	// Unique IDs of the subtitles to be deleted. In the same request, the subtitle IDs specified in `AddSubtitles` must be different from those in `DeleteSubtitleIds`.
	DeleteSubtitleIds []*string `json:"DeleteSubtitleIds,omitempty" name:"DeleteSubtitleIds"`

	// The value `1` indicates to delete all subtitle information of the media file. Other values are meaningless.
	// `ClearSubtitles` and `AddSubtitles` cannot co-exist in the same request.
	ClearSubtitles *int64 `json:"ClearSubtitles,omitempty" name:"ClearSubtitles"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyMediaInfoRequest

func NewModifyMediaInfoRequest() (request *ModifyMediaInfoRequest)

func (*ModifyMediaInfoRequest) FromJsonString

func (r *ModifyMediaInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMediaInfoRequest) ToJsonString

func (r *ModifyMediaInfoRequest) ToJsonString() string

type ModifyMediaInfoResponse

type ModifyMediaInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// URL of new video cover.
		// * Note: this returned value is valid only if the request carries `CoverData`.*
		CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"`

		// Added subtitle information
		AddedSubtitleSet []*MediaSubtitleItem `json:"AddedSubtitleSet,omitempty" name:"AddedSubtitleSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyMediaInfoResponse

func NewModifyMediaInfoResponse() (response *ModifyMediaInfoResponse)

func (*ModifyMediaInfoResponse) FromJsonString

func (r *ModifyMediaInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMediaInfoResponse) ToJsonString

func (r *ModifyMediaInfoResponse) ToJsonString() string

type ModifyPersonSampleRequest

type ModifyPersonSampleRequest struct {
	*tchttp.BaseRequest

	// ID of a sample.
	PersonId *string `json:"PersonId,omitempty" name:"PersonId"`

	// Name. Length limit: 128 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Description. Length limit: 1,024 characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Sample usage. Valid values:
	// 1. Recognition: used for content recognition; equivalent to `Recognition.Face`
	// 2. Review: used for inappropriate information recognition; equivalent to `Review.Face`
	// 3. All: used for content recognition and inappropriate information recognition; equivalent to 1+2
	Usages []*string `json:"Usages,omitempty" name:"Usages"`

	// Information of operations on facial features.
	FaceOperationInfo *AiSampleFaceOperation `json:"FaceOperationInfo,omitempty" name:"FaceOperationInfo"`

	// Tag operation information.
	TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitempty" name:"TagOperationInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyPersonSampleRequest

func NewModifyPersonSampleRequest() (request *ModifyPersonSampleRequest)

func (*ModifyPersonSampleRequest) FromJsonString

func (r *ModifyPersonSampleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPersonSampleRequest) ToJsonString

func (r *ModifyPersonSampleRequest) ToJsonString() string

type ModifyPersonSampleResponse

type ModifyPersonSampleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Information of a sample.
		Person *AiSamplePerson `json:"Person,omitempty" name:"Person"`

		// Information of samples that failed the verification by facial feature positioning.
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		FailFaceInfoSet []*AiSampleFailFaceInfo `json:"FailFaceInfoSet,omitempty" name:"FailFaceInfoSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyPersonSampleResponse

func NewModifyPersonSampleResponse() (response *ModifyPersonSampleResponse)

func (*ModifyPersonSampleResponse) FromJsonString

func (r *ModifyPersonSampleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPersonSampleResponse) ToJsonString

func (r *ModifyPersonSampleResponse) ToJsonString() string

type ModifySampleSnapshotTemplateRequest

type ModifySampleSnapshotTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of a sampled screencapturing template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Name of a sampled screencapturing template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Sampled screencapturing type. Valid values:
	// <li>Percent: by percent.</li>
	// <li>Time: by time interval.</li>
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// Sampling interval.
	// <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li>
	// <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li>
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// Image format. Valid values: jpg, png.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li>
	// <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

func NewModifySampleSnapshotTemplateRequest

func NewModifySampleSnapshotTemplateRequest() (request *ModifySampleSnapshotTemplateRequest)

func (*ModifySampleSnapshotTemplateRequest) FromJsonString

func (r *ModifySampleSnapshotTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySampleSnapshotTemplateRequest) ToJsonString

func (r *ModifySampleSnapshotTemplateRequest) ToJsonString() string

type ModifySampleSnapshotTemplateResponse

type ModifySampleSnapshotTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySampleSnapshotTemplateResponse

func NewModifySampleSnapshotTemplateResponse() (response *ModifySampleSnapshotTemplateResponse)

func (*ModifySampleSnapshotTemplateResponse) FromJsonString

func (r *ModifySampleSnapshotTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySampleSnapshotTemplateResponse) ToJsonString

func (r *ModifySampleSnapshotTemplateResponse) ToJsonString() string

type ModifySnapshotByTimeOffsetTemplateRequest

type ModifySnapshotByTimeOffsetTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of a specified time point screencapturing template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Name of a time point screencapturing template. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Image format. Valid values: jpg, png.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li>
	// <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

func NewModifySnapshotByTimeOffsetTemplateRequest

func NewModifySnapshotByTimeOffsetTemplateRequest() (request *ModifySnapshotByTimeOffsetTemplateRequest)

func (*ModifySnapshotByTimeOffsetTemplateRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySnapshotByTimeOffsetTemplateRequest) ToJsonString

type ModifySnapshotByTimeOffsetTemplateResponse

type ModifySnapshotByTimeOffsetTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySnapshotByTimeOffsetTemplateResponse

func NewModifySnapshotByTimeOffsetTemplateResponse() (response *ModifySnapshotByTimeOffsetTemplateResponse)

func (*ModifySnapshotByTimeOffsetTemplateResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySnapshotByTimeOffsetTemplateResponse) ToJsonString

type ModifySubAppIdInfoRequest

type ModifySubAppIdInfoRequest struct {
	*tchttp.BaseRequest

	// Subapplication ID.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Subapplication name. Length limit: 40 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Subapplication overview. Length limit: 300 characters.
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewModifySubAppIdInfoRequest

func NewModifySubAppIdInfoRequest() (request *ModifySubAppIdInfoRequest)

func (*ModifySubAppIdInfoRequest) FromJsonString

func (r *ModifySubAppIdInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySubAppIdInfoRequest) ToJsonString

func (r *ModifySubAppIdInfoRequest) ToJsonString() string

type ModifySubAppIdInfoResponse

type ModifySubAppIdInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySubAppIdInfoResponse

func NewModifySubAppIdInfoResponse() (response *ModifySubAppIdInfoResponse)

func (*ModifySubAppIdInfoResponse) FromJsonString

func (r *ModifySubAppIdInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySubAppIdInfoResponse) ToJsonString

func (r *ModifySubAppIdInfoResponse) ToJsonString() string

type ModifySubAppIdStatusRequest

type ModifySubAppIdStatusRequest struct {
	*tchttp.BaseRequest

	// Subapplication ID.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Subapplication status. Valid values:
	// <li>On: enabled</li>
	// <li>Off: disabled</li>
	// <li>Destroyed: terminated</li>
	// You cannot enable a subapplication whose status is “Destroying”. You can enable it after it was terminated.
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifySubAppIdStatusRequest

func NewModifySubAppIdStatusRequest() (request *ModifySubAppIdStatusRequest)

func (*ModifySubAppIdStatusRequest) FromJsonString

func (r *ModifySubAppIdStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySubAppIdStatusRequest) ToJsonString

func (r *ModifySubAppIdStatusRequest) ToJsonString() string

type ModifySubAppIdStatusResponse

type ModifySubAppIdStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySubAppIdStatusResponse

func NewModifySubAppIdStatusResponse() (response *ModifySubAppIdStatusResponse)

func (*ModifySubAppIdStatusResponse) FromJsonString

func (r *ModifySubAppIdStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySubAppIdStatusResponse) ToJsonString

func (r *ModifySubAppIdStatusResponse) ToJsonString() string

type ModifySuperPlayerConfigRequest

type ModifySuperPlayerConfigRequest struct {
	*tchttp.BaseRequest

	// Player configuration name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Type of audio/video played. Valid values:
	// <li>AdaptiveDynamicStreaming</li>
	// <li>Transcode</li>
	// <li>Original</li>
	AudioVideoType *string `json:"AudioVideoType,omitempty" name:"AudioVideoType"`

	// Switch of DRM-protected adaptive bitstream playback:
	// <li>ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;</li>
	// <li>OFF: disabled, indicating to play back unencrypted output adaptive bitstreams.</li>
	DrmSwitch *string `json:"DrmSwitch,omitempty" name:"DrmSwitch"`

	// ID of the unencrypted adaptive bitrate streaming template that allows output.
	AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"`

	// Content of the DRM-protected adaptive bitrate streaming template that allows output.
	DrmStreamingsInfo *DrmStreamingsInfoForUpdate `json:"DrmStreamingsInfo,omitempty" name:"DrmStreamingsInfo"`

	// ID of the transcoding template allowed for playback
	TranscodeDefinition *uint64 `json:"TranscodeDefinition,omitempty" name:"TranscodeDefinition"`

	// ID of the image sprite generating template that allows output.
	ImageSpriteDefinition *uint64 `json:"ImageSpriteDefinition,omitempty" name:"ImageSpriteDefinition"`

	// Display name of player for substreams with different resolutions.
	ResolutionNames []*ResolutionNameInfo `json:"ResolutionNames,omitempty" name:"ResolutionNames"`

	// Domain name used for playback. If its value is `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Scheme used for playback. Valid values:
	// <li>Default: the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used;</li>
	// <li>HTTP;</li>
	// <li>HTTPS.</li>
	Scheme *string `json:"Scheme,omitempty" name:"Scheme"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifySuperPlayerConfigRequest

func NewModifySuperPlayerConfigRequest() (request *ModifySuperPlayerConfigRequest)

func (*ModifySuperPlayerConfigRequest) FromJsonString

func (r *ModifySuperPlayerConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySuperPlayerConfigRequest) ToJsonString

func (r *ModifySuperPlayerConfigRequest) ToJsonString() string

type ModifySuperPlayerConfigResponse

type ModifySuperPlayerConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySuperPlayerConfigResponse

func NewModifySuperPlayerConfigResponse() (response *ModifySuperPlayerConfigResponse)

func (*ModifySuperPlayerConfigResponse) FromJsonString

func (r *ModifySuperPlayerConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySuperPlayerConfigResponse) ToJsonString

func (r *ModifySuperPlayerConfigResponse) ToJsonString() string

type ModifyTranscodeTemplateRequest

type ModifyTranscodeTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of transcoding template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Container. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files.
	Container *string `json:"Container,omitempty" name:"Container"`

	// Transcoding template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Whether to remove video data. Valid values:
	// <li>0: retain</li>
	// <li>1: remove</li>
	RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`

	// Whether to remove audio data. Valid values:
	// <li>0: retain</li>
	// <li>1: remove</li>
	RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// Video stream configuration parameter.
	VideoTemplate *VideoTemplateInfoForUpdate `json:"VideoTemplate,omitempty" name:"VideoTemplate"`

	// Audio stream configuration parameter.
	AudioTemplate *AudioTemplateInfoForUpdate `json:"AudioTemplate,omitempty" name:"AudioTemplate"`

	// TESHD transcoding parameter.
	TEHDConfig *TEHDConfigForUpdate `json:"TEHDConfig,omitempty" name:"TEHDConfig"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyTranscodeTemplateRequest

func NewModifyTranscodeTemplateRequest() (request *ModifyTranscodeTemplateRequest)

func (*ModifyTranscodeTemplateRequest) FromJsonString

func (r *ModifyTranscodeTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTranscodeTemplateRequest) ToJsonString

func (r *ModifyTranscodeTemplateRequest) ToJsonString() string

type ModifyTranscodeTemplateResponse

type ModifyTranscodeTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyTranscodeTemplateResponse

func NewModifyTranscodeTemplateResponse() (response *ModifyTranscodeTemplateResponse)

func (*ModifyTranscodeTemplateResponse) FromJsonString

func (r *ModifyTranscodeTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTranscodeTemplateResponse) ToJsonString

func (r *ModifyTranscodeTemplateResponse) ToJsonString() string

type ModifyVodDomainAccelerateConfigRequest

type ModifyVodDomainAccelerateConfigRequest struct {
	*tchttp.BaseRequest

	// Domain name for acceleration setting
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Region. Valid values:
	// <li>`Chinese Mainland`</li>
	// <li>`Outside Chinese Mainland`</li>
	// <li>`Global`</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// Whether to enable or disable domain name acceleration for the selected region. Valid values:
	// <li>`Enabled`: enable</li>
	// <li>`Disabled`: disable</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyVodDomainAccelerateConfigRequest

func NewModifyVodDomainAccelerateConfigRequest() (request *ModifyVodDomainAccelerateConfigRequest)

func (*ModifyVodDomainAccelerateConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyVodDomainAccelerateConfigRequest) ToJsonString

type ModifyVodDomainAccelerateConfigResponse

type ModifyVodDomainAccelerateConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyVodDomainAccelerateConfigResponse

func NewModifyVodDomainAccelerateConfigResponse() (response *ModifyVodDomainAccelerateConfigResponse)

func (*ModifyVodDomainAccelerateConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyVodDomainAccelerateConfigResponse) ToJsonString

type ModifyVodDomainConfigRequest

type ModifyVodDomainConfigRequest struct {
	*tchttp.BaseRequest

	// Domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// [Referer hotlink protection](https://intl.cloud.tencent.com/document/product/266/14046?from_cn_redirect=1) policy
	RefererAuthPolicy *RefererAuthPolicy `json:"RefererAuthPolicy,omitempty" name:"RefererAuthPolicy"`

	// [Key hotlink protection](https://intl.cloud.tencent.com/document/product/266/14047?from_cn_redirect=1) policy
	UrlSignatureAuthPolicy *UrlSignatureAuthPolicy `json:"UrlSignatureAuthPolicy,omitempty" name:"UrlSignatureAuthPolicy"`

	// VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyVodDomainConfigRequest

func NewModifyVodDomainConfigRequest() (request *ModifyVodDomainConfigRequest)

func (*ModifyVodDomainConfigRequest) FromJsonString

func (r *ModifyVodDomainConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyVodDomainConfigRequest) ToJsonString

func (r *ModifyVodDomainConfigRequest) ToJsonString() string

type ModifyVodDomainConfigResponse

type ModifyVodDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyVodDomainConfigResponse

func NewModifyVodDomainConfigResponse() (response *ModifyVodDomainConfigResponse)

func (*ModifyVodDomainConfigResponse) FromJsonString

func (r *ModifyVodDomainConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyVodDomainConfigResponse) ToJsonString

func (r *ModifyVodDomainConfigResponse) ToJsonString() string

type ModifyWatermarkTemplateRequest

type ModifyWatermarkTemplateRequest struct {
	*tchttp.BaseRequest

	// Unique ID of watermarking template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Watermarking template name. Length limit: 64 characters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Origin position. Valid values:
	// <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li>
	// <li>TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li>
	// <li>BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li>
	// <li>BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li>
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
	// <li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li>
	// <li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li>
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
	// <li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li>
	// <li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li>
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// Image watermarking template. This field is valid only for image watermarking templates.
	ImageTemplate *ImageWatermarkInputForUpdate `json:"ImageTemplate,omitempty" name:"ImageTemplate"`

	// Text watermarking template. This field is valid only for text watermarking templates.
	TextTemplate *TextWatermarkTemplateInputForUpdate `json:"TextTemplate,omitempty" name:"TextTemplate"`

	// SVG watermarking template. This field is only valid for SVG watermarking templates.
	SvgTemplate *SvgWatermarkInputForUpdate `json:"SvgTemplate,omitempty" name:"SvgTemplate"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyWatermarkTemplateRequest

func NewModifyWatermarkTemplateRequest() (request *ModifyWatermarkTemplateRequest)

func (*ModifyWatermarkTemplateRequest) FromJsonString

func (r *ModifyWatermarkTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyWatermarkTemplateRequest) ToJsonString

func (r *ModifyWatermarkTemplateRequest) ToJsonString() string

type ModifyWatermarkTemplateResponse

type ModifyWatermarkTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Image watermark address. This field has a value only when `ImageTemplate.ImageContent` is not empty.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyWatermarkTemplateResponse

func NewModifyWatermarkTemplateResponse() (response *ModifyWatermarkTemplateResponse)

func (*ModifyWatermarkTemplateResponse) FromJsonString

func (r *ModifyWatermarkTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyWatermarkTemplateResponse) ToJsonString

func (r *ModifyWatermarkTemplateResponse) ToJsonString() string

type ModifyWordSampleRequest

type ModifyWordSampleRequest struct {
	*tchttp.BaseRequest

	// Keyword. Length limit: 128 characters.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// <b>Keyword usage. Valid values:</b>
	// 1. Recognition.Ocr: OCR-based content recognition
	// 2. Recognition.Asr: ASR-based content recognition
	// 3. Review.Ocr: OCR-based inappropriate information recognition
	// 4. Review.Asr: ASR-based inappropriate information recognition
	// <b>Valid values can also be:</b>
	// 5. Recognition: ASR- and OCR-based content recognition; equivalent to 1+2
	// 6. Review: ASR- and OCR-based inappropriate information recognition; equivalent to 3+4
	// 7. All: equivalent to 1+2+3+4
	Usages []*string `json:"Usages,omitempty" name:"Usages"`

	// Tag operation information.
	TagOperationInfo *AiSampleTagOperation `json:"TagOperationInfo,omitempty" name:"TagOperationInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewModifyWordSampleRequest

func NewModifyWordSampleRequest() (request *ModifyWordSampleRequest)

func (*ModifyWordSampleRequest) FromJsonString

func (r *ModifyWordSampleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyWordSampleRequest) ToJsonString

func (r *ModifyWordSampleRequest) ToJsonString() string

type ModifyWordSampleResponse

type ModifyWordSampleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyWordSampleResponse

func NewModifyWordSampleResponse() (response *ModifyWordSampleResponse)

func (*ModifyWordSampleResponse) FromJsonString

func (r *ModifyWordSampleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyWordSampleResponse) ToJsonString

func (r *ModifyWordSampleResponse) ToJsonString() string

type MosaicInput

type MosaicInput struct {

	// Origin position, which currently can only be:
	// <li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the blur is in the top-left corner of the image or text.</li>
	// Default value: TopLeft.
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// The horizontal position of the origin of the blur relative to the origin of coordinates of the video. % and px formats are supported:
	// <li>If the string ends in %, the `XPos` of the blur will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li>
	// <li>If the string ends in px, the `XPos` of the blur will be the specified px; for example, `100px` means that `XPos` is 100 px.</li>
	// Default value: 0 px.
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// Vertical position of the origin of blur relative to the origin of coordinates of video. % and px formats are supported:
	// <li>If the string ends in %, the `YPos` of the blur will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li>
	// <li>If the string ends in px, the `YPos` of the blur will be the specified px; for example, `100px` means that `YPos` is 100 px.</li>
	// Default value: 0 px.
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// Blur width. % and px formats are supported:
	// <li>If the string ends in %, the `Width` of the blur will be the specified percentage of the video width; for example, `10%` means that `Width` is 10% of the video width;</li>
	// <li>If the string ends in px, the `Width` of the blur will be in px; for example, `100px` means that `Width` is 100 px.</li>
	// Default value: 10%.
	Width *string `json:"Width,omitempty" name:"Width"`

	// Blur height. % and px formats are supported:
	// <li>If the string ends in %, the `Height` of the blur will be the specified percentage of the video height; for example, `10%` means that `Height` is 10% of the video height;</li>
	// <li>If the string ends in px, the `Height` of the blur will be in px; for example, `100px` means that `Height` is 100 px.</li>
	// Default value: 10%.
	Height *string `json:"Height,omitempty" name:"Height"`

	// Start time offset of blur in seconds. If this parameter is left empty or 0 is entered, the blur will appear upon the first video frame.
	// <li>If this parameter is left empty or 0 is entered, the blur will appear upon the first video frame;</li>
	// <li>If this value is greater than 0 (e.g., n), the blur will appear at second n after the first video frame;</li>
	// <li>If this value is smaller than 0 (e.g., -n), the blur will appear at second n before the last video frame.</li>
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of blur in seconds.
	// <li>If this parameter is left empty or 0 is entered, the blur will exist till the last video frame;</li>
	// <li>If this value is greater than 0 (e.g., n), the blur will exist till second n;</li>
	// <li>If this value is smaller than 0 (e.g., -n), the blur will exist till second n before the last video frame.</li>
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type ObjectConfigureInfo

type ObjectConfigureInfo struct {

	// Switch of object recognition task. Valid values:
	// <li>ON: enables intelligent object recognition task;</li>
	// <li>OFF: disables intelligent object recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Object library. Valid values:
	// <li>Default: default object library;</li>
	// <li>UserDefine: custom object library.</li>
	// <li>All: both default and custom object libraries will be used.</li>
	// Default value: All, i.e., both default and custom object libraries will be used.
	ObjectLibrary *string `json:"ObjectLibrary,omitempty" name:"ObjectLibrary"`
}

type ObjectConfigureInfoForUpdate

type ObjectConfigureInfoForUpdate struct {

	// Switch of object recognition task. Valid values:
	// <li>ON: enables intelligent object recognition task;</li>
	// <li>OFF: disables intelligent object recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Object library. Valid values:
	// <li>Default: default object library;</li>
	// <li>UserDefine: custom object library.</li>
	// <li>All: both default and custom object libraries will be used.</li>
	ObjectLibrary *string `json:"ObjectLibrary,omitempty" name:"ObjectLibrary"`
}

type OcrFullTextConfigureInfo

type OcrFullTextConfigureInfo struct {

	// Switch of full text recognition task. Valid values:
	// <li>ON: enables intelligent full text recognition task;</li>
	// <li>OFF: disables intelligent full text recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type OcrFullTextConfigureInfoForUpdate

type OcrFullTextConfigureInfoForUpdate struct {

	// Switch of full text recognition task. Valid values:
	// <li>ON: enables intelligent full text recognition task;</li>
	// <li>OFF: disables intelligent full text recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type OcrWordsConfigureInfo

type OcrWordsConfigureInfo struct {

	// Switch of text keyword recognition task. Valid values:
	// <li>ON: enables text keyword recognition task;</li>
	// <li>OFF: disables text keyword recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty, all results will be returned.
	// There can be up to 10 tags, each with a length limit of 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`
}

type OcrWordsConfigureInfoForUpdate

type OcrWordsConfigureInfoForUpdate struct {

	// Switch of text keyword recognition task. Valid values:
	// <li>ON: enables text keyword recognition task;</li>
	// <li>OFF: disables text keyword recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Keyword filter tag, which specifies the keyword tag that needs to be returned. If this parameter is left empty or a blank value is entered, all results will be returned.
	// There can be up to 10 tags, each with a length limit of 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`
}

type OutputAudioStream

type OutputAudioStream struct {

	// Audio stream encoder. Valid values:
	// <li>libfdk_aac: suitable for mp4 files.</li>
	// Default value: libfdk_aac.
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// Audio stream sample rate. Valid values:
	// <li>16,000</li>
	// <li>32,000</li>
	// <li>44,100</li>
	// <li>48,000</li>
	// In Hz.
	// Default value: 16,000.
	SampleRate *int64 `json:"SampleRate,omitempty" name:"SampleRate"`

	// Number of sound channels. Valid values:
	// <li>1: mono.</li>
	// <li>2: dual</li>
	// Default value: 2.
	AudioChannel *int64 `json:"AudioChannel,omitempty" name:"AudioChannel"`
}

type OutputVideoStream

type OutputVideoStream struct {

	// Video stream encoder. Valid values:
	// <li>libx264: H.264</li>
	// Default value: libx264.
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// Video frame rate in Hz. Value range: [0, 60].
	// Default value: 0, which means that the value is the same as the video frame rate of the first video segment in the first video track.
	Fps *int64 `json:"Fps,omitempty" name:"Fps"`
}

type ParseStreamingManifestRequest

type ParseStreamingManifestRequest struct {
	*tchttp.BaseRequest

	// Index file content to be parsed.
	MediaManifestContent *string `json:"MediaManifestContent,omitempty" name:"MediaManifestContent"`

	// Video index file format, which is `m3u8` by default.
	// <li>m3u8</li>
	// <li>mpd</li>
	ManifestType *string `json:"ManifestType,omitempty" name:"ManifestType"`
}

func NewParseStreamingManifestRequest

func NewParseStreamingManifestRequest() (request *ParseStreamingManifestRequest)

func (*ParseStreamingManifestRequest) FromJsonString

func (r *ParseStreamingManifestRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ParseStreamingManifestRequest) ToJsonString

func (r *ParseStreamingManifestRequest) ToJsonString() string

type ParseStreamingManifestResponse

type ParseStreamingManifestResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Segment file list.
		MediaSegmentSet []*string `json:"MediaSegmentSet,omitempty" name:"MediaSegmentSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewParseStreamingManifestResponse

func NewParseStreamingManifestResponse() (response *ParseStreamingManifestResponse)

func (*ParseStreamingManifestResponse) FromJsonString

func (r *ParseStreamingManifestResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ParseStreamingManifestResponse) ToJsonString

func (r *ParseStreamingManifestResponse) ToJsonString() string

type PlayStatFileInfo

type PlayStatFileInfo struct {

	// Date of playback statistics in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
	Date *string `json:"Date,omitempty" name:"Date"`

	// URL of a playback statistics file, including the following contents:
	// <li> date: playback date</li>
	// <li> file_id: video file ID</li>
	// <li> ip_count: number of client IPs after deduplication</li>
	// <li> flux: playback traffic in bytes</li>
	// <li> play_times: total playback times</li>
	// <li> pc_play_times: playback times on PC clients</li>
	// <li> mobile_play_times: playback times on mobile clients</li>
	// <li> iphone_play_times: playback times on iPhone</li>
	// <li> android_play_times: playback times on Android</li>
	// <li> host_name: domain name</li>
	Url *string `json:"Url,omitempty" name:"Url"`
}

type PlayerConfig

type PlayerConfig struct {

	// Player configuration name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Player configuration type. Valid values:
	// <li>Preset: preset configuration;</li>
	// <li>Custom: custom configuration.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Switch of DRM-protected adaptive bitstream playback:
	// <li>ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;</li>
	// <li>OFF: disabled, indicating to play back unencrypted output adaptive bitstreams.</li>
	DrmSwitch *string `json:"DrmSwitch,omitempty" name:"DrmSwitch"`

	// ID of the unencrypted adaptive bitrate streaming template that allows output.
	AdaptiveDynamicStreamingDefinition *uint64 `json:"AdaptiveDynamicStreamingDefinition,omitempty" name:"AdaptiveDynamicStreamingDefinition"`

	// Content of the DRM-protected adaptive bitrate streaming template that allows output.
	DrmStreamingsInfo *DrmStreamingsInfo `json:"DrmStreamingsInfo,omitempty" name:"DrmStreamingsInfo"`

	// ID of the image sprite generating template that allows output.
	ImageSpriteDefinition *uint64 `json:"ImageSpriteDefinition,omitempty" name:"ImageSpriteDefinition"`

	// Display name of player for substreams with different resolutions.
	ResolutionNameSet []*ResolutionNameInfo `json:"ResolutionNameSet,omitempty" name:"ResolutionNameSet"`

	// Creation time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Domain name used for playback. If its value is `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Scheme used for playback. Valid values:
	// <li>Default: the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used;</li>
	// <li>HTTP;</li>
	// <li>HTTPS.</li>
	Scheme *string `json:"Scheme,omitempty" name:"Scheme"`

	// Template description.
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

type PoliticalAsrReviewTemplateInfo

type PoliticalAsrReviewTemplateInfo struct {

	// Whether to enable ASR-based recognition of politically sensitive content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`
}

type PoliticalAsrReviewTemplateInfoForUpdate

type PoliticalAsrReviewTemplateInfoForUpdate struct {

	// Whether to enable ASR-based recognition of politically sensitive content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalConfigureInfo

type PoliticalConfigureInfo struct {

	// Parameters for recognition of politically sensitive content in images
	// Note: This field may return `null`, indicating that no valid value can be found.
	ImgReviewInfo *PoliticalImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// Parameters for ASR-based recognition of politically sensitive content
	// Note: This field may return `null`, indicating that no valid value can be found.
	AsrReviewInfo *PoliticalAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// Parameters for OCR-based recognition of politically sensitive content
	// Note: This field may return `null`, indicating that no valid value can be found.
	OcrReviewInfo *PoliticalOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type PoliticalConfigureInfoForUpdate

type PoliticalConfigureInfoForUpdate struct {

	// Parameters for recognition of politically sensitive content in images
	ImgReviewInfo *PoliticalImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// Parameters for ASR-based recognition of politically sensitive content
	AsrReviewInfo *PoliticalAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// Parameters for OCR-based recognition of politically sensitive content
	OcrReviewInfo *PoliticalOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type PoliticalImgReviewTemplateInfo

type PoliticalImgReviewTemplateInfo struct {

	// Whether to enable recognition of politically sensitive content in images. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for recognition of politically sensitive content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values:
	// <li>`violation_photo`: banned images</li>
	// <li>`politician`: politically sensitive people</li>
	// <li>`entertainment`: people in the entertainment industry</li>
	// <li>`sport`: sportspeople</li>
	// <li>`entrepreneur`: businesspeople</li>
	// <li>`scholar`: scholars</li>
	// <li>`celebrity`: celebrities</li>
	// <li>`military`: people in military</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `97` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `95` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalImgReviewTemplateInfoForUpdate

type PoliticalImgReviewTemplateInfoForUpdate struct {

	// Whether to enable recognition of politically sensitive content in images. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for recognition of politically sensitive content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values:
	// <li>`violation_photo`: banned images</li>
	// <li>`politician`: politically sensitive people</li>
	// <li>`entertainment`: people in the entertainment industry</li>
	// <li>`sport`: sportspeople</li>
	// <li>`entrepreneur`: businesspeople</li>
	// <li>`scholar`: scholars</li>
	// <li>`celebrity`: celebrities</li>
	// <li>`military`: people in military</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalOcrReviewTemplateInfo

type PoliticalOcrReviewTemplateInfo struct {

	// Whether to enable OCR-based recognition of politically sensitive content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PoliticalOcrReviewTemplateInfoForUpdate

type PoliticalOcrReviewTemplateInfoForUpdate struct {

	// Whether to enable OCR-based recognition of politically sensitive content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornAsrReviewTemplateInfo

type PornAsrReviewTemplateInfo struct {

	// Whether to enable ASR-based recognition of pornographic content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornAsrReviewTemplateInfoForUpdate

type PornAsrReviewTemplateInfoForUpdate struct {

	// Whether to enable ASR-based recognition of pornographic content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornConfigureInfo

type PornConfigureInfo struct {

	// Parameters for recognition of pornographic content in images
	// Note: This field may return `null`, indicating that no valid value can be found.
	ImgReviewInfo *PornImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// Parameters for ASR-based recognition of pornographic content
	// Note: This field may return `null`, indicating that no valid value can be found.
	AsrReviewInfo *PornAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// Parameters for OCR-based recognition of pornographic content
	// Note: This field may return `null`, indicating that no valid value can be found.
	OcrReviewInfo *PornOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type PornConfigureInfoForUpdate

type PornConfigureInfoForUpdate struct {

	// Parameters for recognition of pornographic content in images
	ImgReviewInfo *PornImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// Parameters for ASR-based recognition of pornographic content
	AsrReviewInfo *PornAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// Parameters for OCR-based recognition of pornographic content
	OcrReviewInfo *PornOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type PornImgReviewTemplateInfo

type PornImgReviewTemplateInfo struct {

	// Whether to enable recognition of pornographic content in images. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for recognition of pornographic content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values:
	// <li>porn</li>
	// <li>vulgar</li>
	// <li>intimacy</li>
	// <li>sexy</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `90` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `0` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornImgReviewTemplateInfoForUpdate

type PornImgReviewTemplateInfoForUpdate struct {

	// Whether to enable recognition of pornographic content in images. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for recognition of pornographic content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values:
	// <li>porn</li>
	// <li>vulgar</li>
	// <li>intimacy</li>
	// <li>sexy</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornOcrReviewTemplateInfo

type PornOcrReviewTemplateInfo struct {

	// Whether to enable OCR-based recognition of pornographic content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PornOcrReviewTemplateInfoForUpdate

type PornOcrReviewTemplateInfoForUpdate struct {

	// Whether to enable OCR-based recognition of pornographic content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. Value range: 0–100.
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. Value range: 0–100.
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type ProcedureTask

type ProcedureTask struct {

	// Video processing task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Task flow status. Valid values:
	// <li>PROCESSING: processing;</li>
	// <li>FINISH: completed.</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Disused. Please use `ErrCode` of each specific task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Disused. Please use `Message` of each specific task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Media file ID.
	// <li>If the task flow is initiated by [ProcessMedia](https://cloud.tencent.com/document/product/266/33427), this field means the `FileId` in [MediaInfo](https://cloud.tencent.com/document/product/266/31773#MediaInfo);</li>
	// <li>If the task flow is initiated by [ProcessMediaByUrl](https://cloud.tencent.com/document/product/266/33426), this field means the `Id` in [MediaInputInfo](https://cloud.tencent.com/document/product/266/31773#MediaInputInfo).</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Media filename
	// <li>If the task flow is initiated by [ProcessMedia](https://cloud.tencent.com/document/product/266/33427), this field means the `BasicInfo.Name` in [MediaInfo](https://cloud.tencent.com/document/product/266/31773#MediaInfo);</li>
	// <li>If the task flow is initiated by [ProcessMediaByUrl](https://cloud.tencent.com/document/product/266/33426), this field means the `Name` in [MediaInputInfo](https://cloud.tencent.com/document/product/266/31773#MediaInputInfo).</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// Media file address
	// <li>If the task flow is initiated by [ProcessMedia](https://cloud.tencent.com/document/product/266/33427), this field means the `BasicInfo.MediaUrl` in [MediaInfo](https://cloud.tencent.com/document/product/266/31773#MediaInfo);</li>
	// <li>If the task flow is initiated by [ProcessMediaByUrl](https://cloud.tencent.com/document/product/266/33426), this field means the `Url` in [MediaInputInfo](https://cloud.tencent.com/document/product/266/31773#MediaInputInfo).</li>
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// Source video metadata.
	MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

	// Execution status and result of video processing task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MediaProcessResultSet []*MediaProcessTaskResult `json:"MediaProcessResultSet,omitempty" name:"MediaProcessResultSet"`

	// Status and result of an intelligent recognition task
	AiContentReviewResultSet []*AiContentReviewResult `json:"AiContentReviewResultSet,omitempty" name:"AiContentReviewResultSet"`

	// Execution status and result of video content analysis task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AiAnalysisResultSet []*AiAnalysisResult `json:"AiAnalysisResultSet,omitempty" name:"AiAnalysisResultSet"`

	// Execution status and result of video content recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AiRecognitionResultSet []*AiRecognitionResult `json:"AiRecognitionResultSet,omitempty" name:"AiRecognitionResultSet"`

	// Task flow priority. Value range: [-10, 10].
	// Note: this field may return null, indicating that no valid values can be obtained.
	TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"`

	// Notification mode for change in task flow status.
	// <li>Finish: an event notification will be initiated only after the task flow is completely executed;</li>
	// <li>Change: an event notification will be initiated as soon as the status of a subtask in the task flow changes; </li>
	// <li>None: no callback for the task flow will be accepted.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`
}

type ProcedureTemplate

type ProcedureTemplate struct {

	// Task flow name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Type of a task flow template. Valid values:
	// <li>Preset: preset task flow template;</li>
	// <li>Custom: custom task flow template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Parameter of video processing task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"`

	// Intelligent recognition task
	// Note: This field may return `null`, indicating that no valid value can be found.
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// Parameter of AI-based content analysis task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// Type parameter of AI-based content recognition task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// Parameter of a release on WeChat Mini Program task.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MiniProgramPublishTask *WechatMiniProgramPublishTaskInput `json:"MiniProgramPublishTask,omitempty" name:"MiniProgramPublishTask"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type ProcessMediaByProcedureRequest

type ProcessMediaByProcedureRequest struct {
	*tchttp.BaseRequest

	// Media file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// [Task flow template](https://intl.cloud.tencent.com/document/product/266/11700?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E6.B5.81.E6.A8.A1.E6.9D.BF) name.
	ProcedureName *string `json:"ProcedureName,omitempty" name:"ProcedureName"`

	// Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used.
	TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"`

	// Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used.
	TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// Reserved field for special purposes.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewProcessMediaByProcedureRequest

func NewProcessMediaByProcedureRequest() (request *ProcessMediaByProcedureRequest)

func (*ProcessMediaByProcedureRequest) FromJsonString

func (r *ProcessMediaByProcedureRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ProcessMediaByProcedureRequest) ToJsonString

func (r *ProcessMediaByProcedureRequest) ToJsonString() string

type ProcessMediaByProcedureResponse

type ProcessMediaByProcedureResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task ID.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewProcessMediaByProcedureResponse

func NewProcessMediaByProcedureResponse() (response *ProcessMediaByProcedureResponse)

func (*ProcessMediaByProcedureResponse) FromJsonString

func (r *ProcessMediaByProcedureResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ProcessMediaByProcedureResponse) ToJsonString

func (r *ProcessMediaByProcedureResponse) ToJsonString() string

type ProcessMediaByUrlRequest

type ProcessMediaByUrlRequest struct {
	*tchttp.BaseRequest

	// This API is<font color='red'>disused</font>. You are advised to use an alternative API. For more information, see API overview.
	InputInfo *MediaInputInfo `json:"InputInfo,omitempty" name:"InputInfo"`

	// Information of COS path to output file.
	OutputInfo *MediaOutputInfo `json:"OutputInfo,omitempty" name:"OutputInfo"`

	// Type parameter of video content audit task.
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// Video content analysis task parameter.
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// Type parameter of video content recognition task.
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used.
	TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"`

	// Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used.
	TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewProcessMediaByUrlRequest

func NewProcessMediaByUrlRequest() (request *ProcessMediaByUrlRequest)

func (*ProcessMediaByUrlRequest) FromJsonString

func (r *ProcessMediaByUrlRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ProcessMediaByUrlRequest) ToJsonString

func (r *ProcessMediaByUrlRequest) ToJsonString() string

type ProcessMediaByUrlResponse

type ProcessMediaByUrlResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task ID
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewProcessMediaByUrlResponse

func NewProcessMediaByUrlResponse() (response *ProcessMediaByUrlResponse)

func (*ProcessMediaByUrlResponse) FromJsonString

func (r *ProcessMediaByUrlResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ProcessMediaByUrlResponse) ToJsonString

func (r *ProcessMediaByUrlResponse) ToJsonString() string

type ProcessMediaRequest

type ProcessMediaRequest struct {
	*tchttp.BaseRequest

	// Media file ID, i.e., the globally unique ID of a file in VOD assigned by the VOD backend after successful upload. This field can be obtained through the [video upload completion event notification](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) or [VOD Console](https://console.cloud.tencent.com/vod/media).
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Parameter of video processing task.
	MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"`

	// Parameters for intelligent recognition
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// Video content analysis task parameter.
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// Type parameter of video content recognition task.
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used.
	TasksPriority *int64 `json:"TasksPriority,omitempty" name:"TasksPriority"`

	// Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used.
	TasksNotifyMode *string `json:"TasksNotifyMode,omitempty" name:"TasksNotifyMode"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// Reserved field for special purposes.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewProcessMediaRequest

func NewProcessMediaRequest() (request *ProcessMediaRequest)

func (*ProcessMediaRequest) FromJsonString

func (r *ProcessMediaRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ProcessMediaRequest) ToJsonString

func (r *ProcessMediaRequest) ToJsonString() string

type ProcessMediaResponse

type ProcessMediaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task ID
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewProcessMediaResponse

func NewProcessMediaResponse() (response *ProcessMediaResponse)

func (*ProcessMediaResponse) FromJsonString

func (r *ProcessMediaResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ProcessMediaResponse) ToJsonString

func (r *ProcessMediaResponse) ToJsonString() string

type ProhibitedAsrReviewTemplateInfo

type ProhibitedAsrReviewTemplateInfo struct {

	// Switch of prohibited information detection in speech task. Valid values:
	// <li>ON: enables prohibited information detection in speech task;</li>
	// <li>OFF: disables prohibited information detection in speech task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type ProhibitedAsrReviewTemplateInfoForUpdate

type ProhibitedAsrReviewTemplateInfoForUpdate struct {

	// Switch of prohibited information detection in speech task. Valid values:
	// <li>ON: enables prohibited information detection in speech task;</li>
	// <li>OFF: disables prohibited information detection in speech task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type ProhibitedConfigureInfo

type ProhibitedConfigureInfo struct {

	// Control parameter of prohibited information detection in speech.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AsrReviewInfo *ProhibitedAsrReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// Control parameter of prohibited information detection in text.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OcrReviewInfo *ProhibitedOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type ProhibitedConfigureInfoForUpdate

type ProhibitedConfigureInfoForUpdate struct {

	// Control parameter of prohibited information detection in speech.
	AsrReviewInfo *ProhibitedAsrReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// Control parameter of prohibited information detection in text.
	OcrReviewInfo *ProhibitedOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type ProhibitedOcrReviewTemplateInfo

type ProhibitedOcrReviewTemplateInfo struct {

	// Switch of prohibited information detection in text task. Valid values:
	// <li>ON: enables prohibited information detection in text task;</li>
	// <li>OFF: disables prohibited information detection in text task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type ProhibitedOcrReviewTemplateInfoForUpdate

type ProhibitedOcrReviewTemplateInfoForUpdate struct {

	// Switch of prohibited information detection in text task. Valid values:
	// <li>ON: enables prohibited information detection in text task;</li>
	// <li>OFF: disables prohibited information detection in text task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type PullEventsRequest

type PullEventsRequest struct {
	*tchttp.BaseRequest

	// Reserved field for special purposes.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewPullEventsRequest

func NewPullEventsRequest() (request *PullEventsRequest)

func (*PullEventsRequest) FromJsonString

func (r *PullEventsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PullEventsRequest) ToJsonString

func (r *PullEventsRequest) ToJsonString() string

type PullEventsResponse

type PullEventsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of events.
		// Note: this field may return null, indicating that no valid values can be obtained.
		EventSet []*EventContent `json:"EventSet,omitempty" name:"EventSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPullEventsResponse

func NewPullEventsResponse() (response *PullEventsResponse)

func (*PullEventsResponse) FromJsonString

func (r *PullEventsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PullEventsResponse) ToJsonString

func (r *PullEventsResponse) ToJsonString() string

type PullUploadRequest

type PullUploadRequest struct {
	*tchttp.BaseRequest

	// URL of the media to be pulled. Supported media format: HLS; unsupported media format: DASH.
	// For more information about supported extensions, please see [Media Types](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E5.AA.92.E4.BD.93.E7.B1.BB.E5.9E.8B).
	MediaUrl *string `json:"MediaUrl,omitempty" name:"MediaUrl"`

	// Media name.
	MediaName *string `json:"MediaName,omitempty" name:"MediaName"`

	// URL of video cover to be pulled. Only gif, jpeg, and png formats are supported.
	CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"`

	// Subsequent task for media. For more information, please see [Specifying Task Flow After Upload](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1).
	Procedure *string `json:"Procedure,omitempty" name:"Procedure"`

	// Expiration time of media file in ISO 8601 format. For more information, please see [Notes on ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Specifies upload region. This is only applicable to users that have special requirements for the upload region:
	// <li>If it is left empty, the upload region is your [default region](https://intl.cloud.tencent.com/document/product/266/14059?from=11329?from_cn_redirect=1#.E5.AD.98.E5.82.A8.E5.9C.B0.E5.9F.9F.E6.AD.A5.E9.AA.A4);</li>
	// <li>If it is specified, please make sure that the upload region has been [enabled for storage](https://intl.cloud.tencent.com/document/product/266/14059?from=11329?from_cn_redirect=1#.E5.AD.98.E5.82.A8.E5.9C.B0.E5.9F.9F.E6.AD.A5.E9.AA.A4).</li>
	StorageRegion *string `json:"StorageRegion,omitempty" name:"StorageRegion"`

	// Category ID, which is used to categorize the media for management. A category can be created and its ID can be obtained by using the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API.
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// The source context which is used to pass through the user request information. After `Procedure` is specified, the task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// Reserved field for special purposes.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Source context, which is used to pass through the user request information. The [upload callback](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) API will return the value of this field. It can contain up to 250 characters.
	SourceContext *string `json:"SourceContext,omitempty" name:"SourceContext"`
}

func NewPullUploadRequest

func NewPullUploadRequest() (request *PullUploadRequest)

func (*PullUploadRequest) FromJsonString

func (r *PullUploadRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PullUploadRequest) ToJsonString

func (r *PullUploadRequest) ToJsonString() string

type PullUploadResponse

type PullUploadResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Video pull for upload task ID, which can be used to query the status of pull for upload task.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPullUploadResponse

func NewPullUploadResponse() (response *PullUploadResponse)

func (*PullUploadResponse) FromJsonString

func (r *PullUploadResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PullUploadResponse) ToJsonString

func (r *PullUploadResponse) ToJsonString() string

type PullUploadTask

type PullUploadTask struct {

	// Pull for upload task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Task flow status. Valid values:
	// <li>PROCESSING: processing;</li>
	// <li>FINISH: completed.</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. 0: success; other values: failure.
	// <li>40000: invalid input parameter. Please check it;</li>
	// <li>60000: invalid source file (e.g., video data is corrupted). Please check whether the source file is normal;</li>
	// <li>70000: internal service error. Please try again.</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// ID of video generated after pull for upload is completed.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Basic information of media file generated after pull for upload is completed.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MediaBasicInfo *MediaBasicInfo `json:"MediaBasicInfo,omitempty" name:"MediaBasicInfo"`

	// Metadata of a source video
	MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

	// Playback address generated after pull for upload is completed.
	FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

	// If a video processing flow is specified when a video is pulled for upload, this parameter will be the ID of the task flow.
	ProcedureTaskId *string `json:"ProcedureTaskId,omitempty" name:"ProcedureTaskId"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or a blank string is entered, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`
}

type PushUrlCacheRequest

type PushUrlCacheRequest struct {
	*tchttp.BaseRequest

	// List of prefetched URLs. Up to 20 ones can be specified at a time.
	Urls []*string `json:"Urls,omitempty" name:"Urls"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewPushUrlCacheRequest

func NewPushUrlCacheRequest() (request *PushUrlCacheRequest)

func (*PushUrlCacheRequest) FromJsonString

func (r *PushUrlCacheRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PushUrlCacheRequest) ToJsonString

func (r *PushUrlCacheRequest) ToJsonString() string

type PushUrlCacheResponse

type PushUrlCacheResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPushUrlCacheResponse

func NewPushUrlCacheResponse() (response *PushUrlCacheResponse)

func (*PushUrlCacheResponse) FromJsonString

func (r *PushUrlCacheResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PushUrlCacheResponse) ToJsonString

func (r *PushUrlCacheResponse) ToJsonString() string

type RefererAuthPolicy

type RefererAuthPolicy struct {

	// [Referer hotlink protection](https://intl.cloud.tencent.com/document/product/266/33985) status. Valid values:
	// <li>Enabled</li>
	// <li>Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Referer authentication method. Valid values:
	// <li>`Black`: blocklist. Any HTTP request carrying a referer in the `Referers` list will be rejected. </li>
	// <li>`White`: allowlist. Only HTTP requests carrying referers in the `Referers` list will be accepted.</li>
	// When `Status` is set to `Enabled`, `AuthType` must be specified.
	AuthType *string `json:"AuthType,omitempty" name:"AuthType"`

	// The list of referers (up to 20). When `Status` is set to `Enabled`, `Referers` cannot be empty. Enter domain names as referers.
	Referers []*string `json:"Referers,omitempty" name:"Referers"`

	// Whether to allow requests with empty referer to access this domain name. Valid values:
	// <li>`Yes`</li>
	// <li>`No`</li>
	// When `Status` is set to `Enabled`, `BlankRefererAllowed` must be specified.
	BlankRefererAllowed *string `json:"BlankRefererAllowed,omitempty" name:"BlankRefererAllowed"`
}

type ResetProcedureTemplateRequest

type ResetProcedureTemplateRequest struct {
	*tchttp.BaseRequest

	// Task flow name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description. Length limit: 256 characters.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Parameter of video processing task.
	MediaProcessTask *MediaProcessTaskInput `json:"MediaProcessTask,omitempty" name:"MediaProcessTask"`

	// Parameter of AI-based content audit task.
	AiContentReviewTask *AiContentReviewTaskInput `json:"AiContentReviewTask,omitempty" name:"AiContentReviewTask"`

	// Parameter of AI-based content analysis task.
	AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitempty" name:"AiAnalysisTask"`

	// Type parameter of AI-based content recognition task.
	AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitempty" name:"AiRecognitionTask"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewResetProcedureTemplateRequest

func NewResetProcedureTemplateRequest() (request *ResetProcedureTemplateRequest)

func (*ResetProcedureTemplateRequest) FromJsonString

func (r *ResetProcedureTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetProcedureTemplateRequest) ToJsonString

func (r *ResetProcedureTemplateRequest) ToJsonString() string

type ResetProcedureTemplateResponse

type ResetProcedureTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewResetProcedureTemplateResponse

func NewResetProcedureTemplateResponse() (response *ResetProcedureTemplateResponse)

func (*ResetProcedureTemplateResponse) FromJsonString

func (r *ResetProcedureTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetProcedureTemplateResponse) ToJsonString

func (r *ResetProcedureTemplateResponse) ToJsonString() string

type ResolutionNameInfo

type ResolutionNameInfo struct {

	// Length of video short side in px.
	MinEdgeLength *uint64 `json:"MinEdgeLength,omitempty" name:"MinEdgeLength"`

	// Display name.
	Name *string `json:"Name,omitempty" name:"Name"`
}

type ResourceTag

type ResourceTag struct {

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type RestoreMediaTask

type RestoreMediaTask struct {

	// File ID
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Original storage class
	OriginalStorageClass *string `json:"OriginalStorageClass,omitempty" name:"OriginalStorageClass"`

	// Target storage class. For temporary retrieval, the target storage class is the same as the original.
	TargetStorageClass *string `json:"TargetStorageClass,omitempty" name:"TargetStorageClass"`

	// Retrieval mode. Valid values:
	// <li>Expedited</li>
	// <li>Standard</li>
	// <li>Bulk</li>
	RestoreTier *string `json:"RestoreTier,omitempty" name:"RestoreTier"`

	// Validity period (days) for a temporary copy. `0` indicates permanent retrieval.
	RestoreDay *int64 `json:"RestoreDay,omitempty" name:"RestoreDay"`

	// This field has been disused.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// This field has been disused.
	Message *string `json:"Message,omitempty" name:"Message"`
}

type SampleSnapshotTaskInput

type SampleSnapshotTaskInput struct {

	// Sampled screencapturing template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// List of up to 10 image or text watermarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"`
}

type SampleSnapshotTemplate

type SampleSnapshotTemplate struct {

	// Unique ID of a sampled screencapturing template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Template type. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Name of a sampled screencapturing template.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Image format.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Sampled screencapturing type.
	SampleType *string `json:"SampleType,omitempty" name:"SampleType"`

	// Sampling interval.
	SampleInterval *uint64 `json:"SampleInterval,omitempty" name:"SampleInterval"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li>
	// <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

type SearchMediaRequest

type SearchMediaRequest struct {
	*tchttp.BaseRequest

	// File ID set. Any element in the set can be matched.
	// <li>Array length limit: 10.</li>
	// <li>ID length limit: 40 characters.</li>
	FileIds []*string `json:"FileIds,omitempty" name:"FileIds"`

	// Filename set. Filenames of media files are fuzzily matched. The higher the match rate, the higher-ranked the result.
	// <li>Filename length limit: 40 characters.</li>
	// <li>Array length limit: 10.</li>
	Names []*string `json:"Names,omitempty" name:"Names"`

	// Filename prefix, which matches the filenames of media files.
	// <li>Filename prefix length limit: 20 characters.</li>
	// <li>Array length limit: 10.</li>
	NamePrefixes []*string `json:"NamePrefixes,omitempty" name:"NamePrefixes"`

	// File description set. Media file descriptions are fuzzily matched. The higher the match rate, the higher-ranked the result.
	// <li>Length limit for a single description: 100 characters</li>
	// <li>Array length limit: 10</li>
	Descriptions []*string `json:"Descriptions,omitempty" name:"Descriptions"`

	// Category ID set. The categories of the specified IDs and all subcategories in the set are matched.
	// <li>Array length limit: 10.</li>
	ClassIds []*int64 `json:"ClassIds,omitempty" name:"ClassIds"`

	// Tag set, which matches any element in the set.
	// <li>Tag length limit: 8 characters.</li>
	// <li>Array length limit: 10.</li>
	Tags []*string `json:"Tags,omitempty" name:"Tags"`

	// File type. Any element in the set can be matched.
	// <li>Video: video file</li>
	// <li>Audio: audio file</li>
	// <li>Image: image file</li>
	Categories []*string `json:"Categories,omitempty" name:"Categories"`

	// Media file source set. For valid values, please see [SourceType](https://intl.cloud.tencent.com/document/product/266/31773?from_cn_redirect=1#MediaSourceData).
	// <li>Array length limit: 10.</li>
	SourceTypes []*string `json:"SourceTypes,omitempty" name:"SourceTypes"`

	// [Stream ID](https://intl.cloud.tencent.com/document/product/267/5959?from_cn_redirect=1) set. Any element in the set can be matched.
	// <li>Array length limit: 10.</li>
	StreamIds []*string `json:"StreamIds,omitempty" name:"StreamIds"`

	// Unique ID of LVB recording file. Any element in the set can be matched.
	// <li>Array length limit: 10.</li>
	Vids []*string `json:"Vids,omitempty" name:"Vids"`

	// Matches files created within the time period.
	// <li>Includes specified start and end points in time.</li>
	CreateTime *TimeRange `json:"CreateTime,omitempty" name:"CreateTime"`

	// Files whose expiration time points are within the specified time range will be returned. Expired files will not be returned.
	// <li>The files whose expiration time points are on the start or end time of the specified range will also be returned.</li>
	ExpireTime *TimeRange `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Sorting order.
	// <li>Valid value of `Sort.Field`: CreateTime.</li>
	// <li>If `Text`, `Names`, or `Descriptions` is not empty, the `Sort.Field` field will not take effect, and the search results will be sorted by match rate.</li>
	Sort *SortBy `json:"Sort,omitempty" name:"Sort"`

	// <div id="p_offset">Start offset of a paged return. Default value: 0. Entries from No. "Offset" to No. "Offset + Limit - 1" will be returned.
	// <li>Value range: "Offset + Limit" cannot be more than 5,000. (For more information, please see <a href="#maxResultsDesc">Limit on the Number of Results Returned by API</a>)</li></div>
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// <div id="p_limit">Number of entries returned by a paged query. Default value: 10. Entries from No. "Offset" to No. "Offset + Limit - 1" will be returned.
	// <li>Value range: "Offset + Limit" cannot be more than 5,000. (For more information, please see <a href="#maxResultsDesc">Limit on the Number of Results Returned by API</a>)</li></div>
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Specifies information entry that needs to be returned for all media files. Multiple entries can be specified simultaneously. N starts from 0. If this field is left empty, all information entries will be returned by default. Valid values:
	// <li>basicInfo (basic video information).</li>
	// <li>metaData (video metadata).</li>
	// <li>transcodeInfo (result information of video transcoding).</li>
	// <li>animatedGraphicsInfo (result information of animated image generating task).</li>
	// <li>imageSpriteInfo (image sprite information).</li>
	// <li>snapshotByTimeOffsetInfo (point-in-time screenshot information).</li>
	// <li>sampleSnapshotInfo (sampled screenshot information).</li>
	// <li>keyFrameDescInfo (timestamp information).</li>
	// <li>adaptiveDynamicStreamingInfo (information of adaptive bitrate streaming).</li>
	// <li>miniProgramReviewInfo (WeChat Mini Program audit information).</li>
	Filters []*string `json:"Filters,omitempty" name:"Filters"`

	// Regions where media files are stored, such as `ap-chongqing`. For more regions, see [Storage Regions](https://intl.cloud.tencent.com/document/product/266/9760?from_cn_redirect=1#.E5.B7.B2.E6.94.AF.E6.8C.81.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8).
	// <li>Length limit for a single region: 20 characters</li>
	// <li>Array length limit: 20</li>
	StorageRegions []*string `json:"StorageRegions,omitempty" name:"StorageRegions"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// An array of storage classes. Valid values:
	// <li>STANDARD</li>
	// <li>STANDARD_IA</li>
	// <li>ARCHIVE</li>
	// <li>DEEP_ARCHIVE</li>
	StorageClasses []*string `json:"StorageClasses,omitempty" name:"StorageClasses"`

	// (This is not recommended. `Names`, `NamePrefixes`, or `Descriptions` should be used instead)
	// Search text, which fuzzily matches the media file name or description. The more matching items and the higher the match rate, the higher-ranked the result. It can contain up to 64 characters.
	Text *string `json:"Text,omitempty" name:"Text"`

	// (This is not recommended. `SourceTypes` should be used instead)
	// Media file source. For valid values, please see [SourceType](https://intl.cloud.tencent.com/document/product/266/31773?from_cn_redirect=1#MediaSourceData).
	SourceType *string `json:"SourceType,omitempty" name:"SourceType"`

	// (This is not recommended. `StreamIds` should be used instead)
	// [Stream ID](https://intl.cloud.tencent.com/document/product/267/5959?from_cn_redirect=1).
	StreamId *string `json:"StreamId,omitempty" name:"StreamId"`

	// (This is not recommended. `Vids` should be used instead)
	// Unique ID of LVB recording file.
	Vid *string `json:"Vid,omitempty" name:"Vid"`

	// (This is not recommended. `CreateTime` should be used instead)
	// Start time in the creation time range.
	// <li>After or at the start time.</li>
	// <li>If `CreateTime.After` also exists, it will be used first.</li>
	// <li>In ISO 8601 format. For more information, please see [ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li>
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// (This is not recommended. `CreateTime` should be used instead)
	// End time in the creation time range.
	// <li>Before the end time.</li>
	// <li>If `CreateTime.Before` also exists, it will be used first.</li>
	// <li>In ISO 8601 format. For more information, please see [ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li>
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewSearchMediaRequest

func NewSearchMediaRequest() (request *SearchMediaRequest)

func (*SearchMediaRequest) FromJsonString

func (r *SearchMediaRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchMediaRequest) ToJsonString

func (r *SearchMediaRequest) ToJsonString() string

type SearchMediaResponse

type SearchMediaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible entries.
		// <li>Maximum value: 5000. If the number of eligible entries is greater than 5,000, this field will return 5,000 instead of the actual number.</li>
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Media file information list
		MediaInfoSet []*MediaInfo `json:"MediaInfoSet,omitempty" name:"MediaInfoSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSearchMediaResponse

func NewSearchMediaResponse() (response *SearchMediaResponse)

func (*SearchMediaResponse) FromJsonString

func (r *SearchMediaResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchMediaResponse) ToJsonString

func (r *SearchMediaResponse) ToJsonString() string

type SegmentConfigureInfo

type SegmentConfigureInfo struct {

	// Switch of video splitting recognition task. Valid values:
	// <li>ON: enables intelligent video splitting recognition task;</li>
	// <li>OFF: disables intelligent video splitting recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type SegmentConfigureInfoForUpdate

type SegmentConfigureInfoForUpdate struct {

	// Switch of video splitting recognition task. Valid values:
	// <li>ON: enables intelligent video splitting recognition task;</li>
	// <li>OFF: disables intelligent video splitting recognition task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type SimpleHlsClipRequest

type SimpleHlsClipRequest struct {
	*tchttp.BaseRequest

	// URL of the HLS video in VOD that needs to be clipped.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Start offset time of clipping in seconds. Default value: 0, which means to clip from the beginning of the video. A negative number indicates how many seconds from the end of the video clipping will start at. For example, -10 means that clipping will start at the 10th second from the end.
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End offset time of clipping in seconds. Default value: 0, which means to clip till the end of the video. A negative number indicates how many seconds from the end of the video clipping will end. For example, -10 means that clipping will end at the 10th second from the end.
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// Whether to store the video clip persistently. 0: no (default), 1: yes.
	IsPersistence *int64 `json:"IsPersistence,omitempty" name:"IsPersistence"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewSimpleHlsClipRequest

func NewSimpleHlsClipRequest() (request *SimpleHlsClipRequest)

func (*SimpleHlsClipRequest) FromJsonString

func (r *SimpleHlsClipRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SimpleHlsClipRequest) ToJsonString

func (r *SimpleHlsClipRequest) ToJsonString() string

type SimpleHlsClipResponse

type SimpleHlsClipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Address of clipped video.
		Url *string `json:"Url,omitempty" name:"Url"`

		// Metadata of clipped video. Currently, `Size`, `Rotate`, `VideoDuration`, and `AudioDuration` fields use default value with no actual data.
		MetaData *MediaMetaData `json:"MetaData,omitempty" name:"MetaData"`

		// Unique ID of a video clip for persistent storage.
		FileId *string `json:"FileId,omitempty" name:"FileId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSimpleHlsClipResponse

func NewSimpleHlsClipResponse() (response *SimpleHlsClipResponse)

func (*SimpleHlsClipResponse) FromJsonString

func (r *SimpleHlsClipResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SimpleHlsClipResponse) ToJsonString

func (r *SimpleHlsClipResponse) ToJsonString() string

type SnapshotByTimeOffset2017

type SnapshotByTimeOffset2017 struct {

	// Error code
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Specific time point of screenshot in milliseconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TimeOffset *uint64 `json:"TimeOffset,omitempty" name:"TimeOffset"`

	// Address of output screenshot file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitempty" name:"Url"`
}

type SnapshotByTimeOffsetTask2017

type SnapshotByTimeOffsetTask2017 struct {

	// Screencapturing task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Screenshot file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// screenshot specification. For more information, please see [Parameter Template for Time Point Screencapturing](https://intl.cloud.tencent.com/document/product/266/33480?from_cn_redirect=1#.E6.97.B6.E9.97.B4.E7.82.B9.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF).
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Result information of screencapturing.
	SnapshotInfoSet []*SnapshotByTimeOffset2017 `json:"SnapshotInfoSet,omitempty" name:"SnapshotInfoSet"`
}

type SnapshotByTimeOffsetTaskInput

type SnapshotByTimeOffsetTaskInput struct {

	// Time point screencapturing template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// The list of screenshot time points. “s” and “%” formats are supported:
	// <li>When a time point string ends with “s”, its unit is second. For example, “3.5s” means the 3.5th second of the video.</li>
	// <li>When a time point string ends with “%”, it represents the percentage of the video’s duration. For example, “10%” means that the time point is at the 10% of the video’s entire duration.</li>
	ExtTimeOffsetSet []*string `json:"ExtTimeOffsetSet,omitempty" name:"ExtTimeOffsetSet"`

	// List of time points for screencapturing in <font color=red>milliseconds</font>.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TimeOffsetSet []*float64 `json:"TimeOffsetSet,omitempty" name:"TimeOffsetSet"`

	// List of up to 10 image or text watermarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"`
}

type SnapshotByTimeOffsetTemplate

type SnapshotByTimeOffsetTemplate struct {

	// Unique ID of a specified time point screencapturing template.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Template type. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Name of a specified time point screencapturing template.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Maximum value of the width (or long side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a screenshot in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Image format.
	Format *string `json:"Format,omitempty" name:"Format"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
	// <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
	// <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
	// <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li>
	// <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li>
	// Default value: black.
	FillType *string `json:"FillType,omitempty" name:"FillType"`
}

type SortBy

type SortBy struct {

	// Sort by field
	Field *string `json:"Field,omitempty" name:"Field"`

	// Sorting order. Valid values: Asc (ascending), Desc (descending)
	Order *string `json:"Order,omitempty" name:"Order"`
}

type SpecificationDataItem

type SpecificationDataItem struct {

	// Task specification.
	Specification *string `json:"Specification,omitempty" name:"Specification"`

	// Statistics.
	Data []*TaskStatDataItem `json:"Data,omitempty" name:"Data"`
}

type SplitMediaOutputConfig

type SplitMediaOutputConfig struct {

	// Name of an output file. This parameter can contain up to 64 characters, and will be generated by the system if it is left empty.
	MediaName *string `json:"MediaName,omitempty" name:"MediaName"`

	// Output file format. Valid values: mp4 (default), hls.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Category ID, which is used to categorize the media file for management. You can use [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API to create a category and get the category ID.
	// <li>Default value: 0, which means other categories.</li>
	ClassId *int64 `json:"ClassId,omitempty" name:"ClassId"`

	// Expiration time of an output file. After passing the expiration time, the file will be deleted. There is no expiration time set for a file by default. The time is in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

type SplitMediaTask

type SplitMediaTask struct {

	// Task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Task flow status. Valid values:
	// <li>PROCESSING: processing</li>
	// <li>FINISH: finished</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code. An empty string indicates the task is successful; other values indicate failure. For details, see [Video Processing Error Codes](https://intl.cloud.tencent.com/zh/document/product/266/39145).
	ErrCodeExt *string `json:"ErrCodeExt,omitempty" name:"ErrCodeExt"`

	// Error code. 0 indicates the task is successful; other values indicate failure. You're not recommended to use this parameter, but to use the new parameter `ErrCodeExt`.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error information.
	Message *string `json:"Message,omitempty" name:"Message"`

	// List of video splitting task details.
	FileInfoSet []*SplitMediaTaskSegmentInfo `json:"FileInfoSet,omitempty" name:"FileInfoSet"`

	// The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1000 characters.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`

	// ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or set to an empty string, no deduplication will be performed.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`
}

type SplitMediaTaskInput

type SplitMediaTaskInput struct {

	// Video ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Offset of the video splitting start time in seconds.
	// <li>If this parameter is left empty or set to 0, the transcoded video will start at the same time as the original video.</li>
	// <li>If this parameter is set to a positive number (n for example), the transcoded video will start at the nth second of the original video.</li>
	// <li>If this parameter is set to a negative number (-n for example), the transcoded video will start at the nth second before the end of the original video.</li>
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// Offset of the video splitting end time in seconds.
	// <li>If this parameter is left empty or set to 0, the transcoded video will end at the same time as the original video.</li>
	// <li>If this parameter is set to a positive number (n for example), the transcoded video will end at the nth second of the original video.</li>
	// <li>If this parameter is set to a negative number (-n for example), the transcoded video will end at the nth second before the end of the original video.</li>
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`

	// [Task flow template](https://intl.cloud.tencent.com/document/product/266/33931?lang=en&pg=) name, which should be entered if you want to perform a task flow on the generated new video.
	ProcedureName *string `json:"ProcedureName,omitempty" name:"ProcedureName"`

	// Output information of a video splitting task.
	OutputConfig *SplitMediaOutputConfig `json:"OutputConfig,omitempty" name:"OutputConfig"`
}

type SplitMediaTaskSegmentInfo

type SplitMediaTaskSegmentInfo struct {

	// Input information of a video splitting task.
	Input *SplitMediaTaskInput `json:"Input,omitempty" name:"Input"`

	// Output information of a video splitting task.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Output *TaskOutputMediaInfo `json:"Output,omitempty" name:"Output"`

	// If a video processing flow is specified when a video splitting task is initiated, this field will be the task flow ID.
	ProcedureTaskId *string `json:"ProcedureTaskId,omitempty" name:"ProcedureTaskId"`
}

type StatDataItem

type StatDataItem struct {

	// Start time of data time range in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). For example, if the time granularity is 1-day, `2018-12-01T00:00:00+08:00` represents the time range between December 1, 2018 (inclusive) and December 2, 2018 (not inclusive).
	// <li>For data at hourly level, `2019-08-22T00:00:00+08:00` indicates the statistics between 00:00 and 01:00 AM on August 22, 2019.</li>
	// <li>For data at daily level, `2019-08-22T00:00:00+08:00` indicates statistics on August 22, 2019.</li>
	Time *string `json:"Time,omitempty" name:"Time"`

	// Data size.
	// <li>Storage capacity in bytes.</li>
	// <li>Transcoding duration in seconds.</li>
	// <li>Traffic in bytes.</li>
	// <li>Bandwidth in bps.</li>
	Value *int64 `json:"Value,omitempty" name:"Value"`
}

type StickerTrackItem

type StickerTrackItem struct {

	// Source of media material for sticker segment, which can be:
	// <li>ID of VOD media files</li>
	// <li>Download URL of other media files</li>
	// Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature).
	SourceMedia *string `json:"SourceMedia,omitempty" name:"SourceMedia"`

	// Sticker duration in seconds.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// Start time of sticker on track in seconds.
	StartTime *float64 `json:"StartTime,omitempty" name:"StartTime"`

	// Origin position. Valid values:
	// <li> Center: the origin of coordinates is the center position, such as the center of canvas.</li>
	// Default value: Center.
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// The horizontal position of the origin of the sticker relative to the origin of the canvas. % and px formats are supported:
	// <li>If the string ends in %, the `XPos` of the sticker will be at the position of the specified percentage of the canvas width; for example, `10%` means that `XPos` is 10% of the canvas width.</li><li>If the string ends in px, the `XPos` of the sticker will be in px; for example, `100px` means that `XPos` is 100 px.</li>
	// Default value: 0 px.
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// The vertical position of the origin of the sticker relative to the origin of the canvas. % and px formats are supported:
	// <li>If the string ends in %, the `YPos` of the sticker will be at the position of the specified percentage of the canvas height; for example, `10%` means that `YPos` is 10% of the canvas height.</li>
	// <li>If the string ends in px, the `YPos` of the sticker will be in px; for example, `100px` means that `YPos` is 100 px.</li>
	// Default value: 0 px.
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// Sticker width. % and px formats are supported:
	// <li>If the string ends in %, the `Width` of the sticker will be the specified percentage of the canvas width; for example, `10%` means that `Width` is 10% of the canvas width.</li>
	// <li>If the string ends in px, the `Width` of the sticker will be in px; for example, `100px` means that `Width` is 100 px.</li>
	// <li>If both `Width` and `Height` are empty, then they will be the `Width` and `Height` of the sticker material, respectively.</li>
	// <li>If `Width` is empty (0), but `Height` is not empty, `Width` will be proportionally scaled.</li>
	// <li>If `Width` is not empty, but `Height` is empty, `Height` will be proportionally scaled.</li>
	Width *string `json:"Width,omitempty" name:"Width"`

	// Sticker height. % and px formats are supported:
	// <li>If the string ends in %, the `Height` of the sticker will be the specified percentage of the canvas height; for example, `10%` means that `Height` is 10% of the canvas height.</li>
	// <li>If the string ends in px, the `Height` of the sticker will be in px; for example, `100px` means that `Height` is 100 px.</li>
	// <li>If both `Width` and `Height` are empty, then they will be the `Width` and `Height` of the sticker material, respectively.</li>
	// <li>If `Width` is empty, but `Height` is not empty, `Width` will be proportionally scaled.</li>
	// <li>If `Width` is not empty, but `Height` is empty, `Height` will be proportionally scaled.</li>
	Height *string `json:"Height,omitempty" name:"Height"`

	// Operation on sticker such as image rotation.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageOperations []*ImageTransform `json:"ImageOperations,omitempty" name:"ImageOperations"`
}

type StorageStatData

type StorageStatData struct {

	// VOD storage billing region. Valid values:
	// <li>Chinese Mainland</li>
	// <li>Outside Chinese Mainland</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// Current total storage capacity in bytes.
	TotalStorage *uint64 `json:"TotalStorage,omitempty" name:"TotalStorage"`

	// Current STANDARD_IA storage capacity in bytes.
	InfrequentStorage *uint64 `json:"InfrequentStorage,omitempty" name:"InfrequentStorage"`

	// Current STANDARD storage capacity in bytes.
	StandardStorage *uint64 `json:"StandardStorage,omitempty" name:"StandardStorage"`

	// Current ARCHIVE storage usage in bytes
	ArchiveStorage *uint64 `json:"ArchiveStorage,omitempty" name:"ArchiveStorage"`

	// Current DEEP ARCHIVE storage usage in bytes
	DeepArchiveStorage *uint64 `json:"DeepArchiveStorage,omitempty" name:"DeepArchiveStorage"`
}

type SubAppIdInfo

type SubAppIdInfo struct {

	// Subapplication ID.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`

	// Subapplication name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Subapplication overview.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Subapplication creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Subapplication status. Valid values:
	// <li>On: enabled</li>
	// <li>Off: disabled</li>
	// <li>Destroying: terminating</li>
	// <li>Destroyed: terminated</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

type SvgWatermarkInput

type SvgWatermarkInput struct {

	// Watermark width, which supports six formats of px, %, W%, H%, S%, and L%:
	// <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px; if `0px` is entered
	//  and `Height` is not `0px`, the watermark width will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark width will be the width of the source SVG image;</li>
	// <li>If the string ends in `W%`, the `Width` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Width` is 10% of the video width;</li>
	// <li>If the string ends in `H%`, the `Width` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Width` is 10% of the video height;</li>
	// <li>If the string ends in `S%`, the `Width` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Width` is 10% of the short side of the video;</li>
	// <li>If the string ends in `L%`, the `Width` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Width` is 10% of the long side of the video;</li>
	// <li>If the string ends in %, the meaning is the same as `W%`.</li>
	// Default value: 10W%.
	Width *string `json:"Width,omitempty" name:"Width"`

	// Watermark height, which supports six formats of px, %, W%, H%, S%, and L%:
	// <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered
	//  and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark height will be the height of the source SVG image;</li>
	// <li>If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width;</li>
	// <li>If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height;</li>
	// <li>If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video;</li>
	// <li>If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video;</li>
	// <li>If the string ends in %, the meaning is the same as `H%`.</li>
	// Default value: 0 px.
	Height *string `json:"Height,omitempty" name:"Height"`
}

type SvgWatermarkInputForUpdate

type SvgWatermarkInputForUpdate struct {

	// Watermark width, which supports six formats of px, %, W%, H%, S%, and L%:
	// <li>If the string ends in px, the `Width` of the watermark will be in px; for example, `100px` means that `Width` is 100 px; if `0px` is entered
	//  and `Height` is not `0px`, the watermark width will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark width will be the width of the source SVG image;</li>
	// <li>If the string ends in `W%`, the `Width` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Width` is 10% of the video width;</li>
	// <li>If the string ends in `H%`, the `Width` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Width` is 10% of the video height;</li>
	// <li>If the string ends in `S%`, the `Width` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Width` is 10% of the short side of the video;</li>
	// <li>If the string ends in `L%`, the `Width` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Width` is 10% of the long side of the video;</li>
	// <li>If the string ends in %, the meaning is the same as `W%`.</li>
	// Default value: 10W%.
	Width *string `json:"Width,omitempty" name:"Width"`

	// Watermark height, which supports six formats of px, %, W%, H%, S%, and L%:
	// <li>If the string ends in px, the `Height` of the watermark will be in px; for example, `100px` means that `Height` is 100 px; if `0px` is entered
	//  and `Width` is not `0px`, the watermark height will be proportionally scaled based on the source SVG image; if `0px` is entered for both `Width` and `Height`, the watermark height will be the height of the source SVG image;</li>
	// <li>If the string ends in `W%`, the `Height` of the watermark will be the specified percentage of the video width; for example, `10W%` means that `Height` is 10% of the video width;</li>
	// <li>If the string ends in `H%`, the `Height` of the watermark will be the specified percentage of the video height; for example, `10H%` means that `Height` is 10% of the video height;</li>
	// <li>If the string ends in `S%`, the `Height` of the watermark will be the specified percentage of the short side of the video; for example, `10S%` means that `Height` is 10% of the short side of the video;</li>
	// <li>If the string ends in `L%`, the `Height` of the watermark will be the specified percentage of the long side of the video; for example, `10L%` means that `Height` is 10% of the long side of the video;</li>
	// <li>If the string ends in %, the meaning is the same as `H%`.
	// Default value: 0 px.
	Height *string `json:"Height,omitempty" name:"Height"`

	// Watermark cycle configuration, which is used to configure watermarks so that they will be displayed and hidden periodically.
	// Primary use case: watermarks can be added at various positions in a video, which are displayed and hidden periodically to prevent them from being covered.
	// For example, watermarks A, B, C, and D are set in the top-left corner, top-right corner, bottom-right corner, and bottom-left corner of a video, respectively. After the first video frame, { A will be displayed for 5s -> B for 5s -> C for 5s -> D for 5s } -> A for 5s -> B for 5s -> ... Only one watermark will be visible at any time.
	// Within the braces ({}) is a major cycle composed of four watermarks, namely, A, B, C, and D, which lasts for 20 seconds in a cycle.
	// Watermarks A, B, C, and D are displayed periodically for 5 seconds and hidden for 15 seconds each in a fixed order.
	// This configuration item is used to describe the cycle configuration of a single watermark.
	CycleConfig *WatermarkCycleConfigForUpdate `json:"CycleConfig,omitempty" name:"CycleConfig"`
}

type TEHDConfig

type TEHDConfig struct {

	// TESHD type. Valid values:
	// <li>TEHD-100: TESHD-100.</li>
	// If this parameter is left blank, TESHD will not be enabled.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Maximum bitrate, which is valid when `Type` is `TESHD`.
	// If this parameter is left blank or 0 is entered, there will be no upper limit for bitrate.
	MaxVideoBitrate *uint64 `json:"MaxVideoBitrate,omitempty" name:"MaxVideoBitrate"`
}

type TEHDConfigForUpdate

type TEHDConfigForUpdate struct {

	// TESHD type. Valid values:
	// <li>TEHD-100: TESHD-100.</li>
	// If this parameter is left blank, no modification will be made.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Maximum bitrate. If this parameter is left blank, no modification will be made.
	MaxVideoBitrate *uint64 `json:"MaxVideoBitrate,omitempty" name:"MaxVideoBitrate"`
}

type TagConfigureInfo

type TagConfigureInfo struct {

	// Switch of intelligent tagging task. Valid values:
	// <li>ON: enables intelligent tagging task;</li>
	// <li>OFF: disables intelligent tagging task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type TagConfigureInfoForUpdate

type TagConfigureInfoForUpdate struct {

	// Switch of intelligent tagging task. Valid values:
	// <li>ON: enables intelligent tagging task;</li>
	// <li>OFF: disables intelligent tagging task.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type TaskOutputMediaInfo

type TaskOutputMediaInfo struct {

	// Media file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	//
	MediaBasicInfo *MediaBasicInfo `json:"MediaBasicInfo,omitempty" name:"MediaBasicInfo"`
}

type TaskSimpleInfo

type TaskSimpleInfo struct {

	// Task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Task status. Valid values: `WAITING` (waiting), `PROCESSING` (processing), `FINISH` (completed)
	Status *string `json:"Status,omitempty" name:"Status"`

	// Video ID
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Task type. Valid values:
	// <li>Procedure: video processing task;</li>
	// <li>EditMedia: video editing task</li>
	// <li>WechatDistribute: release on WeChat task.</li>
	// Task types compatible with v2017:
	// <li>Transcode: transcoding task;</li>
	// <li>SnapshotByTimeOffset: video screencapturing task</li>
	// <li>Concat: video splicing task;</li>
	// <li>Clip: video clipping task;</li>
	// <li>ImageSprites: image sprite generating task.</li>
	TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

	// Creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Start time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). If the task has not been started yet, this field will be empty.
	BeginProcessTime *string `json:"BeginProcessTime,omitempty" name:"BeginProcessTime"`

	// End time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). If the task has not been completed yet, this field will be empty.
	FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"`

	// ID used for deduplication if there was a request with the same ID in the last seven days.
	SessionId *string `json:"SessionId,omitempty" name:"SessionId"`

	// Source context, which is used to pass through the user request information.
	SessionContext *string `json:"SessionContext,omitempty" name:"SessionContext"`
}

type TaskStatData

type TaskStatData struct {

	// Task type
	// <li>`Transcoding`: basic transcoding</li>
	// <li>`Transcoding-TESHD`: TESHD transcoding</li>
	// <li>`Editing`: video editing</li>
	// <li>`AdaptiveBitrateStreaming`: adaptive bitrate streaming</li>
	// <li>`ContentAudit`: content moderation</li>
	// <li>`RemoveWatermark`: watermark removal</li>
	// <li>`Transcode`: transcoding, including basic transcoding, TESHD transcoding, and video editing. This value is not recommended.</li>
	TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

	// Task statistics overview (usage unit: second).
	Summary []*TaskStatDataItem `json:"Summary,omitempty" name:"Summary"`

	// Detailed statistics of different tasks
	// Transcoding statistics:
	// <li>Remuxing</li>
	// <li>Audio</li>
	// <li>Standard.H264.SD</li>
	// <li>Standard.H264.HD</li>
	// <li>Standard.H264.FHD</li>
	// <li>Standard.H264.2K</li>
	// <li>Standard.H264.4K</li>
	// <li>Standard.H265.SD</li>
	// <li>Standard.H265.HD</li>
	// <li>Standard.H265.FHD</li>
	// <li>Standard.H265.2K</li>
	// <li>Standard.H265.4K</li>
	// <li>TESHD-10.H264.SD</li>
	// <li>TESHD-10.H264.HD</li>
	// <li>TESHD-10.H264.FHD</li>
	// <li>TESHD-10.H264.2K</li>
	// <li>TESHD-10.H264.4K</li>
	// <li>TESHD-10.H265.SD</li>
	// <li>TESHD-10.H265.HD</li>
	// <li>TESHD-10.H265.FHD</li>
	// <li>TESHD-10.H265.2K</li>
	// <li>TESHD-10.H265.4K</li>
	// <li>Edit.Audio</li>
	// <li>Edit.H264.SD</li>
	// <li>Edit.H264.HD</li>
	// <li>Edit.H264.FHD</li>
	// <li>Edit.H264.2K</li>
	// <li>Edit.H264.4K</li>
	// <li>Edit.H265.SD</li>
	// <li>Edit.H265.HD</li>
	// <li>Edit.H265.FHD</li>
	// <li>Edit.H265.2K</li>
	// <li>Edit.H265.4K</li>
	// Watermark removal:
	// <li>`480P`: 640 × 480 and below</li>
	// <li>`720P`: 1280 × 720 and below</li>
	// <li>`1080P`: 1920 × 1080 and below</li>
	// <li>`2K`: 2560 × 1440 and below</li>
	// <li>`4K`: 3840 × 2160 and below</li>
	// <li>`8K`: 7680 × 4320 and below</li>
	Details []*SpecificationDataItem `json:"Details,omitempty" name:"Details"`
}

type TaskStatDataItem

type TaskStatDataItem struct {

	// Start time of data time range in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F). For example, if the time granularity is 1-day, `2018-12-01T00:00:00+08:00` represents the time range between December 1, 2018 (inclusive) and December 2, 2018 (not inclusive).
	Time *string `json:"Time,omitempty" name:"Time"`

	// Number of tasks.
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// Task usage.
	Usage *int64 `json:"Usage,omitempty" name:"Usage"`
}

type TempCertificate

type TempCertificate struct {

	// Temporary security certificate ID.
	SecretId *string `json:"SecretId,omitempty" name:"SecretId"`

	// Temporary security certificate `Key`.
	SecretKey *string `json:"SecretKey,omitempty" name:"SecretKey"`

	// Token value.
	Token *string `json:"Token,omitempty" name:"Token"`

	// Certificate expiration time. A Unix timestamp will be returned which is accurate down to the second.
	ExpiredTime *uint64 `json:"ExpiredTime,omitempty" name:"ExpiredTime"`
}

type TerrorismConfigureInfo

type TerrorismConfigureInfo struct {

	// Parameters for recognition of terrorism content in images
	// Note: This field may return `null`, indicating that no valid value can be found.
	ImgReviewInfo *TerrorismImgReviewTemplateInfo `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// Parameters for OCR-based recognition of terrorism content
	// Note: This field may return `null`, indicating that no valid value can be found.
	OcrReviewInfo *TerrorismOcrReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type TerrorismConfigureInfoForUpdate

type TerrorismConfigureInfoForUpdate struct {

	// Parameters for recognition of terrorism content in images
	ImgReviewInfo *TerrorismImgReviewTemplateInfoForUpdate `json:"ImgReviewInfo,omitempty" name:"ImgReviewInfo"`

	// Parameters for OCR-based recognition of terrorism content
	OcrReviewInfo *TerrorismOcrReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type TerrorismImgReviewTemplateInfo

type TerrorismImgReviewTemplateInfo struct {

	// Whether to enable recognition of terrorism content in images. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for recognition of terrorism content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values:
	// <li>`guns`: weapons and guns</li>
	// <li>`crowd`: crowd</li>
	// <li>`bloody`: bloody scenes</li>
	// <li>`police`: police force</li>
	// <li>`banners`: terrorism flags</li>
	// <li>`militant`: militants</li>
	// <li>`explosion`: explosions and fires</li>
	// <li>`terrorists`: terrorists</li>
	// <li>`scenario`: terrorism images</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `90` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `80` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type TerrorismImgReviewTemplateInfoForUpdate

type TerrorismImgReviewTemplateInfoForUpdate struct {

	// Whether to enable recognition of terrorism content in images. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for recognition of terrorism content in images. Results containing the specified labels are returned. If no labels are specified, all results are returned. Valid values:
	// <li>`guns`: weapons and guns</li>
	// <li>`crowd`: crowd</li>
	// <li>`bloody`: bloody scenes</li>
	// <li>`police`: police force</li>
	// <li>`banners`: terrorism flags</li>
	// <li>`militant`: militants</li>
	// <li>`explosion`: explosions and fires</li>
	// <li>`terrorists`: terrorists</li>
	// <li>`scenario`: terrorism images</li>
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type TerrorismOcrReviewTemplateInfo

type TerrorismOcrReviewTemplateInfo struct {

	// Whether to enable OCR-based recognition of terrorism content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type TerrorismOcrReviewTemplateInfoForUpdate

type TerrorismOcrReviewTemplateInfoForUpdate struct {

	// Whether to enable OCR-based recognition of terrorism content. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type TextWatermarkTemplateInput

type TextWatermarkTemplateInput struct {

	// Font type. Currently, two types are supported:
	// <li>simkai.ttf: both Chinese and English are supported;</li>
	// <li>arial.ttf: only English is supported.</li>
	FontType *string `json:"FontType,omitempty" name:"FontType"`

	// Font size in Npx format where N is a numeric value.
	FontSize *string `json:"FontSize,omitempty" name:"FontSize"`

	// Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).
	FontColor *string `json:"FontColor,omitempty" name:"FontColor"`

	// Text transparency. Value range: (0, 1]
	// <li>0: completely transparent</li>
	// <li>1: completely opaque</li>
	// Default value: 1.
	FontAlpha *float64 `json:"FontAlpha,omitempty" name:"FontAlpha"`
}

type TextWatermarkTemplateInputForUpdate

type TextWatermarkTemplateInputForUpdate struct {

	// Font type. Currently, two types are supported:
	// <li>simkai.ttf: both Chinese and English are supported;</li>
	// <li>arial.ttf: only English is supported.</li>
	FontType *string `json:"FontType,omitempty" name:"FontType"`

	// Font size in Npx format where N is a numeric value.
	FontSize *string `json:"FontSize,omitempty" name:"FontSize"`

	// Font color in 0xRRGGBB format. Default value: 0xFFFFFF (white).
	FontColor *string `json:"FontColor,omitempty" name:"FontColor"`

	// Text transparency. Value range: (0, 1]
	// <li>0: completely transparent</li>
	// <li>1: completely opaque</li>
	FontAlpha *float64 `json:"FontAlpha,omitempty" name:"FontAlpha"`
}

type TimeRange

type TimeRange struct {

	// <li>After or at this time (start time).</li>
	// <li>In ISO 8601 format. For more information, please see [ISO Date Format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li>
	After *string `json:"After,omitempty" name:"After"`

	// <li>Earlier than this time (end time).</li>
	// <li>In ISO 8601 format. For more information, please see [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).</li>
	Before *string `json:"Before,omitempty" name:"Before"`
}

type TranscodePlayInfo2017

type TranscodePlayInfo2017 struct {

	// Playback address.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Transcoding specification ID. For more information, please see [Transcoding Parameter Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Sum of the average bitrate of a video stream and that of an audio stream in bps.
	Bitrate *int64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Maximum value of the height of a video stream in px.
	Height *int64 `json:"Height,omitempty" name:"Height"`

	// Maximum value of the width of a video stream in px.
	Width *int64 `json:"Width,omitempty" name:"Width"`
}

type TranscodeTask2017

type TranscodeTask2017 struct {

	// Transcoding task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Error code
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// ID of transcoded file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Name of transcoded file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// Video duration in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Duration *uint64 `json:"Duration,omitempty" name:"Duration"`

	// Cover address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CoverUrl *string `json:"CoverUrl,omitempty" name:"CoverUrl"`

	// Playback information generated after video transcoding.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PlayInfoSet []*TranscodePlayInfo2017 `json:"PlayInfoSet,omitempty" name:"PlayInfoSet"`
}

type TranscodeTaskInput

type TranscodeTaskInput struct {

	// Video transcoding template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// List of up to 10 image or text watermarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WatermarkSet []*WatermarkInput `json:"WatermarkSet,omitempty" name:"WatermarkSet"`

	// List of blurs. Up to 10 ones can be supported.
	MosaicSet []*MosaicInput `json:"MosaicSet,omitempty" name:"MosaicSet"`

	// List of video opening/closing credits configuration template IDs. You can enter up to 10 IDs.
	HeadTailSet []*HeadTailTaskInput `json:"HeadTailSet,omitempty" name:"HeadTailSet"`

	// Start time offset of a transcoded video, in seconds.
	// <li>If this parameter is left empty or set to 0, the transcoded video will start at the same time as the original video.</li>
	// <li>If this parameter is set to a positive number (n for example), the transcoded video will start at the nth second of the original video.</li>
	// <li>If this parameter is set to a negative number (-n for example), the transcoded video will start at the nth second before the end of the original video.</li>
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of a transcoded video, in seconds.
	// <li>If this parameter is left empty or set to 0, the transcoded video will end at the same time as the original video.</li>
	// <li>If this parameter is set to a positive number (n for example), the transcoded video will end at the nth second of the original video.</li>
	// <li>If this parameter is set to a negative number (-n for example), the transcoded video will end at the nth second before the end of the original video.</li>
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type TranscodeTemplate

type TranscodeTemplate struct {

	// Unique ID of transcoding template.
	Definition *string `json:"Definition,omitempty" name:"Definition"`

	// Container. Valid values: mp4, flv, hls, mp3, flac, ogg.
	Container *string `json:"Container,omitempty" name:"Container"`

	// Transcoding template name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Template type. Valid values:
	// <li>Preset: preset template;</li>
	// <li>Custom: custom template.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Whether to remove video data. Valid values:
	// <li>0: retain;</li>
	// <li>1: remove.</li>
	RemoveVideo *int64 `json:"RemoveVideo,omitempty" name:"RemoveVideo"`

	// Whether to remove audio data. Valid values:
	// <li>0: retain;</li>
	// <li>1: remove.</li>
	RemoveAudio *int64 `json:"RemoveAudio,omitempty" name:"RemoveAudio"`

	// Video stream configuration parameter. This field is valid only when `RemoveVideo` is 0.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VideoTemplate *VideoTemplateInfo `json:"VideoTemplate,omitempty" name:"VideoTemplate"`

	// Audio stream configuration parameter. This field is valid only when `RemoveAudio` is 0.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioTemplate *AudioTemplateInfo `json:"AudioTemplate,omitempty" name:"AudioTemplate"`

	// TESHD transcoding parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TEHDConfig *TEHDConfig `json:"TEHDConfig,omitempty" name:"TEHDConfig"`

	// Container filter. Valid values:
	// <li>Video: video container that can contain both video stream and audio stream;</li>
	// <li>PureAudio: audio container that can contain only audio stream.</li>
	ContainerType *string `json:"ContainerType,omitempty" name:"ContainerType"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type TransitionOpertion

type TransitionOpertion struct {

	// Transition type. Valid values:
	// <ul>
	// <li>Video image transition operation, which is used for transition with video image between two video segments:
	// <ul>
	// <li>ImageFadeInFadeOut: video image fade-in/fade-out.</li>
	// <li>BowTieHorizontal: horizontal bow.</li>
	// <li>BowTieVertical: vertical bow.</li>
	// <li>ButterflyWaveScrawler: waggling.</li>
	// <li>Cannabisleaf: maple leaf.</li>
	// <li> Circle: curved circling.</li>
	// <li>CircleCrop: circle gathering.</li>
	// <li>Circleopen: elliptic gathering.</li>
	// <li>Crosswarp: horizontal warping.</li>
	// <li>Cube: cube.</li>
	// <li>DoomScreenTransition: curtain.</li>
	// <li>Doorway: doorway.</li>
	// <li>Dreamy: wave.</li>
	// <li>DreamyZoom: horizontal gathering.</li>
	// <li>FilmBurn: evening glow.</li>
	// <li>GlitchMemories: joggling.</li>
	// <li>Heart: heart.</li>
	// <li>InvertedPageCurl: page turning.</li>
	// <li>Luma: corroding.</li>
	// <li>Mosaic: grid.</li>
	// <li>Pinwheel: pinwheel.</li>
	// <li>PolarFunction: elliptic diffusing.</li>
	// <li>PolkaDotsCurtain: curved diffusing.</li>
	// <li>Radial: radar scan.</li>
	// <li>RotateScaleFade: vertical rotating.</li>
	// <li>Squeeze: vertical gathering.</li>
	// <li>Swap: zooming in.</li>
	// <li>Swirl: swirling.</li>
	// <li>UndulatingBurnOutSwirl: water spreading.</li>
	// <li>Windowblinds: blinds.</li>
	// <li>WipeDown: collapsing down.</li>
	// <li>WipeLeft: collapsing to the left.</li>
	// <li>WipeRight: collapsing to the right.</li>
	// <li>WipeUp: collapsing up.</li>
	// <li>ZoomInCircles: ripples.</li>
	// </ul>
	// </li>
	// <li>Audio transition operation, which is used for transition between two audio segments:
	// <ul>
	// <li>AudioFadeInFadeOut: audio fade-in/fade-out.</li>
	// </ul>
	// </li>
	// </ul>
	Type *string `json:"Type,omitempty" name:"Type"`
}

type UrlSignatureAuthPolicy

type UrlSignatureAuthPolicy struct {

	// Whether to enable or disable [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986). Valid values:
	// <li>`Enabled`: enable</li>
	// <li>`Disabled`: disable</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The key for generating the signature of [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986).
	// `EncryptedKey` can contain 8-40 bytes, and cannot contain non-printable characters.
	EncryptedKey *string `json:"EncryptedKey,omitempty" name:"EncryptedKey"`
}

type UserDefineAsrTextReviewTemplateInfo

type UserDefineAsrTextReviewTemplateInfo struct {

	// Whether to enable custom ASR-based recognition. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for custom ASR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom ASR-based recognition.
	// Up to 10 labels are allowed, each containing no more than 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineAsrTextReviewTemplateInfoForUpdate

type UserDefineAsrTextReviewTemplateInfoForUpdate struct {

	// Whether to enable custom ASR-based recognition. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for custom ASR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom ASR-based recognition.
	// Up to 10 labels are allowed, each containing no more than 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineConfigureInfo

type UserDefineConfigureInfo struct {

	// Parameters for custom facial recognition
	// Note: This field may return `null`, indicating that no valid value can be found.
	FaceReviewInfo *UserDefineFaceReviewTemplateInfo `json:"FaceReviewInfo,omitempty" name:"FaceReviewInfo"`

	// Parameters for custom ASR-based recognition
	// Note: This field may return `null`, indicating that no valid value can be found.
	AsrReviewInfo *UserDefineAsrTextReviewTemplateInfo `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// Parameters for custom OCR-based recognition
	// Note: This field may return `null`, indicating that no valid value can be found.
	OcrReviewInfo *UserDefineOcrTextReviewTemplateInfo `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type UserDefineConfigureInfoForUpdate

type UserDefineConfigureInfoForUpdate struct {

	// Parameters for custom facial recognition
	FaceReviewInfo *UserDefineFaceReviewTemplateInfoForUpdate `json:"FaceReviewInfo,omitempty" name:"FaceReviewInfo"`

	// Parameters for custom ASR-based recognition
	AsrReviewInfo *UserDefineAsrTextReviewTemplateInfoForUpdate `json:"AsrReviewInfo,omitempty" name:"AsrReviewInfo"`

	// Parameters for custom OCR-based recognition
	OcrReviewInfo *UserDefineOcrTextReviewTemplateInfoForUpdate `json:"OcrReviewInfo,omitempty" name:"OcrReviewInfo"`
}

type UserDefineFaceReviewTemplateInfo

type UserDefineFaceReviewTemplateInfo struct {

	// Whether to enable custom facial recognition. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for custom facial recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding custom facial libraries.
	// Up to 10 labels are allowed, each containing no more than 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `97` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `95` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineFaceReviewTemplateInfoForUpdate

type UserDefineFaceReviewTemplateInfoForUpdate struct {

	// Whether to enable custom facial recognition. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for custom facial recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding custom facial libraries.
	// Up to 10 labels are allowed, each containing no more than 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineOcrTextReviewTemplateInfo

type UserDefineOcrTextReviewTemplateInfo struct {

	// Whether to enable custom OCR-based recognition. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for custom OCR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom OCR-based recognition.
	// Up to 10 labels are allowed, each containing no more than 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type UserDefineOcrTextReviewTemplateInfoForUpdate

type UserDefineOcrTextReviewTemplateInfoForUpdate struct {

	// Whether to enable custom OCR-based recognition. Valid values:
	// <li>ON</li>
	// <li>OFF</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Filter labels for custom OCR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom OCR-based recognition.
	// Up to 10 labels are allowed, each containing no more than 16 characters.
	LabelSet []*string `json:"LabelSet,omitempty" name:"LabelSet"`

	// Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
	BlockConfidence *int64 `json:"BlockConfidence,omitempty" name:"BlockConfidence"`

	// Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
	ReviewConfidence *int64 `json:"ReviewConfidence,omitempty" name:"ReviewConfidence"`
}

type VideoTemplateInfo

type VideoTemplateInfo struct {

	// Video stream encoder. Valid values:
	// <li>libx264: H.264</li>
	// <li>libx265: H.265</li>
	// <li>av1: AOMedia Video 1</li>
	// Currently, a resolution within 640x480 must be specified for H.265. and the `av1` container only supports mp4.
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// Video frame rate in Hz. Value range: [0,100].
	// If the value is 0, the frame rate will be the same as that of the source video.
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// Bitrate of video stream in Kbps. Value range: 0 and [128, 35,000].
	// If the value is 0, the bitrate of the video will be the same as that of the source video.
	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	// Default value: open.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	// Default value: 0.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Fill type, the way of processing a screenshot when the configured aspect ratio is different from that of the source video. Valid values:
	// <li>stretch: stretches the video image frame by frame to fill the screen. The video image may become "squashed" or "stretched" after transcoding.</li>
	// <li>black: fills the uncovered area with black color, without changing the image's aspect ratio.</li>
	// <li>white: fills the uncovered area with white color, without changing the image's aspect ratio.</li>
	// <li>gauss: applies Gaussian blur to the uncovered area, without changing the image's aspect ratio.</li>
	// Default value: black
	FillType *string `json:"FillType,omitempty" name:"FillType"`

	// Video Constant Rate Factor (CRF). Value range: 1-51.
	// If this parameter is specified, CRF will be used to control video bitrate for transcoding and the original video bitrate will not be used.
	// We don’t recommend specifying this parameter unless you have special requirements.
	Vcrf *uint64 `json:"Vcrf,omitempty" name:"Vcrf"`

	// I-frame interval in frames. Valid values: 0 and 1-100000.
	// When this parameter is set to 0 or left empty, `Gop` will be automatically set.
	Gop *uint64 `json:"Gop,omitempty" name:"Gop"`
}

type VideoTemplateInfoForUpdate

type VideoTemplateInfoForUpdate struct {

	// Video stream encoder. Valid values:
	// <li>libx264: H.264</li>
	// <li>libx265: H.265</li>
	// <li>av1: AOMedia Video 1</li>
	// Currently, a resolution within 640x480 must be specified for H.265. and the `av1` container only supports mp4.
	Codec *string `json:"Codec,omitempty" name:"Codec"`

	// Video frame rate in Hz. Value range: [0,100].
	// If the value is 0, the frame rate will be the same as that of the source video.
	Fps *uint64 `json:"Fps,omitempty" name:"Fps"`

	// Bitrate of video stream in Kbps. Value range: 0 and [128, 35,000].
	// If the value is 0, the bitrate of the video will be the same as that of the source video.
	Bitrate *uint64 `json:"Bitrate,omitempty" name:"Bitrate"`

	// Resolution adaption. Valid values:
	// <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
	// <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
	ResolutionAdaptive *string `json:"ResolutionAdaptive,omitempty" name:"ResolutionAdaptive"`

	// Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
	// <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
	// <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
	// <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
	// <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].
	Height *uint64 `json:"Height,omitempty" name:"Height"`

	// Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. Valid values:
	// <li>stretch: stretches video image frame by frame to fill the screen. The video image may become "squashed" or "stretched" after transcoding.</li>
	// <li>black: fills the uncovered area with black color, without changing the image's aspect ratio.</li>
	// <li>white: fills the uncovered area with white color, without changing the image's aspect ratio.</li>
	// <li>gauss: applies Gaussian blur to the uncovered area, without changing the image's aspect ratio.</li>
	FillType *string `json:"FillType,omitempty" name:"FillType"`

	// Video Constant Rate Factor (CRF). Value range: 0-51. This parameter will be disabled if you enter 0.
	// We don’t recommend specifying this parameter unless you have special requirements.
	Vcrf *uint64 `json:"Vcrf,omitempty" name:"Vcrf"`

	// I-frame interval in frames. Valid values: 0 and 1-100000.
	// When this parameter is set to 0 or left empty, `Gop` will be automatically set.
	Gop *uint64 `json:"Gop,omitempty" name:"Gop"`
}

type VideoTrackItem

type VideoTrackItem struct {

	// Source of media material for video segment, which can be:
	// <li>ID of VOD media files</li>
	// <li>Download URL of other media files.</li>
	// Note: when a download URL of other media files is used as the material source and access control (such as hotlink protection) is enabled, the URL needs to carry access control parameters (such as hotlink protection signature).
	SourceMedia *string `json:"SourceMedia,omitempty" name:"SourceMedia"`

	// Start time of video segment in material file in seconds. Default value: 0.
	SourceMediaStartTime *float64 `json:"SourceMediaStartTime,omitempty" name:"SourceMediaStartTime"`

	// Video segment duration in seconds. By default, the length of the video material will be used, which means that the entire material will be captured. If the source file is an image, `Duration` needs to be greater than 0.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// Video origin position. Valid values:
	// <li> Center: the origin of coordinates is the center position, such as the center of canvas.</li>
	// Default value: Center.
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`

	// The horizontal position of the origin of the video segment relative to the origin of the canvas. % and px formats are supported:
	// <li>If the string ends in %, the `XPos` of the video segment will be at the position of the specified percentage of the canvas width; for example, `10%` means that `XPos` is 10% of the canvas width.</li>
	// <li>If the string ends in px, the `XPos` of the video segment will be in px; for example, `100px` means that `XPos` is 100 px.</li>
	// Default value: 0 px.
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// The vertical position of the origin of the video segment relative to the origin of the canvas. % and px formats are supported:
	// <li>If the string ends in %, the `YPos` of the video segment will be at the position of the specified percentage of the canvas height; for example, `10%` means that `YPos` is 10% of the canvas height.</li>
	// <li>If the string ends in px, the `YPos` of the video segment will be in px; for example, `100px` means that `YPos` is 100 px.</li>
	// Default value: 0 px.
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// Video segment width. % and px formats are supported:
	// <li>If the string ends in %, the `Width` of the video segment will be the specified percentage of the canvas width; for example, `10%` means that `Width` is 10% of the canvas width.</li>
	// <li>If the string ends in px, the `Width` of the video segment will be in px; for example, `100px` means that `Width` is 100 px.</li>
	// <li>If both `Width` and `Height` are empty, then they will be the `Width` and `Height` of the video material, respectively.</li>
	// <li>If `Width` is empty, but `Height` is not empty, `Width` will be proportionally scaled.</li>
	// <li>If `Width` is not empty, but `Height` is empty, `Height` will be proportionally scaled.</li>
	Width *string `json:"Width,omitempty" name:"Width"`

	// Video segment height. % and px formats are supported:
	// <li>If the string ends in %, the `Height` of the video segment will be the specified percentage of the canvas height; for example, `10%` means that `Height` is 10% of the canvas height;
	// </li><li>If the string ends in px, the `Height` of the video segment will be in px; for example, `100px` means that `Height` is 100 px.</li>
	// <li>If both `Width` and `Height` are empty, then they will be the `Width` and `Height` of the video material, respectively.</li>
	// <li>If `Width` is empty, but `Height` is not empty, `Width` will be proportionally scaled.</li>
	// <li>If `Width` is not empty, but `Height` is empty, `Height` will be proportionally scaled.</li>
	Height *string `json:"Height,omitempty" name:"Height"`

	// Operation on video image such as image rotation.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageOperations []*ImageTransform `json:"ImageOperations,omitempty" name:"ImageOperations"`

	// Operation on audio such as muting.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AudioOperations []*AudioTransform `json:"AudioOperations,omitempty" name:"AudioOperations"`
}

type WatermarkCycleConfigForUpdate

type WatermarkCycleConfigForUpdate struct {

	// Playback time point in seconds when a watermark appears in a video for the first time.
	StartTime *float64 `json:"StartTime,omitempty" name:"StartTime"`

	// Display duration of a watermark in a watermark cycle in seconds.
	DisplayDuration *float64 `json:"DisplayDuration,omitempty" name:"DisplayDuration"`

	// Duration of a watermark cycle in seconds.
	// If 0 is entered, a watermark will last for only one cycle (i.e., visible for `DisplayDuration` seconds throughout the video).
	CycleDuration *float64 `json:"CycleDuration,omitempty" name:"CycleDuration"`
}

type WatermarkInput

type WatermarkInput struct {

	// Watermarking template ID.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// Text content, which contains up to 100 characters. Set this parameter only when the watermark type is text.
	// VOD does not support adding text watermarks on screenshots.
	TextContent *string `json:"TextContent,omitempty" name:"TextContent"`

	// SVG content, which contains up to 2,000,000 characters. Set this parameter only when the watermark type is SVG.
	// VOD does not support adding SVG watermarks on screenshots.
	SvgContent *string `json:"SvgContent,omitempty" name:"SvgContent"`

	// Start time offset of a watermark in seconds. If this parameter is left blank or 0 is entered, the watermark will appear upon the first video frame.
	// <li>If this parameter is left blank or 0 is entered, the watermark will appear upon the first video frame;</li>
	// <li>If this value is greater than 0 (e.g., n), the watermark will appear at second n after the first video frame;</li>
	// <li>If this value is smaller than 0 (e.g., -n), the watermark will appear at second n before the last video frame.</li>
	StartTimeOffset *float64 `json:"StartTimeOffset,omitempty" name:"StartTimeOffset"`

	// End time offset of a watermark in seconds.
	// <li>If this parameter is left blank or 0 is entered, the watermark will exist till the last video frame;</li>
	// <li>If this value is greater than 0 (e.g., n), the watermark will exist till second n;</li>
	// <li>If this value is smaller than 0 (e.g., -n), the watermark will exist till second n before the last video frame.</li>
	EndTimeOffset *float64 `json:"EndTimeOffset,omitempty" name:"EndTimeOffset"`
}

type WatermarkTemplate

type WatermarkTemplate struct {

	// Unique ID of watermarking template.
	Definition *int64 `json:"Definition,omitempty" name:"Definition"`

	// Watermark type. Valid values:
	// <li>image: image watermark;</li>
	// <li>text: text watermark.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Watermarking template name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Template description.
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// Horizontal position of the origin of the watermark image relative to the origin of the video.
	// <li>If the string ends in %, the `Left` edge of the watermark will be at the position of the specified percentage of the video width; for example, `10%` means that the `Left` edge is at 10% of the video width;</li>
	// <li>If the string ends in px, the `Left` edge of the watermark will be at the position of the specified px of the video width; for example, `100px` means that the `Left` edge is at the position of 100 px.</li>
	XPos *string `json:"XPos,omitempty" name:"XPos"`

	// Vertical position of the origin of the watermark image relative to the origin of the video.
	// <li>If the string ends in %, the `Top` edge of the watermark will beat the position of the specified percentage of the video height; for example, `10%` means that the `Top` edge is at 10% of the video height;</li>
	// <li>If the string ends in px, the `Top` edge of the watermark will be at the position of the specified px of the video height; for example, `100px` means that the `Top` edge is at the position of 100 px.</li>
	YPos *string `json:"YPos,omitempty" name:"YPos"`

	// Image watermarking template. This field is valid only when `Type` is `image`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageTemplate *ImageWatermarkTemplate `json:"ImageTemplate,omitempty" name:"ImageTemplate"`

	// Text watermarking template. This field is valid only when `Type` is `text`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TextTemplate *TextWatermarkTemplateInput `json:"TextTemplate,omitempty" name:"TextTemplate"`

	// SVG watermarking template. This field is valid when `Type` is `svg`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SvgTemplate *SvgWatermarkInput `json:"SvgTemplate,omitempty" name:"SvgTemplate"`

	// Creation time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last modified time of template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Origin position. Valid values:
	// <li>topLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li>
	// <li>topRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li>
	// <li>bottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li>
	// <li>bottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li>
	CoordinateOrigin *string `json:"CoordinateOrigin,omitempty" name:"CoordinateOrigin"`
}

type WeChatMiniProgramPublishRequest

type WeChatMiniProgramPublishRequest struct {
	*tchttp.BaseRequest

	// Media file ID.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// ID of the transcoding template corresponding to the published video. 0 represents the source video.
	SourceDefinition *int64 `json:"SourceDefinition,omitempty" name:"SourceDefinition"`

	// [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
	SubAppId *uint64 `json:"SubAppId,omitempty" name:"SubAppId"`
}

func NewWeChatMiniProgramPublishRequest

func NewWeChatMiniProgramPublishRequest() (request *WeChatMiniProgramPublishRequest)

func (*WeChatMiniProgramPublishRequest) FromJsonString

func (r *WeChatMiniProgramPublishRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*WeChatMiniProgramPublishRequest) ToJsonString

func (r *WeChatMiniProgramPublishRequest) ToJsonString() string

type WeChatMiniProgramPublishResponse

type WeChatMiniProgramPublishResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task ID.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewWeChatMiniProgramPublishResponse

func NewWeChatMiniProgramPublishResponse() (response *WeChatMiniProgramPublishResponse)

func (*WeChatMiniProgramPublishResponse) FromJsonString

func (r *WeChatMiniProgramPublishResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*WeChatMiniProgramPublishResponse) ToJsonString

func (r *WeChatMiniProgramPublishResponse) ToJsonString() string

type WechatMiniProgramPublishTask

type WechatMiniProgramPublishTask struct {

	// Task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Task status. Valid values:
	// WAITING: waiting;
	// PROCESSING: processing;
	// FINISH: completed.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// ID of published video file.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// ID of the transcoding template corresponding to the published video. 0 represents the source video.
	SourceDefinition *uint64 `json:"SourceDefinition,omitempty" name:"SourceDefinition"`

	// Status of video release on WeChat Mini Program. Valid values:
	// <li>Pass: successfully published;</li>
	// <li>Failed: failed to publish;</li>
	// <li>Rejected: rejected.</li>
	PublishResult *string `json:"PublishResult,omitempty" name:"PublishResult"`
}

type WechatMiniProgramPublishTaskInput

type WechatMiniProgramPublishTaskInput struct {

	// ID of the transcoding template corresponding to the published video. 0 represents the source video.
	SourceDefinition *uint64 `json:"SourceDefinition,omitempty" name:"SourceDefinition"`
}

type WechatPublishTask

type WechatPublishTask struct {

	// Task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Task status. Valid values:
	// WAITING: waiting;
	// PROCESSING: processing;
	// FINISH: completed.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Error code
	// <li>0: success;</li>
	// <li>Other values: failure.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	ErrCode *int64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// Error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// ID of published video file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FileId *string `json:"FileId,omitempty" name:"FileId"`

	// Release on WeChat template ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Definition *uint64 `json:"Definition,omitempty" name:"Definition"`

	// ID of the transcoding template corresponding to the published video. 0 represents the source video.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SourceDefinition *uint64 `json:"SourceDefinition,omitempty" name:"SourceDefinition"`

	// Release on WeChat status. Valid values:
	// <li>FAIL: failure;</li>
	// <li>SUCCESS: success;</li>
	// <li>AUDITNOTPASS: rejected</li>
	// <li>NOTTRIGGERED: release on WeChat not initiated yet.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	WechatStatus *string `json:"WechatStatus,omitempty" name:"WechatStatus"`

	// WeChat `Vid`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WechatVid *string `json:"WechatVid,omitempty" name:"WechatVid"`

	// WeChat address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WechatUrl *string `json:"WechatUrl,omitempty" name:"WechatUrl"`
}

Jump to

Keyboard shortcuts

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