BinaryBatchCancelRequest.go 683 B

1234567891011121314151617181920212223
  1. package binary_request
  2. import (
  3. "private-go-sdk/http"
  4. "encoding/json"
  5. "private-go-sdk/model/common"
  6. )
  7. type BinaryBatchCancelRequest struct {
  8. // <ext>core:true</ext> 【作废的数据签名】作废的数据签名
  9. DataSignList []*common.BinaryBatchCancelDataSignListRequest `json:"dataSignList"`
  10. Operator *common.NameUserInfoRequest `json:"operator"`
  11. }
  12. func (obj BinaryBatchCancelRequest) GetUrl() string {
  13. return "/binary/batch/cancel"
  14. }
  15. func (obj BinaryBatchCancelRequest) GetHttpParameter() *http.HttpParameter {
  16. parameter := http.NewPostHttpParameter()
  17. jsonBytes, _ := json.Marshal(obj)
  18. parameter.SetJsonParamer(string(jsonBytes))
  19. return parameter
  20. }