Model/PermissionSettings.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 AllowGrantUserPermission No description available. .PARAMETER PreventGrantSpecificPermissionLevels No description available. .PARAMETER PreventPermissionLevles No description available. .OUTPUTS PermissionSettings<PSCustomObject> #> function New-PermissionSettings { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowGrantUserPermission}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${PreventGrantSpecificPermissionLevels}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${PreventPermissionLevles} ) Process { 'Creating object: Cloud.Governance.Client => PermissionSettings' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "allowGrantUserPermission" = ${AllowGrantUserPermission} "preventGrantSpecificPermissionLevels" = ${PreventGrantSpecificPermissionLevels} "preventPermissionLevles" = ${PreventPermissionLevles} } return $PSO } } |