diff --git a/fields/main.go b/fields/main.go index 613b217..1224c05 100644 --- a/fields/main.go +++ b/fields/main.go @@ -311,12 +311,12 @@ func main() { case "SettingMgmt": sshKeyField := NewFieldInfo(resource.StructName+"XSshKeys", "x_ssh_keys", "struct", "", false, false, "") sshKeyField.Fields = map[string]*FieldInfo{ - "name": NewFieldInfo("name", "name", "string", "", false, false, ""), - "keyType": NewFieldInfo("keyType", "type", "string", "", false, false, ""), - "key": NewFieldInfo("key", "key", "string", "", false, false, ""), - "comment": NewFieldInfo("comment", "comment", "string", "", false, false, ""), - "date": NewFieldInfo("date", "date", "string", "", false, false, ""), - "fingerprint": NewFieldInfo("fingerprint", "fingerprint", "string", "", false, false, ""), + "name": NewFieldInfo("Name", "name", "string", "", false, false, ""), + "keyType": NewFieldInfo("KeyType", "type", "string", "", false, false, ""), + "key": NewFieldInfo("Key", "key", "string", "", false, false, ""), + "comment": NewFieldInfo("Comment", "comment", "string", "", false, false, ""), + "date": NewFieldInfo("Date", "date", "string", "", false, false, ""), + "fingerprint": NewFieldInfo("Fingerprint", "fingerprint", "string", "", false, false, ""), } resource.Types[sshKeyField.FieldName] = sshKeyField diff --git a/unifi/setting_mgmt.generated.go b/unifi/setting_mgmt.generated.go index 00607b7..821c4a4 100644 --- a/unifi/setting_mgmt.generated.go +++ b/unifi/setting_mgmt.generated.go @@ -63,12 +63,12 @@ func (dst *SettingMgmt) UnmarshalJSON(b []byte) error { } type SettingMgmtXSshKeys struct { - comment string `json:"comment"` - date string `json:"date"` - fingerprint string `json:"fingerprint"` - key string `json:"key"` - keyType string `json:"type"` - name string `json:"name"` + Comment string `json:"comment"` + Date string `json:"date"` + Fingerprint string `json:"fingerprint"` + Key string `json:"key"` + KeyType string `json:"type"` + Name string `json:"name"` } func (dst *SettingMgmtXSshKeys) UnmarshalJSON(b []byte) error {