feat(ModemAuthentication): add pin
This commit is contained in:
@@ -3,12 +3,13 @@ package model
|
||||
// type : null, pap_chap, pap, chap
|
||||
// if type selected, username and password are mandatory
|
||||
type ModemAuthentication struct {
|
||||
Authentication struct {
|
||||
Apn string `json:"apn"`
|
||||
Authentication *struct {
|
||||
Apn string `json:"apn,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
} `json:"authentication"`
|
||||
} `json:"authentication,omitempty"`
|
||||
Pin string `json:"pin,omitempty"`
|
||||
}
|
||||
|
||||
type ModemConfiguration struct {
|
||||
|
Reference in New Issue
Block a user