William Cheng 29183e0280
[PowerShell] support default value in models (#6920)
* support default value in ps

* revert changes to the spec
2020-07-13 13:41:10 +08:00

908 B

User

Properties

Name Type Description Notes
Id Int64 [optional]
Username String [optional]
FirstName String [optional]
LastName String [optional]
Email String [optional]
Password String [optional]
Phone String [optional]
UserStatus Int32 User Status [optional]

Examples

  • Prepare the resource
Initialize-PSPetstoreUser  -Id null `
 -Username null `
 -FirstName null `
 -LastName null `
 -Email null `
 -Password null `
 -Phone null `
 -UserStatus null
  • Convert the resource to JSON
$ | Convert-ToJSON

[Back to Model list] [Back to API list] [Back to README]