openapi-generator/samples/client/petstore/powershell/docs/AdditionalPropertiesClass.md
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

1.5 KiB

AdditionalPropertiesClass

Properties

Name Type Description Notes
MapProperty System.Collections.Hashtable [optional]
MapOfMapProperty System.Collections.Hashtable [optional]
Anytype1 AnyType [optional]
MapWithUndeclaredPropertiesAnytype1 SystemCollectionsHashtable [optional]
MapWithUndeclaredPropertiesAnytype2 SystemCollectionsHashtable [optional]
MapWithUndeclaredPropertiesAnytype3 System.Collections.Hashtable [optional]
EmptyMap SystemCollectionsHashtable an object with no declared properties and no undeclared properties, hence it's an empty map. [optional]
MapWithUndeclaredPropertiesString System.Collections.Hashtable [optional]

Examples

  • Prepare the resource
$AdditionalPropertiesClass = Initialize-PSPetstoreAdditionalPropertiesClass  -MapProperty null `
 -MapOfMapProperty null `
 -Anytype1 null `
 -MapWithUndeclaredPropertiesAnytype1 null `
 -MapWithUndeclaredPropertiesAnytype2 null `
 -MapWithUndeclaredPropertiesAnytype3 null `
 -EmptyMap null `
 -MapWithUndeclaredPropertiesString null
  • Convert the resource to JSON
$AdditionalPropertiesClass | ConvertTo-JSON

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