2018-08-30 09:57:59 +00:00
|
|
|
package credential
|
|
|
|
|
|
|
|
import "encoding/json"
|
|
|
|
|
|
|
|
type SNMPCredential struct {
|
|
|
|
Credential
|
2018-08-30 11:12:07 +00:00
|
|
|
|
2018-08-30 09:57:59 +00:00
|
|
|
Version string `json:"version,omitempty"`
|
|
|
|
Community string `json:"community,omitempty"`
|
|
|
|
AuthenticationType string `json:"authenticationType,omitempty"`
|
|
|
|
User string `json:"user,omitempty"`
|
|
|
|
Password string `json:"password,omitempty"`
|
|
|
|
EncryptionType string `json:"encryptionType,omitempty"`
|
|
|
|
DataEncryptionKey string `json:"dataEncryptionKey,omitempty"`
|
|
|
|
ContextName string `json:"contextName,omitempty"`
|
|
|
|
Port json.Number `json:"port,Number,omitempty"`
|
|
|
|
Timeout json.Number `json:"timeout,Number,omitempty"`
|
|
|
|
}
|