feat(ModemAuthentication): add pin

This commit is contained in:
2025-09-29 13:47:55 +02:00
parent 73fe819c9c
commit 0e0ff22a46
3 changed files with 33 additions and 15 deletions

View File

@@ -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 {