Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 1.7 KB

File metadata and controls

43 lines (37 loc) · 1.7 KB

NullableClass

Properties

Name Type Description Notes
IntegerProp Int32 [optional]
NumberProp Decimal [optional]
BooleanProp Boolean [optional]
StringProp String [optional]
DateProp System.DateTime [optional]
DatetimeProp System.DateTime [optional]
ArrayNullableProp SystemCollectionsHashtable[] [optional]
ArrayAndItemsNullableProp SystemCollectionsHashtable[] [optional]
ArrayItemsNullable SystemCollectionsHashtable[] [optional]
ObjectNullableProp System.Collections.Hashtable [optional]
ObjectAndItemsNullableProp System.Collections.Hashtable [optional]
ObjectItemsNullable System.Collections.Hashtable [optional]

Examples

  • Prepare the resource
$NullableClass = Initialize-PSPetstoreNullableClass  -IntegerProp null `
 -NumberProp null `
 -BooleanProp null `
 -StringProp null `
 -DateProp null `
 -DatetimeProp null `
 -ArrayNullableProp null `
 -ArrayAndItemsNullableProp null `
 -ArrayItemsNullable null `
 -ObjectNullableProp null `
 -ObjectAndItemsNullableProp null `
 -ObjectItemsNullable null
  • Convert the resource to JSON
$NullableClass | ConvertTo-JSON

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