v1.8.0
This commit is contained in:
@@ -18,14 +18,14 @@ type NATRuleAddRequest struct {
|
||||
// Required: true
|
||||
IntIP string `url:"intIp" json:"intIp" validate:"required"`
|
||||
|
||||
// Internal IP port number to use for this rule
|
||||
// Required: true
|
||||
IntPort uint `url:"intPort" json:"intPort" validate:"required"`
|
||||
|
||||
// External IP start port to use for this rule
|
||||
// Required: true
|
||||
ExtPortStart uint `url:"extPortStart" json:"extPortStart" validate:"required"`
|
||||
|
||||
// Internal IP port number to use for this rule
|
||||
// Required: false
|
||||
IntPort uint `url:"intPort,omitempty" json:"intPort,omitempty"`
|
||||
|
||||
// External IP end port to use for this rule
|
||||
// Required: false
|
||||
ExtPortEnd uint `url:"extPortEnd,omitempty" json:"extPortEnd,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user