SealPersonalStatusChangeRequest.go 911 B

12345678910111213141516171819202122232425
  1. package seal_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 SealPersonalStatusChangeRequest struct {
  8. PersonSealInfoRequest *common.PersonSealInfoRequest `json:"personSealInfoRequest"`
  9. // <ext>core:true</ext> 【印章状态变更方式】印章状态变更方式 【传参】 取值范围:enable (启用)
  10. Method string `json:"method"`
  11. OperatorInfo *common.UserInfoRequest `json:"operatorInfo,omitempty"`
  12. }
  13. func (obj SealPersonalStatusChangeRequest) GetUrl() string {
  14. return "/seal/personal/status/change"
  15. }
  16. func (obj SealPersonalStatusChangeRequest) GetHttpParameter() *http.HttpParameter {
  17. parameter := http.NewPostHttpParameter()
  18. jsonBytes, _ := json.Marshal(obj)
  19. parameter.SetJsonParamer(string(jsonBytes))
  20. return parameter
  21. }