github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/node_user_properties.go (about) 1 /* Copyright © 2017 VMware, Inc. All Rights Reserved. 2 SPDX-License-Identifier: BSD-2-Clause 3 4 Generated by: https://github.com/swagger-api/swagger-codegen.git */ 5 6 package manager 7 8 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type NodeUserProperties struct { 13 14 // The server will populate this field when returing the resource. Ignored on PUT and POST. 15 Links []common.ResourceLink `json:"_links,omitempty"` 16 17 Schema string `json:"_schema,omitempty"` 18 19 Self *common.SelfResourceLink `json:"_self,omitempty"` 20 21 // Full name for the user 22 FullName string `json:"full_name,omitempty"` 23 24 // Old password for the user (required on PUT if password specified) 25 OldPassword string `json:"old_password,omitempty"` 26 27 // Password for the user (optionally specified on PUT, unspecified on GET) 28 Password string `json:"password,omitempty"` 29 30 // Numeric id for the user 31 Userid int64 `json:"userid,omitempty"` 32 33 // User login name (must be \"root\" if userid is 0) 34 Username string `json:"username,omitempty"` 35 }