Adding support for configuring subnet proxy (#1460)
Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
This commit is contained in:
@@ -44,6 +44,9 @@ type SubnetLoginMFARequest struct {
|
||||
// Required: true
|
||||
Otp *string `json:"otp"`
|
||||
|
||||
// proxy
|
||||
Proxy string `json:"proxy,omitempty"`
|
||||
|
||||
// username
|
||||
// Required: true
|
||||
Username *string `json:"username"`
|
||||
|
||||
@@ -40,6 +40,9 @@ type SubnetLoginRequest struct {
|
||||
// password
|
||||
Password string `json:"password,omitempty"`
|
||||
|
||||
// proxy
|
||||
Proxy string `json:"proxy,omitempty"`
|
||||
|
||||
// username
|
||||
Username string `json:"username,omitempty"`
|
||||
}
|
||||
|
||||
@@ -40,6 +40,9 @@ type SubnetRegisterRequest struct {
|
||||
// Required: true
|
||||
AccountID *string `json:"account_id"`
|
||||
|
||||
// proxy
|
||||
Proxy string `json:"proxy,omitempty"`
|
||||
|
||||
// token
|
||||
// Required: true
|
||||
Token *string `json:"token"`
|
||||
|
||||
Reference in New Issue
Block a user