Model/CreateWebScopeSettings.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 RestrictParentUrl No description available. .PARAMETER ScopeType No description available. .PARAMETER UseTitleInUrl No description available. .PARAMETER EnableUrlValidation No description available. .PARAMETER TextValidationRule No description available. .PARAMETER SelectedNodes No description available. .PARAMETER AutoPopulateUrlWithSPContext No description available. .PARAMETER AutoPopulateUrlWithSPContextAssignBy No description available. .OUTPUTS CreateWebScopeSettings<PSCustomObject> #> function New-CreateWebScopeSettings { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${RestrictParentUrl}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${ScopeType}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${UseTitleInUrl}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableUrlValidation}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TextValidationRule}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${SelectedNodes}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AutoPopulateUrlWithSPContext}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${AutoPopulateUrlWithSPContextAssignBy} ) Process { 'Creating object: Cloud.Governance.Client => CreateWebScopeSettings' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "restrictParentUrl" = ${RestrictParentUrl} "scopeType" = ${ScopeType} "useTitleInUrl" = ${UseTitleInUrl} "enableUrlValidation" = ${EnableUrlValidation} "textValidationRule" = ${TextValidationRule} "selectedNodes" = ${SelectedNodes} "autoPopulateUrlWithSPContext" = ${AutoPopulateUrlWithSPContext} "autoPopulateUrlWithSPContextAssignBy" = ${AutoPopulateUrlWithSPContextAssignBy} } return $PSO } } |