William Cheng 29f0d22713
[Powershell] add name mapping features (#16509)
* add name mapping features to the powershell generator

* update samples
2023-09-05 15:45:03 +08:00

862 B

ObjectWithDeprecatedFields

Properties

Name Type Description Notes
Uuid String [optional]
Id Decimal [optional]
DeprecatedRef DeprecatedObject [optional]
Bars String[] [optional]
SomethingElse String [optional]

Examples

  • Prepare the resource
$ObjectWithDeprecatedFields = Initialize-PSPetstoreObjectWithDeprecatedFields  -Uuid null `
 -Id null `
 -DeprecatedRef null `
 -Bars null `
 -SomethingElse null
  • Convert the resource to JSON
$ObjectWithDeprecatedFields | ConvertTo-JSON

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