Model/CustomMetadata.ps1
# # Cloud Governance Api # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # Version: 1.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # <# .SYNOPSIS No summary available. .DESCRIPTION No description available. .PARAMETER Id No description available. .PARAMETER Name No description available. .PARAMETER Description No description available. .PARAMETER Type No description available. .PARAMETER DisplayType No description available. .PARAMETER AssignBy No description available. .PARAMETER EnableTextValidation No description available. .PARAMETER TextValidationRule No description available. .PARAMETER BooleanMetadataSettings No description available. .PARAMETER TermsMetadataSettings No description available. .PARAMETER UserMetadataSettings No description available. .PARAMETER UserProfileMetadataSettings No description available. .PARAMETER AzureAdMetadataSettings No description available. .PARAMETER ChoiceMetadataSettings No description available. .PARAMETER LinkMetadataSettings No description available. .PARAMETER SingleLineOrMultipleLineMetadataSettings No description available. .OUTPUTS CustomMetadata<PSCustomObject> #> function New-CustomMetadata { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${Name}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${Description}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Type}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${DisplayType}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${AssignBy}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableTextValidation}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TextValidationRule}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${BooleanMetadataSettings}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TermsMetadataSettings}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${UserMetadataSettings}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${UserProfileMetadataSettings}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${AzureAdMetadataSettings}, [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${ChoiceMetadataSettings}, [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${LinkMetadataSettings}, [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${SingleLineOrMultipleLineMetadataSettings} ) Process { 'Creating object: Cloud.Governance.Client => CustomMetadata' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "id" = ${Id} "name" = ${Name} "description" = ${Description} "type" = ${Type} "displayType" = ${DisplayType} "assignBy" = ${AssignBy} "enableTextValidation" = ${EnableTextValidation} "textValidationRule" = ${TextValidationRule} "booleanMetadataSettings" = ${BooleanMetadataSettings} "termsMetadataSettings" = ${TermsMetadataSettings} "userMetadataSettings" = ${UserMetadataSettings} "userProfileMetadataSettings" = ${UserProfileMetadataSettings} "azureAdMetadataSettings" = ${AzureAdMetadataSettings} "choiceMetadataSettings" = ${ChoiceMetadataSettings} "linkMetadataSettings" = ${LinkMetadataSettings} "singleLineOrMultipleLineMetadataSettings" = ${SingleLineOrMultipleLineMetadataSettings} } return $PSO } } |