Model/PermissionManagementModel.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 IsUniquePermission
No description available.

.PARAMETER IsPermissionInheritanceChanged
No description available.

.PARAMETER IsCopyPermissionsFromParent
No description available.

.PARAMETER InheritedSiteUrl
No description available.

.PARAMETER PermissionItems
No description available.

.OUTPUTS

PermissionManagementModel<PSCustomObject>
#>


function New-PermissionManagementModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsUniquePermission},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsPermissionInheritanceChanged},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsCopyPermissionsFromParent},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${InheritedSiteUrl},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${PermissionItems}
    )

    Process {
        'Creating object: Cloud.Governance.Client => PermissionManagementModel' | Write-Debug
        $PSBoundParameters | Out-DebugParameter | Write-Debug

        $PSO = [PSCustomObject]@{
            "isUniquePermission" = ${IsUniquePermission}
            "isPermissionInheritanceChanged" = ${IsPermissionInheritanceChanged}
            "isCopyPermissionsFromParent" = ${IsCopyPermissionsFromParent}
            "inheritedSiteUrl" = ${InheritedSiteUrl}
            "permissionItems" = ${PermissionItems}
        }

        return $PSO
    }
}