Documentation
¶
Index ¶
- type AccessRealtimeASRTaskTokenRequest
- func NewAccessRealtimeASRTaskTokenRequest(taskId string, timestamp int64) *AccessRealtimeASRTaskTokenRequest
- func NewAccessRealtimeASRTaskTokenRequestWithAllParams(taskId string, timestamp int64) *AccessRealtimeASRTaskTokenRequest
- func NewAccessRealtimeASRTaskTokenRequestWithoutParam() *AccessRealtimeASRTaskTokenRequest
- type AccessRealtimeASRTaskTokenResponse
- type AccessRealtimeASRTaskTokenResult
- type BatchDeleteKnowledgeFileRecordRequest
- func NewBatchDeleteKnowledgeFileRecordRequest(ids []int64) *BatchDeleteKnowledgeFileRecordRequest
- func NewBatchDeleteKnowledgeFileRecordRequestWithAllParams(ids []int64) *BatchDeleteKnowledgeFileRecordRequest
- func NewBatchDeleteKnowledgeFileRecordRequestWithoutParam() *BatchDeleteKnowledgeFileRecordRequest
- type BatchDeleteKnowledgeFileRecordResponse
- type BatchDeleteKnowledgeFileRecordResult
- type BatchUploadFileToKnowledgeBaseRequest
- func NewBatchUploadFileToKnowledgeBaseRequest() *BatchUploadFileToKnowledgeBaseRequest
- func NewBatchUploadFileToKnowledgeBaseRequestWithAllParams(content []mps.UploadFileToKnowledgeBaseReqData) *BatchUploadFileToKnowledgeBaseRequest
- func NewBatchUploadFileToKnowledgeBaseRequestWithoutParam() *BatchUploadFileToKnowledgeBaseRequest
- type BatchUploadFileToKnowledgeBaseResponse
- type BatchUploadFileToKnowledgeBaseResult
- type CountImageStyleRequest
- type CountImageStyleResponse
- type CountImageStyleResult
- type CreateASRTaskHotWordsRequest
- type CreateASRTaskHotWordsResponse
- type CreateASRTaskHotWordsResult
- type CreateAiChatConvRequest
- type CreateAiChatConvResponse
- type CreateAiChatConvResult
- type CreateGlobalHotWordsRequest
- type CreateGlobalHotWordsResponse
- type CreateGlobalHotWordsResult
- type CreateImageStyleRequest
- func NewCreateImageStyleRequest(regionId string, bucketName string) *CreateImageStyleRequest
- func NewCreateImageStyleRequestWithAllParams(regionId string, bucketName string, id *int64, userId *string, ...) *CreateImageStyleRequest
- func NewCreateImageStyleRequestWithoutParam() *CreateImageStyleRequest
- func (r CreateImageStyleRequest) GetRegionId() string
- func (r *CreateImageStyleRequest) SetBucketName(bucketName string)
- func (r *CreateImageStyleRequest) SetCreatedTime(createdTime string)
- func (r *CreateImageStyleRequest) SetId(id int64)
- func (r *CreateImageStyleRequest) SetModifyTime(modifyTime string)
- func (r *CreateImageStyleRequest) SetParamAlias(paramAlias string)
- func (r *CreateImageStyleRequest) SetParams(params string)
- func (r *CreateImageStyleRequest) SetRegionId(regionId string)
- func (r *CreateImageStyleRequest) SetStatus(status int)
- func (r *CreateImageStyleRequest) SetStyleName(styleName string)
- func (r *CreateImageStyleRequest) SetUserId(userId string)
- type CreateImageStyleResponse
- type CreateImageStyleResult
- type CreateNonRealtimeASRTasksRequest
- func NewCreateNonRealtimeASRTasksRequest(outputFilePath string) *CreateNonRealtimeASRTasksRequest
- func NewCreateNonRealtimeASRTasksRequestWithAllParams(translateFlag *int, srcLanguage *string, destLanguage *string, ...) *CreateNonRealtimeASRTasksRequest
- func NewCreateNonRealtimeASRTasksRequestWithoutParam() *CreateNonRealtimeASRTasksRequest
- func (r CreateNonRealtimeASRTasksRequest) GetRegionId() string
- func (r *CreateNonRealtimeASRTasksRequest) SetDestLanguage(destLanguage string)
- func (r *CreateNonRealtimeASRTasksRequest) SetHotWords(hotWords string)
- func (r *CreateNonRealtimeASRTasksRequest) SetModeType(modeType int)
- func (r *CreateNonRealtimeASRTasksRequest) SetOutputFilePath(outputFilePath string)
- func (r *CreateNonRealtimeASRTasksRequest) SetSrcLanguage(srcLanguage string)
- func (r *CreateNonRealtimeASRTasksRequest) SetTranslateFlag(translateFlag int)
- func (r *CreateNonRealtimeASRTasksRequest) SetUploadMediaUrls(uploadMediaUrls []mps.MediaInfo)
- type CreateNonRealtimeASRTasksResponse
- type CreateNonRealtimeASRTasksResult
- type CreateProcessDefinitionRequest
- func NewCreateProcessDefinitionRequest() *CreateProcessDefinitionRequest
- func NewCreateProcessDefinitionRequestWithAllParams(name *string, taskDefinitionList []mps.TaskDefinition, ...) *CreateProcessDefinitionRequest
- func NewCreateProcessDefinitionRequestWithoutParam() *CreateProcessDefinitionRequest
- func (r CreateProcessDefinitionRequest) GetRegionId() string
- func (r *CreateProcessDefinitionRequest) SetName(name string)
- func (r *CreateProcessDefinitionRequest) SetTaskDefinitionList(taskDefinitionList []mps.TaskDefinition)
- func (r *CreateProcessDefinitionRequest) SetTaskRelationList(taskRelationList []mps.ProcessTaskRelation)
- type CreateProcessDefinitionResponse
- type CreateProcessDefinitionResult
- type CreateRealtimeASRTaskRequest
- func NewCreateRealtimeASRTaskRequest(subject string, outputFilePath string) *CreateRealtimeASRTaskRequest
- func NewCreateRealtimeASRTaskRequestWithAllParams(subject string, translateFlag *int, srcLanguage *string, modeType *int, ...) *CreateRealtimeASRTaskRequest
- func NewCreateRealtimeASRTaskRequestWithoutParam() *CreateRealtimeASRTaskRequest
- func (r CreateRealtimeASRTaskRequest) GetRegionId() string
- func (r *CreateRealtimeASRTaskRequest) SetDestLanguage(destLanguage string)
- func (r *CreateRealtimeASRTaskRequest) SetModeType(modeType int)
- func (r *CreateRealtimeASRTaskRequest) SetOutputFilePath(outputFilePath string)
- func (r *CreateRealtimeASRTaskRequest) SetSrcLanguage(srcLanguage string)
- func (r *CreateRealtimeASRTaskRequest) SetSubject(subject string)
- func (r *CreateRealtimeASRTaskRequest) SetTranslateFlag(translateFlag int)
- type CreateRealtimeASRTaskResponse
- type CreateRealtimeASRTaskResult
- type CreateSnapshotTemplateRequest
- func NewCreateSnapshotTemplateRequest(title string) *CreateSnapshotTemplateRequest
- func NewCreateSnapshotTemplateRequestWithAllParams(title string, startTime *int, frameType *string, format *string, number *int, ...) *CreateSnapshotTemplateRequest
- func NewCreateSnapshotTemplateRequestWithoutParam() *CreateSnapshotTemplateRequest
- func (r CreateSnapshotTemplateRequest) GetRegionId() string
- func (r *CreateSnapshotTemplateRequest) SetConfigData(configData string)
- func (r *CreateSnapshotTemplateRequest) SetFillType(fillType string)
- func (r *CreateSnapshotTemplateRequest) SetFormat(format string)
- func (r *CreateSnapshotTemplateRequest) SetFrameType(frameType string)
- func (r *CreateSnapshotTemplateRequest) SetHeight(height int)
- func (r *CreateSnapshotTemplateRequest) SetInterval(interval int)
- func (r *CreateSnapshotTemplateRequest) SetNumber(number int)
- func (r *CreateSnapshotTemplateRequest) SetSpriteConfig(spriteConfig *mps.SpriteConfig)
- func (r *CreateSnapshotTemplateRequest) SetStartTime(startTime int)
- func (r *CreateSnapshotTemplateRequest) SetTitle(title string)
- func (r *CreateSnapshotTemplateRequest) SetWidth(width int)
- type CreateSnapshotTemplateResponse
- type CreateSnapshotTemplateResult
- type CreateThumbnailTaskRequest
- func NewCreateThumbnailTaskRequest(regionId string, source *mps.ThumbnailTaskSource, ...) *CreateThumbnailTaskRequest
- func NewCreateThumbnailTaskRequestWithAllParams(regionId string, taskID *string, status *string, errorCode *int, ...) *CreateThumbnailTaskRequest
- func NewCreateThumbnailTaskRequestWithoutParam() *CreateThumbnailTaskRequest
- func (r CreateThumbnailTaskRequest) GetRegionId() string
- func (r *CreateThumbnailTaskRequest) SetCreatedTime(createdTime string)
- func (r *CreateThumbnailTaskRequest) SetErrorCode(errorCode int)
- func (r *CreateThumbnailTaskRequest) SetLastUpdatedTime(lastUpdatedTime string)
- func (r *CreateThumbnailTaskRequest) SetRegionId(regionId string)
- func (r *CreateThumbnailTaskRequest) SetRule(rule *mps.ThumbnailTaskRule)
- func (r *CreateThumbnailTaskRequest) SetSource(source *mps.ThumbnailTaskSource)
- func (r *CreateThumbnailTaskRequest) SetStatus(status string)
- func (r *CreateThumbnailTaskRequest) SetTarget(target *mps.ThumbnailTaskTarget)
- func (r *CreateThumbnailTaskRequest) SetTaskID(taskID string)
- type CreateThumbnailTaskResponse
- type CreateThumbnailTaskResult
- type CreateTranscodeTemplateRequest
- func NewCreateTranscodeTemplateRequest(title string, video *mps.VideoStreamSettings, audio *mps.AudioStreamSettings, ...) *CreateTranscodeTemplateRequest
- func NewCreateTranscodeTemplateRequestWithAllParams(title string, video *mps.VideoStreamSettings, audio *mps.AudioStreamSettings, ...) *CreateTranscodeTemplateRequest
- func NewCreateTranscodeTemplateRequestWithoutParam() *CreateTranscodeTemplateRequest
- func (r CreateTranscodeTemplateRequest) GetRegionId() string
- func (r *CreateTranscodeTemplateRequest) SetAudio(audio *mps.AudioStreamSettings)
- func (r *CreateTranscodeTemplateRequest) SetContainer(container *mps.ContainerSettings)
- func (r *CreateTranscodeTemplateRequest) SetDefinition(definition string)
- func (r *CreateTranscodeTemplateRequest) SetEncryption(encryption *mps.EncryptionSettings)
- func (r *CreateTranscodeTemplateRequest) SetTitle(title string)
- func (r *CreateTranscodeTemplateRequest) SetTranscodeType(transcodeType string)
- func (r *CreateTranscodeTemplateRequest) SetVideo(video *mps.VideoStreamSettings)
- type CreateTranscodeTemplateResponse
- type CreateTranscodeTemplateResult
- type CreateVeditJobRequest
- func NewCreateVeditJobRequest(projectName string, timeline *mps.Timeline, mediaMetadata *mps.MediaMetadata) *CreateVeditJobRequest
- func NewCreateVeditJobRequestWithAllParams(projectName string, description *string, timeline *mps.Timeline, ...) *CreateVeditJobRequest
- func NewCreateVeditJobRequestWithoutParam() *CreateVeditJobRequest
- func (r CreateVeditJobRequest) GetRegionId() string
- func (r *CreateVeditJobRequest) SetDescription(description string)
- func (r *CreateVeditJobRequest) SetMediaMetadata(mediaMetadata *mps.MediaMetadata)
- func (r *CreateVeditJobRequest) SetProjectName(projectName string)
- func (r *CreateVeditJobRequest) SetTimeline(timeline *mps.Timeline)
- func (r *CreateVeditJobRequest) SetUserData(userData string)
- type CreateVeditJobResponse
- type CreateVeditJobResult
- type CreateVeditProjectRequest
- func NewCreateVeditProjectRequest(projectName string, timeline *mps.Timeline) *CreateVeditProjectRequest
- func NewCreateVeditProjectRequestWithAllParams(projectName string, description *string, timeline *mps.Timeline) *CreateVeditProjectRequest
- func NewCreateVeditProjectRequestWithoutParam() *CreateVeditProjectRequest
- type CreateVeditProjectResponse
- type CreateVeditProjectResult
- type CreateWatermarkTemplateRequest
- func NewCreateWatermarkTemplateRequest(name string, type_ string) *CreateWatermarkTemplateRequest
- func NewCreateWatermarkTemplateRequestWithAllParams(name string, type_ string, imageUrl *string, text *string, fontFile *string, ...) *CreateWatermarkTemplateRequest
- func NewCreateWatermarkTemplateRequestWithoutParam() *CreateWatermarkTemplateRequest
- func (r CreateWatermarkTemplateRequest) GetRegionId() string
- func (r *CreateWatermarkTemplateRequest) SetFontColor(fontColor string)
- func (r *CreateWatermarkTemplateRequest) SetFontFile(fontFile string)
- func (r *CreateWatermarkTemplateRequest) SetFontOpacity(fontOpacity int)
- func (r *CreateWatermarkTemplateRequest) SetFontSize(fontSize int)
- func (r *CreateWatermarkTemplateRequest) SetHeight(height int)
- func (r *CreateWatermarkTemplateRequest) SetHeightRef(heightRef string)
- func (r *CreateWatermarkTemplateRequest) SetImageUrl(imageUrl string)
- func (r *CreateWatermarkTemplateRequest) SetName(name string)
- func (r *CreateWatermarkTemplateRequest) SetOffsetUnit(offsetUnit string)
- func (r *CreateWatermarkTemplateRequest) SetOffsetX(offsetX int)
- func (r *CreateWatermarkTemplateRequest) SetOffsetY(offsetY int)
- func (r *CreateWatermarkTemplateRequest) SetPosition(position string)
- func (r *CreateWatermarkTemplateRequest) SetRotation(rotation int)
- func (r *CreateWatermarkTemplateRequest) SetShadow(shadow int)
- func (r *CreateWatermarkTemplateRequest) SetShadowColor(shadowColor string)
- func (r *CreateWatermarkTemplateRequest) SetSizeUnit(sizeUnit string)
- func (r *CreateWatermarkTemplateRequest) SetText(text string)
- func (r *CreateWatermarkTemplateRequest) SetTile(tile bool)
- func (r *CreateWatermarkTemplateRequest) SetTileSpacing(tileSpacing int)
- func (r *CreateWatermarkTemplateRequest) SetType(type_ string)
- func (r *CreateWatermarkTemplateRequest) SetWidth(width int)
- func (r *CreateWatermarkTemplateRequest) SetWidthRef(widthRef string)
- type CreateWatermarkTemplateResponse
- type CreateWatermarkTemplateResult
- type DeleteASRTaskHotWordsRequest
- type DeleteASRTaskHotWordsResponse
- type DeleteASRTaskHotWordsResult
- type DeleteASRTaskRequest
- type DeleteASRTaskResponse
- type DeleteASRTaskResult
- type DeleteImageStyleRequest
- type DeleteImageStyleResponse
- type DeleteImageStyleResult
- type DeleteKnowledgeBaseFileRecordRequest
- func NewDeleteKnowledgeBaseFileRecordRequest(knowledgeId string) *DeleteKnowledgeBaseFileRecordRequest
- func NewDeleteKnowledgeBaseFileRecordRequestWithAllParams(knowledgeId string) *DeleteKnowledgeBaseFileRecordRequest
- func NewDeleteKnowledgeBaseFileRecordRequestWithoutParam() *DeleteKnowledgeBaseFileRecordRequest
- type DeleteKnowledgeBaseFileRecordResponse
- type DeleteKnowledgeBaseFileRecordResult
- type DeleteProcessDefinitionByCodeRequest
- func NewDeleteProcessDefinitionByCodeRequest(code string) *DeleteProcessDefinitionByCodeRequest
- func NewDeleteProcessDefinitionByCodeRequestWithAllParams(code string) *DeleteProcessDefinitionByCodeRequest
- func NewDeleteProcessDefinitionByCodeRequestWithoutParam() *DeleteProcessDefinitionByCodeRequest
- type DeleteProcessDefinitionByCodeResponse
- type DeleteProcessDefinitionByCodeResult
- type DeleteProcessInstanceByIdRequest
- type DeleteProcessInstanceByIdResponse
- type DeleteProcessInstanceByIdResult
- type DeleteSnapshotTaskRequest
- type DeleteSnapshotTaskResponse
- type DeleteSnapshotTaskResult
- type DeleteSnapshotTemplateRequest
- type DeleteSnapshotTemplateResponse
- type DeleteSnapshotTemplateResult
- type DeleteStyleDelimiterRequest
- type DeleteStyleDelimiterResponse
- type DeleteStyleDelimiterResult
- type DeleteTranscodeTemplateRequest
- type DeleteTranscodeTemplateResponse
- type DeleteTranscodeTemplateResult
- type DeleteVeditProjectRequest
- type DeleteVeditProjectResponse
- type DeleteVeditProjectResult
- type DeleteVoiceprintRequest
- type DeleteVoiceprintResponse
- type DeleteVoiceprintResult
- type DeleteWatermarkTemplateRequest
- type DeleteWatermarkTemplateResponse
- type DeleteWatermarkTemplateResult
- type DescribeASRMinutesTextRequest
- type DescribeASRMinutesTextResponse
- type DescribeASRMinutesTextResult
- type DescribeASRTaskContentRequest
- type DescribeASRTaskContentResponse
- type DescribeASRTaskContentResult
- type DescribeASRTaskHotWordsDetailsRequest
- type DescribeASRTaskHotWordsDetailsResponse
- type DescribeASRTaskHotWordsDetailsResult
- type DescribeASRTaskHotWordsRequest
- type DescribeASRTaskHotWordsResponse
- type DescribeASRTaskHotWordsResult
- type DescribeASRTaskRequest
- type DescribeASRTaskResponse
- type DescribeASRTaskResult
- type DescribeASRTaskTemplateRequest
- type DescribeASRTaskTemplateResponse
- type DescribeASRTaskTemplateResult
- type DescribeASRTasksRequest
- type DescribeASRTasksResponse
- type DescribeASRTasksResult
- type DescribeKnowledgeBaseFileDownloadUrlRequest
- func NewDescribeKnowledgeBaseFileDownloadUrlRequest(knowledgeId string) *DescribeKnowledgeBaseFileDownloadUrlRequest
- func NewDescribeKnowledgeBaseFileDownloadUrlRequestWithAllParams(knowledgeId string) *DescribeKnowledgeBaseFileDownloadUrlRequest
- func NewDescribeKnowledgeBaseFileDownloadUrlRequestWithoutParam() *DescribeKnowledgeBaseFileDownloadUrlRequest
- type DescribeKnowledgeBaseFileDownloadUrlResponse
- type DescribeKnowledgeBaseFileDownloadUrlResult
- type DescribeKnowledgeBaseFileRecordsRequest
- func NewDescribeKnowledgeBaseFileRecordsRequest() *DescribeKnowledgeBaseFileRecordsRequest
- func NewDescribeKnowledgeBaseFileRecordsRequestWithAllParams(pageNumber *int, pageSize *int, filters []mps.Filter) *DescribeKnowledgeBaseFileRecordsRequest
- func NewDescribeKnowledgeBaseFileRecordsRequestWithoutParam() *DescribeKnowledgeBaseFileRecordsRequest
- func (r DescribeKnowledgeBaseFileRecordsRequest) GetRegionId() string
- func (r *DescribeKnowledgeBaseFileRecordsRequest) SetFilters(filters []mps.Filter)
- func (r *DescribeKnowledgeBaseFileRecordsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeKnowledgeBaseFileRecordsRequest) SetPageSize(pageSize int)
- type DescribeKnowledgeBaseFileRecordsResponse
- type DescribeKnowledgeBaseFileRecordsResult
- type DescribeMyMinutesTextRequest
- type DescribeMyMinutesTextResponse
- type DescribeMyMinutesTextResult
- type DescribeVoiceprintRequest
- type DescribeVoiceprintResponse
- type DescribeVoiceprintResult
- type DescribeVoiceprintsRequest
- type DescribeVoiceprintsResponse
- type DescribeVoiceprintsResult
- type ExportAsrContentToWordRequest
- type ExportAsrContentToWordResponse
- type ExportAsrContentToWordResult
- type ExportMinutesSummaryToWordRequest
- type ExportMinutesSummaryToWordResponse
- type ExportMinutesSummaryToWordResult
- type ExportMinutesTextToWordRequest
- type ExportMinutesTextToWordResponse
- type ExportMinutesTextToWordResult
- type GenTaskCodeListRequest
- type GenTaskCodeListResponse
- type GenTaskCodeListResult
- type GetImageStyleRequest
- type GetImageStyleResponse
- type GetImageStyleResult
- type GetNotificationRequest
- type GetNotificationResponse
- type GetNotificationResult
- type GetSnapshotTaskRequest
- type GetSnapshotTaskResponse
- type GetSnapshotTaskResult
- type GetSnapshotTemplateRequest
- type GetSnapshotTemplateResponse
- type GetSnapshotTemplateResult
- type GetStyleDelimiterRequest
- type GetStyleDelimiterResponse
- type GetStyleDelimiterResult
- type GetThumbnailTaskRequest
- type GetThumbnailTaskResponse
- type GetThumbnailTaskResult
- type GetTranscodeJobRequest
- type GetTranscodeJobResponse
- type GetTranscodeJobResult
- type GetTranscodeTemplateRequest
- type GetTranscodeTemplateResponse
- type GetTranscodeTemplateResult
- type GetVeditProjectRequest
- type GetVeditProjectResponse
- type GetVeditProjectResult
- type GetWatermarkTemplateRequest
- type GetWatermarkTemplateResponse
- type GetWatermarkTemplateResult
- type ImportKnowledgeByASRTaskRequest
- type ImportKnowledgeByASRTaskResponse
- type ImportKnowledgeByASRTaskResult
- type ListImageStyleRequest
- func (r ListImageStyleRequest) GetRegionId() string
- func (r *ListImageStyleRequest) SetBucketName(bucketName string)
- func (r *ListImageStyleRequest) SetPageNumber(pageNumber int)
- func (r *ListImageStyleRequest) SetPageSize(pageSize int)
- func (r *ListImageStyleRequest) SetRegionId(regionId string)
- func (r *ListImageStyleRequest) SetStyleName(styleName string)
- type ListImageStyleResponse
- type ListImageStyleResult
- type ListSnapshotTasksRequest
- type ListSnapshotTasksResponse
- type ListSnapshotTasksResult
- type ListSnapshotTemplatesRequest
- type ListSnapshotTemplatesResponse
- type ListSnapshotTemplatesResult
- type ListThumbnailTaskRequest
- func NewListThumbnailTaskRequest(regionId string) *ListThumbnailTaskRequest
- func NewListThumbnailTaskRequestWithAllParams(regionId string, status *string, begin *string, end *string, marker *string, ...) *ListThumbnailTaskRequest
- func NewListThumbnailTaskRequestWithoutParam() *ListThumbnailTaskRequest
- func (r ListThumbnailTaskRequest) GetRegionId() string
- func (r *ListThumbnailTaskRequest) SetBegin(begin string)
- func (r *ListThumbnailTaskRequest) SetEnd(end string)
- func (r *ListThumbnailTaskRequest) SetLimit(limit int)
- func (r *ListThumbnailTaskRequest) SetMarker(marker string)
- func (r *ListThumbnailTaskRequest) SetRegionId(regionId string)
- func (r *ListThumbnailTaskRequest) SetStatus(status string)
- type ListThumbnailTaskResponse
- type ListThumbnailTaskResult
- type ListTranscodeJobsRequest
- type ListTranscodeJobsResponse
- type ListTranscodeJobsResult
- type ListTranscodeTemplatesRequest
- type ListTranscodeTemplatesResponse
- type ListTranscodeTemplatesResult
- type ListVeditProjectsRequest
- type ListVeditProjectsResponse
- type ListVeditProjectsResult
- type ListWatermarkTemplatesRequest
- type ListWatermarkTemplatesResponse
- type ListWatermarkTemplatesResult
- type ModifySnapshotTemplateRequest
- func NewModifySnapshotTemplateRequest(templateId string) *ModifySnapshotTemplateRequest
- func NewModifySnapshotTemplateRequestWithAllParams(templateId string, title *string, startTime *int, frameType *string, ...) *ModifySnapshotTemplateRequest
- func NewModifySnapshotTemplateRequestWithoutParam() *ModifySnapshotTemplateRequest
- func (r ModifySnapshotTemplateRequest) GetRegionId() string
- func (r *ModifySnapshotTemplateRequest) SetConfigData(configData string)
- func (r *ModifySnapshotTemplateRequest) SetFillType(fillType string)
- func (r *ModifySnapshotTemplateRequest) SetFormat(format string)
- func (r *ModifySnapshotTemplateRequest) SetFrameType(frameType string)
- func (r *ModifySnapshotTemplateRequest) SetHeight(height int)
- func (r *ModifySnapshotTemplateRequest) SetInterval(interval int)
- func (r *ModifySnapshotTemplateRequest) SetNumber(number int)
- func (r *ModifySnapshotTemplateRequest) SetSpriteConfig(spriteConfig *mps.SpriteConfig)
- func (r *ModifySnapshotTemplateRequest) SetStartTime(startTime int)
- func (r *ModifySnapshotTemplateRequest) SetTemplateId(templateId string)
- func (r *ModifySnapshotTemplateRequest) SetTitle(title string)
- func (r *ModifySnapshotTemplateRequest) SetWidth(width int)
- type ModifySnapshotTemplateResponse
- type ModifySnapshotTemplateResult
- type ModifyTranscodeTemplateRequest
- func NewModifyTranscodeTemplateRequest(templateId int) *ModifyTranscodeTemplateRequest
- func NewModifyTranscodeTemplateRequestWithAllParams(templateId int, title *string, video *mps.VideoStreamSettings, ...) *ModifyTranscodeTemplateRequest
- func NewModifyTranscodeTemplateRequestWithoutParam() *ModifyTranscodeTemplateRequest
- func (r ModifyTranscodeTemplateRequest) GetRegionId() string
- func (r *ModifyTranscodeTemplateRequest) SetAudio(audio *mps.AudioStreamSettings)
- func (r *ModifyTranscodeTemplateRequest) SetContainer(container *mps.ContainerSettings)
- func (r *ModifyTranscodeTemplateRequest) SetDefinition(definition string)
- func (r *ModifyTranscodeTemplateRequest) SetEncryption(encryption *mps.EncryptionSettings)
- func (r *ModifyTranscodeTemplateRequest) SetTemplateId(templateId int)
- func (r *ModifyTranscodeTemplateRequest) SetTitle(title string)
- func (r *ModifyTranscodeTemplateRequest) SetTranscodeType(transcodeType string)
- func (r *ModifyTranscodeTemplateRequest) SetVideo(video *mps.VideoStreamSettings)
- type ModifyTranscodeTemplateResponse
- type ModifyTranscodeTemplateResult
- type QueryCallbackSettingsRequest
- type QueryCallbackSettingsResponse
- type QueryCallbackSettingsResult
- type QueryProcessDefinitionByCodeRequest
- type QueryProcessDefinitionByCodeResponse
- type QueryProcessDefinitionByCodeResult
- type QueryProcessDefinitionListPagingRequest
- func NewQueryProcessDefinitionListPagingRequest() *QueryProcessDefinitionListPagingRequest
- func NewQueryProcessDefinitionListPagingRequestWithAllParams(pageNum *int, pageSize *int) *QueryProcessDefinitionListPagingRequest
- func NewQueryProcessDefinitionListPagingRequestWithoutParam() *QueryProcessDefinitionListPagingRequest
- type QueryProcessDefinitionListPagingResponse
- type QueryProcessDefinitionListPagingResult
- type QueryProcessInstanceByIdRequest
- type QueryProcessInstanceByIdResponse
- type QueryProcessInstanceByIdResult
- type QueryProcessInstanceListRequest
- type QueryProcessInstanceListResponse
- type QueryProcessInstanceListResult
- type QuerySnapshotTaskResultRequest
- type QuerySnapshotTaskResultResponse
- type QuerySnapshotTaskResultResult
- type QueryTaskListByProcessIdRequest
- type QueryTaskListByProcessIdResponse
- type QueryTaskListByProcessIdResult
- type RegenerateASRTaskRequest
- type RegenerateASRTaskResponse
- type RegenerateASRTaskResult
- type SaveASRMinutesTextRequest
- type SaveASRMinutesTextResponse
- type SaveASRMinutesTextResult
- type SaveAsrTaskTemplateRequest
- type SaveAsrTaskTemplateResponse
- type SaveAsrTaskTemplateResult
- type SaveMyMinutesTextRequest
- type SaveMyMinutesTextResponse
- type SaveMyMinutesTextResult
- type SaveVoiceprintRequest
- type SaveVoiceprintResponse
- type SaveVoiceprintResult
- type SetCallbackSettingsRequest
- func NewSetCallbackSettingsRequest(callbackEvents []string, callbackType string) *SetCallbackSettingsRequest
- func NewSetCallbackSettingsRequestWithAllParams(callbackEvents []string, callbackType string, httpUrl *string, ...) *SetCallbackSettingsRequest
- func NewSetCallbackSettingsRequestWithoutParam() *SetCallbackSettingsRequest
- func (r SetCallbackSettingsRequest) GetRegionId() string
- func (r *SetCallbackSettingsRequest) SetCallbackEvents(callbackEvents []string)
- func (r *SetCallbackSettingsRequest) SetCallbackType(callbackType string)
- func (r *SetCallbackSettingsRequest) SetDisabled(disabled string)
- func (r *SetCallbackSettingsRequest) SetHttpUrl(httpUrl string)
- type SetCallbackSettingsResponse
- type SetCallbackSettingsResult
- type SetNotificationRequest
- func (r SetNotificationRequest) GetRegionId() string
- func (r *SetNotificationRequest) SetEnabled(enabled bool)
- func (r *SetNotificationRequest) SetEndpoint(endpoint string)
- func (r *SetNotificationRequest) SetEvents(events []string)
- func (r *SetNotificationRequest) SetNotifyContentFormat(notifyContentFormat string)
- func (r *SetNotificationRequest) SetNotifyStrategy(notifyStrategy string)
- func (r *SetNotificationRequest) SetRegionId(regionId string)
- type SetNotificationResponse
- type SetNotificationResult
- type SetStyleDelimiterRequest
- func NewSetStyleDelimiterRequest(regionId string, bucketName string, delimiters []string) *SetStyleDelimiterRequest
- func NewSetStyleDelimiterRequestWithAllParams(regionId string, bucketName string, delimiters []string) *SetStyleDelimiterRequest
- func NewSetStyleDelimiterRequestWithoutParam() *SetStyleDelimiterRequest
- type SetStyleDelimiterResponse
- type SetStyleDelimiterResult
- type StartProcessInstanceRequest
- func NewStartProcessInstanceRequest(processDefinitionCode int) *StartProcessInstanceRequest
- func NewStartProcessInstanceRequestWithAllParams(processDefinitionCode int, region *string, bucket *string, objectKey *string) *StartProcessInstanceRequest
- func NewStartProcessInstanceRequestWithoutParam() *StartProcessInstanceRequest
- func (r StartProcessInstanceRequest) GetRegionId() string
- func (r *StartProcessInstanceRequest) SetBucket(bucket string)
- func (r *StartProcessInstanceRequest) SetObjectKey(objectKey string)
- func (r *StartProcessInstanceRequest) SetProcessDefinitionCode(processDefinitionCode int)
- func (r *StartProcessInstanceRequest) SetRegion(region string)
- type StartProcessInstanceResponse
- type StartProcessInstanceResult
- type SubmitImageDetectionTaskRequest
- func NewSubmitImageDetectionTaskRequest(input *mps.ImageDetectionInput, detectionType string) *SubmitImageDetectionTaskRequest
- func NewSubmitImageDetectionTaskRequestWithAllParams(input *mps.ImageDetectionInput, output *mps.ImageDetectionOutput, ...) *SubmitImageDetectionTaskRequest
- func NewSubmitImageDetectionTaskRequestWithoutParam() *SubmitImageDetectionTaskRequest
- func (r SubmitImageDetectionTaskRequest) GetRegionId() string
- func (r *SubmitImageDetectionTaskRequest) SetDetectionType(detectionType string)
- func (r *SubmitImageDetectionTaskRequest) SetInput(input *mps.ImageDetectionInput)
- func (r *SubmitImageDetectionTaskRequest) SetOutput(output *mps.ImageDetectionOutput)
- type SubmitImageDetectionTaskResponse
- type SubmitImageDetectionTaskResult
- type SubmitSnapshotTaskRequest
- func NewSubmitSnapshotTaskRequest(templateId string, input *mps.Input, output *mps.Output) *SubmitSnapshotTaskRequest
- func NewSubmitSnapshotTaskRequestWithAllParams(templateId string, input *mps.Input, output *mps.Output, ...) *SubmitSnapshotTaskRequest
- func NewSubmitSnapshotTaskRequestWithoutParam() *SubmitSnapshotTaskRequest
- func (r SubmitSnapshotTaskRequest) GetRegionId() string
- func (r *SubmitSnapshotTaskRequest) SetInput(input *mps.Input)
- func (r *SubmitSnapshotTaskRequest) SetOutput(output *mps.Output)
- func (r *SubmitSnapshotTaskRequest) SetSpriteOutput(spriteOutput *mps.Output)
- func (r *SubmitSnapshotTaskRequest) SetTemplateId(templateId string)
- type SubmitSnapshotTaskResponse
- type SubmitSnapshotTaskResult
- type SubmitTranscodeJobRequest
- func NewSubmitTranscodeJobRequest(accessKey string, secretKey string, endpoint string, bucket string, ...) *SubmitTranscodeJobRequest
- func NewSubmitTranscodeJobRequestWithAllParams(accessKey string, secretKey string, endpoint string, bucket string, ...) *SubmitTranscodeJobRequest
- func NewSubmitTranscodeJobRequestWithoutParam() *SubmitTranscodeJobRequest
- func (r SubmitTranscodeJobRequest) GetRegionId() string
- func (r *SubmitTranscodeJobRequest) SetAccessKey(accessKey string)
- func (r *SubmitTranscodeJobRequest) SetAdditionalProperties(additionalProperties string)
- func (r *SubmitTranscodeJobRequest) SetBucket(bucket string)
- func (r *SubmitTranscodeJobRequest) SetEndpoint(endpoint string)
- func (r *SubmitTranscodeJobRequest) SetObjectKey(objectKey string)
- func (r *SubmitTranscodeJobRequest) SetOutputConfig(outputConfig *mps.TranscodeOutputConfig)
- func (r *SubmitTranscodeJobRequest) SetSecretKey(secretKey string)
- func (r *SubmitTranscodeJobRequest) SetTemplateIds(templateIds []string)
- func (r *SubmitTranscodeJobRequest) SetTitle(title string)
- type SubmitTranscodeJobResponse
- type SubmitTranscodeJobResult
- type SubmitVeditJobRequest
- func NewSubmitVeditJobRequest(projectId int64, mediaMetadata *mps.MediaMetadata) *SubmitVeditJobRequest
- func NewSubmitVeditJobRequestWithAllParams(projectId int64, mediaMetadata *mps.MediaMetadata, userData *string) *SubmitVeditJobRequest
- func NewSubmitVeditJobRequestWithoutParam() *SubmitVeditJobRequest
- type SubmitVeditJobResponse
- type SubmitVeditJobResult
- type UpdateASRTaskHotWordStatusRequest
- func NewUpdateASRTaskHotWordStatusRequest(id int64, status int) *UpdateASRTaskHotWordStatusRequest
- func NewUpdateASRTaskHotWordStatusRequestWithAllParams(id int64, status int) *UpdateASRTaskHotWordStatusRequest
- func NewUpdateASRTaskHotWordStatusRequestWithoutParam() *UpdateASRTaskHotWordStatusRequest
- type UpdateASRTaskHotWordStatusResponse
- type UpdateASRTaskHotWordStatusResult
- type UpdateASRTaskHotWordsRequest
- type UpdateASRTaskHotWordsResponse
- type UpdateASRTaskHotWordsResult
- type UpdateAsrTaskRequest
- type UpdateAsrTaskResponse
- type UpdateAsrTaskResult
- type UpdateImageStyleRequest
- func NewUpdateImageStyleRequest(regionId string, bucketName string, id int) *UpdateImageStyleRequest
- func NewUpdateImageStyleRequestWithAllParams(regionId string, bucketName string, id int, userId *string, styleName *string, ...) *UpdateImageStyleRequest
- func NewUpdateImageStyleRequestWithoutParam() *UpdateImageStyleRequest
- func (r UpdateImageStyleRequest) GetRegionId() string
- func (r *UpdateImageStyleRequest) SetBucketName(bucketName string)
- func (r *UpdateImageStyleRequest) SetCreatedTime(createdTime string)
- func (r *UpdateImageStyleRequest) SetId(id int)
- func (r *UpdateImageStyleRequest) SetModifyTime(modifyTime string)
- func (r *UpdateImageStyleRequest) SetParamAlias(paramAlias string)
- func (r *UpdateImageStyleRequest) SetParams(params string)
- func (r *UpdateImageStyleRequest) SetRegionId(regionId string)
- func (r *UpdateImageStyleRequest) SetStatus(status int)
- func (r *UpdateImageStyleRequest) SetStyleName(styleName string)
- func (r *UpdateImageStyleRequest) SetUserId(userId string)
- type UpdateImageStyleResponse
- type UpdateImageStyleResult
- type UpdateKnowledgeBaseFileStatusRequest
- func NewUpdateKnowledgeBaseFileStatusRequest() *UpdateKnowledgeBaseFileStatusRequest
- func NewUpdateKnowledgeBaseFileStatusRequestWithAllParams(knowledgeId *string, status *int) *UpdateKnowledgeBaseFileStatusRequest
- func NewUpdateKnowledgeBaseFileStatusRequestWithoutParam() *UpdateKnowledgeBaseFileStatusRequest
- type UpdateKnowledgeBaseFileStatusResponse
- type UpdateKnowledgeBaseFileStatusResult
- type UpdateTranscodeTemplateRequest
- func NewUpdateTranscodeTemplateRequest(templateId int) *UpdateTranscodeTemplateRequest
- func NewUpdateTranscodeTemplateRequestWithAllParams(templateId int, title *string, video *mps.VideoStreamSettings, ...) *UpdateTranscodeTemplateRequest
- func NewUpdateTranscodeTemplateRequestWithoutParam() *UpdateTranscodeTemplateRequest
- func (r UpdateTranscodeTemplateRequest) GetRegionId() string
- func (r *UpdateTranscodeTemplateRequest) SetAudio(audio *mps.AudioStreamSettings)
- func (r *UpdateTranscodeTemplateRequest) SetContainer(container *mps.ContainerSettings)
- func (r *UpdateTranscodeTemplateRequest) SetDefinition(definition string)
- func (r *UpdateTranscodeTemplateRequest) SetEncryption(encryption *mps.EncryptionSettings)
- func (r *UpdateTranscodeTemplateRequest) SetTemplateId(templateId int)
- func (r *UpdateTranscodeTemplateRequest) SetTitle(title string)
- func (r *UpdateTranscodeTemplateRequest) SetTranscodeType(transcodeType string)
- func (r *UpdateTranscodeTemplateRequest) SetVideo(video *mps.VideoStreamSettings)
- type UpdateTranscodeTemplateResponse
- type UpdateTranscodeTemplateResult
- type UpdateVeditProjectRequest
- func (r UpdateVeditProjectRequest) GetRegionId() string
- func (r *UpdateVeditProjectRequest) SetDescription(description string)
- func (r *UpdateVeditProjectRequest) SetProjectId(projectId int)
- func (r *UpdateVeditProjectRequest) SetProjectName(projectName string)
- func (r *UpdateVeditProjectRequest) SetTimeline(timeline *mps.Timeline)
- type UpdateVeditProjectResponse
- type UpdateVeditProjectResult
- type UpdateWatermarkTemplateRequest
- func NewUpdateWatermarkTemplateRequest(templateId string, name string, type_ string) *UpdateWatermarkTemplateRequest
- func NewUpdateWatermarkTemplateRequestWithAllParams(templateId string, name string, type_ string, imageUrl *string, text *string, ...) *UpdateWatermarkTemplateRequest
- func NewUpdateWatermarkTemplateRequestWithoutParam() *UpdateWatermarkTemplateRequest
- func (r UpdateWatermarkTemplateRequest) GetRegionId() string
- func (r *UpdateWatermarkTemplateRequest) SetFontColor(fontColor string)
- func (r *UpdateWatermarkTemplateRequest) SetFontFile(fontFile string)
- func (r *UpdateWatermarkTemplateRequest) SetFontOpacity(fontOpacity int)
- func (r *UpdateWatermarkTemplateRequest) SetFontSize(fontSize int)
- func (r *UpdateWatermarkTemplateRequest) SetHeight(height int)
- func (r *UpdateWatermarkTemplateRequest) SetHeightRef(heightRef string)
- func (r *UpdateWatermarkTemplateRequest) SetImageUrl(imageUrl string)
- func (r *UpdateWatermarkTemplateRequest) SetName(name string)
- func (r *UpdateWatermarkTemplateRequest) SetOffsetUnit(offsetUnit string)
- func (r *UpdateWatermarkTemplateRequest) SetOffsetX(offsetX int)
- func (r *UpdateWatermarkTemplateRequest) SetOffsetY(offsetY int)
- func (r *UpdateWatermarkTemplateRequest) SetPosition(position string)
- func (r *UpdateWatermarkTemplateRequest) SetRotation(rotation int)
- func (r *UpdateWatermarkTemplateRequest) SetShadow(shadow int)
- func (r *UpdateWatermarkTemplateRequest) SetShadowColor(shadowColor string)
- func (r *UpdateWatermarkTemplateRequest) SetSizeUnit(sizeUnit string)
- func (r *UpdateWatermarkTemplateRequest) SetTemplateId(templateId string)
- func (r *UpdateWatermarkTemplateRequest) SetText(text string)
- func (r *UpdateWatermarkTemplateRequest) SetTile(tile bool)
- func (r *UpdateWatermarkTemplateRequest) SetTileSpacing(tileSpacing int)
- func (r *UpdateWatermarkTemplateRequest) SetType(type_ string)
- func (r *UpdateWatermarkTemplateRequest) SetWidth(width int)
- func (r *UpdateWatermarkTemplateRequest) SetWidthRef(widthRef string)
- type UpdateWatermarkTemplateResponse
- type UpdateWatermarkTemplateResult
- type UploadFileToKnowledgeBaseRequest
- func NewUploadFileToKnowledgeBaseRequest(bucket string, objectKey string, fileName string, fileMd5 string) *UploadFileToKnowledgeBaseRequest
- func NewUploadFileToKnowledgeBaseRequestWithAllParams(bucket string, objectKey string, fileName string, fileMd5 string) *UploadFileToKnowledgeBaseRequest
- func NewUploadFileToKnowledgeBaseRequestWithoutParam() *UploadFileToKnowledgeBaseRequest
- func (r UploadFileToKnowledgeBaseRequest) GetRegionId() string
- func (r *UploadFileToKnowledgeBaseRequest) SetBucket(bucket string)
- func (r *UploadFileToKnowledgeBaseRequest) SetFileMd5(fileMd5 string)
- func (r *UploadFileToKnowledgeBaseRequest) SetFileName(fileName string)
- func (r *UploadFileToKnowledgeBaseRequest) SetObjectKey(objectKey string)
- type UploadFileToKnowledgeBaseResponse
- type UploadFileToKnowledgeBaseResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessRealtimeASRTaskTokenRequest ¶
type AccessRealtimeASRTaskTokenRequest struct {
core.JDCloudRequest
/* 任务id */
TaskId string `json:"taskId"`
/* token超时时间,毫秒时间戳 */
Timestamp int64 `json:"timestamp"`
}
func NewAccessRealtimeASRTaskTokenRequest ¶
func NewAccessRealtimeASRTaskTokenRequest( taskId string, timestamp int64, ) *AccessRealtimeASRTaskTokenRequest
* param taskId: 任务id (Required) * param timestamp: token超时时间,毫秒时间戳 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAccessRealtimeASRTaskTokenRequestWithAllParams ¶
func NewAccessRealtimeASRTaskTokenRequestWithAllParams( taskId string, timestamp int64, ) *AccessRealtimeASRTaskTokenRequest
* param taskId: 任务id (Required) * param timestamp: token超时时间,毫秒时间戳 (Required)
func NewAccessRealtimeASRTaskTokenRequestWithoutParam ¶
func NewAccessRealtimeASRTaskTokenRequestWithoutParam() *AccessRealtimeASRTaskTokenRequest
This constructor has better compatible ability when API parameters changed
func (AccessRealtimeASRTaskTokenRequest) GetRegionId ¶
func (r AccessRealtimeASRTaskTokenRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AccessRealtimeASRTaskTokenRequest) SetTaskId ¶
func (r *AccessRealtimeASRTaskTokenRequest) SetTaskId(taskId string)
param taskId: 任务id(Required)
func (*AccessRealtimeASRTaskTokenRequest) SetTimestamp ¶
func (r *AccessRealtimeASRTaskTokenRequest) SetTimestamp(timestamp int64)
param timestamp: token超时时间,毫秒时间戳(Required)
type AccessRealtimeASRTaskTokenResponse ¶
type AccessRealtimeASRTaskTokenResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result AccessRealtimeASRTaskTokenResult `json:"result"`
}
type BatchDeleteKnowledgeFileRecordRequest ¶
type BatchDeleteKnowledgeFileRecordRequest struct {
core.JDCloudRequest
/* 文件记录ID列表 */
Ids []int64 `json:"ids"`
}
func NewBatchDeleteKnowledgeFileRecordRequest ¶
func NewBatchDeleteKnowledgeFileRecordRequest( ids []int64, ) *BatchDeleteKnowledgeFileRecordRequest
* param ids: 文件记录ID列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewBatchDeleteKnowledgeFileRecordRequestWithAllParams ¶
func NewBatchDeleteKnowledgeFileRecordRequestWithAllParams( ids []int64, ) *BatchDeleteKnowledgeFileRecordRequest
* param ids: 文件记录ID列表 (Required)
func NewBatchDeleteKnowledgeFileRecordRequestWithoutParam ¶
func NewBatchDeleteKnowledgeFileRecordRequestWithoutParam() *BatchDeleteKnowledgeFileRecordRequest
This constructor has better compatible ability when API parameters changed
func (BatchDeleteKnowledgeFileRecordRequest) GetRegionId ¶
func (r BatchDeleteKnowledgeFileRecordRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchDeleteKnowledgeFileRecordRequest) SetIds ¶
func (r *BatchDeleteKnowledgeFileRecordRequest) SetIds(ids []int64)
param ids: 文件记录ID列表(Required)
type BatchDeleteKnowledgeFileRecordResponse ¶
type BatchDeleteKnowledgeFileRecordResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result BatchDeleteKnowledgeFileRecordResult `json:"result"`
}
type BatchDeleteKnowledgeFileRecordResult ¶
type BatchDeleteKnowledgeFileRecordResult struct {
}
type BatchUploadFileToKnowledgeBaseRequest ¶
type BatchUploadFileToKnowledgeBaseRequest struct {
core.JDCloudRequest
/* (Optional) */
Content []mps.UploadFileToKnowledgeBaseReqData `json:"content"`
}
func NewBatchUploadFileToKnowledgeBaseRequest ¶
func NewBatchUploadFileToKnowledgeBaseRequest() *BatchUploadFileToKnowledgeBaseRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewBatchUploadFileToKnowledgeBaseRequestWithAllParams ¶
func NewBatchUploadFileToKnowledgeBaseRequestWithAllParams( content []mps.UploadFileToKnowledgeBaseReqData, ) *BatchUploadFileToKnowledgeBaseRequest
* param content: (Optional)
func NewBatchUploadFileToKnowledgeBaseRequestWithoutParam ¶
func NewBatchUploadFileToKnowledgeBaseRequestWithoutParam() *BatchUploadFileToKnowledgeBaseRequest
This constructor has better compatible ability when API parameters changed
func (BatchUploadFileToKnowledgeBaseRequest) GetRegionId ¶
func (r BatchUploadFileToKnowledgeBaseRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchUploadFileToKnowledgeBaseRequest) SetContent ¶
func (r *BatchUploadFileToKnowledgeBaseRequest) SetContent(content []mps.UploadFileToKnowledgeBaseReqData)
param content: (Optional)
type BatchUploadFileToKnowledgeBaseResponse ¶
type BatchUploadFileToKnowledgeBaseResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result BatchUploadFileToKnowledgeBaseResult `json:"result"`
}
type BatchUploadFileToKnowledgeBaseResult ¶
type BatchUploadFileToKnowledgeBaseResult struct {
Content []mps.UploadKnowledgeData `json:"content"`
}
type CountImageStyleRequest ¶
type CountImageStyleRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
/* 按样式名称查询 (Optional) */
StyleName *string `json:"styleName"`
}
func NewCountImageStyleRequest ¶
func NewCountImageStyleRequest( regionId string, bucketName string, ) *CountImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCountImageStyleRequestWithAllParams ¶
func NewCountImageStyleRequestWithAllParams( regionId string, bucketName string, styleName *string, ) *CountImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param styleName: 按样式名称查询 (Optional)
func NewCountImageStyleRequestWithoutParam ¶
func NewCountImageStyleRequestWithoutParam() *CountImageStyleRequest
This constructor has better compatible ability when API parameters changed
func (CountImageStyleRequest) GetRegionId ¶
func (r CountImageStyleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CountImageStyleRequest) SetBucketName ¶
func (r *CountImageStyleRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*CountImageStyleRequest) SetRegionId ¶
func (r *CountImageStyleRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
func (*CountImageStyleRequest) SetStyleName ¶
func (r *CountImageStyleRequest) SetStyleName(styleName string)
param styleName: 按样式名称查询(Optional)
type CountImageStyleResponse ¶
type CountImageStyleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CountImageStyleResult `json:"result"`
}
type CountImageStyleResult ¶
type CountImageStyleResult struct {
StyleCount int `json:"styleCount"`
}
type CreateASRTaskHotWordsRequest ¶
type CreateASRTaskHotWordsRequest struct {
core.JDCloudRequest
/* 热词内容 */
HotWord string `json:"hotWord"`
/* 实时转写任务id */
TaskId string `json:"taskId"`
}
func NewCreateASRTaskHotWordsRequest ¶
func NewCreateASRTaskHotWordsRequest( hotWord string, taskId string, ) *CreateASRTaskHotWordsRequest
* param hotWord: 热词内容 (Required) * param taskId: 实时转写任务id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateASRTaskHotWordsRequestWithAllParams ¶
func NewCreateASRTaskHotWordsRequestWithAllParams( hotWord string, taskId string, ) *CreateASRTaskHotWordsRequest
* param hotWord: 热词内容 (Required) * param taskId: 实时转写任务id (Required)
func NewCreateASRTaskHotWordsRequestWithoutParam ¶
func NewCreateASRTaskHotWordsRequestWithoutParam() *CreateASRTaskHotWordsRequest
This constructor has better compatible ability when API parameters changed
func (CreateASRTaskHotWordsRequest) GetRegionId ¶
func (r CreateASRTaskHotWordsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateASRTaskHotWordsRequest) SetHotWord ¶
func (r *CreateASRTaskHotWordsRequest) SetHotWord(hotWord string)
param hotWord: 热词内容(Required)
func (*CreateASRTaskHotWordsRequest) SetTaskId ¶
func (r *CreateASRTaskHotWordsRequest) SetTaskId(taskId string)
param taskId: 实时转写任务id(Required)
type CreateASRTaskHotWordsResponse ¶
type CreateASRTaskHotWordsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateASRTaskHotWordsResult `json:"result"`
}
type CreateAiChatConvRequest ¶
type CreateAiChatConvRequest struct {
core.JDCloudRequest
}
func NewCreateAiChatConvRequest ¶
func NewCreateAiChatConvRequest() *CreateAiChatConvRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateAiChatConvRequestWithAllParams ¶
func NewCreateAiChatConvRequestWithAllParams() *CreateAiChatConvRequest
func NewCreateAiChatConvRequestWithoutParam ¶
func NewCreateAiChatConvRequestWithoutParam() *CreateAiChatConvRequest
This constructor has better compatible ability when API parameters changed
func (CreateAiChatConvRequest) GetRegionId ¶
func (r CreateAiChatConvRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type CreateAiChatConvResponse ¶
type CreateAiChatConvResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateAiChatConvResult `json:"result"`
}
type CreateAiChatConvResult ¶
type CreateGlobalHotWordsRequest ¶
type CreateGlobalHotWordsRequest struct {
core.JDCloudRequest
/* 热词内容 */
HotWord string `json:"hotWord"`
}
func NewCreateGlobalHotWordsRequest ¶
func NewCreateGlobalHotWordsRequest( hotWord string, ) *CreateGlobalHotWordsRequest
* param hotWord: 热词内容 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateGlobalHotWordsRequestWithAllParams ¶
func NewCreateGlobalHotWordsRequestWithAllParams( hotWord string, ) *CreateGlobalHotWordsRequest
* param hotWord: 热词内容 (Required)
func NewCreateGlobalHotWordsRequestWithoutParam ¶
func NewCreateGlobalHotWordsRequestWithoutParam() *CreateGlobalHotWordsRequest
This constructor has better compatible ability when API parameters changed
func (CreateGlobalHotWordsRequest) GetRegionId ¶
func (r CreateGlobalHotWordsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateGlobalHotWordsRequest) SetHotWord ¶
func (r *CreateGlobalHotWordsRequest) SetHotWord(hotWord string)
param hotWord: 热词内容(Required)
type CreateGlobalHotWordsResponse ¶
type CreateGlobalHotWordsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateGlobalHotWordsResult `json:"result"`
}
type CreateImageStyleRequest ¶
type CreateImageStyleRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
/* 图片样式id(readOnly) (Optional) */
Id *int64 `json:"id"`
/* 用户id(readOnly) (Optional) */
UserId *string `json:"userId"`
/* 图片样式名称 (Optional) */
StyleName *string `json:"styleName"`
/* 图片样式参数 (Optional) */
Params *string `json:"params"`
/* 图片样式参数别名 (Optional) */
ParamAlias *string `json:"paramAlias"`
/* 图片样式状态(readOnly) (Optional) */
Status *int `json:"status"`
/* 修改时间(readOnly) (Optional) */
ModifyTime *string `json:"modifyTime"`
/* 创建时间(readOnly) (Optional) */
CreatedTime *string `json:"createdTime"`
}
func NewCreateImageStyleRequest ¶
func NewCreateImageStyleRequest( regionId string, bucketName string, ) *CreateImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateImageStyleRequestWithAllParams ¶
func NewCreateImageStyleRequestWithAllParams( regionId string, bucketName string, id *int64, userId *string, styleName *string, params *string, paramAlias *string, status *int, modifyTime *string, createdTime *string, ) *CreateImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param id: 图片样式id(readOnly) (Optional) * param userId: 用户id(readOnly) (Optional) * param styleName: 图片样式名称 (Optional) * param params: 图片样式参数 (Optional) * param paramAlias: 图片样式参数别名 (Optional) * param status: 图片样式状态(readOnly) (Optional) * param modifyTime: 修改时间(readOnly) (Optional) * param createdTime: 创建时间(readOnly) (Optional)
func NewCreateImageStyleRequestWithoutParam ¶
func NewCreateImageStyleRequestWithoutParam() *CreateImageStyleRequest
This constructor has better compatible ability when API parameters changed
func (CreateImageStyleRequest) GetRegionId ¶
func (r CreateImageStyleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateImageStyleRequest) SetBucketName ¶
func (r *CreateImageStyleRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*CreateImageStyleRequest) SetCreatedTime ¶
func (r *CreateImageStyleRequest) SetCreatedTime(createdTime string)
param createdTime: 创建时间(readOnly)(Optional)
func (*CreateImageStyleRequest) SetId ¶
func (r *CreateImageStyleRequest) SetId(id int64)
param id: 图片样式id(readOnly)(Optional)
func (*CreateImageStyleRequest) SetModifyTime ¶
func (r *CreateImageStyleRequest) SetModifyTime(modifyTime string)
param modifyTime: 修改时间(readOnly)(Optional)
func (*CreateImageStyleRequest) SetParamAlias ¶
func (r *CreateImageStyleRequest) SetParamAlias(paramAlias string)
param paramAlias: 图片样式参数别名(Optional)
func (*CreateImageStyleRequest) SetParams ¶
func (r *CreateImageStyleRequest) SetParams(params string)
param params: 图片样式参数(Optional)
func (*CreateImageStyleRequest) SetRegionId ¶
func (r *CreateImageStyleRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
func (*CreateImageStyleRequest) SetStatus ¶
func (r *CreateImageStyleRequest) SetStatus(status int)
param status: 图片样式状态(readOnly)(Optional)
func (*CreateImageStyleRequest) SetStyleName ¶
func (r *CreateImageStyleRequest) SetStyleName(styleName string)
param styleName: 图片样式名称(Optional)
func (*CreateImageStyleRequest) SetUserId ¶
func (r *CreateImageStyleRequest) SetUserId(userId string)
param userId: 用户id(readOnly)(Optional)
type CreateImageStyleResponse ¶
type CreateImageStyleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateImageStyleResult `json:"result"`
}
type CreateImageStyleResult ¶
type CreateImageStyleResult struct {
Id int64 `json:"id"`
}
type CreateNonRealtimeASRTasksRequest ¶
type CreateNonRealtimeASRTasksRequest struct {
core.JDCloudRequest
/* 是否翻译:0-不翻译 1-翻译 (Optional) */
TranslateFlag *int `json:"translateFlag"`
/* 源语言代码 (Optional) */
SrcLanguage *string `json:"srcLanguage"`
/* 目标语言代码(多个用逗号隔开) (Optional) */
DestLanguage *string `json:"destLanguage"`
/* 非实时转写任务结果文件输出目录(bucketName/outputPath) 例:jdcloud_media_bucket_name/av_summary_output/) */
OutputFilePath string `json:"outputFilePath"`
/* 热词 (Optional) */
HotWords *string `json:"hotWords"`
/* 场景和章节模版类型(0:会议,1:ChatbotAI,2:直播;默认为2) (Optional) */
ModeType *int `json:"modeType"`
/* (Optional) */
UploadMediaUrls []mps.MediaInfo `json:"uploadMediaUrls"`
}
func NewCreateNonRealtimeASRTasksRequest ¶
func NewCreateNonRealtimeASRTasksRequest( outputFilePath string, ) *CreateNonRealtimeASRTasksRequest
* param outputFilePath: 非实时转写任务结果文件输出目录(bucketName/outputPath) 例:jdcloud_media_bucket_name/av_summary_output/) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateNonRealtimeASRTasksRequestWithAllParams ¶
func NewCreateNonRealtimeASRTasksRequestWithAllParams( translateFlag *int, srcLanguage *string, destLanguage *string, outputFilePath string, hotWords *string, modeType *int, uploadMediaUrls []mps.MediaInfo, ) *CreateNonRealtimeASRTasksRequest
* param translateFlag: 是否翻译:0-不翻译 1-翻译 (Optional) * param srcLanguage: 源语言代码 (Optional) * param destLanguage: 目标语言代码(多个用逗号隔开) (Optional) * param outputFilePath: 非实时转写任务结果文件输出目录(bucketName/outputPath) 例:jdcloud_media_bucket_name/av_summary_output/) (Required) * param hotWords: 热词 (Optional) * param modeType: 场景和章节模版类型(0:会议,1:ChatbotAI,2:直播;默认为2) (Optional) * param uploadMediaUrls: (Optional)
func NewCreateNonRealtimeASRTasksRequestWithoutParam ¶
func NewCreateNonRealtimeASRTasksRequestWithoutParam() *CreateNonRealtimeASRTasksRequest
This constructor has better compatible ability when API parameters changed
func (CreateNonRealtimeASRTasksRequest) GetRegionId ¶
func (r CreateNonRealtimeASRTasksRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateNonRealtimeASRTasksRequest) SetDestLanguage ¶
func (r *CreateNonRealtimeASRTasksRequest) SetDestLanguage(destLanguage string)
param destLanguage: 目标语言代码(多个用逗号隔开)(Optional)
func (*CreateNonRealtimeASRTasksRequest) SetHotWords ¶
func (r *CreateNonRealtimeASRTasksRequest) SetHotWords(hotWords string)
param hotWords: 热词(Optional)
func (*CreateNonRealtimeASRTasksRequest) SetModeType ¶
func (r *CreateNonRealtimeASRTasksRequest) SetModeType(modeType int)
param modeType: 场景和章节模版类型(0:会议,1:ChatbotAI,2:直播;默认为2)(Optional)
func (*CreateNonRealtimeASRTasksRequest) SetOutputFilePath ¶
func (r *CreateNonRealtimeASRTasksRequest) SetOutputFilePath(outputFilePath string)
param outputFilePath: 非实时转写任务结果文件输出目录(bucketName/outputPath) 例:jdcloud_media_bucket_name/av_summary_output/)(Required)
func (*CreateNonRealtimeASRTasksRequest) SetSrcLanguage ¶
func (r *CreateNonRealtimeASRTasksRequest) SetSrcLanguage(srcLanguage string)
param srcLanguage: 源语言代码(Optional)
func (*CreateNonRealtimeASRTasksRequest) SetTranslateFlag ¶
func (r *CreateNonRealtimeASRTasksRequest) SetTranslateFlag(translateFlag int)
param translateFlag: 是否翻译:0-不翻译 1-翻译(Optional)
func (*CreateNonRealtimeASRTasksRequest) SetUploadMediaUrls ¶
func (r *CreateNonRealtimeASRTasksRequest) SetUploadMediaUrls(uploadMediaUrls []mps.MediaInfo)
param uploadMediaUrls: (Optional)
type CreateNonRealtimeASRTasksResponse ¶
type CreateNonRealtimeASRTasksResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateNonRealtimeASRTasksResult `json:"result"`
}
type CreateProcessDefinitionRequest ¶
type CreateProcessDefinitionRequest struct {
core.JDCloudRequest
/* 名字 (Optional) */
Name *string `json:"name"`
/* 任务定义列表 (Optional) */
TaskDefinitionList []mps.TaskDefinition `json:"taskDefinitionList"`
/* 任务关系列表 (Optional) */
TaskRelationList []mps.ProcessTaskRelation `json:"taskRelationList"`
}
func NewCreateProcessDefinitionRequest ¶
func NewCreateProcessDefinitionRequest() *CreateProcessDefinitionRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateProcessDefinitionRequestWithAllParams ¶
func NewCreateProcessDefinitionRequestWithAllParams( name *string, taskDefinitionList []mps.TaskDefinition, taskRelationList []mps.ProcessTaskRelation, ) *CreateProcessDefinitionRequest
* param name: 名字 (Optional) * param taskDefinitionList: 任务定义列表 (Optional) * param taskRelationList: 任务关系列表 (Optional)
func NewCreateProcessDefinitionRequestWithoutParam ¶
func NewCreateProcessDefinitionRequestWithoutParam() *CreateProcessDefinitionRequest
This constructor has better compatible ability when API parameters changed
func (CreateProcessDefinitionRequest) GetRegionId ¶
func (r CreateProcessDefinitionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateProcessDefinitionRequest) SetName ¶
func (r *CreateProcessDefinitionRequest) SetName(name string)
param name: 名字(Optional)
func (*CreateProcessDefinitionRequest) SetTaskDefinitionList ¶
func (r *CreateProcessDefinitionRequest) SetTaskDefinitionList(taskDefinitionList []mps.TaskDefinition)
param taskDefinitionList: 任务定义列表(Optional)
func (*CreateProcessDefinitionRequest) SetTaskRelationList ¶
func (r *CreateProcessDefinitionRequest) SetTaskRelationList(taskRelationList []mps.ProcessTaskRelation)
param taskRelationList: 任务关系列表(Optional)
type CreateProcessDefinitionResponse ¶
type CreateProcessDefinitionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateProcessDefinitionResult `json:"result"`
}
type CreateRealtimeASRTaskRequest ¶
type CreateRealtimeASRTaskRequest struct {
core.JDCloudRequest
/* 任务主题 */
Subject string `json:"subject"`
/* 是否翻译:0-不翻译 1-翻译 (Optional) */
TranslateFlag *int `json:"translateFlag"`
/* 源语言代码 (Optional) */
SrcLanguage *string `json:"srcLanguage"`
/* 场景和章节模版类型(0:会议,1:ChatbotAI,2:直播;默认为2) (Optional) */
ModeType *int `json:"modeType"`
/* 目标语言代码(多个用逗号隔开) (Optional) */
DestLanguage *string `json:"destLanguage"`
/* 实时转写任务结果文件输出目录(bucketName/outputPath) 例:jdcloud_media_bucket_name/av_summary_output/) */
OutputFilePath string `json:"outputFilePath"`
}
func NewCreateRealtimeASRTaskRequest ¶
func NewCreateRealtimeASRTaskRequest( subject string, outputFilePath string, ) *CreateRealtimeASRTaskRequest
* param subject: 任务主题 (Required) * param outputFilePath: 实时转写任务结果文件输出目录(bucketName/outputPath) 例:jdcloud_media_bucket_name/av_summary_output/) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRealtimeASRTaskRequestWithAllParams ¶
func NewCreateRealtimeASRTaskRequestWithAllParams( subject string, translateFlag *int, srcLanguage *string, modeType *int, destLanguage *string, outputFilePath string, ) *CreateRealtimeASRTaskRequest
* param subject: 任务主题 (Required) * param translateFlag: 是否翻译:0-不翻译 1-翻译 (Optional) * param srcLanguage: 源语言代码 (Optional) * param modeType: 场景和章节模版类型(0:会议,1:ChatbotAI,2:直播;默认为2) (Optional) * param destLanguage: 目标语言代码(多个用逗号隔开) (Optional) * param outputFilePath: 实时转写任务结果文件输出目录(bucketName/outputPath) 例:jdcloud_media_bucket_name/av_summary_output/) (Required)
func NewCreateRealtimeASRTaskRequestWithoutParam ¶
func NewCreateRealtimeASRTaskRequestWithoutParam() *CreateRealtimeASRTaskRequest
This constructor has better compatible ability when API parameters changed
func (CreateRealtimeASRTaskRequest) GetRegionId ¶
func (r CreateRealtimeASRTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRealtimeASRTaskRequest) SetDestLanguage ¶
func (r *CreateRealtimeASRTaskRequest) SetDestLanguage(destLanguage string)
param destLanguage: 目标语言代码(多个用逗号隔开)(Optional)
func (*CreateRealtimeASRTaskRequest) SetModeType ¶
func (r *CreateRealtimeASRTaskRequest) SetModeType(modeType int)
param modeType: 场景和章节模版类型(0:会议,1:ChatbotAI,2:直播;默认为2)(Optional)
func (*CreateRealtimeASRTaskRequest) SetOutputFilePath ¶
func (r *CreateRealtimeASRTaskRequest) SetOutputFilePath(outputFilePath string)
param outputFilePath: 实时转写任务结果文件输出目录(bucketName/outputPath) 例:jdcloud_media_bucket_name/av_summary_output/)(Required)
func (*CreateRealtimeASRTaskRequest) SetSrcLanguage ¶
func (r *CreateRealtimeASRTaskRequest) SetSrcLanguage(srcLanguage string)
param srcLanguage: 源语言代码(Optional)
func (*CreateRealtimeASRTaskRequest) SetSubject ¶
func (r *CreateRealtimeASRTaskRequest) SetSubject(subject string)
param subject: 任务主题(Required)
func (*CreateRealtimeASRTaskRequest) SetTranslateFlag ¶
func (r *CreateRealtimeASRTaskRequest) SetTranslateFlag(translateFlag int)
param translateFlag: 是否翻译:0-不翻译 1-翻译(Optional)
type CreateRealtimeASRTaskResponse ¶
type CreateRealtimeASRTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateRealtimeASRTaskResult `json:"result"`
}
type CreateRealtimeASRTaskResult ¶
type CreateRealtimeASRTaskResult struct {
TaskId string `json:"taskId"`
Subject string `json:"subject"`
Status int `json:"status"`
TaskType int `json:"taskType"`
TranslateFlag int `json:"translateFlag"`
SrcLanguage string `json:"srcLanguage"`
DestLanguage string `json:"destLanguage"`
OutputFilePath string `json:"outputFilePath"`
ModeType int `json:"modeType"`
}
type CreateSnapshotTemplateRequest ¶
type CreateSnapshotTemplateRequest struct {
core.JDCloudRequest
/* 模板标题。长度不超过 128 个字节。UTF-8 编码。 */
Title string `json:"title"`
/* 截图起始时间,取值范围单位为秒,缺省值为 0
(Optional) */
StartTime *int `json:"startTime"`
/* 截图帧类型。取值范围:
any - 任意帧
intra - 关键帧
缺省值为 any
(Optional) */
FrameType *string `json:"frameType"`
/* 截图格式。取值范围:
jpg - 对应的截图或雪碧图输出文件扩展名为 jpg
png - 对应的截图或雪碧图输出文件扩展名为 png
缺省值为 jpg
(Optional) */
Format *string `json:"format"`
/* 截图数量。取值范围:[1, 100000]
缺省值为 10
(Optional) */
Number *int `json:"number"`
/* 截图时间间隔。单位为毫秒
若未设置,则对于普通截图,按照截图张数做平均截图;对于雪碧图,则按照行列数乘积做平均截图
(Optional) */
Interval *int `json:"interval"`
/* 截图宽度,取值范围:[8, 4096]
若宽度和高度同时设置,则按照设置的宽高截图;
若宽度和高度均未设置,则截图保持与源视频相同的宽高值;
若宽度和高度其中一项未设置,则截图保持与源视频相同的宽高比;
(Optional) */
Width *int `json:"width"`
/* 截图高度,取值范围:[8, 4096]
若宽度和高度同时设置,则按照设置的宽高截图;
若宽度和高度均未设置,则截图保持与源视频相同的宽高值;
若宽度和高度其中一项未设置,则截图保持与源视频相同的宽高比;
(Optional) */
Height *int `json:"height"`
/* 填充方式,当视频宽高与截图宽高指定值不能匹配时的填充处理方式。取值范围:
stretch - 伸缩
black - 留黑
white - 留白
gauss - 高斯模糊
缺省值为 black
(Optional) */
FillType *string `json:"fillType"`
/* 雪碧图配置。若此字段有值,则生成雪碧图。
(Optional) */
SpriteConfig *mps.SpriteConfig `json:"spriteConfig"`
/* 配置数据,JSON格式的字符串。
sampleConfig.pageCallbackCount 可配置 普通截图 每次回调结果中,截图个数。默认 10。
spriteConfig.pageCallbackCount 可配置 雪碧图 每次回调结果中,截图个数。 默认 1。
如 {\"sampleConfig\":{\"pageCallbackCount\":10},\"spriteConfig\":{\"pageCallbackCount\":1}}
(Optional) */
ConfigData *string `json:"configData"`
}
func NewCreateSnapshotTemplateRequest ¶
func NewCreateSnapshotTemplateRequest( title string, ) *CreateSnapshotTemplateRequest
* param title: 模板标题。长度不超过 128 个字节。UTF-8 编码。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSnapshotTemplateRequestWithAllParams ¶
func NewCreateSnapshotTemplateRequestWithAllParams( title string, startTime *int, frameType *string, format *string, number *int, interval *int, width *int, height *int, fillType *string, spriteConfig *mps.SpriteConfig, configData *string, ) *CreateSnapshotTemplateRequest
- param title: 模板标题。长度不超过 128 个字节。UTF-8 编码。 (Required)
- param startTime: 截图起始时间,取值范围单位为秒,缺省值为 0 (Optional)
- param frameType: 截图帧类型。取值范围: any - 任意帧 intra - 关键帧
缺省值为 any
(Optional) * param format: 截图格式。取值范围: jpg - 对应的截图或雪碧图输出文件扩展名为 jpg png - 对应的截图或雪碧图输出文件扩展名为 png
缺省值为 jpg
(Optional) * param number: 截图数量。取值范围:[1, 100000]
缺省值为 10
(Optional) * param interval: 截图时间间隔。单位为毫秒
若未设置,则对于普通截图,按照截图张数做平均截图;对于雪碧图,则按照行列数乘积做平均截图
(Optional) * param width: 截图宽度,取值范围:[8, 4096]
若宽度和高度同时设置,则按照设置的宽高截图; 若宽度和高度均未设置,则截图保持与源视频相同的宽高值; 若宽度和高度其中一项未设置,则截图保持与源视频相同的宽高比;
(Optional) * param height: 截图高度,取值范围:[8, 4096]
若宽度和高度同时设置,则按照设置的宽高截图; 若宽度和高度均未设置,则截图保持与源视频相同的宽高值; 若宽度和高度其中一项未设置,则截图保持与源视频相同的宽高比;
(Optional) * param fillType: 填充方式,当视频宽高与截图宽高指定值不能匹配时的填充处理方式。取值范围: stretch - 伸缩 black - 留黑 white - 留白 gauss - 高斯模糊
缺省值为 black
(Optional) * param spriteConfig: 雪碧图配置。若此字段有值,则生成雪碧图。 (Optional) * param configData: 配置数据,JSON格式的字符串。
sampleConfig.pageCallbackCount 可配置 普通截图 每次回调结果中,截图个数。默认 10。 spriteConfig.pageCallbackCount 可配置 雪碧图 每次回调结果中,截图个数。 默认 1。 如 {\"sampleConfig\":{\"pageCallbackCount\":10},\"spriteConfig\":{\"pageCallbackCount\":1}}
(Optional)
func NewCreateSnapshotTemplateRequestWithoutParam ¶
func NewCreateSnapshotTemplateRequestWithoutParam() *CreateSnapshotTemplateRequest
This constructor has better compatible ability when API parameters changed
func (CreateSnapshotTemplateRequest) GetRegionId ¶
func (r CreateSnapshotTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSnapshotTemplateRequest) SetConfigData ¶
func (r *CreateSnapshotTemplateRequest) SetConfigData(configData string)
param configData: 配置数据,JSON格式的字符串。
sampleConfig.pageCallbackCount 可配置 普通截图 每次回调结果中,截图个数。默认 10。 spriteConfig.pageCallbackCount 可配置 雪碧图 每次回调结果中,截图个数。 默认 1。 如 {\"sampleConfig\":{\"pageCallbackCount\":10},\"spriteConfig\":{\"pageCallbackCount\":1}} (Optional)
func (*CreateSnapshotTemplateRequest) SetFillType ¶
func (r *CreateSnapshotTemplateRequest) SetFillType(fillType string)
param fillType: 填充方式,当视频宽高与截图宽高指定值不能匹配时的填充处理方式。取值范围: stretch - 伸缩 black - 留黑 white - 留白 gauss - 高斯模糊
缺省值为 black (Optional)
func (*CreateSnapshotTemplateRequest) SetFormat ¶
func (r *CreateSnapshotTemplateRequest) SetFormat(format string)
param format: 截图格式。取值范围: jpg - 对应的截图或雪碧图输出文件扩展名为 jpg png - 对应的截图或雪碧图输出文件扩展名为 png
缺省值为 jpg (Optional)
func (*CreateSnapshotTemplateRequest) SetFrameType ¶
func (r *CreateSnapshotTemplateRequest) SetFrameType(frameType string)
param frameType: 截图帧类型。取值范围: any - 任意帧 intra - 关键帧
缺省值为 any (Optional)
func (*CreateSnapshotTemplateRequest) SetHeight ¶
func (r *CreateSnapshotTemplateRequest) SetHeight(height int)
param height: 截图高度,取值范围:[8, 4096]
若宽度和高度同时设置,则按照设置的宽高截图; 若宽度和高度均未设置,则截图保持与源视频相同的宽高值; 若宽度和高度其中一项未设置,则截图保持与源视频相同的宽高比; (Optional)
func (*CreateSnapshotTemplateRequest) SetInterval ¶
func (r *CreateSnapshotTemplateRequest) SetInterval(interval int)
param interval: 截图时间间隔。单位为毫秒
若未设置,则对于普通截图,按照截图张数做平均截图;对于雪碧图,则按照行列数乘积做平均截图 (Optional)
func (*CreateSnapshotTemplateRequest) SetNumber ¶
func (r *CreateSnapshotTemplateRequest) SetNumber(number int)
param number: 截图数量。取值范围:[1, 100000]
缺省值为 10 (Optional)
func (*CreateSnapshotTemplateRequest) SetSpriteConfig ¶
func (r *CreateSnapshotTemplateRequest) SetSpriteConfig(spriteConfig *mps.SpriteConfig)
param spriteConfig: 雪碧图配置。若此字段有值,则生成雪碧图。
(Optional)
func (*CreateSnapshotTemplateRequest) SetStartTime ¶
func (r *CreateSnapshotTemplateRequest) SetStartTime(startTime int)
param startTime: 截图起始时间,取值范围单位为秒,缺省值为 0
(Optional)
func (*CreateSnapshotTemplateRequest) SetTitle ¶
func (r *CreateSnapshotTemplateRequest) SetTitle(title string)
param title: 模板标题。长度不超过 128 个字节。UTF-8 编码。(Required)
func (*CreateSnapshotTemplateRequest) SetWidth ¶
func (r *CreateSnapshotTemplateRequest) SetWidth(width int)
param width: 截图宽度,取值范围:[8, 4096]
若宽度和高度同时设置,则按照设置的宽高截图; 若宽度和高度均未设置,则截图保持与源视频相同的宽高值; 若宽度和高度其中一项未设置,则截图保持与源视频相同的宽高比; (Optional)
type CreateSnapshotTemplateResponse ¶
type CreateSnapshotTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateSnapshotTemplateResult `json:"result"`
}
type CreateSnapshotTemplateResult ¶
type CreateSnapshotTemplateResult struct {
TemplateId string `json:"templateId"`
Title string `json:"title"`
StartTime int `json:"startTime"`
FrameType string `json:"frameType"`
Format string `json:"format"`
Number int `json:"number"`
Interval int `json:"interval"`
Width int `json:"width"`
Height int `json:"height"`
FillType string `json:"fillType"`
SpriteConfig mps.SpriteConfig `json:"spriteConfig"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
ConfigData string `json:"configData"`
}
type CreateThumbnailTaskRequest ¶
type CreateThumbnailTaskRequest struct {
core.JDCloudRequest
/* region id */
RegionId string `json:"regionId"`
/* 任务ID (readonly) (Optional) */
TaskID *string `json:"taskID"`
/* 状态 (SUCCESS, ERROR, PENDDING, RUNNING) (readonly) (Optional) */
Status *string `json:"status"`
/* 错误码 (readonly) (Optional) */
ErrorCode *int `json:"errorCode"`
/* 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly) (Optional) */
CreatedTime *string `json:"createdTime"`
/* 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly) (Optional) */
LastUpdatedTime *string `json:"lastUpdatedTime"`
/* */
Source *mps.ThumbnailTaskSource `json:"source"`
/* */
Target *mps.ThumbnailTaskTarget `json:"target"`
/* (Optional) */
Rule *mps.ThumbnailTaskRule `json:"rule"`
}
func NewCreateThumbnailTaskRequest ¶
func NewCreateThumbnailTaskRequest( regionId string, source *mps.ThumbnailTaskSource, target *mps.ThumbnailTaskTarget, ) *CreateThumbnailTaskRequest
* param regionId: region id (Required) * param source: (Required) * param target: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateThumbnailTaskRequestWithAllParams ¶ added in v1.7.0
func NewCreateThumbnailTaskRequestWithAllParams( regionId string, taskID *string, status *string, errorCode *int, createdTime *string, lastUpdatedTime *string, source *mps.ThumbnailTaskSource, target *mps.ThumbnailTaskTarget, rule *mps.ThumbnailTaskRule, ) *CreateThumbnailTaskRequest
* param regionId: region id (Required) * param taskID: 任务ID (readonly) (Optional) * param status: 状态 (SUCCESS, ERROR, PENDDING, RUNNING) (readonly) (Optional) * param errorCode: 错误码 (readonly) (Optional) * param createdTime: 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly) (Optional) * param lastUpdatedTime: 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly) (Optional) * param source: (Required) * param target: (Required) * param rule: (Optional)
func NewCreateThumbnailTaskRequestWithoutParam ¶ added in v1.7.0
func NewCreateThumbnailTaskRequestWithoutParam() *CreateThumbnailTaskRequest
This constructor has better compatible ability when API parameters changed
func (CreateThumbnailTaskRequest) GetRegionId ¶
func (r CreateThumbnailTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateThumbnailTaskRequest) SetCreatedTime ¶
func (r *CreateThumbnailTaskRequest) SetCreatedTime(createdTime string)
param createdTime: 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly)(Optional)
func (*CreateThumbnailTaskRequest) SetErrorCode ¶
func (r *CreateThumbnailTaskRequest) SetErrorCode(errorCode int)
param errorCode: 错误码 (readonly)(Optional)
func (*CreateThumbnailTaskRequest) SetLastUpdatedTime ¶
func (r *CreateThumbnailTaskRequest) SetLastUpdatedTime(lastUpdatedTime string)
param lastUpdatedTime: 任务创建时间 时间格式(GMT): yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (readonly)(Optional)
func (*CreateThumbnailTaskRequest) SetRegionId ¶
func (r *CreateThumbnailTaskRequest) SetRegionId(regionId string)
param regionId: region id(Required)
func (*CreateThumbnailTaskRequest) SetRule ¶
func (r *CreateThumbnailTaskRequest) SetRule(rule *mps.ThumbnailTaskRule)
param rule: (Optional)
func (*CreateThumbnailTaskRequest) SetSource ¶
func (r *CreateThumbnailTaskRequest) SetSource(source *mps.ThumbnailTaskSource)
param source: (Required)
func (*CreateThumbnailTaskRequest) SetStatus ¶
func (r *CreateThumbnailTaskRequest) SetStatus(status string)
param status: 状态 (SUCCESS, ERROR, PENDDING, RUNNING) (readonly)(Optional)
func (*CreateThumbnailTaskRequest) SetTarget ¶
func (r *CreateThumbnailTaskRequest) SetTarget(target *mps.ThumbnailTaskTarget)
param target: (Required)
func (*CreateThumbnailTaskRequest) SetTaskID ¶
func (r *CreateThumbnailTaskRequest) SetTaskID(taskID string)
param taskID: 任务ID (readonly)(Optional)
type CreateThumbnailTaskResponse ¶
type CreateThumbnailTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateThumbnailTaskResult `json:"result"`
}
type CreateThumbnailTaskResult ¶
type CreateThumbnailTaskResult struct {
TaskID string `json:"taskID"`
}
type CreateTranscodeTemplateRequest ¶
type CreateTranscodeTemplateRequest struct {
core.JDCloudRequest
/* 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。
*/
Title string `json:"title"`
/* 视频参数配置 */
Video *mps.VideoStreamSettings `json:"video"`
/* 音频参数配置 */
Audio *mps.AudioStreamSettings `json:"audio"`
/* 容器封装配置 */
Container *mps.ContainerSettings `json:"container"`
/* 加密配置 (Optional) */
Encryption *mps.EncryptionSettings `json:"encryption"`
/* 清晰度规格标记。取值范围:
SD - 标清
HD - 高清
FHD - 超清
2K
4K
*/
Definition string `json:"definition"`
/* 转码方式。取值范围:
normal - 普通转码
jdchd - 京享超清
jdchs - 极速转码
默认值为 normal
(Optional) */
TranscodeType *string `json:"transcodeType"`
}
func NewCreateTranscodeTemplateRequest ¶
func NewCreateTranscodeTemplateRequest( title string, video *mps.VideoStreamSettings, audio *mps.AudioStreamSettings, container *mps.ContainerSettings, definition string, ) *CreateTranscodeTemplateRequest
* param title: 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。 (Required)
- param video: 视频参数配置 (Required)
- param audio: 音频参数配置 (Required)
- param container: 容器封装配置 (Required)
- param definition: 清晰度规格标记。取值范围: SD - 标清 HD - 高清 FHD - 超清 2K 4K
(Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateTranscodeTemplateRequestWithAllParams ¶
func NewCreateTranscodeTemplateRequestWithAllParams( title string, video *mps.VideoStreamSettings, audio *mps.AudioStreamSettings, container *mps.ContainerSettings, encryption *mps.EncryptionSettings, definition string, transcodeType *string, ) *CreateTranscodeTemplateRequest
- param title: 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。 (Required)
- param video: 视频参数配置 (Required)
- param audio: 音频参数配置 (Required)
- param container: 容器封装配置 (Required)
- param encryption: 加密配置 (Optional)
- param definition: 清晰度规格标记。取值范围: SD - 标清 HD - 高清 FHD - 超清 2K 4K (Required)
- param transcodeType: 转码方式。取值范围: normal - 普通转码 jdchd - 京享超清 jdchs - 极速转码
默认值为 normal
(Optional)
func NewCreateTranscodeTemplateRequestWithoutParam ¶
func NewCreateTranscodeTemplateRequestWithoutParam() *CreateTranscodeTemplateRequest
This constructor has better compatible ability when API parameters changed
func (CreateTranscodeTemplateRequest) GetRegionId ¶
func (r CreateTranscodeTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateTranscodeTemplateRequest) SetAudio ¶
func (r *CreateTranscodeTemplateRequest) SetAudio(audio *mps.AudioStreamSettings)
param audio: 音频参数配置(Required)
func (*CreateTranscodeTemplateRequest) SetContainer ¶
func (r *CreateTranscodeTemplateRequest) SetContainer(container *mps.ContainerSettings)
param container: 容器封装配置(Required)
func (*CreateTranscodeTemplateRequest) SetDefinition ¶
func (r *CreateTranscodeTemplateRequest) SetDefinition(definition string)
param definition: 清晰度规格标记。取值范围: SD - 标清 HD - 高清 FHD - 超清 2K 4K
(Required)
func (*CreateTranscodeTemplateRequest) SetEncryption ¶
func (r *CreateTranscodeTemplateRequest) SetEncryption(encryption *mps.EncryptionSettings)
param encryption: 加密配置(Optional)
func (*CreateTranscodeTemplateRequest) SetTitle ¶
func (r *CreateTranscodeTemplateRequest) SetTitle(title string)
param title: 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。
(Required)
func (*CreateTranscodeTemplateRequest) SetTranscodeType ¶
func (r *CreateTranscodeTemplateRequest) SetTranscodeType(transcodeType string)
param transcodeType: 转码方式。取值范围: normal - 普通转码 jdchd - 京享超清 jdchs - 极速转码
默认值为 normal (Optional)
func (*CreateTranscodeTemplateRequest) SetVideo ¶
func (r *CreateTranscodeTemplateRequest) SetVideo(video *mps.VideoStreamSettings)
param video: 视频参数配置(Required)
type CreateTranscodeTemplateResponse ¶
type CreateTranscodeTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateTranscodeTemplateResult `json:"result"`
}
type CreateTranscodeTemplateResult ¶
type CreateTranscodeTemplateResult struct {
TemplateId string `json:"templateId"`
Title string `json:"title"`
Video mps.VideoStreamSettings `json:"video"`
Audio mps.AudioStreamSettings `json:"audio"`
Container mps.ContainerSettings `json:"container"`
Encryption mps.EncryptionSettings `json:"encryption"`
Definition string `json:"definition"`
TranscodeType string `json:"transcodeType"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type CreateVeditJobRequest ¶
type CreateVeditJobRequest struct {
core.JDCloudRequest
/* 工程名称 */
ProjectName string `json:"projectName"`
/* 工程描述 (Optional) */
Description *string `json:"description"`
/* 时间线信息 */
Timeline *mps.Timeline `json:"timeline"`
/* 剪辑合成媒资元数据 */
MediaMetadata *mps.MediaMetadata `json:"mediaMetadata"`
/* 用户数据,JSON格式的字符串。
在Timeline中的所有MediaClip中,若有2个或以上的不同MediaId,即素材片段来源于2个或以上不同视频,则在提交剪辑作业时,必须在UserData中指明合并后的视频画面的宽高。
如 {\"extendData\": {\"width\": 720, \"height\": 500}},其中width和height必须为[16, 4096]之间的偶数
videoMode 支持 normal 普通模式 screen_record 屏幕录制模式 两种模式,默认为 normal。
如 "{\"extendData\":{\"videoMode\":\"screen_record\"}}"
headerInfo.contentType 设置上传文件的 contentType。
如 "{\"extendData\":{\"headerInfo\":{\"contentType\":\"application/octet-stream\"}}}"
headerInfo.contentDisposition 设置上传文件的 contentDisposition。
如 "{\"extendData\":{\"headerInfo\":{\"contentDisposition\":\"attachment; filename=\\\"my-test.wav\\\"\",\"contentType\":\"audio/wav\"}}}"
priority 设置任务优先级 [0,2],默认为 0,优先级最低。
如 "{\"extendData\":{\"priority\": 0}}"
(Optional) */
UserData *string `json:"userData"`
}
func NewCreateVeditJobRequest ¶
func NewCreateVeditJobRequest( projectName string, timeline *mps.Timeline, mediaMetadata *mps.MediaMetadata, ) *CreateVeditJobRequest
* param projectName: 工程名称 (Required) * param timeline: 时间线信息 (Required) * param mediaMetadata: 剪辑合成媒资元数据 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateVeditJobRequestWithAllParams ¶
func NewCreateVeditJobRequestWithAllParams( projectName string, description *string, timeline *mps.Timeline, mediaMetadata *mps.MediaMetadata, userData *string, ) *CreateVeditJobRequest
- param projectName: 工程名称 (Required)
- param description: 工程描述 (Optional)
- param timeline: 时间线信息 (Required)
- param mediaMetadata: 剪辑合成媒资元数据 (Required)
- param userData: 用户数据,JSON格式的字符串。
在Timeline中的所有MediaClip中,若有2个或以上的不同MediaId,即素材片段来源于2个或以上不同视频,则在提交剪辑作业时,必须在UserData中指明合并后的视频画面的宽高。 如 {\"extendData\": {\"width\": 720, \"height\": 500}},其中width和height必须为[16, 4096]之间的偶数 videoMode 支持 normal 普通模式 screen_record 屏幕录制模式 两种模式,默认为 normal。 如 "{\"extendData\":{\"videoMode\":\"screen_record\"}}" headerInfo.contentType 设置上传文件的 contentType。 如 "{\"extendData\":{\"headerInfo\":{\"contentType\":\"application/octet-stream\"}}}" headerInfo.contentDisposition 设置上传文件的 contentDisposition。 如 "{\"extendData\":{\"headerInfo\":{\"contentDisposition\":\"attachment; filename=\\\"my-test.wav\\\"\",\"contentType\":\"audio/wav\"}}}" priority 设置任务优先级 [0,2],默认为 0,优先级最低。 如 "{\"extendData\":{\"priority\": 0}}"
(Optional)
func NewCreateVeditJobRequestWithoutParam ¶
func NewCreateVeditJobRequestWithoutParam() *CreateVeditJobRequest
This constructor has better compatible ability when API parameters changed
func (CreateVeditJobRequest) GetRegionId ¶
func (r CreateVeditJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateVeditJobRequest) SetDescription ¶
func (r *CreateVeditJobRequest) SetDescription(description string)
param description: 工程描述(Optional)
func (*CreateVeditJobRequest) SetMediaMetadata ¶
func (r *CreateVeditJobRequest) SetMediaMetadata(mediaMetadata *mps.MediaMetadata)
param mediaMetadata: 剪辑合成媒资元数据(Required)
func (*CreateVeditJobRequest) SetProjectName ¶
func (r *CreateVeditJobRequest) SetProjectName(projectName string)
param projectName: 工程名称(Required)
func (*CreateVeditJobRequest) SetTimeline ¶
func (r *CreateVeditJobRequest) SetTimeline(timeline *mps.Timeline)
param timeline: 时间线信息(Required)
func (*CreateVeditJobRequest) SetUserData ¶
func (r *CreateVeditJobRequest) SetUserData(userData string)
param userData: 用户数据,JSON格式的字符串。
在Timeline中的所有MediaClip中,若有2个或以上的不同MediaId,即素材片段来源于2个或以上不同视频,则在提交剪辑作业时,必须在UserData中指明合并后的视频画面的宽高。 如 {\"extendData\": {\"width\": 720, \"height\": 500}},其中width和height必须为[16, 4096]之间的偶数 videoMode 支持 normal 普通模式 screen_record 屏幕录制模式 两种模式,默认为 normal。 如 "{\"extendData\":{\"videoMode\":\"screen_record\"}}" headerInfo.contentType 设置上传文件的 contentType。 如 "{\"extendData\":{\"headerInfo\":{\"contentType\":\"application/octet-stream\"}}}" headerInfo.contentDisposition 设置上传文件的 contentDisposition。 如 "{\"extendData\":{\"headerInfo\":{\"contentDisposition\":\"attachment; filename=\\\"my-test.wav\\\"\",\"contentType\":\"audio/wav\"}}}" priority 设置任务优先级 [0,2],默认为 0,优先级最低。 如 "{\"extendData\":{\"priority\": 0}}" (Optional)
type CreateVeditJobResponse ¶
type CreateVeditJobResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateVeditJobResult `json:"result"`
}
type CreateVeditJobResult ¶
type CreateVeditProjectRequest ¶
type CreateVeditProjectRequest struct {
core.JDCloudRequest
/* 工程名称 */
ProjectName string `json:"projectName"`
/* 工程描述 (Optional) */
Description *string `json:"description"`
/* 时间线信息 */
Timeline *mps.Timeline `json:"timeline"`
}
func NewCreateVeditProjectRequest ¶
func NewCreateVeditProjectRequest( projectName string, timeline *mps.Timeline, ) *CreateVeditProjectRequest
* param projectName: 工程名称 (Required) * param timeline: 时间线信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateVeditProjectRequestWithAllParams ¶
func NewCreateVeditProjectRequestWithAllParams( projectName string, description *string, timeline *mps.Timeline, ) *CreateVeditProjectRequest
* param projectName: 工程名称 (Required) * param description: 工程描述 (Optional) * param timeline: 时间线信息 (Required)
func NewCreateVeditProjectRequestWithoutParam ¶
func NewCreateVeditProjectRequestWithoutParam() *CreateVeditProjectRequest
This constructor has better compatible ability when API parameters changed
func (CreateVeditProjectRequest) GetRegionId ¶
func (r CreateVeditProjectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateVeditProjectRequest) SetDescription ¶
func (r *CreateVeditProjectRequest) SetDescription(description string)
param description: 工程描述(Optional)
func (*CreateVeditProjectRequest) SetProjectName ¶
func (r *CreateVeditProjectRequest) SetProjectName(projectName string)
param projectName: 工程名称(Required)
func (*CreateVeditProjectRequest) SetTimeline ¶
func (r *CreateVeditProjectRequest) SetTimeline(timeline *mps.Timeline)
param timeline: 时间线信息(Required)
type CreateVeditProjectResponse ¶
type CreateVeditProjectResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateVeditProjectResult `json:"result"`
}
type CreateWatermarkTemplateRequest ¶
type CreateWatermarkTemplateRequest struct {
core.JDCloudRequest
/* 水印模板名称。长度不超过128个字符。 */
Name string `json:"name"`
/* 水印类型。取值范围:
image - 图片明水印
text - 文字明水印
invisible - 文字暗水印
*/
Type string `json:"type"`
/* 水印图片链接(type=image时必填)(图片水印设置有效) (Optional) */
ImageUrl *string `json:"imageUrl"`
/* 文字水印内容(type=text 或 invisible时必填,最长100个字符)(文字水印设置有效) (Optional) */
Text *string `json:"text"`
/* 字体文件名称(type=text时可选,默认:LangZheng)
支持的字体文件:
朗正.ttf
尚酷.ttf
机甲.ttf
中秀体.ttf
乐喵体.ttf
糯米团.ttf
雅酷黑.ttf
汉真广标.ttf
SourceHanSansCN-Normal.ttf
simfang.ttf
对应的输入参数值:
朗正 - LangZheng
尚酷 - ShangKu
机甲 - JiJia
中秀体 - ZhongXiuTi
乐喵体 - LeMiaoTi
糯米团 - NuoMiTuan
雅酷黑 - YaKuHei
汉真广标 - HanZhenGuangBiao
SourceHanSansCN-Normal - SourceHanSansCN-Normal
simfang - FangSong
(文字水印设置有效)
(Optional) */
FontFile *string `json:"fontFile"`
/* 字号(type=text时可选,默认24,单位像素)(文字水印设置有效) (Optional) */
FontSize *int `json:"fontSize"`
/* 字体颜色(type=text时可选,默认#FFFFFF,格式#RRGGBB)(文字水印设置有效) (Optional) */
FontColor *string `json:"fontColor"`
/* 字体透明度,取值范围:[0, 100](type=text时可选)(文字水印设置有效) (Optional) */
FontOpacity *int `json:"fontOpacity"`
/* 水印位置。取值范围:
TL - 左上
TR - 右上
BL - 左下
BR - 右下
MC - 中间
(通用字段)
(Optional) */
Position *string `json:"position"`
/* 水印距离左侧偏移,取值范围:[1, 1920](通用字段) (Optional) */
OffsetX *int `json:"offsetX"`
/* 水印距离顶部偏移,取值范围:[1, 1920](通用字段) (Optional) */
OffsetY *int `json:"offsetY"`
/* 水印宽度(图片水印设置有效) (Optional) */
Width *int `json:"width"`
/* 水印高度(图片水印设置有效) (Optional) */
Height *int `json:"height"`
/* 水印宽度参考系数
当sizeUnit为percent时,用于指定计算实际水印宽度时的参考系数,实际宽度=width*widthRef
默认值:video
可选值:
logo(实际宽度=width*水印宽度像素数)
video(同video_width)
video_width(实际宽度=width*输出视频宽度)
video_height(实际宽度=width*输出视频高度)
video_longside(实际宽度=width*输出视频长边)
video_shortside(实际宽度=width*输出视频短边)
(图片水印设置有效)
(Optional) */
WidthRef *string `json:"widthRef"`
/* 水印高度参考系数
当sizeUnit为percent时,用于指定计算实际水印高度时的参考系数,实际高度=height*heightRef
默认值:video
可选值:
logo(实际高度=height*水印高度像素数)
video(同video_height)
video_width(实际高度=height*输出视频宽度)
video_height(实际高度=height*输出视频高度)
video_longside(实际高度=height*输出视频长边)
video_shortside(实际高度=height*输出视频短边)
(图片水印设置有效)
(Optional) */
HeightRef *string `json:"heightRef"`
/* 位置单位。取值范围:
percent - 按百分比
pixel - 按像素
缺省值为 pixel
(图片水印设置有效)
(Optional) */
SizeUnit *string `json:"sizeUnit"`
/* 水印边界距corner距离单位。取值范围:
percent - 按百分比
pixel - 按像素
缺省值为 pixel
(通用字段)
(Optional) */
OffsetUnit *string `json:"offsetUnit"`
/* 旋转角度,取值范围:[0, 360],缺省值为0(文字水印设置有效) (Optional) */
Rotation *int `json:"rotation"`
/* 阴影强度,取值范围:[0, 100],缺省值为0(文字水印设置有效) (Optional) */
Shadow *int `json:"shadow"`
/* 阴影颜色,格式#RRGGBB,缺省值为#000000(文字水印设置有效) (Optional) */
ShadowColor *string `json:"shadowColor"`
/* 是否平铺水印,缺省值为false(文字水印设置有效) (Optional) */
Tile *bool `json:"tile"`
/* 平铺间距百分比,取值范围:[0, 100],缺省值为10(文字水印设置有效) (Optional) */
TileSpacing *int `json:"tileSpacing"`
}
func NewCreateWatermarkTemplateRequest ¶
func NewCreateWatermarkTemplateRequest( name string, type_ string, ) *CreateWatermarkTemplateRequest
- param name: 水印模板名称。长度不超过128个字符。 (Required)
- param type_: 水印类型。取值范围: image - 图片明水印 text - 文字明水印 invisible - 文字暗水印
(Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateWatermarkTemplateRequestWithAllParams ¶
func NewCreateWatermarkTemplateRequestWithAllParams( name string, type_ string, imageUrl *string, text *string, fontFile *string, fontSize *int, fontColor *string, fontOpacity *int, position *string, offsetX *int, offsetY *int, width *int, height *int, widthRef *string, heightRef *string, sizeUnit *string, offsetUnit *string, rotation *int, shadow *int, shadowColor *string, tile *bool, tileSpacing *int, ) *CreateWatermarkTemplateRequest
- param name: 水印模板名称。长度不超过128个字符。 (Required)
- param type_: 水印类型。取值范围: image - 图片明水印 text - 文字明水印 invisible - 文字暗水印 (Required)
- param imageUrl: 水印图片链接(type=image时必填)(图片水印设置有效) (Optional)
- param text: 文字水印内容(type=text 或 invisible时必填,最长100个字符)(文字水印设置有效) (Optional)
- param fontFile: 字体文件名称(type=text时可选,默认:LangZheng)
支持的字体文件:
朗正.ttf 尚酷.ttf 机甲.ttf 中秀体.ttf 乐喵体.ttf 糯米团.ttf 雅酷黑.ttf 汉真广标.ttf SourceHanSansCN-Normal.ttf simfang.ttf
对应的输入参数值:
朗正 - LangZheng 尚酷 - ShangKu 机甲 - JiJia 中秀体 - ZhongXiuTi 乐喵体 - LeMiaoTi 糯米团 - NuoMiTuan 雅酷黑 - YaKuHei 汉真广标 - HanZhenGuangBiao SourceHanSansCN-Normal - SourceHanSansCN-Normal simfang - FangSong (文字水印设置有效) (Optional) * param fontSize: 字号(type=text时可选,默认24,单位像素)(文字水印设置有效) (Optional) * param fontColor: 字体颜色(type=text时可选,默认#FFFFFF,格式#RRGGBB)(文字水印设置有效) (Optional) * param fontOpacity: 字体透明度,取值范围:[0, 100](type=text时可选)(文字水印设置有效) (Optional) * param position: 水印位置。取值范围: TL - 左上 TR - 右上 BL - 左下 BR - 右下 MC - 中间
(通用字段)
(Optional) * param offsetX: 水印距离左侧偏移,取值范围:[1, 1920](通用字段) (Optional) * param offsetY: 水印距离顶部偏移,取值范围:[1, 1920](通用字段) (Optional) * param width: 水印宽度(图片水印设置有效) (Optional) * param height: 水印高度(图片水印设置有效) (Optional) * param widthRef: 水印宽度参考系数
当sizeUnit为percent时,用于指定计算实际水印宽度时的参考系数,实际宽度=width*widthRef 默认值:video 可选值: logo(实际宽度=width*水印宽度像素数) video(同video_width) video_width(实际宽度=width*输出视频宽度) video_height(实际宽度=width*输出视频高度) video_longside(实际宽度=width*输出视频长边) video_shortside(实际宽度=width*输出视频短边) (图片水印设置有效)
(Optional) * param heightRef: 水印高度参考系数
当sizeUnit为percent时,用于指定计算实际水印高度时的参考系数,实际高度=height*heightRef 默认值:video 可选值: logo(实际高度=height*水印高度像素数) video(同video_height) video_width(实际高度=height*输出视频宽度) video_height(实际高度=height*输出视频高度) video_longside(实际高度=height*输出视频长边) video_shortside(实际高度=height*输出视频短边) (图片水印设置有效)
(Optional) * param sizeUnit: 位置单位。取值范围: percent - 按百分比 pixel - 按像素
缺省值为 pixel (图片水印设置有效)
(Optional) * param offsetUnit: 水印边界距corner距离单位。取值范围: percent - 按百分比 pixel - 按像素
缺省值为 pixel (通用字段)
(Optional) * param rotation: 旋转角度,取值范围:[0, 360],缺省值为0(文字水印设置有效) (Optional) * param shadow: 阴影强度,取值范围:[0, 100],缺省值为0(文字水印设置有效) (Optional) * param shadowColor: 阴影颜色,格式#RRGGBB,缺省值为#000000(文字水印设置有效) (Optional) * param tile: 是否平铺水印,缺省值为false(文字水印设置有效) (Optional) * param tileSpacing: 平铺间距百分比,取值范围:[0, 100],缺省值为10(文字水印设置有效) (Optional)
func NewCreateWatermarkTemplateRequestWithoutParam ¶
func NewCreateWatermarkTemplateRequestWithoutParam() *CreateWatermarkTemplateRequest
This constructor has better compatible ability when API parameters changed
func (CreateWatermarkTemplateRequest) GetRegionId ¶
func (r CreateWatermarkTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateWatermarkTemplateRequest) SetFontColor ¶
func (r *CreateWatermarkTemplateRequest) SetFontColor(fontColor string)
param fontColor: 字体颜色(type=text时可选,默认#FFFFFF,格式#RRGGBB)(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetFontFile ¶
func (r *CreateWatermarkTemplateRequest) SetFontFile(fontFile string)
param fontFile: 字体文件名称(type=text时可选,默认:LangZheng)
支持的字体文件:
朗正.ttf 尚酷.ttf 机甲.ttf 中秀体.ttf 乐喵体.ttf 糯米团.ttf 雅酷黑.ttf 汉真广标.ttf SourceHanSansCN-Normal.ttf simfang.ttf
对应的输入参数值:
朗正 - LangZheng 尚酷 - ShangKu 机甲 - JiJia 中秀体 - ZhongXiuTi 乐喵体 - LeMiaoTi 糯米团 - NuoMiTuan 雅酷黑 - YaKuHei 汉真广标 - HanZhenGuangBiao SourceHanSansCN-Normal - SourceHanSansCN-Normal simfang - FangSong (文字水印设置有效)
(Optional)
func (*CreateWatermarkTemplateRequest) SetFontOpacity ¶
func (r *CreateWatermarkTemplateRequest) SetFontOpacity(fontOpacity int)
param fontOpacity: 字体透明度,取值范围:[0, 100](type=text时可选)(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetFontSize ¶
func (r *CreateWatermarkTemplateRequest) SetFontSize(fontSize int)
param fontSize: 字号(type=text时可选,默认24,单位像素)(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetHeight ¶
func (r *CreateWatermarkTemplateRequest) SetHeight(height int)
param height: 水印高度(图片水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetHeightRef ¶
func (r *CreateWatermarkTemplateRequest) SetHeightRef(heightRef string)
param heightRef: 水印高度参考系数
当sizeUnit为percent时,用于指定计算实际水印高度时的参考系数,实际高度=height*heightRef 默认值:video 可选值: logo(实际高度=height*水印高度像素数) video(同video_height) video_width(实际高度=height*输出视频宽度) video_height(实际高度=height*输出视频高度) video_longside(实际高度=height*输出视频长边) video_shortside(实际高度=height*输出视频短边) (图片水印设置有效) (Optional)
func (*CreateWatermarkTemplateRequest) SetImageUrl ¶
func (r *CreateWatermarkTemplateRequest) SetImageUrl(imageUrl string)
param imageUrl: 水印图片链接(type=image时必填)(图片水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetName ¶
func (r *CreateWatermarkTemplateRequest) SetName(name string)
param name: 水印模板名称。长度不超过128个字符。(Required)
func (*CreateWatermarkTemplateRequest) SetOffsetUnit ¶
func (r *CreateWatermarkTemplateRequest) SetOffsetUnit(offsetUnit string)
param offsetUnit: 水印边界距corner距离单位。取值范围: percent - 按百分比 pixel - 按像素
缺省值为 pixel (通用字段) (Optional)
func (*CreateWatermarkTemplateRequest) SetOffsetX ¶
func (r *CreateWatermarkTemplateRequest) SetOffsetX(offsetX int)
param offsetX: 水印距离左侧偏移,取值范围:[1, 1920](通用字段)(Optional)
func (*CreateWatermarkTemplateRequest) SetOffsetY ¶
func (r *CreateWatermarkTemplateRequest) SetOffsetY(offsetY int)
param offsetY: 水印距离顶部偏移,取值范围:[1, 1920](通用字段)(Optional)
func (*CreateWatermarkTemplateRequest) SetPosition ¶
func (r *CreateWatermarkTemplateRequest) SetPosition(position string)
param position: 水印位置。取值范围: TL - 左上 TR - 右上 BL - 左下 BR - 右下 MC - 中间
(通用字段) (Optional)
func (*CreateWatermarkTemplateRequest) SetRotation ¶
func (r *CreateWatermarkTemplateRequest) SetRotation(rotation int)
param rotation: 旋转角度,取值范围:[0, 360],缺省值为0(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetShadow ¶
func (r *CreateWatermarkTemplateRequest) SetShadow(shadow int)
param shadow: 阴影强度,取值范围:[0, 100],缺省值为0(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetShadowColor ¶
func (r *CreateWatermarkTemplateRequest) SetShadowColor(shadowColor string)
param shadowColor: 阴影颜色,格式#RRGGBB,缺省值为#000000(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetSizeUnit ¶
func (r *CreateWatermarkTemplateRequest) SetSizeUnit(sizeUnit string)
param sizeUnit: 位置单位。取值范围: percent - 按百分比 pixel - 按像素
缺省值为 pixel (图片水印设置有效) (Optional)
func (*CreateWatermarkTemplateRequest) SetText ¶
func (r *CreateWatermarkTemplateRequest) SetText(text string)
param text: 文字水印内容(type=text 或 invisible时必填,最长100个字符)(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetTile ¶
func (r *CreateWatermarkTemplateRequest) SetTile(tile bool)
param tile: 是否平铺水印,缺省值为false(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetTileSpacing ¶
func (r *CreateWatermarkTemplateRequest) SetTileSpacing(tileSpacing int)
param tileSpacing: 平铺间距百分比,取值范围:[0, 100],缺省值为10(文字水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetType ¶
func (r *CreateWatermarkTemplateRequest) SetType(type_ string)
param type_: 水印类型。取值范围: image - 图片明水印 text - 文字明水印 invisible - 文字暗水印
(Required)
func (*CreateWatermarkTemplateRequest) SetWidth ¶
func (r *CreateWatermarkTemplateRequest) SetWidth(width int)
param width: 水印宽度(图片水印设置有效)(Optional)
func (*CreateWatermarkTemplateRequest) SetWidthRef ¶
func (r *CreateWatermarkTemplateRequest) SetWidthRef(widthRef string)
param widthRef: 水印宽度参考系数
当sizeUnit为percent时,用于指定计算实际水印宽度时的参考系数,实际宽度=width*widthRef 默认值:video 可选值: logo(实际宽度=width*水印宽度像素数) video(同video_width) video_width(实际宽度=width*输出视频宽度) video_height(实际宽度=width*输出视频高度) video_longside(实际宽度=width*输出视频长边) video_shortside(实际宽度=width*输出视频短边) (图片水印设置有效) (Optional)
type CreateWatermarkTemplateResponse ¶
type CreateWatermarkTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateWatermarkTemplateResult `json:"result"`
}
type CreateWatermarkTemplateResult ¶
type CreateWatermarkTemplateResult struct {
WatermarkId string `json:"watermarkId"`
UserPin string `json:"userPin"`
Name string `json:"name"`
Type string `json:"type_"`
ImageUrl string `json:"imageUrl"`
Text string `json:"text"`
FontFile string `json:"fontFile"`
FontSize int `json:"fontSize"`
FontColor string `json:"fontColor"`
FontOpacity int `json:"fontOpacity"`
Position string `json:"position"`
OffsetX int `json:"offsetX"`
OffsetY int `json:"offsetY"`
Width int `json:"width"`
Height int `json:"height"`
WidthRef string `json:"widthRef"`
HeightRef string `json:"heightRef"`
SizeUnit string `json:"sizeUnit"`
OffsetUnit string `json:"offsetUnit"`
Rotation int `json:"rotation"`
Shadow int `json:"shadow"`
ShadowColor string `json:"shadowColor"`
Tile bool `json:"tile"`
TileSpacing int `json:"tileSpacing"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type DeleteASRTaskHotWordsRequest ¶
type DeleteASRTaskHotWordsRequest struct {
core.JDCloudRequest
/* 热词ID列表,多个ID用逗号分隔 */
Ids string `json:"ids"`
}
func NewDeleteASRTaskHotWordsRequest ¶
func NewDeleteASRTaskHotWordsRequest( ids string, ) *DeleteASRTaskHotWordsRequest
* param ids: 热词ID列表,多个ID用逗号分隔 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteASRTaskHotWordsRequestWithAllParams ¶
func NewDeleteASRTaskHotWordsRequestWithAllParams( ids string, ) *DeleteASRTaskHotWordsRequest
* param ids: 热词ID列表,多个ID用逗号分隔 (Required)
func NewDeleteASRTaskHotWordsRequestWithoutParam ¶
func NewDeleteASRTaskHotWordsRequestWithoutParam() *DeleteASRTaskHotWordsRequest
This constructor has better compatible ability when API parameters changed
func (DeleteASRTaskHotWordsRequest) GetRegionId ¶
func (r DeleteASRTaskHotWordsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteASRTaskHotWordsRequest) SetIds ¶
func (r *DeleteASRTaskHotWordsRequest) SetIds(ids string)
param ids: 热词ID列表,多个ID用逗号分隔(Required)
type DeleteASRTaskHotWordsResponse ¶
type DeleteASRTaskHotWordsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteASRTaskHotWordsResult `json:"result"`
}
type DeleteASRTaskHotWordsResult ¶
type DeleteASRTaskHotWordsResult struct {
}
type DeleteASRTaskRequest ¶
type DeleteASRTaskRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewDeleteASRTaskRequest ¶
func NewDeleteASRTaskRequest( taskId string, ) *DeleteASRTaskRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteASRTaskRequestWithAllParams ¶
func NewDeleteASRTaskRequestWithAllParams( taskId string, ) *DeleteASRTaskRequest
* param taskId: 任务唯一标识 (Required)
func NewDeleteASRTaskRequestWithoutParam ¶
func NewDeleteASRTaskRequestWithoutParam() *DeleteASRTaskRequest
This constructor has better compatible ability when API parameters changed
func (DeleteASRTaskRequest) GetRegionId ¶
func (r DeleteASRTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteASRTaskRequest) SetTaskId ¶
func (r *DeleteASRTaskRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type DeleteASRTaskResponse ¶
type DeleteASRTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteASRTaskResult `json:"result"`
}
type DeleteASRTaskResult ¶
type DeleteASRTaskResult struct {
}
type DeleteImageStyleRequest ¶
type DeleteImageStyleRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
/* 图片样式id */
Id int `json:"id"`
}
func NewDeleteImageStyleRequest ¶
func NewDeleteImageStyleRequest( regionId string, bucketName string, id int, ) *DeleteImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param id: 图片样式id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteImageStyleRequestWithAllParams ¶
func NewDeleteImageStyleRequestWithAllParams( regionId string, bucketName string, id int, ) *DeleteImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param id: 图片样式id (Required)
func NewDeleteImageStyleRequestWithoutParam ¶
func NewDeleteImageStyleRequestWithoutParam() *DeleteImageStyleRequest
This constructor has better compatible ability when API parameters changed
func (DeleteImageStyleRequest) GetRegionId ¶
func (r DeleteImageStyleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteImageStyleRequest) SetBucketName ¶
func (r *DeleteImageStyleRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*DeleteImageStyleRequest) SetId ¶
func (r *DeleteImageStyleRequest) SetId(id int)
param id: 图片样式id(Required)
func (*DeleteImageStyleRequest) SetRegionId ¶
func (r *DeleteImageStyleRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type DeleteImageStyleResponse ¶
type DeleteImageStyleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteImageStyleResult `json:"result"`
}
type DeleteImageStyleResult ¶
type DeleteImageStyleResult struct {
}
type DeleteKnowledgeBaseFileRecordRequest ¶
type DeleteKnowledgeBaseFileRecordRequest struct {
core.JDCloudRequest
/* 知识文件唯一标识 */
KnowledgeId string `json:"knowledgeId"`
}
func NewDeleteKnowledgeBaseFileRecordRequest ¶
func NewDeleteKnowledgeBaseFileRecordRequest( knowledgeId string, ) *DeleteKnowledgeBaseFileRecordRequest
* param knowledgeId: 知识文件唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteKnowledgeBaseFileRecordRequestWithAllParams ¶
func NewDeleteKnowledgeBaseFileRecordRequestWithAllParams( knowledgeId string, ) *DeleteKnowledgeBaseFileRecordRequest
* param knowledgeId: 知识文件唯一标识 (Required)
func NewDeleteKnowledgeBaseFileRecordRequestWithoutParam ¶
func NewDeleteKnowledgeBaseFileRecordRequestWithoutParam() *DeleteKnowledgeBaseFileRecordRequest
This constructor has better compatible ability when API parameters changed
func (DeleteKnowledgeBaseFileRecordRequest) GetRegionId ¶
func (r DeleteKnowledgeBaseFileRecordRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteKnowledgeBaseFileRecordRequest) SetKnowledgeId ¶
func (r *DeleteKnowledgeBaseFileRecordRequest) SetKnowledgeId(knowledgeId string)
param knowledgeId: 知识文件唯一标识(Required)
type DeleteKnowledgeBaseFileRecordResponse ¶
type DeleteKnowledgeBaseFileRecordResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteKnowledgeBaseFileRecordResult `json:"result"`
}
type DeleteKnowledgeBaseFileRecordResult ¶
type DeleteKnowledgeBaseFileRecordResult struct {
}
type DeleteProcessDefinitionByCodeRequest ¶
type DeleteProcessDefinitionByCodeRequest struct {
core.JDCloudRequest
/* taskCode */
Code string `json:"code"`
}
func NewDeleteProcessDefinitionByCodeRequest ¶
func NewDeleteProcessDefinitionByCodeRequest( code string, ) *DeleteProcessDefinitionByCodeRequest
* param code: taskCode (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteProcessDefinitionByCodeRequestWithAllParams ¶
func NewDeleteProcessDefinitionByCodeRequestWithAllParams( code string, ) *DeleteProcessDefinitionByCodeRequest
* param code: taskCode (Required)
func NewDeleteProcessDefinitionByCodeRequestWithoutParam ¶
func NewDeleteProcessDefinitionByCodeRequestWithoutParam() *DeleteProcessDefinitionByCodeRequest
This constructor has better compatible ability when API parameters changed
func (DeleteProcessDefinitionByCodeRequest) GetRegionId ¶
func (r DeleteProcessDefinitionByCodeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteProcessDefinitionByCodeRequest) SetCode ¶
func (r *DeleteProcessDefinitionByCodeRequest) SetCode(code string)
param code: taskCode(Required)
type DeleteProcessDefinitionByCodeResponse ¶
type DeleteProcessDefinitionByCodeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteProcessDefinitionByCodeResult `json:"result"`
}
type DeleteProcessDefinitionByCodeResult ¶
type DeleteProcessDefinitionByCodeResult struct {
}
type DeleteProcessInstanceByIdRequest ¶
type DeleteProcessInstanceByIdRequest struct {
core.JDCloudRequest
/* id */
Id int `json:"id"`
}
func NewDeleteProcessInstanceByIdRequest ¶
func NewDeleteProcessInstanceByIdRequest( id int, ) *DeleteProcessInstanceByIdRequest
* param id: id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteProcessInstanceByIdRequestWithAllParams ¶
func NewDeleteProcessInstanceByIdRequestWithAllParams( id int, ) *DeleteProcessInstanceByIdRequest
* param id: id (Required)
func NewDeleteProcessInstanceByIdRequestWithoutParam ¶
func NewDeleteProcessInstanceByIdRequestWithoutParam() *DeleteProcessInstanceByIdRequest
This constructor has better compatible ability when API parameters changed
func (DeleteProcessInstanceByIdRequest) GetRegionId ¶
func (r DeleteProcessInstanceByIdRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteProcessInstanceByIdRequest) SetId ¶
func (r *DeleteProcessInstanceByIdRequest) SetId(id int)
param id: id(Required)
type DeleteProcessInstanceByIdResponse ¶
type DeleteProcessInstanceByIdResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteProcessInstanceByIdResult `json:"result"`
}
type DeleteProcessInstanceByIdResult ¶
type DeleteProcessInstanceByIdResult struct {
}
type DeleteSnapshotTaskRequest ¶
type DeleteSnapshotTaskRequest struct {
core.JDCloudRequest
/* 任务ID,路径参数 */
TaskId string `json:"taskId"`
}
func NewDeleteSnapshotTaskRequest ¶
func NewDeleteSnapshotTaskRequest( taskId string, ) *DeleteSnapshotTaskRequest
* param taskId: 任务ID,路径参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSnapshotTaskRequestWithAllParams ¶
func NewDeleteSnapshotTaskRequestWithAllParams( taskId string, ) *DeleteSnapshotTaskRequest
* param taskId: 任务ID,路径参数 (Required)
func NewDeleteSnapshotTaskRequestWithoutParam ¶
func NewDeleteSnapshotTaskRequestWithoutParam() *DeleteSnapshotTaskRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSnapshotTaskRequest) GetRegionId ¶
func (r DeleteSnapshotTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSnapshotTaskRequest) SetTaskId ¶
func (r *DeleteSnapshotTaskRequest) SetTaskId(taskId string)
param taskId: 任务ID,路径参数(Required)
type DeleteSnapshotTaskResponse ¶
type DeleteSnapshotTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteSnapshotTaskResult `json:"result"`
}
type DeleteSnapshotTaskResult ¶
type DeleteSnapshotTaskResult struct {
}
type DeleteSnapshotTemplateRequest ¶
type DeleteSnapshotTemplateRequest struct {
core.JDCloudRequest
/* 模板ID */
TemplateId string `json:"templateId"`
}
func NewDeleteSnapshotTemplateRequest ¶
func NewDeleteSnapshotTemplateRequest( templateId string, ) *DeleteSnapshotTemplateRequest
* param templateId: 模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSnapshotTemplateRequestWithAllParams ¶
func NewDeleteSnapshotTemplateRequestWithAllParams( templateId string, ) *DeleteSnapshotTemplateRequest
* param templateId: 模板ID (Required)
func NewDeleteSnapshotTemplateRequestWithoutParam ¶
func NewDeleteSnapshotTemplateRequestWithoutParam() *DeleteSnapshotTemplateRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSnapshotTemplateRequest) GetRegionId ¶
func (r DeleteSnapshotTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSnapshotTemplateRequest) SetTemplateId ¶
func (r *DeleteSnapshotTemplateRequest) SetTemplateId(templateId string)
param templateId: 模板ID(Required)
type DeleteSnapshotTemplateResponse ¶
type DeleteSnapshotTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteSnapshotTemplateResult `json:"result"`
}
type DeleteSnapshotTemplateResult ¶
type DeleteSnapshotTemplateResult struct {
}
type DeleteStyleDelimiterRequest ¶ added in v1.7.0
type DeleteStyleDelimiterRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
}
func NewDeleteStyleDelimiterRequest ¶ added in v1.7.0
func NewDeleteStyleDelimiterRequest( regionId string, bucketName string, ) *DeleteStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteStyleDelimiterRequestWithAllParams ¶ added in v1.7.0
func NewDeleteStyleDelimiterRequestWithAllParams( regionId string, bucketName string, ) *DeleteStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required)
func NewDeleteStyleDelimiterRequestWithoutParam ¶ added in v1.7.0
func NewDeleteStyleDelimiterRequestWithoutParam() *DeleteStyleDelimiterRequest
This constructor has better compatible ability when API parameters changed
func (DeleteStyleDelimiterRequest) GetRegionId ¶ added in v1.7.0
func (r DeleteStyleDelimiterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteStyleDelimiterRequest) SetBucketName ¶ added in v1.7.0
func (r *DeleteStyleDelimiterRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*DeleteStyleDelimiterRequest) SetRegionId ¶ added in v1.7.0
func (r *DeleteStyleDelimiterRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type DeleteStyleDelimiterResponse ¶ added in v1.7.0
type DeleteStyleDelimiterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteStyleDelimiterResult `json:"result"`
}
type DeleteStyleDelimiterResult ¶ added in v1.7.0
type DeleteStyleDelimiterResult struct {
}
type DeleteTranscodeTemplateRequest ¶
type DeleteTranscodeTemplateRequest struct {
core.JDCloudRequest
/* 模板ID */
TemplateId int `json:"templateId"`
}
func NewDeleteTranscodeTemplateRequest ¶
func NewDeleteTranscodeTemplateRequest( templateId int, ) *DeleteTranscodeTemplateRequest
* param templateId: 模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteTranscodeTemplateRequestWithAllParams ¶
func NewDeleteTranscodeTemplateRequestWithAllParams( templateId int, ) *DeleteTranscodeTemplateRequest
* param templateId: 模板ID (Required)
func NewDeleteTranscodeTemplateRequestWithoutParam ¶
func NewDeleteTranscodeTemplateRequestWithoutParam() *DeleteTranscodeTemplateRequest
This constructor has better compatible ability when API parameters changed
func (DeleteTranscodeTemplateRequest) GetRegionId ¶
func (r DeleteTranscodeTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteTranscodeTemplateRequest) SetTemplateId ¶
func (r *DeleteTranscodeTemplateRequest) SetTemplateId(templateId int)
param templateId: 模板ID(Required)
type DeleteTranscodeTemplateResponse ¶
type DeleteTranscodeTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteTranscodeTemplateResult `json:"result"`
}
type DeleteTranscodeTemplateResult ¶
type DeleteTranscodeTemplateResult struct {
}
type DeleteVeditProjectRequest ¶
type DeleteVeditProjectRequest struct {
core.JDCloudRequest
/* 视频剪辑工程ID */
ProjectId int `json:"projectId"`
}
func NewDeleteVeditProjectRequest ¶
func NewDeleteVeditProjectRequest( projectId int, ) *DeleteVeditProjectRequest
* param projectId: 视频剪辑工程ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteVeditProjectRequestWithAllParams ¶
func NewDeleteVeditProjectRequestWithAllParams( projectId int, ) *DeleteVeditProjectRequest
* param projectId: 视频剪辑工程ID (Required)
func NewDeleteVeditProjectRequestWithoutParam ¶
func NewDeleteVeditProjectRequestWithoutParam() *DeleteVeditProjectRequest
This constructor has better compatible ability when API parameters changed
func (DeleteVeditProjectRequest) GetRegionId ¶
func (r DeleteVeditProjectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteVeditProjectRequest) SetProjectId ¶
func (r *DeleteVeditProjectRequest) SetProjectId(projectId int)
param projectId: 视频剪辑工程ID(Required)
type DeleteVeditProjectResponse ¶
type DeleteVeditProjectResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteVeditProjectResult `json:"result"`
}
type DeleteVeditProjectResult ¶
type DeleteVeditProjectResult struct {
}
type DeleteVoiceprintRequest ¶
type DeleteVoiceprintRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
/* 用户ID (Optional) */
UserId *string `json:"userId"`
}
func NewDeleteVoiceprintRequest ¶
func NewDeleteVoiceprintRequest( taskId string, ) *DeleteVoiceprintRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteVoiceprintRequestWithAllParams ¶
func NewDeleteVoiceprintRequestWithAllParams( taskId string, userId *string, ) *DeleteVoiceprintRequest
* param taskId: 任务唯一标识 (Required) * param userId: 用户ID (Optional)
func NewDeleteVoiceprintRequestWithoutParam ¶
func NewDeleteVoiceprintRequestWithoutParam() *DeleteVoiceprintRequest
This constructor has better compatible ability when API parameters changed
func (DeleteVoiceprintRequest) GetRegionId ¶
func (r DeleteVoiceprintRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteVoiceprintRequest) SetTaskId ¶
func (r *DeleteVoiceprintRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
func (*DeleteVoiceprintRequest) SetUserId ¶
func (r *DeleteVoiceprintRequest) SetUserId(userId string)
param userId: 用户ID(Optional)
type DeleteVoiceprintResponse ¶
type DeleteVoiceprintResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteVoiceprintResult `json:"result"`
}
type DeleteVoiceprintResult ¶
type DeleteVoiceprintResult struct {
}
type DeleteWatermarkTemplateRequest ¶
type DeleteWatermarkTemplateRequest struct {
core.JDCloudRequest
/* 水印模板ID */
TemplateId string `json:"templateId"`
}
func NewDeleteWatermarkTemplateRequest ¶
func NewDeleteWatermarkTemplateRequest( templateId string, ) *DeleteWatermarkTemplateRequest
* param templateId: 水印模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteWatermarkTemplateRequestWithAllParams ¶
func NewDeleteWatermarkTemplateRequestWithAllParams( templateId string, ) *DeleteWatermarkTemplateRequest
* param templateId: 水印模板ID (Required)
func NewDeleteWatermarkTemplateRequestWithoutParam ¶
func NewDeleteWatermarkTemplateRequestWithoutParam() *DeleteWatermarkTemplateRequest
This constructor has better compatible ability when API parameters changed
func (DeleteWatermarkTemplateRequest) GetRegionId ¶
func (r DeleteWatermarkTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteWatermarkTemplateRequest) SetTemplateId ¶
func (r *DeleteWatermarkTemplateRequest) SetTemplateId(templateId string)
param templateId: 水印模板ID(Required)
type DeleteWatermarkTemplateResponse ¶
type DeleteWatermarkTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteWatermarkTemplateResult `json:"result"`
}
type DeleteWatermarkTemplateResult ¶
type DeleteWatermarkTemplateResult struct {
}
type DescribeASRMinutesTextRequest ¶
type DescribeASRMinutesTextRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewDescribeASRMinutesTextRequest ¶
func NewDescribeASRMinutesTextRequest( taskId string, ) *DescribeASRMinutesTextRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeASRMinutesTextRequestWithAllParams ¶
func NewDescribeASRMinutesTextRequestWithAllParams( taskId string, ) *DescribeASRMinutesTextRequest
* param taskId: 任务唯一标识 (Required)
func NewDescribeASRMinutesTextRequestWithoutParam ¶
func NewDescribeASRMinutesTextRequestWithoutParam() *DescribeASRMinutesTextRequest
This constructor has better compatible ability when API parameters changed
func (DescribeASRMinutesTextRequest) GetRegionId ¶
func (r DescribeASRMinutesTextRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeASRMinutesTextRequest) SetTaskId ¶
func (r *DescribeASRMinutesTextRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type DescribeASRMinutesTextResponse ¶
type DescribeASRMinutesTextResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeASRMinutesTextResult `json:"result"`
}
type DescribeASRTaskContentRequest ¶
type DescribeASRTaskContentRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewDescribeASRTaskContentRequest ¶
func NewDescribeASRTaskContentRequest( taskId string, ) *DescribeASRTaskContentRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeASRTaskContentRequestWithAllParams ¶
func NewDescribeASRTaskContentRequestWithAllParams( taskId string, ) *DescribeASRTaskContentRequest
* param taskId: 任务唯一标识 (Required)
func NewDescribeASRTaskContentRequestWithoutParam ¶
func NewDescribeASRTaskContentRequestWithoutParam() *DescribeASRTaskContentRequest
This constructor has better compatible ability when API parameters changed
func (DescribeASRTaskContentRequest) GetRegionId ¶
func (r DescribeASRTaskContentRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeASRTaskContentRequest) SetTaskId ¶
func (r *DescribeASRTaskContentRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type DescribeASRTaskContentResponse ¶
type DescribeASRTaskContentResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeASRTaskContentResult `json:"result"`
}
type DescribeASRTaskHotWordsDetailsRequest ¶
type DescribeASRTaskHotWordsDetailsRequest struct {
core.JDCloudRequest
/* 热词ID */
Id int `json:"id"`
}
func NewDescribeASRTaskHotWordsDetailsRequest ¶
func NewDescribeASRTaskHotWordsDetailsRequest( id int, ) *DescribeASRTaskHotWordsDetailsRequest
* param id: 热词ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeASRTaskHotWordsDetailsRequestWithAllParams ¶
func NewDescribeASRTaskHotWordsDetailsRequestWithAllParams( id int, ) *DescribeASRTaskHotWordsDetailsRequest
* param id: 热词ID (Required)
func NewDescribeASRTaskHotWordsDetailsRequestWithoutParam ¶
func NewDescribeASRTaskHotWordsDetailsRequestWithoutParam() *DescribeASRTaskHotWordsDetailsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeASRTaskHotWordsDetailsRequest) GetRegionId ¶
func (r DescribeASRTaskHotWordsDetailsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeASRTaskHotWordsDetailsRequest) SetId ¶
func (r *DescribeASRTaskHotWordsDetailsRequest) SetId(id int)
param id: 热词ID(Required)
type DescribeASRTaskHotWordsDetailsResponse ¶
type DescribeASRTaskHotWordsDetailsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeASRTaskHotWordsDetailsResult `json:"result"`
}
type DescribeASRTaskHotWordsRequest ¶
type DescribeASRTaskHotWordsRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewDescribeASRTaskHotWordsRequest ¶
func NewDescribeASRTaskHotWordsRequest() *DescribeASRTaskHotWordsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeASRTaskHotWordsRequestWithAllParams ¶
func NewDescribeASRTaskHotWordsRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *DescribeASRTaskHotWordsRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewDescribeASRTaskHotWordsRequestWithoutParam ¶
func NewDescribeASRTaskHotWordsRequestWithoutParam() *DescribeASRTaskHotWordsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeASRTaskHotWordsRequest) GetRegionId ¶
func (r DescribeASRTaskHotWordsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeASRTaskHotWordsRequest) SetFilters ¶
func (r *DescribeASRTaskHotWordsRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*DescribeASRTaskHotWordsRequest) SetPageNumber ¶
func (r *DescribeASRTaskHotWordsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*DescribeASRTaskHotWordsRequest) SetPageSize ¶
func (r *DescribeASRTaskHotWordsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type DescribeASRTaskHotWordsResponse ¶
type DescribeASRTaskHotWordsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeASRTaskHotWordsResult `json:"result"`
}
type DescribeASRTaskRequest ¶
type DescribeASRTaskRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewDescribeASRTaskRequest ¶
func NewDescribeASRTaskRequest( taskId string, ) *DescribeASRTaskRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeASRTaskRequestWithAllParams ¶
func NewDescribeASRTaskRequestWithAllParams( taskId string, ) *DescribeASRTaskRequest
* param taskId: 任务唯一标识 (Required)
func NewDescribeASRTaskRequestWithoutParam ¶
func NewDescribeASRTaskRequestWithoutParam() *DescribeASRTaskRequest
This constructor has better compatible ability when API parameters changed
func (DescribeASRTaskRequest) GetRegionId ¶
func (r DescribeASRTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeASRTaskRequest) SetTaskId ¶
func (r *DescribeASRTaskRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type DescribeASRTaskResponse ¶
type DescribeASRTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeASRTaskResult `json:"result"`
}
type DescribeASRTaskResult ¶
type DescribeASRTaskResult struct {
TaskId string `json:"taskId"`
Subject string `json:"subject"`
Status int `json:"status"`
TaskType int `json:"taskType"`
TranslateFlag int `json:"translateFlag"`
SrcLanguage string `json:"srcLanguage"`
DestLanguage string `json:"destLanguage"`
OutputFilePath string `json:"outputFilePath"`
ModeType int `json:"modeType"`
}
type DescribeASRTaskTemplateRequest ¶
type DescribeASRTaskTemplateRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewDescribeASRTaskTemplateRequest ¶
func NewDescribeASRTaskTemplateRequest( taskId string, ) *DescribeASRTaskTemplateRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeASRTaskTemplateRequestWithAllParams ¶
func NewDescribeASRTaskTemplateRequestWithAllParams( taskId string, ) *DescribeASRTaskTemplateRequest
* param taskId: 任务唯一标识 (Required)
func NewDescribeASRTaskTemplateRequestWithoutParam ¶
func NewDescribeASRTaskTemplateRequestWithoutParam() *DescribeASRTaskTemplateRequest
This constructor has better compatible ability when API parameters changed
func (DescribeASRTaskTemplateRequest) GetRegionId ¶
func (r DescribeASRTaskTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeASRTaskTemplateRequest) SetTaskId ¶
func (r *DescribeASRTaskTemplateRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type DescribeASRTaskTemplateResponse ¶
type DescribeASRTaskTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeASRTaskTemplateResult `json:"result"`
}
type DescribeASRTasksRequest ¶
type DescribeASRTasksRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewDescribeASRTasksRequest ¶
func NewDescribeASRTasksRequest() *DescribeASRTasksRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeASRTasksRequestWithAllParams ¶
func NewDescribeASRTasksRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *DescribeASRTasksRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewDescribeASRTasksRequestWithoutParam ¶
func NewDescribeASRTasksRequestWithoutParam() *DescribeASRTasksRequest
This constructor has better compatible ability when API parameters changed
func (DescribeASRTasksRequest) GetRegionId ¶
func (r DescribeASRTasksRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeASRTasksRequest) SetFilters ¶
func (r *DescribeASRTasksRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*DescribeASRTasksRequest) SetPageNumber ¶
func (r *DescribeASRTasksRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*DescribeASRTasksRequest) SetPageSize ¶
func (r *DescribeASRTasksRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type DescribeASRTasksResponse ¶
type DescribeASRTasksResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeASRTasksResult `json:"result"`
}
type DescribeASRTasksResult ¶
type DescribeKnowledgeBaseFileDownloadUrlRequest ¶
type DescribeKnowledgeBaseFileDownloadUrlRequest struct {
core.JDCloudRequest
/* 知识文件唯一标识 */
KnowledgeId string `json:"knowledgeId"`
}
func NewDescribeKnowledgeBaseFileDownloadUrlRequest ¶
func NewDescribeKnowledgeBaseFileDownloadUrlRequest( knowledgeId string, ) *DescribeKnowledgeBaseFileDownloadUrlRequest
* param knowledgeId: 知识文件唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeKnowledgeBaseFileDownloadUrlRequestWithAllParams ¶
func NewDescribeKnowledgeBaseFileDownloadUrlRequestWithAllParams( knowledgeId string, ) *DescribeKnowledgeBaseFileDownloadUrlRequest
* param knowledgeId: 知识文件唯一标识 (Required)
func NewDescribeKnowledgeBaseFileDownloadUrlRequestWithoutParam ¶
func NewDescribeKnowledgeBaseFileDownloadUrlRequestWithoutParam() *DescribeKnowledgeBaseFileDownloadUrlRequest
This constructor has better compatible ability when API parameters changed
func (DescribeKnowledgeBaseFileDownloadUrlRequest) GetRegionId ¶
func (r DescribeKnowledgeBaseFileDownloadUrlRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeKnowledgeBaseFileDownloadUrlRequest) SetKnowledgeId ¶
func (r *DescribeKnowledgeBaseFileDownloadUrlRequest) SetKnowledgeId(knowledgeId string)
param knowledgeId: 知识文件唯一标识(Required)
type DescribeKnowledgeBaseFileDownloadUrlResponse ¶
type DescribeKnowledgeBaseFileDownloadUrlResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeKnowledgeBaseFileDownloadUrlResult `json:"result"`
}
type DescribeKnowledgeBaseFileDownloadUrlResult ¶
type DescribeKnowledgeBaseFileDownloadUrlResult struct {
}
type DescribeKnowledgeBaseFileRecordsRequest ¶
type DescribeKnowledgeBaseFileRecordsRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewDescribeKnowledgeBaseFileRecordsRequest ¶
func NewDescribeKnowledgeBaseFileRecordsRequest() *DescribeKnowledgeBaseFileRecordsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeKnowledgeBaseFileRecordsRequestWithAllParams ¶
func NewDescribeKnowledgeBaseFileRecordsRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *DescribeKnowledgeBaseFileRecordsRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewDescribeKnowledgeBaseFileRecordsRequestWithoutParam ¶
func NewDescribeKnowledgeBaseFileRecordsRequestWithoutParam() *DescribeKnowledgeBaseFileRecordsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeKnowledgeBaseFileRecordsRequest) GetRegionId ¶
func (r DescribeKnowledgeBaseFileRecordsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeKnowledgeBaseFileRecordsRequest) SetFilters ¶
func (r *DescribeKnowledgeBaseFileRecordsRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*DescribeKnowledgeBaseFileRecordsRequest) SetPageNumber ¶
func (r *DescribeKnowledgeBaseFileRecordsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*DescribeKnowledgeBaseFileRecordsRequest) SetPageSize ¶
func (r *DescribeKnowledgeBaseFileRecordsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type DescribeKnowledgeBaseFileRecordsResponse ¶
type DescribeKnowledgeBaseFileRecordsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeKnowledgeBaseFileRecordsResult `json:"result"`
}
type DescribeMyMinutesTextRequest ¶
type DescribeMyMinutesTextRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewDescribeMyMinutesTextRequest ¶
func NewDescribeMyMinutesTextRequest( taskId string, ) *DescribeMyMinutesTextRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeMyMinutesTextRequestWithAllParams ¶
func NewDescribeMyMinutesTextRequestWithAllParams( taskId string, ) *DescribeMyMinutesTextRequest
* param taskId: 任务唯一标识 (Required)
func NewDescribeMyMinutesTextRequestWithoutParam ¶
func NewDescribeMyMinutesTextRequestWithoutParam() *DescribeMyMinutesTextRequest
This constructor has better compatible ability when API parameters changed
func (DescribeMyMinutesTextRequest) GetRegionId ¶
func (r DescribeMyMinutesTextRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeMyMinutesTextRequest) SetTaskId ¶
func (r *DescribeMyMinutesTextRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type DescribeMyMinutesTextResponse ¶
type DescribeMyMinutesTextResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeMyMinutesTextResult `json:"result"`
}
type DescribeVoiceprintRequest ¶
type DescribeVoiceprintRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
/* 用户ID (Optional) */
UserId *string `json:"userId"`
}
func NewDescribeVoiceprintRequest ¶
func NewDescribeVoiceprintRequest( taskId string, ) *DescribeVoiceprintRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeVoiceprintRequestWithAllParams ¶
func NewDescribeVoiceprintRequestWithAllParams( taskId string, userId *string, ) *DescribeVoiceprintRequest
* param taskId: 任务唯一标识 (Required) * param userId: 用户ID (Optional)
func NewDescribeVoiceprintRequestWithoutParam ¶
func NewDescribeVoiceprintRequestWithoutParam() *DescribeVoiceprintRequest
This constructor has better compatible ability when API parameters changed
func (DescribeVoiceprintRequest) GetRegionId ¶
func (r DescribeVoiceprintRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeVoiceprintRequest) SetTaskId ¶
func (r *DescribeVoiceprintRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
func (*DescribeVoiceprintRequest) SetUserId ¶
func (r *DescribeVoiceprintRequest) SetUserId(userId string)
param userId: 用户ID(Optional)
type DescribeVoiceprintResponse ¶
type DescribeVoiceprintResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeVoiceprintResult `json:"result"`
}
type DescribeVoiceprintsRequest ¶
type DescribeVoiceprintsRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewDescribeVoiceprintsRequest ¶
func NewDescribeVoiceprintsRequest( taskId string, ) *DescribeVoiceprintsRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeVoiceprintsRequestWithAllParams ¶
func NewDescribeVoiceprintsRequestWithAllParams( taskId string, ) *DescribeVoiceprintsRequest
* param taskId: 任务唯一标识 (Required)
func NewDescribeVoiceprintsRequestWithoutParam ¶
func NewDescribeVoiceprintsRequestWithoutParam() *DescribeVoiceprintsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeVoiceprintsRequest) GetRegionId ¶
func (r DescribeVoiceprintsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeVoiceprintsRequest) SetTaskId ¶
func (r *DescribeVoiceprintsRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type DescribeVoiceprintsResponse ¶
type DescribeVoiceprintsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeVoiceprintsResult `json:"result"`
}
type DescribeVoiceprintsResult ¶
type DescribeVoiceprintsResult struct {
Contents []mps.VoiceprintResultData `json:"contents"`
}
type ExportAsrContentToWordRequest ¶
type ExportAsrContentToWordRequest struct {
core.JDCloudRequest
/* 任务ID */
TaskId string `json:"taskId"`
}
func NewExportAsrContentToWordRequest ¶
func NewExportAsrContentToWordRequest( taskId string, ) *ExportAsrContentToWordRequest
* param taskId: 任务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewExportAsrContentToWordRequestWithAllParams ¶
func NewExportAsrContentToWordRequestWithAllParams( taskId string, ) *ExportAsrContentToWordRequest
* param taskId: 任务ID (Required)
func NewExportAsrContentToWordRequestWithoutParam ¶
func NewExportAsrContentToWordRequestWithoutParam() *ExportAsrContentToWordRequest
This constructor has better compatible ability when API parameters changed
func (ExportAsrContentToWordRequest) GetRegionId ¶
func (r ExportAsrContentToWordRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ExportAsrContentToWordRequest) SetTaskId ¶
func (r *ExportAsrContentToWordRequest) SetTaskId(taskId string)
param taskId: 任务ID(Required)
type ExportAsrContentToWordResponse ¶
type ExportAsrContentToWordResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ExportAsrContentToWordResult `json:"result"`
}
type ExportMinutesSummaryToWordRequest ¶
type ExportMinutesSummaryToWordRequest struct {
core.JDCloudRequest
/* 任务ID */
TaskId string `json:"taskId"`
}
func NewExportMinutesSummaryToWordRequest ¶
func NewExportMinutesSummaryToWordRequest( taskId string, ) *ExportMinutesSummaryToWordRequest
* param taskId: 任务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewExportMinutesSummaryToWordRequestWithAllParams ¶
func NewExportMinutesSummaryToWordRequestWithAllParams( taskId string, ) *ExportMinutesSummaryToWordRequest
* param taskId: 任务ID (Required)
func NewExportMinutesSummaryToWordRequestWithoutParam ¶
func NewExportMinutesSummaryToWordRequestWithoutParam() *ExportMinutesSummaryToWordRequest
This constructor has better compatible ability when API parameters changed
func (ExportMinutesSummaryToWordRequest) GetRegionId ¶
func (r ExportMinutesSummaryToWordRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ExportMinutesSummaryToWordRequest) SetTaskId ¶
func (r *ExportMinutesSummaryToWordRequest) SetTaskId(taskId string)
param taskId: 任务ID(Required)
type ExportMinutesSummaryToWordResponse ¶
type ExportMinutesSummaryToWordResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ExportMinutesSummaryToWordResult `json:"result"`
}
type ExportMinutesTextToWordRequest ¶
type ExportMinutesTextToWordRequest struct {
core.JDCloudRequest
/* 任务ID */
TaskId string `json:"taskId"`
}
func NewExportMinutesTextToWordRequest ¶
func NewExportMinutesTextToWordRequest( taskId string, ) *ExportMinutesTextToWordRequest
* param taskId: 任务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewExportMinutesTextToWordRequestWithAllParams ¶
func NewExportMinutesTextToWordRequestWithAllParams( taskId string, ) *ExportMinutesTextToWordRequest
* param taskId: 任务ID (Required)
func NewExportMinutesTextToWordRequestWithoutParam ¶
func NewExportMinutesTextToWordRequestWithoutParam() *ExportMinutesTextToWordRequest
This constructor has better compatible ability when API parameters changed
func (ExportMinutesTextToWordRequest) GetRegionId ¶
func (r ExportMinutesTextToWordRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ExportMinutesTextToWordRequest) SetTaskId ¶
func (r *ExportMinutesTextToWordRequest) SetTaskId(taskId string)
param taskId: 任务ID(Required)
type ExportMinutesTextToWordResponse ¶
type ExportMinutesTextToWordResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ExportMinutesTextToWordResult `json:"result"`
}
type GenTaskCodeListRequest ¶
type GenTaskCodeListRequest struct {
core.JDCloudRequest
/* genNum (Optional) */
GenNum *int `json:"genNum"`
}
func NewGenTaskCodeListRequest ¶
func NewGenTaskCodeListRequest() *GenTaskCodeListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewGenTaskCodeListRequestWithAllParams ¶
func NewGenTaskCodeListRequestWithAllParams( genNum *int, ) *GenTaskCodeListRequest
* param genNum: genNum (Optional)
func NewGenTaskCodeListRequestWithoutParam ¶
func NewGenTaskCodeListRequestWithoutParam() *GenTaskCodeListRequest
This constructor has better compatible ability when API parameters changed
func (GenTaskCodeListRequest) GetRegionId ¶
func (r GenTaskCodeListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GenTaskCodeListRequest) SetGenNum ¶
func (r *GenTaskCodeListRequest) SetGenNum(genNum int)
param genNum: genNum(Optional)
type GenTaskCodeListResponse ¶
type GenTaskCodeListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GenTaskCodeListResult `json:"result"`
}
type GenTaskCodeListResult ¶
type GenTaskCodeListResult struct {
Codes []int64 `json:"codes"`
}
type GetImageStyleRequest ¶
type GetImageStyleRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
/* 图片样式id */
Id int `json:"id"`
}
func NewGetImageStyleRequest ¶
func NewGetImageStyleRequest( regionId string, bucketName string, id int, ) *GetImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param id: 图片样式id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetImageStyleRequestWithAllParams ¶
func NewGetImageStyleRequestWithAllParams( regionId string, bucketName string, id int, ) *GetImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param id: 图片样式id (Required)
func NewGetImageStyleRequestWithoutParam ¶
func NewGetImageStyleRequestWithoutParam() *GetImageStyleRequest
This constructor has better compatible ability when API parameters changed
func (GetImageStyleRequest) GetRegionId ¶
func (r GetImageStyleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetImageStyleRequest) SetBucketName ¶
func (r *GetImageStyleRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*GetImageStyleRequest) SetId ¶
func (r *GetImageStyleRequest) SetId(id int)
param id: 图片样式id(Required)
func (*GetImageStyleRequest) SetRegionId ¶
func (r *GetImageStyleRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type GetImageStyleResponse ¶
type GetImageStyleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetImageStyleResult `json:"result"`
}
type GetImageStyleResult ¶
type GetImageStyleResult struct {
Id int64 `json:"id"`
UserId string `json:"userId"`
StyleName string `json:"styleName"`
Params string `json:"params"`
ParamAlias string `json:"paramAlias"`
RegionId string `json:"regionId"`
BucketName string `json:"bucketName"`
Status int `json:"status"`
ModifyTime string `json:"modifyTime"`
CreatedTime string `json:"createdTime"`
}
type GetNotificationRequest ¶
type GetNotificationRequest struct {
core.JDCloudRequest
/* region id */
RegionId string `json:"regionId"`
}
func NewGetNotificationRequest ¶
func NewGetNotificationRequest( regionId string, ) *GetNotificationRequest
* param regionId: region id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetNotificationRequestWithAllParams ¶ added in v1.7.0
func NewGetNotificationRequestWithAllParams( regionId string, ) *GetNotificationRequest
* param regionId: region id (Required)
func NewGetNotificationRequestWithoutParam ¶ added in v1.7.0
func NewGetNotificationRequestWithoutParam() *GetNotificationRequest
This constructor has better compatible ability when API parameters changed
func (GetNotificationRequest) GetRegionId ¶
func (r GetNotificationRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetNotificationRequest) SetRegionId ¶
func (r *GetNotificationRequest) SetRegionId(regionId string)
param regionId: region id(Required)
type GetNotificationResponse ¶
type GetNotificationResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetNotificationResult `json:"result"`
}
type GetNotificationResult ¶
type GetSnapshotTaskRequest ¶
type GetSnapshotTaskRequest struct {
core.JDCloudRequest
/* 任务ID,路径参数 */
TaskId string `json:"taskId"`
}
func NewGetSnapshotTaskRequest ¶
func NewGetSnapshotTaskRequest( taskId string, ) *GetSnapshotTaskRequest
* param taskId: 任务ID,路径参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSnapshotTaskRequestWithAllParams ¶
func NewGetSnapshotTaskRequestWithAllParams( taskId string, ) *GetSnapshotTaskRequest
* param taskId: 任务ID,路径参数 (Required)
func NewGetSnapshotTaskRequestWithoutParam ¶
func NewGetSnapshotTaskRequestWithoutParam() *GetSnapshotTaskRequest
This constructor has better compatible ability when API parameters changed
func (GetSnapshotTaskRequest) GetRegionId ¶
func (r GetSnapshotTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSnapshotTaskRequest) SetTaskId ¶
func (r *GetSnapshotTaskRequest) SetTaskId(taskId string)
param taskId: 任务ID,路径参数(Required)
type GetSnapshotTaskResponse ¶
type GetSnapshotTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetSnapshotTaskResult `json:"result"`
}
type GetSnapshotTaskResult ¶
type GetSnapshotTaskResult struct {
TaskId string `json:"taskId"`
StartTime int `json:"startTime"`
FrameType string `json:"frameType"`
Format string `json:"format"`
Number int `json:"number"`
Interval int `json:"interval"`
Width int `json:"width"`
Height int `json:"height"`
FillType string `json:"fillType"`
Input mps.Input `json:"input"`
Output mps.Output `json:"output"`
SpriteConfig mps.SpriteConfig `json:"spriteConfig"`
SpriteOutput mps.Output `json:"spriteOutput"`
Status string `json:"status"`
CreateTime string `json:"createTime"`
FinishTime string `json:"finishTime"`
}
type GetSnapshotTemplateRequest ¶
type GetSnapshotTemplateRequest struct {
core.JDCloudRequest
/* 模板ID */
TemplateId string `json:"templateId"`
}
func NewGetSnapshotTemplateRequest ¶
func NewGetSnapshotTemplateRequest( templateId string, ) *GetSnapshotTemplateRequest
* param templateId: 模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSnapshotTemplateRequestWithAllParams ¶
func NewGetSnapshotTemplateRequestWithAllParams( templateId string, ) *GetSnapshotTemplateRequest
* param templateId: 模板ID (Required)
func NewGetSnapshotTemplateRequestWithoutParam ¶
func NewGetSnapshotTemplateRequestWithoutParam() *GetSnapshotTemplateRequest
This constructor has better compatible ability when API parameters changed
func (GetSnapshotTemplateRequest) GetRegionId ¶
func (r GetSnapshotTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSnapshotTemplateRequest) SetTemplateId ¶
func (r *GetSnapshotTemplateRequest) SetTemplateId(templateId string)
param templateId: 模板ID(Required)
type GetSnapshotTemplateResponse ¶
type GetSnapshotTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetSnapshotTemplateResult `json:"result"`
}
type GetSnapshotTemplateResult ¶
type GetSnapshotTemplateResult struct {
TemplateId string `json:"templateId"`
Title string `json:"title"`
StartTime int `json:"startTime"`
FrameType string `json:"frameType"`
Format string `json:"format"`
Number int `json:"number"`
Interval int `json:"interval"`
Width int `json:"width"`
Height int `json:"height"`
FillType string `json:"fillType"`
SpriteConfig mps.SpriteConfig `json:"spriteConfig"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
ConfigData string `json:"configData"`
}
type GetStyleDelimiterRequest ¶ added in v1.7.0
type GetStyleDelimiterRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
}
func NewGetStyleDelimiterRequest ¶ added in v1.7.0
func NewGetStyleDelimiterRequest( regionId string, bucketName string, ) *GetStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetStyleDelimiterRequestWithAllParams ¶ added in v1.7.0
func NewGetStyleDelimiterRequestWithAllParams( regionId string, bucketName string, ) *GetStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required)
func NewGetStyleDelimiterRequestWithoutParam ¶ added in v1.7.0
func NewGetStyleDelimiterRequestWithoutParam() *GetStyleDelimiterRequest
This constructor has better compatible ability when API parameters changed
func (GetStyleDelimiterRequest) GetRegionId ¶ added in v1.7.0
func (r GetStyleDelimiterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetStyleDelimiterRequest) SetBucketName ¶ added in v1.7.0
func (r *GetStyleDelimiterRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*GetStyleDelimiterRequest) SetRegionId ¶ added in v1.7.0
func (r *GetStyleDelimiterRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type GetStyleDelimiterResponse ¶ added in v1.7.0
type GetStyleDelimiterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetStyleDelimiterResult `json:"result"`
}
type GetStyleDelimiterResult ¶ added in v1.7.0
type GetStyleDelimiterResult struct {
Delimiters []string `json:"delimiters"`
}
type GetThumbnailTaskRequest ¶
type GetThumbnailTaskRequest struct {
core.JDCloudRequest
/* region id */
RegionId string `json:"regionId"`
/* task id */
TaskId string `json:"taskId"`
}
func NewGetThumbnailTaskRequest ¶
func NewGetThumbnailTaskRequest( regionId string, taskId string, ) *GetThumbnailTaskRequest
* param regionId: region id (Required) * param taskId: task id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetThumbnailTaskRequestWithAllParams ¶ added in v1.7.0
func NewGetThumbnailTaskRequestWithAllParams( regionId string, taskId string, ) *GetThumbnailTaskRequest
* param regionId: region id (Required) * param taskId: task id (Required)
func NewGetThumbnailTaskRequestWithoutParam ¶ added in v1.7.0
func NewGetThumbnailTaskRequestWithoutParam() *GetThumbnailTaskRequest
This constructor has better compatible ability when API parameters changed
func (GetThumbnailTaskRequest) GetRegionId ¶
func (r GetThumbnailTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetThumbnailTaskRequest) SetRegionId ¶
func (r *GetThumbnailTaskRequest) SetRegionId(regionId string)
param regionId: region id(Required)
func (*GetThumbnailTaskRequest) SetTaskId ¶
func (r *GetThumbnailTaskRequest) SetTaskId(taskId string)
param taskId: task id(Required)
type GetThumbnailTaskResponse ¶
type GetThumbnailTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetThumbnailTaskResult `json:"result"`
}
type GetThumbnailTaskResult ¶
type GetThumbnailTaskResult struct {
TaskID string `json:"taskID"`
Status string `json:"status"`
ErrorCode int `json:"errorCode"`
CreatedTime string `json:"createdTime"`
LastUpdatedTime string `json:"lastUpdatedTime"`
Source mps.ThumbnailTaskSource `json:"source"`
Target mps.ThumbnailTaskTarget `json:"target"`
Rule mps.ThumbnailTaskRule `json:"rule"`
}
type GetTranscodeJobRequest ¶
type GetTranscodeJobRequest struct {
core.JDCloudRequest
/* 转码作业ID */
JobId string `json:"jobId"`
}
func NewGetTranscodeJobRequest ¶
func NewGetTranscodeJobRequest( jobId string, ) *GetTranscodeJobRequest
* param jobId: 转码作业ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetTranscodeJobRequestWithAllParams ¶
func NewGetTranscodeJobRequestWithAllParams( jobId string, ) *GetTranscodeJobRequest
* param jobId: 转码作业ID (Required)
func NewGetTranscodeJobRequestWithoutParam ¶
func NewGetTranscodeJobRequestWithoutParam() *GetTranscodeJobRequest
This constructor has better compatible ability when API parameters changed
func (GetTranscodeJobRequest) GetRegionId ¶
func (r GetTranscodeJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetTranscodeJobRequest) SetJobId ¶
func (r *GetTranscodeJobRequest) SetJobId(jobId string)
param jobId: 转码作业ID(Required)
type GetTranscodeJobResponse ¶
type GetTranscodeJobResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetTranscodeJobResult `json:"result"`
}
type GetTranscodeJobResult ¶
type GetTranscodeJobResult struct {
JobId string `json:"jobId"`
Title string `json:"title"`
Tasks []mps.TranscodeTaskInfo `json:"tasks"`
}
type GetTranscodeTemplateRequest ¶
type GetTranscodeTemplateRequest struct {
core.JDCloudRequest
/* 模板ID */
TemplateId int `json:"templateId"`
}
func NewGetTranscodeTemplateRequest ¶
func NewGetTranscodeTemplateRequest( templateId int, ) *GetTranscodeTemplateRequest
* param templateId: 模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetTranscodeTemplateRequestWithAllParams ¶
func NewGetTranscodeTemplateRequestWithAllParams( templateId int, ) *GetTranscodeTemplateRequest
* param templateId: 模板ID (Required)
func NewGetTranscodeTemplateRequestWithoutParam ¶
func NewGetTranscodeTemplateRequestWithoutParam() *GetTranscodeTemplateRequest
This constructor has better compatible ability when API parameters changed
func (GetTranscodeTemplateRequest) GetRegionId ¶
func (r GetTranscodeTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetTranscodeTemplateRequest) SetTemplateId ¶
func (r *GetTranscodeTemplateRequest) SetTemplateId(templateId int)
param templateId: 模板ID(Required)
type GetTranscodeTemplateResponse ¶
type GetTranscodeTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetTranscodeTemplateResult `json:"result"`
}
type GetTranscodeTemplateResult ¶
type GetTranscodeTemplateResult struct {
TemplateId string `json:"templateId"`
Title string `json:"title"`
Video mps.VideoStreamSettings `json:"video"`
Audio mps.AudioStreamSettings `json:"audio"`
Container mps.ContainerSettings `json:"container"`
Encryption mps.EncryptionSettings `json:"encryption"`
Definition string `json:"definition"`
TranscodeType string `json:"transcodeType"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type GetVeditProjectRequest ¶
type GetVeditProjectRequest struct {
core.JDCloudRequest
/* 视频剪辑工程ID */
ProjectId int `json:"projectId"`
}
func NewGetVeditProjectRequest ¶
func NewGetVeditProjectRequest( projectId int, ) *GetVeditProjectRequest
* param projectId: 视频剪辑工程ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetVeditProjectRequestWithAllParams ¶
func NewGetVeditProjectRequestWithAllParams( projectId int, ) *GetVeditProjectRequest
* param projectId: 视频剪辑工程ID (Required)
func NewGetVeditProjectRequestWithoutParam ¶
func NewGetVeditProjectRequestWithoutParam() *GetVeditProjectRequest
This constructor has better compatible ability when API parameters changed
func (GetVeditProjectRequest) GetRegionId ¶
func (r GetVeditProjectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetVeditProjectRequest) SetProjectId ¶
func (r *GetVeditProjectRequest) SetProjectId(projectId int)
param projectId: 视频剪辑工程ID(Required)
type GetVeditProjectResponse ¶
type GetVeditProjectResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetVeditProjectResult `json:"result"`
}
type GetVeditProjectResult ¶
type GetWatermarkTemplateRequest ¶
type GetWatermarkTemplateRequest struct {
core.JDCloudRequest
/* 水印模板ID */
TemplateId string `json:"templateId"`
}
func NewGetWatermarkTemplateRequest ¶
func NewGetWatermarkTemplateRequest( templateId string, ) *GetWatermarkTemplateRequest
* param templateId: 水印模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetWatermarkTemplateRequestWithAllParams ¶
func NewGetWatermarkTemplateRequestWithAllParams( templateId string, ) *GetWatermarkTemplateRequest
* param templateId: 水印模板ID (Required)
func NewGetWatermarkTemplateRequestWithoutParam ¶
func NewGetWatermarkTemplateRequestWithoutParam() *GetWatermarkTemplateRequest
This constructor has better compatible ability when API parameters changed
func (GetWatermarkTemplateRequest) GetRegionId ¶
func (r GetWatermarkTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetWatermarkTemplateRequest) SetTemplateId ¶
func (r *GetWatermarkTemplateRequest) SetTemplateId(templateId string)
param templateId: 水印模板ID(Required)
type GetWatermarkTemplateResponse ¶
type GetWatermarkTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetWatermarkTemplateResult `json:"result"`
}
type GetWatermarkTemplateResult ¶
type GetWatermarkTemplateResult struct {
WatermarkId string `json:"watermarkId"`
UserPin string `json:"userPin"`
Name string `json:"name"`
Type string `json:"type_"`
ImageUrl string `json:"imageUrl"`
Text string `json:"text"`
FontFile string `json:"fontFile"`
FontSize int `json:"fontSize"`
FontColor string `json:"fontColor"`
FontOpacity int `json:"fontOpacity"`
Position string `json:"position"`
OffsetX int `json:"offsetX"`
OffsetY int `json:"offsetY"`
Width int `json:"width"`
Height int `json:"height"`
WidthRef string `json:"widthRef"`
HeightRef string `json:"heightRef"`
SizeUnit string `json:"sizeUnit"`
OffsetUnit string `json:"offsetUnit"`
Rotation int `json:"rotation"`
Shadow int `json:"shadow"`
ShadowColor string `json:"shadowColor"`
Tile bool `json:"tile"`
TileSpacing int `json:"tileSpacing"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type ImportKnowledgeByASRTaskRequest ¶
type ImportKnowledgeByASRTaskRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewImportKnowledgeByASRTaskRequest ¶
func NewImportKnowledgeByASRTaskRequest( taskId string, ) *ImportKnowledgeByASRTaskRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewImportKnowledgeByASRTaskRequestWithAllParams ¶
func NewImportKnowledgeByASRTaskRequestWithAllParams( taskId string, ) *ImportKnowledgeByASRTaskRequest
* param taskId: 任务唯一标识 (Required)
func NewImportKnowledgeByASRTaskRequestWithoutParam ¶
func NewImportKnowledgeByASRTaskRequestWithoutParam() *ImportKnowledgeByASRTaskRequest
This constructor has better compatible ability when API parameters changed
func (ImportKnowledgeByASRTaskRequest) GetRegionId ¶
func (r ImportKnowledgeByASRTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ImportKnowledgeByASRTaskRequest) SetTaskId ¶
func (r *ImportKnowledgeByASRTaskRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type ImportKnowledgeByASRTaskResponse ¶
type ImportKnowledgeByASRTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ImportKnowledgeByASRTaskResult `json:"result"`
}
type ImportKnowledgeByASRTaskResult ¶
type ImportKnowledgeByASRTaskResult struct {
}
type ListImageStyleRequest ¶
type ListImageStyleRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
/* 按样式名称查询 (Optional) */
StyleName *string `json:"styleName"`
/* 数据页码 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 每页数据的条数 (Optional) */
PageSize *int `json:"pageSize"`
}
func NewListImageStyleRequest ¶
func NewListImageStyleRequest( regionId string, bucketName string, ) *ListImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewListImageStyleRequestWithAllParams ¶
func NewListImageStyleRequestWithAllParams( regionId string, bucketName string, styleName *string, pageNumber *int, pageSize *int, ) *ListImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param styleName: 按样式名称查询 (Optional) * param pageNumber: 数据页码 (Optional) * param pageSize: 每页数据的条数 (Optional)
func NewListImageStyleRequestWithoutParam ¶
func NewListImageStyleRequestWithoutParam() *ListImageStyleRequest
This constructor has better compatible ability when API parameters changed
func (ListImageStyleRequest) GetRegionId ¶
func (r ListImageStyleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListImageStyleRequest) SetBucketName ¶
func (r *ListImageStyleRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*ListImageStyleRequest) SetPageNumber ¶
func (r *ListImageStyleRequest) SetPageNumber(pageNumber int)
param pageNumber: 数据页码(Optional)
func (*ListImageStyleRequest) SetPageSize ¶
func (r *ListImageStyleRequest) SetPageSize(pageSize int)
param pageSize: 每页数据的条数(Optional)
func (*ListImageStyleRequest) SetRegionId ¶
func (r *ListImageStyleRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
func (*ListImageStyleRequest) SetStyleName ¶
func (r *ListImageStyleRequest) SetStyleName(styleName string)
param styleName: 按样式名称查询(Optional)
type ListImageStyleResponse ¶
type ListImageStyleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ListImageStyleResult `json:"result"`
}
type ListImageStyleResult ¶
type ListImageStyleResult struct {
StyleName string `json:"styleName"`
PageNumber int `json:"pageNumber"`
PageSize int `json:"pageSize"`
ImageStyleList []mps.ImageStyle `json:"imageStyleList"`
}
type ListSnapshotTasksRequest ¶
type ListSnapshotTasksRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewListSnapshotTasksRequest ¶
func NewListSnapshotTasksRequest() *ListSnapshotTasksRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListSnapshotTasksRequestWithAllParams ¶
func NewListSnapshotTasksRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *ListSnapshotTasksRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewListSnapshotTasksRequestWithoutParam ¶
func NewListSnapshotTasksRequestWithoutParam() *ListSnapshotTasksRequest
This constructor has better compatible ability when API parameters changed
func (ListSnapshotTasksRequest) GetRegionId ¶
func (r ListSnapshotTasksRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSnapshotTasksRequest) SetFilters ¶
func (r *ListSnapshotTasksRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*ListSnapshotTasksRequest) SetPageNumber ¶
func (r *ListSnapshotTasksRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*ListSnapshotTasksRequest) SetPageSize ¶
func (r *ListSnapshotTasksRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type ListSnapshotTasksResponse ¶
type ListSnapshotTasksResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ListSnapshotTasksResult `json:"result"`
}
type ListSnapshotTasksResult ¶
type ListSnapshotTemplatesRequest ¶
type ListSnapshotTemplatesRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewListSnapshotTemplatesRequest ¶
func NewListSnapshotTemplatesRequest() *ListSnapshotTemplatesRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListSnapshotTemplatesRequestWithAllParams ¶
func NewListSnapshotTemplatesRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *ListSnapshotTemplatesRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewListSnapshotTemplatesRequestWithoutParam ¶
func NewListSnapshotTemplatesRequestWithoutParam() *ListSnapshotTemplatesRequest
This constructor has better compatible ability when API parameters changed
func (ListSnapshotTemplatesRequest) GetRegionId ¶
func (r ListSnapshotTemplatesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSnapshotTemplatesRequest) SetFilters ¶
func (r *ListSnapshotTemplatesRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*ListSnapshotTemplatesRequest) SetPageNumber ¶
func (r *ListSnapshotTemplatesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*ListSnapshotTemplatesRequest) SetPageSize ¶
func (r *ListSnapshotTemplatesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type ListSnapshotTemplatesResponse ¶
type ListSnapshotTemplatesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ListSnapshotTemplatesResult `json:"result"`
}
type ListThumbnailTaskRequest ¶
type ListThumbnailTaskRequest struct {
core.JDCloudRequest
/* region id */
RegionId string `json:"regionId"`
/* task 状态 (PENDING, RUNNING, SUCCESS, FAILED) (Optional) */
Status *string `json:"status"`
/* 开始时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z' (Optional) */
Begin *string `json:"begin"`
/* 结束时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z' (Optional) */
End *string `json:"end"`
/* 查询标记 (Optional) */
Marker *string `json:"marker"`
/* 查询记录数 [1, 1000] (Optional) */
Limit *int `json:"limit"`
}
func NewListThumbnailTaskRequest ¶
func NewListThumbnailTaskRequest( regionId string, ) *ListThumbnailTaskRequest
* param regionId: region id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewListThumbnailTaskRequestWithAllParams ¶ added in v1.7.0
func NewListThumbnailTaskRequestWithAllParams( regionId string, status *string, begin *string, end *string, marker *string, limit *int, ) *ListThumbnailTaskRequest
* param regionId: region id (Required) * param status: task 状态 (PENDING, RUNNING, SUCCESS, FAILED) (Optional) * param begin: 开始时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z' (Optional) * param end: 结束时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z' (Optional) * param marker: 查询标记 (Optional) * param limit: 查询记录数 [1, 1000] (Optional)
func NewListThumbnailTaskRequestWithoutParam ¶ added in v1.7.0
func NewListThumbnailTaskRequestWithoutParam() *ListThumbnailTaskRequest
This constructor has better compatible ability when API parameters changed
func (ListThumbnailTaskRequest) GetRegionId ¶
func (r ListThumbnailTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListThumbnailTaskRequest) SetBegin ¶
func (r *ListThumbnailTaskRequest) SetBegin(begin string)
param begin: 开始时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z'(Optional)
func (*ListThumbnailTaskRequest) SetEnd ¶
func (r *ListThumbnailTaskRequest) SetEnd(end string)
param end: 结束时间 时间格式(GMT): yyyy-MM-dd'T'HH:mm:ss.SSS'Z'(Optional)
func (*ListThumbnailTaskRequest) SetLimit ¶
func (r *ListThumbnailTaskRequest) SetLimit(limit int)
param limit: 查询记录数 [1, 1000](Optional)
func (*ListThumbnailTaskRequest) SetMarker ¶
func (r *ListThumbnailTaskRequest) SetMarker(marker string)
param marker: 查询标记(Optional)
func (*ListThumbnailTaskRequest) SetRegionId ¶
func (r *ListThumbnailTaskRequest) SetRegionId(regionId string)
param regionId: region id(Required)
func (*ListThumbnailTaskRequest) SetStatus ¶
func (r *ListThumbnailTaskRequest) SetStatus(status string)
param status: task 状态 (PENDING, RUNNING, SUCCESS, FAILED)(Optional)
type ListThumbnailTaskResponse ¶
type ListThumbnailTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ListThumbnailTaskResult `json:"result"`
}
type ListThumbnailTaskResult ¶
type ListTranscodeJobsRequest ¶
type ListTranscodeJobsRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewListTranscodeJobsRequest ¶
func NewListTranscodeJobsRequest() *ListTranscodeJobsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListTranscodeJobsRequestWithAllParams ¶
func NewListTranscodeJobsRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *ListTranscodeJobsRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewListTranscodeJobsRequestWithoutParam ¶
func NewListTranscodeJobsRequestWithoutParam() *ListTranscodeJobsRequest
This constructor has better compatible ability when API parameters changed
func (ListTranscodeJobsRequest) GetRegionId ¶
func (r ListTranscodeJobsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListTranscodeJobsRequest) SetFilters ¶
func (r *ListTranscodeJobsRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*ListTranscodeJobsRequest) SetPageNumber ¶
func (r *ListTranscodeJobsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*ListTranscodeJobsRequest) SetPageSize ¶
func (r *ListTranscodeJobsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type ListTranscodeJobsResponse ¶
type ListTranscodeJobsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ListTranscodeJobsResult `json:"result"`
}
type ListTranscodeJobsResult ¶
type ListTranscodeTemplatesRequest ¶
type ListTranscodeTemplatesRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewListTranscodeTemplatesRequest ¶
func NewListTranscodeTemplatesRequest() *ListTranscodeTemplatesRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListTranscodeTemplatesRequestWithAllParams ¶
func NewListTranscodeTemplatesRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *ListTranscodeTemplatesRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewListTranscodeTemplatesRequestWithoutParam ¶
func NewListTranscodeTemplatesRequestWithoutParam() *ListTranscodeTemplatesRequest
This constructor has better compatible ability when API parameters changed
func (ListTranscodeTemplatesRequest) GetRegionId ¶
func (r ListTranscodeTemplatesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListTranscodeTemplatesRequest) SetFilters ¶
func (r *ListTranscodeTemplatesRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*ListTranscodeTemplatesRequest) SetPageNumber ¶
func (r *ListTranscodeTemplatesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*ListTranscodeTemplatesRequest) SetPageSize ¶
func (r *ListTranscodeTemplatesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type ListTranscodeTemplatesResponse ¶
type ListTranscodeTemplatesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ListTranscodeTemplatesResult `json:"result"`
}
type ListVeditProjectsRequest ¶
type ListVeditProjectsRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewListVeditProjectsRequest ¶
func NewListVeditProjectsRequest() *ListVeditProjectsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListVeditProjectsRequestWithAllParams ¶
func NewListVeditProjectsRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *ListVeditProjectsRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewListVeditProjectsRequestWithoutParam ¶
func NewListVeditProjectsRequestWithoutParam() *ListVeditProjectsRequest
This constructor has better compatible ability when API parameters changed
func (ListVeditProjectsRequest) GetRegionId ¶
func (r ListVeditProjectsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListVeditProjectsRequest) SetFilters ¶
func (r *ListVeditProjectsRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*ListVeditProjectsRequest) SetPageNumber ¶
func (r *ListVeditProjectsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*ListVeditProjectsRequest) SetPageSize ¶
func (r *ListVeditProjectsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type ListVeditProjectsResponse ¶
type ListVeditProjectsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ListVeditProjectsResult `json:"result"`
}
type ListVeditProjectsResult ¶
type ListWatermarkTemplatesRequest ¶
type ListWatermarkTemplatesRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* (Optional) */
Filters []mps.Filter `json:"filters"`
}
func NewListWatermarkTemplatesRequest ¶
func NewListWatermarkTemplatesRequest() *ListWatermarkTemplatesRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListWatermarkTemplatesRequestWithAllParams ¶
func NewListWatermarkTemplatesRequestWithAllParams( pageNumber *int, pageSize *int, filters []mps.Filter, ) *ListWatermarkTemplatesRequest
* param pageNumber: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional) * param filters: (Optional)
func NewListWatermarkTemplatesRequestWithoutParam ¶
func NewListWatermarkTemplatesRequestWithoutParam() *ListWatermarkTemplatesRequest
This constructor has better compatible ability when API parameters changed
func (ListWatermarkTemplatesRequest) GetRegionId ¶
func (r ListWatermarkTemplatesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListWatermarkTemplatesRequest) SetFilters ¶
func (r *ListWatermarkTemplatesRequest) SetFilters(filters []mps.Filter)
param filters: (Optional)
func (*ListWatermarkTemplatesRequest) SetPageNumber ¶
func (r *ListWatermarkTemplatesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认值为 1(Optional)
func (*ListWatermarkTemplatesRequest) SetPageSize ¶
func (r *ListWatermarkTemplatesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type ListWatermarkTemplatesResponse ¶
type ListWatermarkTemplatesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ListWatermarkTemplatesResult `json:"result"`
}
type ModifySnapshotTemplateRequest ¶
type ModifySnapshotTemplateRequest struct {
core.JDCloudRequest
/* 模板ID */
TemplateId string `json:"templateId"`
/* 模板标题。长度不超过 128 个字节。UTF-8 编码。 (Optional) */
Title *string `json:"title"`
/* 截图起始时间,单位为秒,缺省值为 0 (Optional) */
StartTime *int `json:"startTime"`
/* 截图帧类型。取值范围:normal、intra (Optional) */
FrameType *string `json:"frameType"`
/* 截图格式。取值范围:jpg、png (Optional) */
Format *string `json:"format"`
/* 截图数量,缺省值为 10 (Optional) */
Number *int `json:"number"`
/* 截图间隔 (Optional) */
Interval *int `json:"interval"`
/* 截图宽度,取值范围:[8, 4096]
(Optional) */
Width *int `json:"width"`
/* 截图高度,取值范围:[8, 4096]
(Optional) */
Height *int `json:"height"`
/* 填充方式,当视频宽高与截图宽高指定值不能匹配时的填充处理方式。取值范围:
stretch - 伸缩
black - 留黑
white - 留白
gauss - 高斯模糊
缺省值为 black
(Optional) */
FillType *string `json:"fillType"`
/* 雪碧图配置 (Optional) */
SpriteConfig *mps.SpriteConfig `json:"spriteConfig"`
/* 配置数据,JSON格式的字符串。
sampleConfig.pageCallbackCount 可配置 普通截图 每次回调结果中,截图个数。默认 10。
spriteConfig.pageCallbackCount 可配置 雪碧图 每次回调结果中,截图个数。 默认 1。
如 {\"sampleConfig\":{\"pageCallbackCount\":10},\"spriteConfig\":{\"pageCallbackCount\":1}}
(Optional) */
ConfigData *string `json:"configData"`
}
func NewModifySnapshotTemplateRequest ¶
func NewModifySnapshotTemplateRequest( templateId string, ) *ModifySnapshotTemplateRequest
* param templateId: 模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifySnapshotTemplateRequestWithAllParams ¶
func NewModifySnapshotTemplateRequestWithAllParams( templateId string, title *string, startTime *int, frameType *string, format *string, number *int, interval *int, width *int, height *int, fillType *string, spriteConfig *mps.SpriteConfig, configData *string, ) *ModifySnapshotTemplateRequest
- param templateId: 模板ID (Required)
- param title: 模板标题。长度不超过 128 个字节。UTF-8 编码。 (Optional)
- param startTime: 截图起始时间,单位为秒,缺省值为 0 (Optional)
- param frameType: 截图帧类型。取值范围:normal、intra (Optional)
- param format: 截图格式。取值范围:jpg、png (Optional)
- param number: 截图数量,缺省值为 10 (Optional)
- param interval: 截图间隔 (Optional)
- param width: 截图宽度,取值范围:[8, 4096] (Optional)
- param height: 截图高度,取值范围:[8, 4096] (Optional)
- param fillType: 填充方式,当视频宽高与截图宽高指定值不能匹配时的填充处理方式。取值范围: stretch - 伸缩 black - 留黑 white - 留白 gauss - 高斯模糊
缺省值为 black
(Optional) * param spriteConfig: 雪碧图配置 (Optional) * param configData: 配置数据,JSON格式的字符串。
sampleConfig.pageCallbackCount 可配置 普通截图 每次回调结果中,截图个数。默认 10。 spriteConfig.pageCallbackCount 可配置 雪碧图 每次回调结果中,截图个数。 默认 1。 如 {\"sampleConfig\":{\"pageCallbackCount\":10},\"spriteConfig\":{\"pageCallbackCount\":1}}
(Optional)
func NewModifySnapshotTemplateRequestWithoutParam ¶
func NewModifySnapshotTemplateRequestWithoutParam() *ModifySnapshotTemplateRequest
This constructor has better compatible ability when API parameters changed
func (ModifySnapshotTemplateRequest) GetRegionId ¶
func (r ModifySnapshotTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifySnapshotTemplateRequest) SetConfigData ¶
func (r *ModifySnapshotTemplateRequest) SetConfigData(configData string)
param configData: 配置数据,JSON格式的字符串。
sampleConfig.pageCallbackCount 可配置 普通截图 每次回调结果中,截图个数。默认 10。 spriteConfig.pageCallbackCount 可配置 雪碧图 每次回调结果中,截图个数。 默认 1。 如 {\"sampleConfig\":{\"pageCallbackCount\":10},\"spriteConfig\":{\"pageCallbackCount\":1}} (Optional)
func (*ModifySnapshotTemplateRequest) SetFillType ¶
func (r *ModifySnapshotTemplateRequest) SetFillType(fillType string)
param fillType: 填充方式,当视频宽高与截图宽高指定值不能匹配时的填充处理方式。取值范围: stretch - 伸缩 black - 留黑 white - 留白 gauss - 高斯模糊
缺省值为 black (Optional)
func (*ModifySnapshotTemplateRequest) SetFormat ¶
func (r *ModifySnapshotTemplateRequest) SetFormat(format string)
param format: 截图格式。取值范围:jpg、png(Optional)
func (*ModifySnapshotTemplateRequest) SetFrameType ¶
func (r *ModifySnapshotTemplateRequest) SetFrameType(frameType string)
param frameType: 截图帧类型。取值范围:normal、intra(Optional)
func (*ModifySnapshotTemplateRequest) SetHeight ¶
func (r *ModifySnapshotTemplateRequest) SetHeight(height int)
param height: 截图高度,取值范围:[8, 4096]
(Optional)
func (*ModifySnapshotTemplateRequest) SetInterval ¶
func (r *ModifySnapshotTemplateRequest) SetInterval(interval int)
param interval: 截图间隔(Optional)
func (*ModifySnapshotTemplateRequest) SetNumber ¶
func (r *ModifySnapshotTemplateRequest) SetNumber(number int)
param number: 截图数量,缺省值为 10(Optional)
func (*ModifySnapshotTemplateRequest) SetSpriteConfig ¶
func (r *ModifySnapshotTemplateRequest) SetSpriteConfig(spriteConfig *mps.SpriteConfig)
param spriteConfig: 雪碧图配置(Optional)
func (*ModifySnapshotTemplateRequest) SetStartTime ¶
func (r *ModifySnapshotTemplateRequest) SetStartTime(startTime int)
param startTime: 截图起始时间,单位为秒,缺省值为 0(Optional)
func (*ModifySnapshotTemplateRequest) SetTemplateId ¶
func (r *ModifySnapshotTemplateRequest) SetTemplateId(templateId string)
param templateId: 模板ID(Required)
func (*ModifySnapshotTemplateRequest) SetTitle ¶
func (r *ModifySnapshotTemplateRequest) SetTitle(title string)
param title: 模板标题。长度不超过 128 个字节。UTF-8 编码。(Optional)
func (*ModifySnapshotTemplateRequest) SetWidth ¶
func (r *ModifySnapshotTemplateRequest) SetWidth(width int)
param width: 截图宽度,取值范围:[8, 4096]
(Optional)
type ModifySnapshotTemplateResponse ¶
type ModifySnapshotTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ModifySnapshotTemplateResult `json:"result"`
}
type ModifySnapshotTemplateResult ¶
type ModifySnapshotTemplateResult struct {
TemplateId string `json:"templateId"`
Title string `json:"title"`
StartTime int `json:"startTime"`
FrameType string `json:"frameType"`
Format string `json:"format"`
Number int `json:"number"`
Interval int `json:"interval"`
Width int `json:"width"`
Height int `json:"height"`
FillType string `json:"fillType"`
SpriteConfig mps.SpriteConfig `json:"spriteConfig"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
ConfigData string `json:"configData"`
}
type ModifyTranscodeTemplateRequest ¶
type ModifyTranscodeTemplateRequest struct {
core.JDCloudRequest
/* 模板ID */
TemplateId int `json:"templateId"`
/* 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。
(Optional) */
Title *string `json:"title"`
/* 视频参数配置 (Optional) */
Video *mps.VideoStreamSettings `json:"video"`
/* 音频参数配置 (Optional) */
Audio *mps.AudioStreamSettings `json:"audio"`
/* 封装容器配置 (Optional) */
Container *mps.ContainerSettings `json:"container"`
/* 加密配置 (Optional) */
Encryption *mps.EncryptionSettings `json:"encryption"`
/* 清晰度规格标记。取值范围:
SD - 标清
HD - 高清
FHD - 超清
2K
4K
(Optional) */
Definition *string `json:"definition"`
/* 转码方式。取值范围:
normal - 普通转码
jdchd - 京享超清
jdchs - 极速转码
(Optional) */
TranscodeType *string `json:"transcodeType"`
}
func NewModifyTranscodeTemplateRequest ¶
func NewModifyTranscodeTemplateRequest( templateId int, ) *ModifyTranscodeTemplateRequest
* param templateId: 模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyTranscodeTemplateRequestWithAllParams ¶
func NewModifyTranscodeTemplateRequestWithAllParams( templateId int, title *string, video *mps.VideoStreamSettings, audio *mps.AudioStreamSettings, container *mps.ContainerSettings, encryption *mps.EncryptionSettings, definition *string, transcodeType *string, ) *ModifyTranscodeTemplateRequest
* param templateId: 模板ID (Required) * param title: 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。 (Optional)
- param video: 视频参数配置 (Optional)
- param audio: 音频参数配置 (Optional)
- param container: 封装容器配置 (Optional)
- param encryption: 加密配置 (Optional)
- param definition: 清晰度规格标记。取值范围: SD - 标清 HD - 高清 FHD - 超清 2K 4K
(Optional)
- param transcodeType: 转码方式。取值范围: normal - 普通转码 jdchd - 京享超清 jdchs - 极速转码
(Optional)
func NewModifyTranscodeTemplateRequestWithoutParam ¶
func NewModifyTranscodeTemplateRequestWithoutParam() *ModifyTranscodeTemplateRequest
This constructor has better compatible ability when API parameters changed
func (ModifyTranscodeTemplateRequest) GetRegionId ¶
func (r ModifyTranscodeTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyTranscodeTemplateRequest) SetAudio ¶
func (r *ModifyTranscodeTemplateRequest) SetAudio(audio *mps.AudioStreamSettings)
param audio: 音频参数配置(Optional)
func (*ModifyTranscodeTemplateRequest) SetContainer ¶
func (r *ModifyTranscodeTemplateRequest) SetContainer(container *mps.ContainerSettings)
param container: 封装容器配置(Optional)
func (*ModifyTranscodeTemplateRequest) SetDefinition ¶
func (r *ModifyTranscodeTemplateRequest) SetDefinition(definition string)
param definition: 清晰度规格标记。取值范围: SD - 标清 HD - 高清 FHD - 超清 2K 4K
(Optional)
func (*ModifyTranscodeTemplateRequest) SetEncryption ¶
func (r *ModifyTranscodeTemplateRequest) SetEncryption(encryption *mps.EncryptionSettings)
param encryption: 加密配置(Optional)
func (*ModifyTranscodeTemplateRequest) SetTemplateId ¶
func (r *ModifyTranscodeTemplateRequest) SetTemplateId(templateId int)
param templateId: 模板ID(Required)
func (*ModifyTranscodeTemplateRequest) SetTitle ¶
func (r *ModifyTranscodeTemplateRequest) SetTitle(title string)
param title: 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。
(Optional)
func (*ModifyTranscodeTemplateRequest) SetTranscodeType ¶
func (r *ModifyTranscodeTemplateRequest) SetTranscodeType(transcodeType string)
param transcodeType: 转码方式。取值范围: normal - 普通转码 jdchd - 京享超清 jdchs - 极速转码
(Optional)
func (*ModifyTranscodeTemplateRequest) SetVideo ¶
func (r *ModifyTranscodeTemplateRequest) SetVideo(video *mps.VideoStreamSettings)
param video: 视频参数配置(Optional)
type ModifyTranscodeTemplateResponse ¶
type ModifyTranscodeTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ModifyTranscodeTemplateResult `json:"result"`
}
type ModifyTranscodeTemplateResult ¶
type ModifyTranscodeTemplateResult struct {
TemplateId string `json:"templateId"`
Title string `json:"title"`
Video mps.VideoStreamSettings `json:"video"`
Audio mps.AudioStreamSettings `json:"audio"`
Container mps.ContainerSettings `json:"container"`
Encryption mps.EncryptionSettings `json:"encryption"`
Definition string `json:"definition"`
TranscodeType string `json:"transcodeType"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type QueryCallbackSettingsRequest ¶
type QueryCallbackSettingsRequest struct {
core.JDCloudRequest
}
func NewQueryCallbackSettingsRequest ¶
func NewQueryCallbackSettingsRequest() *QueryCallbackSettingsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryCallbackSettingsRequestWithAllParams ¶
func NewQueryCallbackSettingsRequestWithAllParams() *QueryCallbackSettingsRequest
func NewQueryCallbackSettingsRequestWithoutParam ¶
func NewQueryCallbackSettingsRequestWithoutParam() *QueryCallbackSettingsRequest
This constructor has better compatible ability when API parameters changed
func (QueryCallbackSettingsRequest) GetRegionId ¶
func (r QueryCallbackSettingsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryCallbackSettingsResponse ¶
type QueryCallbackSettingsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryCallbackSettingsResult `json:"result"`
}
type QueryProcessDefinitionByCodeRequest ¶
type QueryProcessDefinitionByCodeRequest struct {
core.JDCloudRequest
/* taskCode */
Code string `json:"code"`
}
func NewQueryProcessDefinitionByCodeRequest ¶
func NewQueryProcessDefinitionByCodeRequest( code string, ) *QueryProcessDefinitionByCodeRequest
* param code: taskCode (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryProcessDefinitionByCodeRequestWithAllParams ¶
func NewQueryProcessDefinitionByCodeRequestWithAllParams( code string, ) *QueryProcessDefinitionByCodeRequest
* param code: taskCode (Required)
func NewQueryProcessDefinitionByCodeRequestWithoutParam ¶
func NewQueryProcessDefinitionByCodeRequestWithoutParam() *QueryProcessDefinitionByCodeRequest
This constructor has better compatible ability when API parameters changed
func (QueryProcessDefinitionByCodeRequest) GetRegionId ¶
func (r QueryProcessDefinitionByCodeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryProcessDefinitionByCodeRequest) SetCode ¶
func (r *QueryProcessDefinitionByCodeRequest) SetCode(code string)
param code: taskCode(Required)
type QueryProcessDefinitionByCodeResponse ¶
type QueryProcessDefinitionByCodeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryProcessDefinitionByCodeResult `json:"result"`
}
type QueryProcessDefinitionByCodeResult ¶
type QueryProcessDefinitionByCodeResult struct {
ProcessDefinition mps.ProcessDefinition `json:"processDefinition"`
TaskDefinitionList []mps.TaskDefinition `json:"taskDefinitionList"`
TaskRelationList []mps.ProcessTaskRelation `json:"taskRelationList"`
}
type QueryProcessDefinitionListPagingRequest ¶
type QueryProcessDefinitionListPagingRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNum *int `json:"pageNum"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewQueryProcessDefinitionListPagingRequest ¶
func NewQueryProcessDefinitionListPagingRequest() *QueryProcessDefinitionListPagingRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryProcessDefinitionListPagingRequestWithAllParams ¶
func NewQueryProcessDefinitionListPagingRequestWithAllParams( pageNum *int, pageSize *int, ) *QueryProcessDefinitionListPagingRequest
* param pageNum: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional)
func NewQueryProcessDefinitionListPagingRequestWithoutParam ¶
func NewQueryProcessDefinitionListPagingRequestWithoutParam() *QueryProcessDefinitionListPagingRequest
This constructor has better compatible ability when API parameters changed
func (QueryProcessDefinitionListPagingRequest) GetRegionId ¶
func (r QueryProcessDefinitionListPagingRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryProcessDefinitionListPagingRequest) SetPageNum ¶
func (r *QueryProcessDefinitionListPagingRequest) SetPageNum(pageNum int)
param pageNum: 页码;默认值为 1(Optional)
func (*QueryProcessDefinitionListPagingRequest) SetPageSize ¶
func (r *QueryProcessDefinitionListPagingRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type QueryProcessDefinitionListPagingResponse ¶
type QueryProcessDefinitionListPagingResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryProcessDefinitionListPagingResult `json:"result"`
}
type QueryProcessDefinitionListPagingResult ¶
type QueryProcessDefinitionListPagingResult struct {
PageNumber int `json:"pageNumber"`
PageSize int `json:"pageSize"`
TotalElements int `json:"totalElements"`
Content []mps.ProcessDefinition `json:"content"`
}
type QueryProcessInstanceByIdRequest ¶
type QueryProcessInstanceByIdRequest struct {
core.JDCloudRequest
/* id */
Id int `json:"id"`
}
func NewQueryProcessInstanceByIdRequest ¶
func NewQueryProcessInstanceByIdRequest( id int, ) *QueryProcessInstanceByIdRequest
* param id: id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryProcessInstanceByIdRequestWithAllParams ¶
func NewQueryProcessInstanceByIdRequestWithAllParams( id int, ) *QueryProcessInstanceByIdRequest
* param id: id (Required)
func NewQueryProcessInstanceByIdRequestWithoutParam ¶
func NewQueryProcessInstanceByIdRequestWithoutParam() *QueryProcessInstanceByIdRequest
This constructor has better compatible ability when API parameters changed
func (QueryProcessInstanceByIdRequest) GetRegionId ¶
func (r QueryProcessInstanceByIdRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryProcessInstanceByIdRequest) SetId ¶
func (r *QueryProcessInstanceByIdRequest) SetId(id int)
param id: id(Required)
type QueryProcessInstanceByIdResponse ¶
type QueryProcessInstanceByIdResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryProcessInstanceByIdResult `json:"result"`
}
type QueryProcessInstanceListRequest ¶
type QueryProcessInstanceListRequest struct {
core.JDCloudRequest
/* 页码;默认值为 1 (Optional) */
PageNum *int `json:"pageNum"`
/* 分页大小;默认值为 10;取值范围 [10, 100] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewQueryProcessInstanceListRequest ¶
func NewQueryProcessInstanceListRequest() *QueryProcessInstanceListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryProcessInstanceListRequestWithAllParams ¶
func NewQueryProcessInstanceListRequestWithAllParams( pageNum *int, pageSize *int, ) *QueryProcessInstanceListRequest
* param pageNum: 页码;默认值为 1 (Optional) * param pageSize: 分页大小;默认值为 10;取值范围 [10, 100] (Optional)
func NewQueryProcessInstanceListRequestWithoutParam ¶
func NewQueryProcessInstanceListRequestWithoutParam() *QueryProcessInstanceListRequest
This constructor has better compatible ability when API parameters changed
func (QueryProcessInstanceListRequest) GetRegionId ¶
func (r QueryProcessInstanceListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryProcessInstanceListRequest) SetPageNum ¶
func (r *QueryProcessInstanceListRequest) SetPageNum(pageNum int)
param pageNum: 页码;默认值为 1(Optional)
func (*QueryProcessInstanceListRequest) SetPageSize ¶
func (r *QueryProcessInstanceListRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认值为 10;取值范围 [10, 100](Optional)
type QueryProcessInstanceListResponse ¶
type QueryProcessInstanceListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryProcessInstanceListResult `json:"result"`
}
type QueryProcessInstanceListResult ¶
type QueryProcessInstanceListResult struct {
PageNumber int `json:"pageNumber"`
PageSize int `json:"pageSize"`
TotalElements int `json:"totalElements"`
Content []mps.ProcessInstance `json:"content"`
}
type QuerySnapshotTaskResultRequest ¶
type QuerySnapshotTaskResultRequest struct {
core.JDCloudRequest
/* 任务ID,路径参数 */
TaskId string `json:"taskId"`
}
func NewQuerySnapshotTaskResultRequest ¶
func NewQuerySnapshotTaskResultRequest( taskId string, ) *QuerySnapshotTaskResultRequest
* param taskId: 任务ID,路径参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQuerySnapshotTaskResultRequestWithAllParams ¶
func NewQuerySnapshotTaskResultRequestWithAllParams( taskId string, ) *QuerySnapshotTaskResultRequest
* param taskId: 任务ID,路径参数 (Required)
func NewQuerySnapshotTaskResultRequestWithoutParam ¶
func NewQuerySnapshotTaskResultRequestWithoutParam() *QuerySnapshotTaskResultRequest
This constructor has better compatible ability when API parameters changed
func (QuerySnapshotTaskResultRequest) GetRegionId ¶
func (r QuerySnapshotTaskResultRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QuerySnapshotTaskResultRequest) SetTaskId ¶
func (r *QuerySnapshotTaskResultRequest) SetTaskId(taskId string)
param taskId: 任务ID,路径参数(Required)
type QuerySnapshotTaskResultResponse ¶
type QuerySnapshotTaskResultResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QuerySnapshotTaskResultResult `json:"result"`
}
type QuerySnapshotTaskResultResult ¶
type QuerySnapshotTaskResultResult struct {
TaskId string `json:"taskId"`
Status string `json:"status"`
ErrorCode string `json:"errorCode"`
ShotResult mps.ShotResult `json:"shotResult"`
SpriteResult mps.SpriteResult `json:"spriteResult"`
}
type QueryTaskListByProcessIdRequest ¶
type QueryTaskListByProcessIdRequest struct {
core.JDCloudRequest
/* id */
Id int `json:"id"`
}
func NewQueryTaskListByProcessIdRequest ¶
func NewQueryTaskListByProcessIdRequest( id int, ) *QueryTaskListByProcessIdRequest
* param id: id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryTaskListByProcessIdRequestWithAllParams ¶
func NewQueryTaskListByProcessIdRequestWithAllParams( id int, ) *QueryTaskListByProcessIdRequest
* param id: id (Required)
func NewQueryTaskListByProcessIdRequestWithoutParam ¶
func NewQueryTaskListByProcessIdRequestWithoutParam() *QueryTaskListByProcessIdRequest
This constructor has better compatible ability when API parameters changed
func (QueryTaskListByProcessIdRequest) GetRegionId ¶
func (r QueryTaskListByProcessIdRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryTaskListByProcessIdRequest) SetId ¶
func (r *QueryTaskListByProcessIdRequest) SetId(id int)
param id: id(Required)
type QueryTaskListByProcessIdResponse ¶
type QueryTaskListByProcessIdResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryTaskListByProcessIdResult `json:"result"`
}
type QueryTaskListByProcessIdResult ¶
type QueryTaskListByProcessIdResult struct {
TaskList []mps.TaskInstance `json:"taskList"`
}
type RegenerateASRTaskRequest ¶
type RegenerateASRTaskRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
}
func NewRegenerateASRTaskRequest ¶
func NewRegenerateASRTaskRequest( taskId string, ) *RegenerateASRTaskRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRegenerateASRTaskRequestWithAllParams ¶
func NewRegenerateASRTaskRequestWithAllParams( taskId string, ) *RegenerateASRTaskRequest
* param taskId: 任务唯一标识 (Required)
func NewRegenerateASRTaskRequestWithoutParam ¶
func NewRegenerateASRTaskRequestWithoutParam() *RegenerateASRTaskRequest
This constructor has better compatible ability when API parameters changed
func (RegenerateASRTaskRequest) GetRegionId ¶
func (r RegenerateASRTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RegenerateASRTaskRequest) SetTaskId ¶
func (r *RegenerateASRTaskRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type RegenerateASRTaskResponse ¶
type RegenerateASRTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result RegenerateASRTaskResult `json:"result"`
}
type RegenerateASRTaskResult ¶
type RegenerateASRTaskResult struct {
}
type SaveASRMinutesTextRequest ¶
type SaveASRMinutesTextRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
/* 智能纪要总结文本信息 (Optional) */
MinutesText *string `json:"minutesText"`
}
func NewSaveASRMinutesTextRequest ¶
func NewSaveASRMinutesTextRequest( taskId string, ) *SaveASRMinutesTextRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSaveASRMinutesTextRequestWithAllParams ¶
func NewSaveASRMinutesTextRequestWithAllParams( taskId string, minutesText *string, ) *SaveASRMinutesTextRequest
* param taskId: 任务唯一标识 (Required) * param minutesText: 智能纪要总结文本信息 (Optional)
func NewSaveASRMinutesTextRequestWithoutParam ¶
func NewSaveASRMinutesTextRequestWithoutParam() *SaveASRMinutesTextRequest
This constructor has better compatible ability when API parameters changed
func (SaveASRMinutesTextRequest) GetRegionId ¶
func (r SaveASRMinutesTextRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SaveASRMinutesTextRequest) SetMinutesText ¶
func (r *SaveASRMinutesTextRequest) SetMinutesText(minutesText string)
param minutesText: 智能纪要总结文本信息(Optional)
func (*SaveASRMinutesTextRequest) SetTaskId ¶
func (r *SaveASRMinutesTextRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type SaveASRMinutesTextResponse ¶
type SaveASRMinutesTextResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SaveASRMinutesTextResult `json:"result"`
}
type SaveAsrTaskTemplateRequest ¶
type SaveAsrTaskTemplateRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
/* 提示词 */
Prompt string `json:"prompt"`
}
func NewSaveAsrTaskTemplateRequest ¶
func NewSaveAsrTaskTemplateRequest( taskId string, prompt string, ) *SaveAsrTaskTemplateRequest
* param taskId: 任务唯一标识 (Required) * param prompt: 提示词 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSaveAsrTaskTemplateRequestWithAllParams ¶
func NewSaveAsrTaskTemplateRequestWithAllParams( taskId string, prompt string, ) *SaveAsrTaskTemplateRequest
* param taskId: 任务唯一标识 (Required) * param prompt: 提示词 (Required)
func NewSaveAsrTaskTemplateRequestWithoutParam ¶
func NewSaveAsrTaskTemplateRequestWithoutParam() *SaveAsrTaskTemplateRequest
This constructor has better compatible ability when API parameters changed
func (SaveAsrTaskTemplateRequest) GetRegionId ¶
func (r SaveAsrTaskTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SaveAsrTaskTemplateRequest) SetPrompt ¶
func (r *SaveAsrTaskTemplateRequest) SetPrompt(prompt string)
param prompt: 提示词(Required)
func (*SaveAsrTaskTemplateRequest) SetTaskId ¶
func (r *SaveAsrTaskTemplateRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type SaveAsrTaskTemplateResponse ¶
type SaveAsrTaskTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SaveAsrTaskTemplateResult `json:"result"`
}
type SaveAsrTaskTemplateResult ¶
type SaveAsrTaskTemplateResult struct {
}
type SaveMyMinutesTextRequest ¶
type SaveMyMinutesTextRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
/* 智能纪要总结文本信息 (Optional) */
MinutesText *string `json:"minutesText"`
}
func NewSaveMyMinutesTextRequest ¶
func NewSaveMyMinutesTextRequest( taskId string, ) *SaveMyMinutesTextRequest
* param taskId: 任务唯一标识 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSaveMyMinutesTextRequestWithAllParams ¶
func NewSaveMyMinutesTextRequestWithAllParams( taskId string, minutesText *string, ) *SaveMyMinutesTextRequest
* param taskId: 任务唯一标识 (Required) * param minutesText: 智能纪要总结文本信息 (Optional)
func NewSaveMyMinutesTextRequestWithoutParam ¶
func NewSaveMyMinutesTextRequestWithoutParam() *SaveMyMinutesTextRequest
This constructor has better compatible ability when API parameters changed
func (SaveMyMinutesTextRequest) GetRegionId ¶
func (r SaveMyMinutesTextRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SaveMyMinutesTextRequest) SetMinutesText ¶
func (r *SaveMyMinutesTextRequest) SetMinutesText(minutesText string)
param minutesText: 智能纪要总结文本信息(Optional)
func (*SaveMyMinutesTextRequest) SetTaskId ¶
func (r *SaveMyMinutesTextRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type SaveMyMinutesTextResponse ¶
type SaveMyMinutesTextResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SaveMyMinutesTextResult `json:"result"`
}
type SaveMyMinutesTextResult ¶
type SaveVoiceprintRequest ¶
type SaveVoiceprintRequest struct {
core.JDCloudRequest
/* 任务id (Optional) */
TaskId *string `json:"taskId"`
/* 用户id (Optional) */
UserId *string `json:"userId"`
/* null (Optional) */
Username *string `json:"username"`
}
func NewSaveVoiceprintRequest ¶
func NewSaveVoiceprintRequest() *SaveVoiceprintRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewSaveVoiceprintRequestWithAllParams ¶
func NewSaveVoiceprintRequestWithAllParams( taskId *string, userId *string, username *string, ) *SaveVoiceprintRequest
* param taskId: 任务id (Optional) * param userId: 用户id (Optional) * param username: null (Optional)
func NewSaveVoiceprintRequestWithoutParam ¶
func NewSaveVoiceprintRequestWithoutParam() *SaveVoiceprintRequest
This constructor has better compatible ability when API parameters changed
func (SaveVoiceprintRequest) GetRegionId ¶
func (r SaveVoiceprintRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SaveVoiceprintRequest) SetTaskId ¶
func (r *SaveVoiceprintRequest) SetTaskId(taskId string)
param taskId: 任务id(Optional)
func (*SaveVoiceprintRequest) SetUserId ¶
func (r *SaveVoiceprintRequest) SetUserId(userId string)
param userId: 用户id(Optional)
func (*SaveVoiceprintRequest) SetUsername ¶
func (r *SaveVoiceprintRequest) SetUsername(username string)
param username: null(Optional)
type SaveVoiceprintResponse ¶
type SaveVoiceprintResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SaveVoiceprintResult `json:"result"`
}
type SaveVoiceprintResult ¶
type SetCallbackSettingsRequest ¶
type SetCallbackSettingsRequest struct {
core.JDCloudRequest
/* 回调事件列表。取值范围:
- snapshot_complete 截图完成,包括成功和失败
- clip_complete 剪辑完成,包括成功和失败
- StreamTranscodeComplete 转码完成,包括成功和失败
- image_detection_complete 图片识别完成,包括成功和失败
- av_summary_complete 音视频总结完成,包括成功和失败
*/
CallbackEvents []string `json:"callbackEvents"`
/* 回调方式,目前只支持 http */
CallbackType string `json:"callbackType"`
/* 回调方式为 http 时,此为必须参数 (Optional) */
HttpUrl *string `json:"httpUrl"`
/* 是否禁用回调,默认值为 false,即开启回调 (Optional) */
Disabled *string `json:"disabled"`
}
func NewSetCallbackSettingsRequest ¶
func NewSetCallbackSettingsRequest( callbackEvents []string, callbackType string, ) *SetCallbackSettingsRequest
- param callbackEvents: 回调事件列表。取值范围:
- snapshot_complete 截图完成,包括成功和失败
- clip_complete 剪辑完成,包括成功和失败
- StreamTranscodeComplete 转码完成,包括成功和失败
- image_detection_complete 图片识别完成,包括成功和失败
- av_summary_complete 音视频总结完成,包括成功和失败 (Required)
- param callbackType: 回调方式,目前只支持 http (Required) *
- @Deprecated, not compatible when mandatory parameters changed
func NewSetCallbackSettingsRequestWithAllParams ¶
func NewSetCallbackSettingsRequestWithAllParams( callbackEvents []string, callbackType string, httpUrl *string, disabled *string, ) *SetCallbackSettingsRequest
- param callbackEvents: 回调事件列表。取值范围:
- snapshot_complete 截图完成,包括成功和失败
- clip_complete 剪辑完成,包括成功和失败
- StreamTranscodeComplete 转码完成,包括成功和失败
- image_detection_complete 图片识别完成,包括成功和失败
- av_summary_complete 音视频总结完成,包括成功和失败 (Required)
- param callbackType: 回调方式,目前只支持 http (Required)
- param httpUrl: 回调方式为 http 时,此为必须参数 (Optional)
- param disabled: 是否禁用回调,默认值为 false,即开启回调 (Optional)
func NewSetCallbackSettingsRequestWithoutParam ¶
func NewSetCallbackSettingsRequestWithoutParam() *SetCallbackSettingsRequest
This constructor has better compatible ability when API parameters changed
func (SetCallbackSettingsRequest) GetRegionId ¶
func (r SetCallbackSettingsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetCallbackSettingsRequest) SetCallbackEvents ¶
func (r *SetCallbackSettingsRequest) SetCallbackEvents(callbackEvents []string)
param callbackEvents: 回调事件列表。取值范围:
- snapshot_complete 截图完成,包括成功和失败 - clip_complete 剪辑完成,包括成功和失败 - StreamTranscodeComplete 转码完成,包括成功和失败 - image_detection_complete 图片识别完成,包括成功和失败 - av_summary_complete 音视频总结完成,包括成功和失败 (Required)
func (*SetCallbackSettingsRequest) SetCallbackType ¶
func (r *SetCallbackSettingsRequest) SetCallbackType(callbackType string)
param callbackType: 回调方式,目前只支持 http(Required)
func (*SetCallbackSettingsRequest) SetDisabled ¶
func (r *SetCallbackSettingsRequest) SetDisabled(disabled string)
param disabled: 是否禁用回调,默认值为 false,即开启回调(Optional)
func (*SetCallbackSettingsRequest) SetHttpUrl ¶
func (r *SetCallbackSettingsRequest) SetHttpUrl(httpUrl string)
param httpUrl: 回调方式为 http 时,此为必须参数(Optional)
type SetCallbackSettingsResponse ¶
type SetCallbackSettingsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetCallbackSettingsResult `json:"result"`
}
type SetCallbackSettingsResult ¶
type SetCallbackSettingsResult struct {
}
type SetNotificationRequest ¶
type SetNotificationRequest struct {
core.JDCloudRequest
/* region id */
RegionId string `json:"regionId"`
/* 是否启用通知 */
Enabled bool `json:"enabled"`
/* 通知endpoint, 当前支持http://和https:// (Optional) */
Endpoint *string `json:"endpoint"`
/* 触发通知的事件集合 (mpsTranscodeComplete, mpsThumbnailComplete) (Optional) */
Events []string `json:"events"`
/* 重试策略, BACKOFF_RETRY: 退避重试策略, 重试 3 次, 每次重试的间隔时间是 10秒 到 20秒 之间的随机值; EXPONENTIAL_DECAY_RETRY: 指数衰减重试, 重试 176 次, 每次重试的间隔时间指数递增至 512秒, 总计重试时间为1天; 每次重试的具体间隔为: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512 ... 512 秒(共167个512) (Optional) */
NotifyStrategy *string `json:"notifyStrategy"`
/* 描述了向 Endpoint 推送的消息格式, JSON: 包含消息正文和消息属性, SIMPLIFIED: 消息体即用户发布的消息, 不包含任何属性信息 (Optional) */
NotifyContentFormat *string `json:"notifyContentFormat"`
}
func NewSetNotificationRequest ¶
func NewSetNotificationRequest( regionId string, enabled bool, ) *SetNotificationRequest
* param regionId: region id (Required) * param enabled: 是否启用通知 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetNotificationRequestWithAllParams ¶ added in v1.7.0
func NewSetNotificationRequestWithAllParams( regionId string, enabled bool, endpoint *string, events []string, notifyStrategy *string, notifyContentFormat *string, ) *SetNotificationRequest
* param regionId: region id (Required) * param enabled: 是否启用通知 (Required) * param endpoint: 通知endpoint, 当前支持http://和https:// (Optional) * param events: 触发通知的事件集合 (mpsTranscodeComplete, mpsThumbnailComplete) (Optional) * param notifyStrategy: 重试策略, BACKOFF_RETRY: 退避重试策略, 重试 3 次, 每次重试的间隔时间是 10秒 到 20秒 之间的随机值; EXPONENTIAL_DECAY_RETRY: 指数衰减重试, 重试 176 次, 每次重试的间隔时间指数递增至 512秒, 总计重试时间为1天; 每次重试的具体间隔为: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512 ... 512 秒(共167个512) (Optional) * param notifyContentFormat: 描述了向 Endpoint 推送的消息格式, JSON: 包含消息正文和消息属性, SIMPLIFIED: 消息体即用户发布的消息, 不包含任何属性信息 (Optional)
func NewSetNotificationRequestWithoutParam ¶ added in v1.7.0
func NewSetNotificationRequestWithoutParam() *SetNotificationRequest
This constructor has better compatible ability when API parameters changed
func (SetNotificationRequest) GetRegionId ¶
func (r SetNotificationRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetNotificationRequest) SetEnabled ¶
func (r *SetNotificationRequest) SetEnabled(enabled bool)
param enabled: 是否启用通知(Required)
func (*SetNotificationRequest) SetEndpoint ¶
func (r *SetNotificationRequest) SetEndpoint(endpoint string)
param endpoint: 通知endpoint, 当前支持http://和https://(Optional)
func (*SetNotificationRequest) SetEvents ¶
func (r *SetNotificationRequest) SetEvents(events []string)
param events: 触发通知的事件集合 (mpsTranscodeComplete, mpsThumbnailComplete)(Optional)
func (*SetNotificationRequest) SetNotifyContentFormat ¶
func (r *SetNotificationRequest) SetNotifyContentFormat(notifyContentFormat string)
param notifyContentFormat: 描述了向 Endpoint 推送的消息格式, JSON: 包含消息正文和消息属性, SIMPLIFIED: 消息体即用户发布的消息, 不包含任何属性信息(Optional)
func (*SetNotificationRequest) SetNotifyStrategy ¶
func (r *SetNotificationRequest) SetNotifyStrategy(notifyStrategy string)
param notifyStrategy: 重试策略, BACKOFF_RETRY: 退避重试策略, 重试 3 次, 每次重试的间隔时间是 10秒 到 20秒 之间的随机值; EXPONENTIAL_DECAY_RETRY: 指数衰减重试, 重试 176 次, 每次重试的间隔时间指数递增至 512秒, 总计重试时间为1天; 每次重试的具体间隔为: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512 ... 512 秒(共167个512)(Optional)
func (*SetNotificationRequest) SetRegionId ¶
func (r *SetNotificationRequest) SetRegionId(regionId string)
param regionId: region id(Required)
type SetNotificationResponse ¶
type SetNotificationResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetNotificationResult `json:"result"`
}
type SetNotificationResult ¶
type SetNotificationResult struct {
}
type SetStyleDelimiterRequest ¶ added in v1.7.0
type SetStyleDelimiterRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
/* 图片样式分隔符配置(JSON数组);支持的分隔符包含:["-", "_", "/", "!"] */
Delimiters []string `json:"delimiters"`
}
func NewSetStyleDelimiterRequest ¶ added in v1.7.0
func NewSetStyleDelimiterRequest( regionId string, bucketName string, delimiters []string, ) *SetStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param delimiters: 图片样式分隔符配置(JSON数组);支持的分隔符包含:["-", "_", "/", "!"] (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetStyleDelimiterRequestWithAllParams ¶ added in v1.7.0
func NewSetStyleDelimiterRequestWithAllParams( regionId string, bucketName string, delimiters []string, ) *SetStyleDelimiterRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param delimiters: 图片样式分隔符配置(JSON数组);支持的分隔符包含:["-", "_", "/", "!"] (Required)
func NewSetStyleDelimiterRequestWithoutParam ¶ added in v1.7.0
func NewSetStyleDelimiterRequestWithoutParam() *SetStyleDelimiterRequest
This constructor has better compatible ability when API parameters changed
func (SetStyleDelimiterRequest) GetRegionId ¶ added in v1.7.0
func (r SetStyleDelimiterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetStyleDelimiterRequest) SetBucketName ¶ added in v1.7.0
func (r *SetStyleDelimiterRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*SetStyleDelimiterRequest) SetDelimiters ¶ added in v1.7.0
func (r *SetStyleDelimiterRequest) SetDelimiters(delimiters []string)
param delimiters: 图片样式分隔符配置(JSON数组);支持的分隔符包含:["-", "_", "/", "!"](Required)
func (*SetStyleDelimiterRequest) SetRegionId ¶ added in v1.7.0
func (r *SetStyleDelimiterRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
type SetStyleDelimiterResponse ¶ added in v1.7.0
type SetStyleDelimiterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetStyleDelimiterResult `json:"result"`
}
type SetStyleDelimiterResult ¶ added in v1.7.0
type SetStyleDelimiterResult struct {
}
type StartProcessInstanceRequest ¶
type StartProcessInstanceRequest struct {
core.JDCloudRequest
/* */
ProcessDefinitionCode int `json:"processDefinitionCode"`
/* (Optional) */
Region *string `json:"region"`
/* (Optional) */
Bucket *string `json:"bucket"`
/* 对象存储 objectKey (Optional) */
ObjectKey *string `json:"objectKey"`
}
func NewStartProcessInstanceRequest ¶
func NewStartProcessInstanceRequest( processDefinitionCode int, ) *StartProcessInstanceRequest
* param processDefinitionCode: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStartProcessInstanceRequestWithAllParams ¶
func NewStartProcessInstanceRequestWithAllParams( processDefinitionCode int, region *string, bucket *string, objectKey *string, ) *StartProcessInstanceRequest
* param processDefinitionCode: (Required) * param region: (Optional) * param bucket: (Optional) * param objectKey: 对象存储 objectKey (Optional)
func NewStartProcessInstanceRequestWithoutParam ¶
func NewStartProcessInstanceRequestWithoutParam() *StartProcessInstanceRequest
This constructor has better compatible ability when API parameters changed
func (StartProcessInstanceRequest) GetRegionId ¶
func (r StartProcessInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StartProcessInstanceRequest) SetBucket ¶
func (r *StartProcessInstanceRequest) SetBucket(bucket string)
param bucket: (Optional)
func (*StartProcessInstanceRequest) SetObjectKey ¶
func (r *StartProcessInstanceRequest) SetObjectKey(objectKey string)
param objectKey: 对象存储 objectKey(Optional)
func (*StartProcessInstanceRequest) SetProcessDefinitionCode ¶
func (r *StartProcessInstanceRequest) SetProcessDefinitionCode(processDefinitionCode int)
param processDefinitionCode: (Required)
func (*StartProcessInstanceRequest) SetRegion ¶
func (r *StartProcessInstanceRequest) SetRegion(region string)
param region: (Optional)
type StartProcessInstanceResponse ¶
type StartProcessInstanceResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result StartProcessInstanceResult `json:"result"`
}
type SubmitImageDetectionTaskRequest ¶
type SubmitImageDetectionTaskRequest struct {
core.JDCloudRequest
/* */
Input *mps.ImageDetectionInput `json:"input"`
/* (Optional) */
Output *mps.ImageDetectionOutput `json:"output"`
/* 检测类型,仅支持单检测项。
可选值:
- plate_recognition_processing:车牌识别处理
*/
DetectionType string `json:"detectionType"`
}
func NewSubmitImageDetectionTaskRequest ¶
func NewSubmitImageDetectionTaskRequest( input *mps.ImageDetectionInput, detectionType string, ) *SubmitImageDetectionTaskRequest
- param input: (Required)
- param detectionType: 检测类型,仅支持单检测项。
可选值:
- plate_recognition_processing:车牌识别处理 (Required) *
- @Deprecated, not compatible when mandatory parameters changed
func NewSubmitImageDetectionTaskRequestWithAllParams ¶
func NewSubmitImageDetectionTaskRequestWithAllParams( input *mps.ImageDetectionInput, output *mps.ImageDetectionOutput, detectionType string, ) *SubmitImageDetectionTaskRequest
- param input: (Required)
- param output: (Optional)
- param detectionType: 检测类型,仅支持单检测项。
可选值:
- plate_recognition_processing:车牌识别处理 (Required)
func NewSubmitImageDetectionTaskRequestWithoutParam ¶
func NewSubmitImageDetectionTaskRequestWithoutParam() *SubmitImageDetectionTaskRequest
This constructor has better compatible ability when API parameters changed
func (SubmitImageDetectionTaskRequest) GetRegionId ¶
func (r SubmitImageDetectionTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SubmitImageDetectionTaskRequest) SetDetectionType ¶
func (r *SubmitImageDetectionTaskRequest) SetDetectionType(detectionType string)
param detectionType: 检测类型,仅支持单检测项。
可选值:
- plate_recognition_processing:车牌识别处理
(Required)
func (*SubmitImageDetectionTaskRequest) SetInput ¶
func (r *SubmitImageDetectionTaskRequest) SetInput(input *mps.ImageDetectionInput)
param input: (Required)
func (*SubmitImageDetectionTaskRequest) SetOutput ¶
func (r *SubmitImageDetectionTaskRequest) SetOutput(output *mps.ImageDetectionOutput)
param output: (Optional)
type SubmitImageDetectionTaskResponse ¶
type SubmitImageDetectionTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SubmitImageDetectionTaskResult `json:"result"`
}
type SubmitImageDetectionTaskResult ¶
type SubmitImageDetectionTaskResult struct {
TaskId string `json:"taskId"`
}
type SubmitSnapshotTaskRequest ¶
type SubmitSnapshotTaskRequest struct {
core.JDCloudRequest
/* 截图模板ID */
TemplateId string `json:"templateId"`
/* */
Input *mps.Input `json:"input"`
/* */
Output *mps.Output `json:"output"`
/* (Optional) */
SpriteOutput *mps.Output `json:"spriteOutput"`
}
func NewSubmitSnapshotTaskRequest ¶
func NewSubmitSnapshotTaskRequest( templateId string, input *mps.Input, output *mps.Output, ) *SubmitSnapshotTaskRequest
* param templateId: 截图模板ID (Required) * param input: (Required) * param output: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSubmitSnapshotTaskRequestWithAllParams ¶
func NewSubmitSnapshotTaskRequestWithAllParams( templateId string, input *mps.Input, output *mps.Output, spriteOutput *mps.Output, ) *SubmitSnapshotTaskRequest
* param templateId: 截图模板ID (Required) * param input: (Required) * param output: (Required) * param spriteOutput: (Optional)
func NewSubmitSnapshotTaskRequestWithoutParam ¶
func NewSubmitSnapshotTaskRequestWithoutParam() *SubmitSnapshotTaskRequest
This constructor has better compatible ability when API parameters changed
func (SubmitSnapshotTaskRequest) GetRegionId ¶
func (r SubmitSnapshotTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SubmitSnapshotTaskRequest) SetInput ¶
func (r *SubmitSnapshotTaskRequest) SetInput(input *mps.Input)
param input: (Required)
func (*SubmitSnapshotTaskRequest) SetOutput ¶
func (r *SubmitSnapshotTaskRequest) SetOutput(output *mps.Output)
param output: (Required)
func (*SubmitSnapshotTaskRequest) SetSpriteOutput ¶
func (r *SubmitSnapshotTaskRequest) SetSpriteOutput(spriteOutput *mps.Output)
param spriteOutput: (Optional)
func (*SubmitSnapshotTaskRequest) SetTemplateId ¶
func (r *SubmitSnapshotTaskRequest) SetTemplateId(templateId string)
param templateId: 截图模板ID(Required)
type SubmitSnapshotTaskResponse ¶
type SubmitSnapshotTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SubmitSnapshotTaskResult `json:"result"`
}
type SubmitSnapshotTaskResult ¶
type SubmitSnapshotTaskResult struct {
SubmitResult []mps.SnapshotTaskObject `json:"submitResult"`
}
type SubmitTranscodeJobRequest ¶
type SubmitTranscodeJobRequest struct {
core.JDCloudRequest
/* 输入对象存储 accessKey,必须参数 */
AccessKey string `json:"accessKey"`
/* 输入对象存储 accessKey,必须参数 */
SecretKey string `json:"secretKey"`
/* 输入对象存储 endpoint。必须参数,内网域名,如 s3-internal.cn-north-1.jcloudcs.com */
Endpoint string `json:"endpoint"`
/* 输入对象存储 bucket,必须参数 */
Bucket string `json:"bucket"`
/* 输入对象存储 objectKey,必须参数 */
ObjectKey string `json:"objectKey"`
/* 输入视频标题,可选参数,默认会从 objectKey 中截取 (Optional) */
Title *string `json:"title"`
/* 转码模板ID集合,必须参数,非空集合 */
TemplateIds []string `json:"templateIds"`
/* 输出配置,必须参数 */
OutputConfig *mps.TranscodeOutputConfig `json:"outputConfig"`
/* 附加参数,JSON格式的字符串。除非清楚了解其用途和用法,请勿使用此字段。
若参数在本次作业提交所关联的模板中,存在相同用途的对应字段,则该属性值会覆盖模板中的对应字段;
若参数在本次作业提交所关联的模板中,不存在相同用途的对应字段,则该属性值会作为补充设置,用于生产任务;
有特殊说明的除外。
当前支持的附加参数:
- hls.encrypt.key - HLS加密公钥,对应于转码模板中 encryption.hlsKey 字段
- hls.encrypt.keyUrl - HLS加密公钥地址,对应于转码模板中 encryption.hlsKeyUrl 字段
- hls.encrypt.encodeType - HLS加密公钥编码方式,对应于转码模板中 encryption.hlsKeyEncodeType 字段
特殊说明:
- HLS加密相关参数,具有完整性要求,故 hls.encrypt 命名空间下的附加参数,依赖于 hls.encrypt.key 参数的设置情况。若设置 hls.encrypt.key 参数,则命名空间 hls.encrypt 下的其他参数也须同时设置;否则,其他参数会被忽略。
(Optional) */
AdditionalProperties *string `json:"additionalProperties"`
}
func NewSubmitTranscodeJobRequest ¶
func NewSubmitTranscodeJobRequest( accessKey string, secretKey string, endpoint string, bucket string, objectKey string, templateIds []string, outputConfig *mps.TranscodeOutputConfig, ) *SubmitTranscodeJobRequest
* param accessKey: 输入对象存储 accessKey,必须参数 (Required) * param secretKey: 输入对象存储 accessKey,必须参数 (Required) * param endpoint: 输入对象存储 endpoint。必须参数,内网域名,如 s3-internal.cn-north-1.jcloudcs.com (Required) * param bucket: 输入对象存储 bucket,必须参数 (Required) * param objectKey: 输入对象存储 objectKey,必须参数 (Required) * param templateIds: 转码模板ID集合,必须参数,非空集合 (Required) * param outputConfig: 输出配置,必须参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSubmitTranscodeJobRequestWithAllParams ¶
func NewSubmitTranscodeJobRequestWithAllParams( accessKey string, secretKey string, endpoint string, bucket string, objectKey string, title *string, templateIds []string, outputConfig *mps.TranscodeOutputConfig, additionalProperties *string, ) *SubmitTranscodeJobRequest
- param accessKey: 输入对象存储 accessKey,必须参数 (Required)
- param secretKey: 输入对象存储 accessKey,必须参数 (Required)
- param endpoint: 输入对象存储 endpoint。必须参数,内网域名,如 s3-internal.cn-north-1.jcloudcs.com (Required)
- param bucket: 输入对象存储 bucket,必须参数 (Required)
- param objectKey: 输入对象存储 objectKey,必须参数 (Required)
- param title: 输入视频标题,可选参数,默认会从 objectKey 中截取 (Optional)
- param templateIds: 转码模板ID集合,必须参数,非空集合 (Required)
- param outputConfig: 输出配置,必须参数 (Required)
- param additionalProperties: 附加参数,JSON格式的字符串。除非清楚了解其用途和用法,请勿使用此字段。
若参数在本次作业提交所关联的模板中,存在相同用途的对应字段,则该属性值会覆盖模板中的对应字段; 若参数在本次作业提交所关联的模板中,不存在相同用途的对应字段,则该属性值会作为补充设置,用于生产任务; 有特殊说明的除外。 当前支持的附加参数:
- hls.encrypt.key - HLS加密公钥,对应于转码模板中 encryption.hlsKey 字段
- hls.encrypt.keyUrl - HLS加密公钥地址,对应于转码模板中 encryption.hlsKeyUrl 字段
- hls.encrypt.encodeType - HLS加密公钥编码方式,对应于转码模板中 encryption.hlsKeyEncodeType 字段
特殊说明:
- HLS加密相关参数,具有完整性要求,故 hls.encrypt 命名空间下的附加参数,依赖于 hls.encrypt.key 参数的设置情况。若设置 hls.encrypt.key 参数,则命名空间 hls.encrypt 下的其他参数也须同时设置;否则,其他参数会被忽略。 (Optional)
func NewSubmitTranscodeJobRequestWithoutParam ¶
func NewSubmitTranscodeJobRequestWithoutParam() *SubmitTranscodeJobRequest
This constructor has better compatible ability when API parameters changed
func (SubmitTranscodeJobRequest) GetRegionId ¶
func (r SubmitTranscodeJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SubmitTranscodeJobRequest) SetAccessKey ¶
func (r *SubmitTranscodeJobRequest) SetAccessKey(accessKey string)
param accessKey: 输入对象存储 accessKey,必须参数(Required)
func (*SubmitTranscodeJobRequest) SetAdditionalProperties ¶
func (r *SubmitTranscodeJobRequest) SetAdditionalProperties(additionalProperties string)
param additionalProperties: 附加参数,JSON格式的字符串。除非清楚了解其用途和用法,请勿使用此字段。
若参数在本次作业提交所关联的模板中,存在相同用途的对应字段,则该属性值会覆盖模板中的对应字段; 若参数在本次作业提交所关联的模板中,不存在相同用途的对应字段,则该属性值会作为补充设置,用于生产任务; 有特殊说明的除外。 当前支持的附加参数:
- hls.encrypt.key - HLS加密公钥,对应于转码模板中 encryption.hlsKey 字段
- hls.encrypt.keyUrl - HLS加密公钥地址,对应于转码模板中 encryption.hlsKeyUrl 字段
- hls.encrypt.encodeType - HLS加密公钥编码方式,对应于转码模板中 encryption.hlsKeyEncodeType 字段
特殊说明:
- HLS加密相关参数,具有完整性要求,故 hls.encrypt 命名空间下的附加参数,依赖于 hls.encrypt.key 参数的设置情况。若设置 hls.encrypt.key 参数,则命名空间 hls.encrypt 下的其他参数也须同时设置;否则,其他参数会被忽略。
(Optional)
func (*SubmitTranscodeJobRequest) SetBucket ¶
func (r *SubmitTranscodeJobRequest) SetBucket(bucket string)
param bucket: 输入对象存储 bucket,必须参数(Required)
func (*SubmitTranscodeJobRequest) SetEndpoint ¶
func (r *SubmitTranscodeJobRequest) SetEndpoint(endpoint string)
param endpoint: 输入对象存储 endpoint。必须参数,内网域名,如 s3-internal.cn-north-1.jcloudcs.com(Required)
func (*SubmitTranscodeJobRequest) SetObjectKey ¶
func (r *SubmitTranscodeJobRequest) SetObjectKey(objectKey string)
param objectKey: 输入对象存储 objectKey,必须参数(Required)
func (*SubmitTranscodeJobRequest) SetOutputConfig ¶
func (r *SubmitTranscodeJobRequest) SetOutputConfig(outputConfig *mps.TranscodeOutputConfig)
param outputConfig: 输出配置,必须参数(Required)
func (*SubmitTranscodeJobRequest) SetSecretKey ¶
func (r *SubmitTranscodeJobRequest) SetSecretKey(secretKey string)
param secretKey: 输入对象存储 accessKey,必须参数(Required)
func (*SubmitTranscodeJobRequest) SetTemplateIds ¶
func (r *SubmitTranscodeJobRequest) SetTemplateIds(templateIds []string)
param templateIds: 转码模板ID集合,必须参数,非空集合(Required)
func (*SubmitTranscodeJobRequest) SetTitle ¶
func (r *SubmitTranscodeJobRequest) SetTitle(title string)
param title: 输入视频标题,可选参数,默认会从 objectKey 中截取(Optional)
type SubmitTranscodeJobResponse ¶
type SubmitTranscodeJobResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SubmitTranscodeJobResult `json:"result"`
}
type SubmitVeditJobRequest ¶
type SubmitVeditJobRequest struct {
core.JDCloudRequest
/* 工程ID */
ProjectId int64 `json:"projectId"`
/* 合成媒资元数据 */
MediaMetadata *mps.MediaMetadata `json:"mediaMetadata"`
/* 用户数据,JSON格式的字符串。
在Timeline中的所有MediaClip中,若有2个或以上的不同MediaId,即素材片段来源于2个或以上不同视频,则在提交剪辑作业时,必须在UserData中指明合并后的视频画面的宽高。
如 {\"extendData\": {\"width\": 720, \"height\": 500}},其中width和height必须为[16, 4096]之间的偶数
videoMode 支持 normal 普通模式 screen_record 屏幕录制模式 两种模式,默认为 normal。
如 "{\"extendData\":{\"videoMode\":\"screen_record\"}}"
headerInfo.contentType 设置上传文件的 contentType。
如 "{\"extendData\":{\"headerInfo\":{\"contentType\":\"application/octet-stream\"}}}"
headerInfo.contentDisposition 设置上传文件的 contentDisposition。
如 "{\"extendData\":{\"headerInfo\":{\"contentDisposition\":\"attachment; filename=\\\"my-test.wav\\\"\",\"contentType\":\"audio/wav\"}}}"
(Optional) */
UserData *string `json:"userData"`
}
func NewSubmitVeditJobRequest ¶
func NewSubmitVeditJobRequest( projectId int64, mediaMetadata *mps.MediaMetadata, ) *SubmitVeditJobRequest
* param projectId: 工程ID (Required) * param mediaMetadata: 合成媒资元数据 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSubmitVeditJobRequestWithAllParams ¶
func NewSubmitVeditJobRequestWithAllParams( projectId int64, mediaMetadata *mps.MediaMetadata, userData *string, ) *SubmitVeditJobRequest
- param projectId: 工程ID (Required)
- param mediaMetadata: 合成媒资元数据 (Required)
- param userData: 用户数据,JSON格式的字符串。
在Timeline中的所有MediaClip中,若有2个或以上的不同MediaId,即素材片段来源于2个或以上不同视频,则在提交剪辑作业时,必须在UserData中指明合并后的视频画面的宽高。 如 {\"extendData\": {\"width\": 720, \"height\": 500}},其中width和height必须为[16, 4096]之间的偶数 videoMode 支持 normal 普通模式 screen_record 屏幕录制模式 两种模式,默认为 normal。 如 "{\"extendData\":{\"videoMode\":\"screen_record\"}}" headerInfo.contentType 设置上传文件的 contentType。 如 "{\"extendData\":{\"headerInfo\":{\"contentType\":\"application/octet-stream\"}}}" headerInfo.contentDisposition 设置上传文件的 contentDisposition。 如 "{\"extendData\":{\"headerInfo\":{\"contentDisposition\":\"attachment; filename=\\\"my-test.wav\\\"\",\"contentType\":\"audio/wav\"}}}"
(Optional)
func NewSubmitVeditJobRequestWithoutParam ¶
func NewSubmitVeditJobRequestWithoutParam() *SubmitVeditJobRequest
This constructor has better compatible ability when API parameters changed
func (SubmitVeditJobRequest) GetRegionId ¶
func (r SubmitVeditJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SubmitVeditJobRequest) SetMediaMetadata ¶
func (r *SubmitVeditJobRequest) SetMediaMetadata(mediaMetadata *mps.MediaMetadata)
param mediaMetadata: 合成媒资元数据(Required)
func (*SubmitVeditJobRequest) SetProjectId ¶
func (r *SubmitVeditJobRequest) SetProjectId(projectId int64)
param projectId: 工程ID(Required)
func (*SubmitVeditJobRequest) SetUserData ¶
func (r *SubmitVeditJobRequest) SetUserData(userData string)
param userData: 用户数据,JSON格式的字符串。
在Timeline中的所有MediaClip中,若有2个或以上的不同MediaId,即素材片段来源于2个或以上不同视频,则在提交剪辑作业时,必须在UserData中指明合并后的视频画面的宽高。 如 {\"extendData\": {\"width\": 720, \"height\": 500}},其中width和height必须为[16, 4096]之间的偶数 videoMode 支持 normal 普通模式 screen_record 屏幕录制模式 两种模式,默认为 normal。 如 "{\"extendData\":{\"videoMode\":\"screen_record\"}}" headerInfo.contentType 设置上传文件的 contentType。 如 "{\"extendData\":{\"headerInfo\":{\"contentType\":\"application/octet-stream\"}}}" headerInfo.contentDisposition 设置上传文件的 contentDisposition。 如 "{\"extendData\":{\"headerInfo\":{\"contentDisposition\":\"attachment; filename=\\\"my-test.wav\\\"\",\"contentType\":\"audio/wav\"}}}" (Optional)
type SubmitVeditJobResponse ¶
type SubmitVeditJobResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SubmitVeditJobResult `json:"result"`
}
type SubmitVeditJobResult ¶
type UpdateASRTaskHotWordStatusRequest ¶
type UpdateASRTaskHotWordStatusRequest struct {
core.JDCloudRequest
/* 热词ID */
Id int64 `json:"id"`
/* 热词状态 */
Status int `json:"status"`
}
func NewUpdateASRTaskHotWordStatusRequest ¶
func NewUpdateASRTaskHotWordStatusRequest( id int64, status int, ) *UpdateASRTaskHotWordStatusRequest
* param id: 热词ID (Required) * param status: 热词状态 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateASRTaskHotWordStatusRequestWithAllParams ¶
func NewUpdateASRTaskHotWordStatusRequestWithAllParams( id int64, status int, ) *UpdateASRTaskHotWordStatusRequest
* param id: 热词ID (Required) * param status: 热词状态 (Required)
func NewUpdateASRTaskHotWordStatusRequestWithoutParam ¶
func NewUpdateASRTaskHotWordStatusRequestWithoutParam() *UpdateASRTaskHotWordStatusRequest
This constructor has better compatible ability when API parameters changed
func (UpdateASRTaskHotWordStatusRequest) GetRegionId ¶
func (r UpdateASRTaskHotWordStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateASRTaskHotWordStatusRequest) SetId ¶
func (r *UpdateASRTaskHotWordStatusRequest) SetId(id int64)
param id: 热词ID(Required)
func (*UpdateASRTaskHotWordStatusRequest) SetStatus ¶
func (r *UpdateASRTaskHotWordStatusRequest) SetStatus(status int)
param status: 热词状态(Required)
type UpdateASRTaskHotWordStatusResponse ¶
type UpdateASRTaskHotWordStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateASRTaskHotWordStatusResult `json:"result"`
}
type UpdateASRTaskHotWordStatusResult ¶
type UpdateASRTaskHotWordStatusResult struct {
}
type UpdateASRTaskHotWordsRequest ¶
type UpdateASRTaskHotWordsRequest struct {
core.JDCloudRequest
/* 热词ID */
Id int64 `json:"id"`
/* 热词内容 */
HotWord string `json:"hotWord"`
}
func NewUpdateASRTaskHotWordsRequest ¶
func NewUpdateASRTaskHotWordsRequest( id int64, hotWord string, ) *UpdateASRTaskHotWordsRequest
* param id: 热词ID (Required) * param hotWord: 热词内容 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateASRTaskHotWordsRequestWithAllParams ¶
func NewUpdateASRTaskHotWordsRequestWithAllParams( id int64, hotWord string, ) *UpdateASRTaskHotWordsRequest
* param id: 热词ID (Required) * param hotWord: 热词内容 (Required)
func NewUpdateASRTaskHotWordsRequestWithoutParam ¶
func NewUpdateASRTaskHotWordsRequestWithoutParam() *UpdateASRTaskHotWordsRequest
This constructor has better compatible ability when API parameters changed
func (UpdateASRTaskHotWordsRequest) GetRegionId ¶
func (r UpdateASRTaskHotWordsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateASRTaskHotWordsRequest) SetHotWord ¶
func (r *UpdateASRTaskHotWordsRequest) SetHotWord(hotWord string)
param hotWord: 热词内容(Required)
func (*UpdateASRTaskHotWordsRequest) SetId ¶
func (r *UpdateASRTaskHotWordsRequest) SetId(id int64)
param id: 热词ID(Required)
type UpdateASRTaskHotWordsResponse ¶
type UpdateASRTaskHotWordsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateASRTaskHotWordsResult `json:"result"`
}
type UpdateAsrTaskRequest ¶
type UpdateAsrTaskRequest struct {
core.JDCloudRequest
/* 任务唯一标识 */
TaskId string `json:"taskId"`
/* 任务主题 */
Subject string `json:"subject"`
}
func NewUpdateAsrTaskRequest ¶
func NewUpdateAsrTaskRequest( taskId string, subject string, ) *UpdateAsrTaskRequest
* param taskId: 任务唯一标识 (Required) * param subject: 任务主题 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateAsrTaskRequestWithAllParams ¶
func NewUpdateAsrTaskRequestWithAllParams( taskId string, subject string, ) *UpdateAsrTaskRequest
* param taskId: 任务唯一标识 (Required) * param subject: 任务主题 (Required)
func NewUpdateAsrTaskRequestWithoutParam ¶
func NewUpdateAsrTaskRequestWithoutParam() *UpdateAsrTaskRequest
This constructor has better compatible ability when API parameters changed
func (UpdateAsrTaskRequest) GetRegionId ¶
func (r UpdateAsrTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateAsrTaskRequest) SetSubject ¶
func (r *UpdateAsrTaskRequest) SetSubject(subject string)
param subject: 任务主题(Required)
func (*UpdateAsrTaskRequest) SetTaskId ¶
func (r *UpdateAsrTaskRequest) SetTaskId(taskId string)
param taskId: 任务唯一标识(Required)
type UpdateAsrTaskResponse ¶
type UpdateAsrTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateAsrTaskResult `json:"result"`
}
type UpdateAsrTaskResult ¶
type UpdateAsrTaskResult struct {
TaskId string `json:"taskId"`
Subject string `json:"subject"`
Status int `json:"status"`
TaskType int `json:"taskType"`
TranslateFlag int `json:"translateFlag"`
SrcLanguage string `json:"srcLanguage"`
DestLanguage string `json:"destLanguage"`
OutputFilePath string `json:"outputFilePath"`
ModeType int `json:"modeType"`
}
type UpdateImageStyleRequest ¶
type UpdateImageStyleRequest struct {
core.JDCloudRequest
/* 区域ID */
RegionId string `json:"regionId"`
/* Bucket名称 */
BucketName string `json:"bucketName"`
/* 图片样式id */
Id int `json:"id"`
/* 用户id(readOnly) (Optional) */
UserId *string `json:"userId"`
/* 图片样式名称 (Optional) */
StyleName *string `json:"styleName"`
/* 图片样式参数 (Optional) */
Params *string `json:"params"`
/* 图片样式参数别名 (Optional) */
ParamAlias *string `json:"paramAlias"`
/* 图片样式状态(readOnly) (Optional) */
Status *int `json:"status"`
/* 修改时间(readOnly) (Optional) */
ModifyTime *string `json:"modifyTime"`
/* 创建时间(readOnly) (Optional) */
CreatedTime *string `json:"createdTime"`
}
func NewUpdateImageStyleRequest ¶
func NewUpdateImageStyleRequest( regionId string, bucketName string, id int, ) *UpdateImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param id: 图片样式id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateImageStyleRequestWithAllParams ¶
func NewUpdateImageStyleRequestWithAllParams( regionId string, bucketName string, id int, userId *string, styleName *string, params *string, paramAlias *string, status *int, modifyTime *string, createdTime *string, ) *UpdateImageStyleRequest
* param regionId: 区域ID (Required) * param bucketName: Bucket名称 (Required) * param id: 图片样式id (Required) * param userId: 用户id(readOnly) (Optional) * param styleName: 图片样式名称 (Optional) * param params: 图片样式参数 (Optional) * param paramAlias: 图片样式参数别名 (Optional) * param status: 图片样式状态(readOnly) (Optional) * param modifyTime: 修改时间(readOnly) (Optional) * param createdTime: 创建时间(readOnly) (Optional)
func NewUpdateImageStyleRequestWithoutParam ¶
func NewUpdateImageStyleRequestWithoutParam() *UpdateImageStyleRequest
This constructor has better compatible ability when API parameters changed
func (UpdateImageStyleRequest) GetRegionId ¶
func (r UpdateImageStyleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateImageStyleRequest) SetBucketName ¶
func (r *UpdateImageStyleRequest) SetBucketName(bucketName string)
param bucketName: Bucket名称(Required)
func (*UpdateImageStyleRequest) SetCreatedTime ¶
func (r *UpdateImageStyleRequest) SetCreatedTime(createdTime string)
param createdTime: 创建时间(readOnly)(Optional)
func (*UpdateImageStyleRequest) SetId ¶
func (r *UpdateImageStyleRequest) SetId(id int)
param id: 图片样式id(Required)
func (*UpdateImageStyleRequest) SetModifyTime ¶
func (r *UpdateImageStyleRequest) SetModifyTime(modifyTime string)
param modifyTime: 修改时间(readOnly)(Optional)
func (*UpdateImageStyleRequest) SetParamAlias ¶
func (r *UpdateImageStyleRequest) SetParamAlias(paramAlias string)
param paramAlias: 图片样式参数别名(Optional)
func (*UpdateImageStyleRequest) SetParams ¶
func (r *UpdateImageStyleRequest) SetParams(params string)
param params: 图片样式参数(Optional)
func (*UpdateImageStyleRequest) SetRegionId ¶
func (r *UpdateImageStyleRequest) SetRegionId(regionId string)
param regionId: 区域ID(Required)
func (*UpdateImageStyleRequest) SetStatus ¶
func (r *UpdateImageStyleRequest) SetStatus(status int)
param status: 图片样式状态(readOnly)(Optional)
func (*UpdateImageStyleRequest) SetStyleName ¶
func (r *UpdateImageStyleRequest) SetStyleName(styleName string)
param styleName: 图片样式名称(Optional)
func (*UpdateImageStyleRequest) SetUserId ¶
func (r *UpdateImageStyleRequest) SetUserId(userId string)
param userId: 用户id(readOnly)(Optional)
type UpdateImageStyleResponse ¶
type UpdateImageStyleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateImageStyleResult `json:"result"`
}
type UpdateImageStyleResult ¶
type UpdateImageStyleResult struct {
}
type UpdateKnowledgeBaseFileStatusRequest ¶
type UpdateKnowledgeBaseFileStatusRequest struct {
core.JDCloudRequest
/* 知识文件唯一标识 (Optional) */
KnowledgeId *string `json:"knowledgeId"`
/* 文件状态(1:启用;2:停用) (Optional) */
Status *int `json:"status"`
}
func NewUpdateKnowledgeBaseFileStatusRequest ¶
func NewUpdateKnowledgeBaseFileStatusRequest() *UpdateKnowledgeBaseFileStatusRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateKnowledgeBaseFileStatusRequestWithAllParams ¶
func NewUpdateKnowledgeBaseFileStatusRequestWithAllParams( knowledgeId *string, status *int, ) *UpdateKnowledgeBaseFileStatusRequest
* param knowledgeId: 知识文件唯一标识 (Optional) * param status: 文件状态(1:启用;2:停用) (Optional)
func NewUpdateKnowledgeBaseFileStatusRequestWithoutParam ¶
func NewUpdateKnowledgeBaseFileStatusRequestWithoutParam() *UpdateKnowledgeBaseFileStatusRequest
This constructor has better compatible ability when API parameters changed
func (UpdateKnowledgeBaseFileStatusRequest) GetRegionId ¶
func (r UpdateKnowledgeBaseFileStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateKnowledgeBaseFileStatusRequest) SetKnowledgeId ¶
func (r *UpdateKnowledgeBaseFileStatusRequest) SetKnowledgeId(knowledgeId string)
param knowledgeId: 知识文件唯一标识(Optional)
func (*UpdateKnowledgeBaseFileStatusRequest) SetStatus ¶
func (r *UpdateKnowledgeBaseFileStatusRequest) SetStatus(status int)
param status: 文件状态(1:启用;2:停用)(Optional)
type UpdateKnowledgeBaseFileStatusResponse ¶
type UpdateKnowledgeBaseFileStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateKnowledgeBaseFileStatusResult `json:"result"`
}
type UpdateKnowledgeBaseFileStatusResult ¶
type UpdateKnowledgeBaseFileStatusResult struct {
Id int64 `json:"id"`
KnowledgeId string `json:"knowledgeId"`
FileName string `json:"fileName"`
FileSize int `json:"fileSize"`
FileType string `json:"fileType"`
Status int `json:"status"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type UpdateTranscodeTemplateRequest ¶
type UpdateTranscodeTemplateRequest struct {
core.JDCloudRequest
/* 模板ID */
TemplateId int `json:"templateId"`
/* 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。
(Optional) */
Title *string `json:"title"`
/* 视频参数配置 (Optional) */
Video *mps.VideoStreamSettings `json:"video"`
/* 音频参数配置 (Optional) */
Audio *mps.AudioStreamSettings `json:"audio"`
/* 封装容器配置 (Optional) */
Container *mps.ContainerSettings `json:"container"`
/* 加密配置 (Optional) */
Encryption *mps.EncryptionSettings `json:"encryption"`
/* 清晰度规格标记。取值范围:
SD - 标清
HD - 高清
FHD - 超清
2K
4K
(Optional) */
Definition *string `json:"definition"`
/* 转码方式。取值范围:
normal - 普通转码
jdchd - 京享超清
jdchs - 极速转码
(Optional) */
TranscodeType *string `json:"transcodeType"`
}
func NewUpdateTranscodeTemplateRequest ¶
func NewUpdateTranscodeTemplateRequest( templateId int, ) *UpdateTranscodeTemplateRequest
* param templateId: 模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateTranscodeTemplateRequestWithAllParams ¶
func NewUpdateTranscodeTemplateRequestWithAllParams( templateId int, title *string, video *mps.VideoStreamSettings, audio *mps.AudioStreamSettings, container *mps.ContainerSettings, encryption *mps.EncryptionSettings, definition *string, transcodeType *string, ) *UpdateTranscodeTemplateRequest
* param templateId: 模板ID (Required) * param title: 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。 (Optional)
- param video: 视频参数配置 (Optional)
- param audio: 音频参数配置 (Optional)
- param container: 封装容器配置 (Optional)
- param encryption: 加密配置 (Optional)
- param definition: 清晰度规格标记。取值范围: SD - 标清 HD - 高清 FHD - 超清 2K 4K
(Optional)
- param transcodeType: 转码方式。取值范围: normal - 普通转码 jdchd - 京享超清 jdchs - 极速转码
(Optional)
func NewUpdateTranscodeTemplateRequestWithoutParam ¶
func NewUpdateTranscodeTemplateRequestWithoutParam() *UpdateTranscodeTemplateRequest
This constructor has better compatible ability when API parameters changed
func (UpdateTranscodeTemplateRequest) GetRegionId ¶
func (r UpdateTranscodeTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateTranscodeTemplateRequest) SetAudio ¶
func (r *UpdateTranscodeTemplateRequest) SetAudio(audio *mps.AudioStreamSettings)
param audio: 音频参数配置(Optional)
func (*UpdateTranscodeTemplateRequest) SetContainer ¶
func (r *UpdateTranscodeTemplateRequest) SetContainer(container *mps.ContainerSettings)
param container: 封装容器配置(Optional)
func (*UpdateTranscodeTemplateRequest) SetDefinition ¶
func (r *UpdateTranscodeTemplateRequest) SetDefinition(definition string)
param definition: 清晰度规格标记。取值范围: SD - 标清 HD - 高清 FHD - 超清 2K 4K
(Optional)
func (*UpdateTranscodeTemplateRequest) SetEncryption ¶
func (r *UpdateTranscodeTemplateRequest) SetEncryption(encryption *mps.EncryptionSettings)
param encryption: 加密配置(Optional)
func (*UpdateTranscodeTemplateRequest) SetTemplateId ¶
func (r *UpdateTranscodeTemplateRequest) SetTemplateId(templateId int)
param templateId: 模板ID(Required)
func (*UpdateTranscodeTemplateRequest) SetTitle ¶
func (r *UpdateTranscodeTemplateRequest) SetTitle(title string)
param title: 模板标题。长度不超过 128 个字符,最少 2 个字符。UTF-8 编码。
(Optional)
func (*UpdateTranscodeTemplateRequest) SetTranscodeType ¶
func (r *UpdateTranscodeTemplateRequest) SetTranscodeType(transcodeType string)
param transcodeType: 转码方式。取值范围: normal - 普通转码 jdchd - 京享超清 jdchs - 极速转码
(Optional)
func (*UpdateTranscodeTemplateRequest) SetVideo ¶
func (r *UpdateTranscodeTemplateRequest) SetVideo(video *mps.VideoStreamSettings)
param video: 视频参数配置(Optional)
type UpdateTranscodeTemplateResponse ¶
type UpdateTranscodeTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateTranscodeTemplateResult `json:"result"`
}
type UpdateTranscodeTemplateResult ¶
type UpdateTranscodeTemplateResult struct {
TemplateId string `json:"templateId"`
Title string `json:"title"`
Video mps.VideoStreamSettings `json:"video"`
Audio mps.AudioStreamSettings `json:"audio"`
Container mps.ContainerSettings `json:"container"`
Encryption mps.EncryptionSettings `json:"encryption"`
Definition string `json:"definition"`
TranscodeType string `json:"transcodeType"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type UpdateVeditProjectRequest ¶
type UpdateVeditProjectRequest struct {
core.JDCloudRequest
/* 视频剪辑工程ID */
ProjectId int `json:"projectId"`
/* 工程名称 (Optional) */
ProjectName *string `json:"projectName"`
/* 工程描述 (Optional) */
Description *string `json:"description"`
/* 时间线信息 (Optional) */
Timeline *mps.Timeline `json:"timeline"`
}
func NewUpdateVeditProjectRequest ¶
func NewUpdateVeditProjectRequest( projectId int, ) *UpdateVeditProjectRequest
* param projectId: 视频剪辑工程ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateVeditProjectRequestWithAllParams ¶
func NewUpdateVeditProjectRequestWithAllParams( projectId int, projectName *string, description *string, timeline *mps.Timeline, ) *UpdateVeditProjectRequest
* param projectId: 视频剪辑工程ID (Required) * param projectName: 工程名称 (Optional) * param description: 工程描述 (Optional) * param timeline: 时间线信息 (Optional)
func NewUpdateVeditProjectRequestWithoutParam ¶
func NewUpdateVeditProjectRequestWithoutParam() *UpdateVeditProjectRequest
This constructor has better compatible ability when API parameters changed
func (UpdateVeditProjectRequest) GetRegionId ¶
func (r UpdateVeditProjectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateVeditProjectRequest) SetDescription ¶
func (r *UpdateVeditProjectRequest) SetDescription(description string)
param description: 工程描述(Optional)
func (*UpdateVeditProjectRequest) SetProjectId ¶
func (r *UpdateVeditProjectRequest) SetProjectId(projectId int)
param projectId: 视频剪辑工程ID(Required)
func (*UpdateVeditProjectRequest) SetProjectName ¶
func (r *UpdateVeditProjectRequest) SetProjectName(projectName string)
param projectName: 工程名称(Optional)
func (*UpdateVeditProjectRequest) SetTimeline ¶
func (r *UpdateVeditProjectRequest) SetTimeline(timeline *mps.Timeline)
param timeline: 时间线信息(Optional)
type UpdateVeditProjectResponse ¶
type UpdateVeditProjectResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateVeditProjectResult `json:"result"`
}
type UpdateWatermarkTemplateRequest ¶
type UpdateWatermarkTemplateRequest struct {
core.JDCloudRequest
/* 水印模板ID */
TemplateId string `json:"templateId"`
/* 水印模板名称。长度不超过128个字符。 */
Name string `json:"name"`
/* 水印类型。取值范围:
image - 图片明水印
text - 文字明水印
invisible - 文字暗水印
*/
Type string `json:"type"`
/* 水印图片链接(type=image时必填)(图片水印设置有效) (Optional) */
ImageUrl *string `json:"imageUrl"`
/* 文字水印内容(type=text 或 invisible时必填,最长100个字符)(文字水印设置有效) (Optional) */
Text *string `json:"text"`
/* 字体文件名称(type=text时可选,默认:LangZheng)
支持的字体文件:
朗正.ttf
尚酷.ttf
机甲.ttf
中秀体.ttf
乐喵体.ttf
糯米团.ttf
雅酷黑.ttf
汉真广标.ttf
SourceHanSansCN-Normal.ttf
simfang.ttf
对应的输入参数值:
朗正 - LangZheng
尚酷 - ShangKu
机甲 - JiJia
中秀体 - ZhongXiuTi
乐喵体 - LeMiaoTi
糯米团 - NuoMiTuan
雅酷黑 - YaKuHei
汉真广标 - HanZhenGuangBiao
SourceHanSansCN-Normal - SourceHanSansCN-Normal
simfang - FangSong
(文字水印设置有效)
(Optional) */
FontFile *string `json:"fontFile"`
/* 字号(type=text时可选,默认24,单位像素)(文字水印设置有效) (Optional) */
FontSize *int `json:"fontSize"`
/* 字体颜色(type=text时可选,默认#FFFFFF,格式#RRGGBB)(文字水印设置有效) (Optional) */
FontColor *string `json:"fontColor"`
/* 字体透明度,取值范围:[0, 100](type=text时可选)(文字水印设置有效) (Optional) */
FontOpacity *int `json:"fontOpacity"`
/* 水印位置。取值范围:
TL - 左上
TR - 右上
BL - 左下
BR - 右下
MC - 中间
(通用字段)
(Optional) */
Position *string `json:"position"`
/* 水印距离左侧偏移,取值范围:[1, 1920](通用字段) (Optional) */
OffsetX *int `json:"offsetX"`
/* 水印距离顶部偏移,取值范围:[1, 1920](通用字段) (Optional) */
OffsetY *int `json:"offsetY"`
/* 水印宽度(图片水印设置有效) (Optional) */
Width *int `json:"width"`
/* 水印高度(图片水印设置有效) (Optional) */
Height *int `json:"height"`
/* 水印宽度参考系数
当sizeUnit为percent时,用于指定计算实际水印宽度时的参考系数,实际宽度=width*widthRef
默认值:video
可选值:
logo(实际宽度=width*水印宽度像素数)
video(同video_width)
video_width(实际宽度=width*输出视频宽度)
video_height(实际宽度=width*输出视频高度)
video_longside(实际宽度=width*输出视频长边)
video_shortside(实际宽度=width*输出视频短边)
(图片水印设置有效)
(Optional) */
WidthRef *string `json:"widthRef"`
/* 水印高度参考系数
当sizeUnit为percent时,用于指定计算实际水印高度时的参考系数,实际高度=height*heightRef
默认值:video
可选值:
logo(实际高度=height*水印高度像素数)
video(同video_height)
video_width(实际高度=height*输出视频宽度)
video_height(实际高度=height*输出视频高度)
video_longside(实际高度=height*输出视频长边)
video_shortside(实际高度=height*输出视频短边)
(图片水印设置有效)
(Optional) */
HeightRef *string `json:"heightRef"`
/* 位置单位。取值范围:
percent - 按百分比
pixel - 按像素
缺省值为 pixel
(图片水印设置有效)
(Optional) */
SizeUnit *string `json:"sizeUnit"`
/* 水印边界距corner距离单位。取值范围:
percent - 按百分比
pixel - 按像素
缺省值为 pixel
(通用字段)
(Optional) */
OffsetUnit *string `json:"offsetUnit"`
/* 旋转角度,取值范围:[0, 360],缺省值为0(文字水印设置有效) (Optional) */
Rotation *int `json:"rotation"`
/* 阴影强度,取值范围:[0, 100],缺省值为0(文字水印设置有效) (Optional) */
Shadow *int `json:"shadow"`
/* 阴影颜色,格式#RRGGBB,缺省值为#000000(文字水印设置有效) (Optional) */
ShadowColor *string `json:"shadowColor"`
/* 是否平铺水印,缺省值为false(文字水印设置有效) (Optional) */
Tile *bool `json:"tile"`
/* 平铺间距百分比,取值范围:[0, 100],缺省值为10(文字水印设置有效) (Optional) */
TileSpacing *int `json:"tileSpacing"`
}
func NewUpdateWatermarkTemplateRequest ¶
func NewUpdateWatermarkTemplateRequest( templateId string, name string, type_ string, ) *UpdateWatermarkTemplateRequest
- param templateId: 水印模板ID (Required)
- param name: 水印模板名称。长度不超过128个字符。 (Required)
- param type_: 水印类型。取值范围: image - 图片明水印 text - 文字明水印 invisible - 文字暗水印
(Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateWatermarkTemplateRequestWithAllParams ¶
func NewUpdateWatermarkTemplateRequestWithAllParams( templateId string, name string, type_ string, imageUrl *string, text *string, fontFile *string, fontSize *int, fontColor *string, fontOpacity *int, position *string, offsetX *int, offsetY *int, width *int, height *int, widthRef *string, heightRef *string, sizeUnit *string, offsetUnit *string, rotation *int, shadow *int, shadowColor *string, tile *bool, tileSpacing *int, ) *UpdateWatermarkTemplateRequest
- param templateId: 水印模板ID (Required)
- param name: 水印模板名称。长度不超过128个字符。 (Required)
- param type_: 水印类型。取值范围: image - 图片明水印 text - 文字明水印 invisible - 文字暗水印 (Required)
- param imageUrl: 水印图片链接(type=image时必填)(图片水印设置有效) (Optional)
- param text: 文字水印内容(type=text 或 invisible时必填,最长100个字符)(文字水印设置有效) (Optional)
- param fontFile: 字体文件名称(type=text时可选,默认:LangZheng)
支持的字体文件:
朗正.ttf 尚酷.ttf 机甲.ttf 中秀体.ttf 乐喵体.ttf 糯米团.ttf 雅酷黑.ttf 汉真广标.ttf SourceHanSansCN-Normal.ttf simfang.ttf
对应的输入参数值:
朗正 - LangZheng 尚酷 - ShangKu 机甲 - JiJia 中秀体 - ZhongXiuTi 乐喵体 - LeMiaoTi 糯米团 - NuoMiTuan 雅酷黑 - YaKuHei 汉真广标 - HanZhenGuangBiao SourceHanSansCN-Normal - SourceHanSansCN-Normal simfang - FangSong (文字水印设置有效) (Optional) * param fontSize: 字号(type=text时可选,默认24,单位像素)(文字水印设置有效) (Optional) * param fontColor: 字体颜色(type=text时可选,默认#FFFFFF,格式#RRGGBB)(文字水印设置有效) (Optional) * param fontOpacity: 字体透明度,取值范围:[0, 100](type=text时可选)(文字水印设置有效) (Optional) * param position: 水印位置。取值范围: TL - 左上 TR - 右上 BL - 左下 BR - 右下 MC - 中间
(通用字段)
(Optional) * param offsetX: 水印距离左侧偏移,取值范围:[1, 1920](通用字段) (Optional) * param offsetY: 水印距离顶部偏移,取值范围:[1, 1920](通用字段) (Optional) * param width: 水印宽度(图片水印设置有效) (Optional) * param height: 水印高度(图片水印设置有效) (Optional) * param widthRef: 水印宽度参考系数
当sizeUnit为percent时,用于指定计算实际水印宽度时的参考系数,实际宽度=width*widthRef 默认值:video 可选值: logo(实际宽度=width*水印宽度像素数) video(同video_width) video_width(实际宽度=width*输出视频宽度) video_height(实际宽度=width*输出视频高度) video_longside(实际宽度=width*输出视频长边) video_shortside(实际宽度=width*输出视频短边) (图片水印设置有效)
(Optional) * param heightRef: 水印高度参考系数
当sizeUnit为percent时,用于指定计算实际水印高度时的参考系数,实际高度=height*heightRef 默认值:video 可选值: logo(实际高度=height*水印高度像素数) video(同video_height) video_width(实际高度=height*输出视频宽度) video_height(实际高度=height*输出视频高度) video_longside(实际高度=height*输出视频长边) video_shortside(实际高度=height*输出视频短边) (图片水印设置有效)
(Optional) * param sizeUnit: 位置单位。取值范围: percent - 按百分比 pixel - 按像素
缺省值为 pixel (图片水印设置有效)
(Optional) * param offsetUnit: 水印边界距corner距离单位。取值范围: percent - 按百分比 pixel - 按像素
缺省值为 pixel (通用字段)
(Optional) * param rotation: 旋转角度,取值范围:[0, 360],缺省值为0(文字水印设置有效) (Optional) * param shadow: 阴影强度,取值范围:[0, 100],缺省值为0(文字水印设置有效) (Optional) * param shadowColor: 阴影颜色,格式#RRGGBB,缺省值为#000000(文字水印设置有效) (Optional) * param tile: 是否平铺水印,缺省值为false(文字水印设置有效) (Optional) * param tileSpacing: 平铺间距百分比,取值范围:[0, 100],缺省值为10(文字水印设置有效) (Optional)
func NewUpdateWatermarkTemplateRequestWithoutParam ¶
func NewUpdateWatermarkTemplateRequestWithoutParam() *UpdateWatermarkTemplateRequest
This constructor has better compatible ability when API parameters changed
func (UpdateWatermarkTemplateRequest) GetRegionId ¶
func (r UpdateWatermarkTemplateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateWatermarkTemplateRequest) SetFontColor ¶
func (r *UpdateWatermarkTemplateRequest) SetFontColor(fontColor string)
param fontColor: 字体颜色(type=text时可选,默认#FFFFFF,格式#RRGGBB)(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetFontFile ¶
func (r *UpdateWatermarkTemplateRequest) SetFontFile(fontFile string)
param fontFile: 字体文件名称(type=text时可选,默认:LangZheng)
支持的字体文件:
朗正.ttf 尚酷.ttf 机甲.ttf 中秀体.ttf 乐喵体.ttf 糯米团.ttf 雅酷黑.ttf 汉真广标.ttf SourceHanSansCN-Normal.ttf simfang.ttf
对应的输入参数值:
朗正 - LangZheng 尚酷 - ShangKu 机甲 - JiJia 中秀体 - ZhongXiuTi 乐喵体 - LeMiaoTi 糯米团 - NuoMiTuan 雅酷黑 - YaKuHei 汉真广标 - HanZhenGuangBiao SourceHanSansCN-Normal - SourceHanSansCN-Normal simfang - FangSong (文字水印设置有效)
(Optional)
func (*UpdateWatermarkTemplateRequest) SetFontOpacity ¶
func (r *UpdateWatermarkTemplateRequest) SetFontOpacity(fontOpacity int)
param fontOpacity: 字体透明度,取值范围:[0, 100](type=text时可选)(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetFontSize ¶
func (r *UpdateWatermarkTemplateRequest) SetFontSize(fontSize int)
param fontSize: 字号(type=text时可选,默认24,单位像素)(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetHeight ¶
func (r *UpdateWatermarkTemplateRequest) SetHeight(height int)
param height: 水印高度(图片水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetHeightRef ¶
func (r *UpdateWatermarkTemplateRequest) SetHeightRef(heightRef string)
param heightRef: 水印高度参考系数
当sizeUnit为percent时,用于指定计算实际水印高度时的参考系数,实际高度=height*heightRef 默认值:video 可选值: logo(实际高度=height*水印高度像素数) video(同video_height) video_width(实际高度=height*输出视频宽度) video_height(实际高度=height*输出视频高度) video_longside(实际高度=height*输出视频长边) video_shortside(实际高度=height*输出视频短边) (图片水印设置有效) (Optional)
func (*UpdateWatermarkTemplateRequest) SetImageUrl ¶
func (r *UpdateWatermarkTemplateRequest) SetImageUrl(imageUrl string)
param imageUrl: 水印图片链接(type=image时必填)(图片水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetName ¶
func (r *UpdateWatermarkTemplateRequest) SetName(name string)
param name: 水印模板名称。长度不超过128个字符。(Required)
func (*UpdateWatermarkTemplateRequest) SetOffsetUnit ¶
func (r *UpdateWatermarkTemplateRequest) SetOffsetUnit(offsetUnit string)
param offsetUnit: 水印边界距corner距离单位。取值范围: percent - 按百分比 pixel - 按像素
缺省值为 pixel (通用字段) (Optional)
func (*UpdateWatermarkTemplateRequest) SetOffsetX ¶
func (r *UpdateWatermarkTemplateRequest) SetOffsetX(offsetX int)
param offsetX: 水印距离左侧偏移,取值范围:[1, 1920](通用字段)(Optional)
func (*UpdateWatermarkTemplateRequest) SetOffsetY ¶
func (r *UpdateWatermarkTemplateRequest) SetOffsetY(offsetY int)
param offsetY: 水印距离顶部偏移,取值范围:[1, 1920](通用字段)(Optional)
func (*UpdateWatermarkTemplateRequest) SetPosition ¶
func (r *UpdateWatermarkTemplateRequest) SetPosition(position string)
param position: 水印位置。取值范围: TL - 左上 TR - 右上 BL - 左下 BR - 右下 MC - 中间
(通用字段) (Optional)
func (*UpdateWatermarkTemplateRequest) SetRotation ¶
func (r *UpdateWatermarkTemplateRequest) SetRotation(rotation int)
param rotation: 旋转角度,取值范围:[0, 360],缺省值为0(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetShadow ¶
func (r *UpdateWatermarkTemplateRequest) SetShadow(shadow int)
param shadow: 阴影强度,取值范围:[0, 100],缺省值为0(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetShadowColor ¶
func (r *UpdateWatermarkTemplateRequest) SetShadowColor(shadowColor string)
param shadowColor: 阴影颜色,格式#RRGGBB,缺省值为#000000(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetSizeUnit ¶
func (r *UpdateWatermarkTemplateRequest) SetSizeUnit(sizeUnit string)
param sizeUnit: 位置单位。取值范围: percent - 按百分比 pixel - 按像素
缺省值为 pixel (图片水印设置有效) (Optional)
func (*UpdateWatermarkTemplateRequest) SetTemplateId ¶
func (r *UpdateWatermarkTemplateRequest) SetTemplateId(templateId string)
param templateId: 水印模板ID(Required)
func (*UpdateWatermarkTemplateRequest) SetText ¶
func (r *UpdateWatermarkTemplateRequest) SetText(text string)
param text: 文字水印内容(type=text 或 invisible时必填,最长100个字符)(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetTile ¶
func (r *UpdateWatermarkTemplateRequest) SetTile(tile bool)
param tile: 是否平铺水印,缺省值为false(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetTileSpacing ¶
func (r *UpdateWatermarkTemplateRequest) SetTileSpacing(tileSpacing int)
param tileSpacing: 平铺间距百分比,取值范围:[0, 100],缺省值为10(文字水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetType ¶
func (r *UpdateWatermarkTemplateRequest) SetType(type_ string)
param type_: 水印类型。取值范围: image - 图片明水印 text - 文字明水印 invisible - 文字暗水印
(Required)
func (*UpdateWatermarkTemplateRequest) SetWidth ¶
func (r *UpdateWatermarkTemplateRequest) SetWidth(width int)
param width: 水印宽度(图片水印设置有效)(Optional)
func (*UpdateWatermarkTemplateRequest) SetWidthRef ¶
func (r *UpdateWatermarkTemplateRequest) SetWidthRef(widthRef string)
param widthRef: 水印宽度参考系数
当sizeUnit为percent时,用于指定计算实际水印宽度时的参考系数,实际宽度=width*widthRef 默认值:video 可选值: logo(实际宽度=width*水印宽度像素数) video(同video_width) video_width(实际宽度=width*输出视频宽度) video_height(实际宽度=width*输出视频高度) video_longside(实际宽度=width*输出视频长边) video_shortside(实际宽度=width*输出视频短边) (图片水印设置有效) (Optional)
type UpdateWatermarkTemplateResponse ¶
type UpdateWatermarkTemplateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateWatermarkTemplateResult `json:"result"`
}
type UpdateWatermarkTemplateResult ¶
type UpdateWatermarkTemplateResult struct {
WatermarkId string `json:"watermarkId"`
UserPin string `json:"userPin"`
Name string `json:"name"`
Type string `json:"type_"`
ImageUrl string `json:"imageUrl"`
Text string `json:"text"`
FontFile string `json:"fontFile"`
FontSize int `json:"fontSize"`
FontColor string `json:"fontColor"`
FontOpacity int `json:"fontOpacity"`
Position string `json:"position"`
OffsetX int `json:"offsetX"`
OffsetY int `json:"offsetY"`
Width int `json:"width"`
Height int `json:"height"`
WidthRef string `json:"widthRef"`
HeightRef string `json:"heightRef"`
SizeUnit string `json:"sizeUnit"`
OffsetUnit string `json:"offsetUnit"`
Rotation int `json:"rotation"`
Shadow int `json:"shadow"`
ShadowColor string `json:"shadowColor"`
Tile bool `json:"tile"`
TileSpacing int `json:"tileSpacing"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type UploadFileToKnowledgeBaseRequest ¶
type UploadFileToKnowledgeBaseRequest struct {
core.JDCloudRequest
/* bucket */
Bucket string `json:"bucket"`
/* objectKey */
ObjectKey string `json:"objectKey"`
/* fileName */
FileName string `json:"fileName"`
/* fileMd5 */
FileMd5 string `json:"fileMd5"`
}
func NewUploadFileToKnowledgeBaseRequest ¶
func NewUploadFileToKnowledgeBaseRequest( bucket string, objectKey string, fileName string, fileMd5 string, ) *UploadFileToKnowledgeBaseRequest
* param bucket: bucket (Required) * param objectKey: objectKey (Required) * param fileName: fileName (Required) * param fileMd5: fileMd5 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUploadFileToKnowledgeBaseRequestWithAllParams ¶
func NewUploadFileToKnowledgeBaseRequestWithAllParams( bucket string, objectKey string, fileName string, fileMd5 string, ) *UploadFileToKnowledgeBaseRequest
* param bucket: bucket (Required) * param objectKey: objectKey (Required) * param fileName: fileName (Required) * param fileMd5: fileMd5 (Required)
func NewUploadFileToKnowledgeBaseRequestWithoutParam ¶
func NewUploadFileToKnowledgeBaseRequestWithoutParam() *UploadFileToKnowledgeBaseRequest
This constructor has better compatible ability when API parameters changed
func (UploadFileToKnowledgeBaseRequest) GetRegionId ¶
func (r UploadFileToKnowledgeBaseRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UploadFileToKnowledgeBaseRequest) SetBucket ¶
func (r *UploadFileToKnowledgeBaseRequest) SetBucket(bucket string)
param bucket: bucket(Required)
func (*UploadFileToKnowledgeBaseRequest) SetFileMd5 ¶
func (r *UploadFileToKnowledgeBaseRequest) SetFileMd5(fileMd5 string)
param fileMd5: fileMd5(Required)
func (*UploadFileToKnowledgeBaseRequest) SetFileName ¶
func (r *UploadFileToKnowledgeBaseRequest) SetFileName(fileName string)
param fileName: fileName(Required)
func (*UploadFileToKnowledgeBaseRequest) SetObjectKey ¶
func (r *UploadFileToKnowledgeBaseRequest) SetObjectKey(objectKey string)
param objectKey: objectKey(Required)
type UploadFileToKnowledgeBaseResponse ¶
type UploadFileToKnowledgeBaseResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UploadFileToKnowledgeBaseResult `json:"result"`
}
Source Files
¶
- AccessRealtimeASRTaskToken.go
- BatchDeleteKnowledgeFileRecord.go
- BatchUploadFileToKnowledgeBase.go
- CountImageStyle.go
- CreateASRTaskHotWords.go
- CreateAiChatConv.go
- CreateGlobalHotWords.go
- CreateImageStyle.go
- CreateNonRealtimeASRTasks.go
- CreateProcessDefinition.go
- CreateRealtimeASRTask.go
- CreateSnapshotTemplate.go
- CreateThumbnailTask.go
- CreateTranscodeTemplate.go
- CreateVeditJob.go
- CreateVeditProject.go
- CreateWatermarkTemplate.go
- DeleteASRTask.go
- DeleteASRTaskHotWords.go
- DeleteImageStyle.go
- DeleteKnowledgeBaseFileRecord.go
- DeleteProcessDefinitionByCode.go
- DeleteProcessInstanceById.go
- DeleteSnapshotTask.go
- DeleteSnapshotTemplate.go
- DeleteStyleDelimiter.go
- DeleteTranscodeTemplate.go
- DeleteVeditProject.go
- DeleteVoiceprint.go
- DeleteWatermarkTemplate.go
- DescribeASRMinutesText.go
- DescribeASRTask.go
- DescribeASRTaskContent.go
- DescribeASRTaskHotWords.go
- DescribeASRTaskHotWordsDetails.go
- DescribeASRTaskTemplate.go
- DescribeASRTasks.go
- DescribeKnowledgeBaseFileDownloadUrl.go
- DescribeKnowledgeBaseFileRecords.go
- DescribeMyMinutesText.go
- DescribeVoiceprint.go
- DescribeVoiceprints.go
- ExportAsrContentToWord.go
- ExportMinutesSummaryToWord.go
- ExportMinutesTextToWord.go
- GenTaskCodeList.go
- GetImageStyle.go
- GetNotification.go
- GetSnapshotTask.go
- GetSnapshotTemplate.go
- GetStyleDelimiter.go
- GetThumbnailTask.go
- GetTranscodeJob.go
- GetTranscodeTemplate.go
- GetVeditProject.go
- GetWatermarkTemplate.go
- ImportKnowledgeByASRTask.go
- ListImageStyle.go
- ListSnapshotTasks.go
- ListSnapshotTemplates.go
- ListThumbnailTask.go
- ListTranscodeJobs.go
- ListTranscodeTemplates.go
- ListVeditProjects.go
- ListWatermarkTemplates.go
- ModifySnapshotTemplate.go
- ModifyTranscodeTemplate.go
- QueryCallbackSettings.go
- QueryProcessDefinitionByCode.go
- QueryProcessDefinitionListPaging.go
- QueryProcessInstanceById.go
- QueryProcessInstanceList.go
- QuerySnapshotTaskResult.go
- QueryTaskListByProcessId.go
- RegenerateASRTask.go
- SaveASRMinutesText.go
- SaveAsrTaskTemplate.go
- SaveMyMinutesText.go
- SaveVoiceprint.go
- SetCallbackSettings.go
- SetNotification.go
- SetStyleDelimiter.go
- StartProcessInstance.go
- SubmitImageDetectionTask.go
- SubmitSnapshotTask.go
- SubmitTranscodeJob.go
- SubmitVeditJob.go
- UpdateASRTaskHotWordStatus.go
- UpdateASRTaskHotWords.go
- UpdateAsrTask.go
- UpdateImageStyle.go
- UpdateKnowledgeBaseFileStatus.go
- UpdateTranscodeTemplate.go
- UpdateVeditProject.go
- UpdateWatermarkTemplate.go
- UploadFileToKnowledgeBase.go