CreateSelection.go 445 B

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