Files
go-unifi/unifi/setting_snmp.generated.go
2020-03-26 16:12:52 -04:00

32 lines
778 B
Go

// Code generated from ace.jar fields *.json files
// DO NOT EDIT.
package unifi
import (
"context"
"fmt"
)
// just to fix compile issues with the import
var (
_ fmt.Formatter
_ context.Context
)
type SettingSnmp struct {
ID string `json:"_id,omitempty"`
SiteID string `json:"site_id,omitempty"`
Hidden bool `json:"attr_hidden,omitempty"`
HiddenID string `json:"attr_hidden_id,omitempty"`
NoDelete bool `json:"attr_no_delete,omitempty"`
NoEdit bool `json:"attr_no_edit,omitempty"`
Community string `json:"community,omitempty"` // .{1,256}
Enabled bool `json:"enabled"`
EnabledV3 bool `json:"enabledV3"`
Username string `json:"username,omitempty"` // [a-zA-Z0-9_-]{1,30}
XPassword string `json:"x_password,omitempty"` // [^'"]{8,32}
}