mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 21:20:56 +00:00
850 B
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