William Cheng a7e92786df
[PowerShell] add more tests to powershell client (#12057)
* add more tests to powershell client

* update spec

* update method name

* add new file
2022-04-06 10:24:32 +08:00

850 B

Order

Properties

Name Type Description Notes
Id Int64 [optional]
PetId Int64 [optional]
Quantity Int32 [optional]
ShipDate System.DateTime [optional]
Status String Order Status [optional]
Complete Boolean [optional] [default to $false]

Examples

  • Prepare the resource
$Order = Initialize-PSPetstoreOrder  -Id null `
 -PetId null `
 -Quantity null `
 -ShipDate 2020-02-02T20:20:20.000222Z `
 -Status null `
 -Complete null
  • Convert the resource to JSON
$Order | ConvertTo-JSON

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