Skip to content

Commit

Permalink
内容审核DataId参数
Browse files Browse the repository at this point in the history
  • Loading branch information
mossju committed Nov 23, 2021
1 parent bab25f1 commit 5eabaa9
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ type PutVideoAuditingJobOptions struct {
XMLName xml.Name `xml:"Request"`
InputObject string `xml:"Input>Object,omitempty"`
InputUrl string `xml:"Input>Url,omitempty"`
InputDataId string `xml:"Input>DataId,omitempty"`
Conf *VideoAuditingJobConf `xml:"Conf"`
}

Expand Down Expand Up @@ -239,6 +240,7 @@ type AuditingJobDetail struct {
CreationTime string `xml:",omitempty"`
Object string `xml:",omitempty"`
Url string `xml:",omitempty"`
DataId string `xml:",omitempty"`
SnapshotCount string `xml:",omitempty"`
Label string `xml:",omitempty"`
Result int `xml:",omitempty"`
Expand Down Expand Up @@ -295,6 +297,7 @@ type PutAudioAuditingJobOptions struct {
XMLName xml.Name `xml:"Request"`
InputObject string `xml:"Input>Object,omitempty"`
InputUrl string `xml:"Input>Url,omitempty"`
InputDataId string `xml:"Input>DataId,omitempty"`
Conf *AudioAuditingJobConf `xml:"Conf"`
}

Expand Down Expand Up @@ -339,6 +342,7 @@ type AudioAuditingJobDetail struct {
CreationTime string `xml:",omitempty"`
Object string `xml:",omitempty"`
Url string `xml:",omitempty"`
DataId string `xml:",omitempty"`
AudioText string `xml:",omitempty"`
Label string `xml:",omitempty"`
Result int `xml:",omitempty"`
Expand Down Expand Up @@ -367,6 +371,7 @@ type PutTextAuditingJobOptions struct {
XMLName xml.Name `xml:"Request"`
InputObject string `xml:"Input>Object,omitempty"`
InputContent string `xml:"Input>Content,omitempty"`
InputDataId string `xml:"Input>DataId,omitempty"`
Conf *TextAuditingJobConf `xml:"Conf"`
}

Expand Down Expand Up @@ -411,6 +416,7 @@ type TextAuditingJobDetail struct {
CreationTime string `xml:",omitempty"`
Object string `xml:",omitempty"`
Url string `xml:",omitempty"`
DataId string `xml:",omitempty"`
Content string `xml:",omitempty"`
SectionCount int `xml:",omitempty"`
Label string `xml:",omitempty"`
Expand Down Expand Up @@ -452,10 +458,11 @@ func (s *CIService) GetTextAuditingJob(ctx context.Context, jobid string) (*GetT

// PutDocumentAuditingJobOptions is the option of PutDocumentAuditingJob
type PutDocumentAuditingJobOptions struct {
XMLName xml.Name `xml:"Request"`
InputUrl string `xml:"Input>Url,omitempty"`
InputType string `xml:"Input>Type,omitempty"`
Conf *DocumentAuditingJobConf `xml:"Conf"`
XMLName xml.Name `xml:"Request"`
InputUrl string `xml:"Input>Url,omitempty"`
InputType string `xml:"Input>Type,omitempty"`
InputDataId string `xml:"Input>DataId,omitempty"`
Conf *DocumentAuditingJobConf `xml:"Conf"`
}

// DocumentAuditingJobConf is the config of PutDocumentAuditingJobOptions
Expand Down Expand Up @@ -498,6 +505,7 @@ type DocumentAuditingJobDetail struct {
CreationTime string `xml:",omitempty"`
Object string `xml:",omitempty"`
Url string `xml:",omitempty"`
DataId string `xml:",omitempty"`
PageCount int `xml:",omitempty"`
Label string `xml:",omitempty"`
Suggestion int `xml:",omitempty"`
Expand Down

0 comments on commit 5eabaa9

Please sign in to comment.