package binary_request import ( "private-go-sdk/http" "encoding/json" "private-go-sdk/model/common" ) type BinaryBatchCancelRequest struct { // core:true 【作废的数据签名】作废的数据签名 DataSignList []*common.BinaryBatchCancelDataSignListRequest `json:"dataSignList"` Operator *common.NameUserInfoRequest `json:"operator"` } func (obj BinaryBatchCancelRequest) GetUrl() string { return "/binary/batch/cancel" } func (obj BinaryBatchCancelRequest) GetHttpParameter() *http.HttpParameter { parameter := http.NewPostHttpParameter() jsonBytes, _ := json.Marshal(obj) parameter.SetJsonParamer(string(jsonBytes)) return parameter }