Ghufran Zahidi d6bfecf2ef
[powershell] Updated the Api doc with httpsiging script snippet. (#7499)
* Added the httpsigning code snippet for api doc

* Updated the sample

* update samples

Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-09-25 16:54:14 +08:00

803 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
$Pet = Initialize-PSPetstorePet  -Id null `
 -Category null `
 -Name doggie `
 -PhotoUrls null `
 -Tags null `
 -Status null
  • Convert the resource to JSON
$Pet | ConvertTo-JSON

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