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

793 B

Pet

Properties

Name Type Description Notes
Id Int64 [optional]
Category Category [optional]
Name String
PhotoUrls String[]
Tags Tag[] [optional]
Status String pet status in the store [optional]

Examples

  • Prepare the resource
Initialize-PSPetstorePet  -Id null `
 -Category null `
 -Name doggie `
 -PhotoUrls null `
 -Tags null `
 -Status null
  • Convert the resource to JSON
$ | Convert-ToJSON

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