Skip to content

Commit

Permalink
统一结构体定义
Browse files Browse the repository at this point in the history
  • Loading branch information
lilang authored and jojoliang committed May 30, 2022
1 parent 07fea3a commit 77384a5
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions ci_media.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,35 +539,9 @@ type CreateMultiMediaJobsResult struct {

// MediaProcessJobsNotifyBody TODO
type MediaProcessJobsNotifyBody struct {
XMLName xml.Name `xml:"Response"`
EventName string `xml:"EventName"`
JobsDetail struct {
Code string `xml:"Code"`
CreationTime string `xml:"CreationTime"`
EndTime string `xml:"EndTime"`
Input struct {
BucketId string `xml:"BucketId"`
Object string `xml:"Object"`
Region string `xml:"Region"`
} `xml:"Input"`
JobId string `xml:"JobId"`
Message string `xml:"Message"`
Operation struct {
MediaInfo *MediaInfo `xml:"MediaInfo"`
MediaResult *MediaResult `xml:"MediaResult"`
Output struct {
Bucket string `xml:"Bucket"`
Object string `xml:"Object"`
Region string `xml:"Region"`
} `xml:"Output"`
TemplateId string `xml:"TemplateId"`
TemplateName string `xml:"TemplateName"`
} `xml:"Operation"`
QueueId string `xml:"QueueId"`
StartTime string `xml:"StartTime"`
State string `xml:"State"`
Tag string `xml:"Tag"`
} `xml:"JobsDetail"`
XMLName xml.Name `xml:"Response"`
EventName string `xml:"EventName"`
JobsDetail *MediaProcessJobDetail `xml:"JobsDetail,omitempty"`
}

// WorkflowExecutionNotifyBody TODO
Expand Down

0 comments on commit 77384a5

Please sign in to comment.