gateWayGroupIp.go 651 B

123456789101112131415161718
  1. package v1
  2. type GetGateWayGroupIpByGatewayGroupIdRequest struct {
  3. GatewayGroupId int `form:"gatewayGroupId" json:"gatewayGroupId" binding:"required"`
  4. }
  5. type GateWayGroupIpRequest struct {
  6. Id int `json:"id" form:"id"`
  7. GatewayGroupId int `json:"gatewayGroupId" form:"gatewayGroupId" binding:"required"`
  8. Ip string `json:"ip" form:"ip" binding:"required"`
  9. Tag string `json:"tag" form:"tag"`
  10. OriginPlace string `json:"originPlace" form:"originPlace"`
  11. Comment string `json:"comment" form:"comment"`
  12. }
  13. type DeleteGateWayGroupIpRequest struct {
  14. Id int `json:"id" form:"id" binding:"required"`
  15. }