ContractBatchRecallRequest.go 1019 B

12345678910111213141516171819202122232425
  1. package contract_request
  2. import (
  3. "encoding/json"
  4. "git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
  5. "git.sxidc.com/student-physical-examination/contract_lock_sdk/model/common"
  6. )
  7. type ContractBatchRecallRequest struct {
  8. // <ext>core:true;format:string;deprecated:false</ext> 【电子签约文件】电子签约文件 【作用】 查询需要撤回的电子签约文件集合 【传参】 电子签约文件id和第三方业务系统文件id必传其一,均传入以电子签约文件id为准。
  9. ContractInfos []*common.ContractRequest `json:"contractInfos"`
  10. // 【撤回原因】撤回原因 【传参】 最大长度:500字符。
  11. Reason string `json:"reason,omitempty"`
  12. }
  13. func (obj ContractBatchRecallRequest) GetUrl() string {
  14. return "/contract/batch/recall"
  15. }
  16. func (obj ContractBatchRecallRequest) GetHttpParameter() *http.HttpParameter {
  17. parameter := http.NewPostHttpParameter()
  18. jsonBytes, _ := json.Marshal(obj)
  19. parameter.SetJsonParamer(string(jsonBytes))
  20. return parameter
  21. }