CreateSelectionRequest.go 495 B

123456789101112131415161718192021
  1. package http_model
  2. type CreateSelectionRequest struct {
  3. EnterpriseId string `json:"enterprise_id"`
  4. Platform string `json:"platform"`
  5. ProductId string `json:"product_id"`
  6. }
  7. type CreateSelectionData struct {
  8. SelectionId string `json:"selection_id"`
  9. }
  10. func NewCreateSelectionRequest() *CreateSelectionRequest {
  11. return new(CreateSelectionRequest)
  12. }
  13. func NewCreateSelectionResponse() *CommonResponse {
  14. resp := new(CommonResponse)
  15. resp.Data = new(CreateSelectionData)
  16. return resp
  17. }