Model/ManagePermissionValidateResult.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 PermissionLevels
No description available.

.PARAMETER ExternalSharingOptions
No description available.

.PARAMETER EnableShareAnonymousLink
No description available.

.PARAMETER Object
No description available.

.PARAMETER IsValid
No description available.

.PARAMETER ErrorMessage
No description available.

.OUTPUTS

ManagePermissionValidateResult<PSCustomObject>
#>


function New-ManagePermissionValidateResult {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${PermissionLevels},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ExternalSharingOptions},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableShareAnonymousLink},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Object},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsValid},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ErrorMessage}
    )

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

        $PSO = [PSCustomObject]@{
            "permissionLevels" = ${PermissionLevels}
            "externalSharingOptions" = ${ExternalSharingOptions}
            "enableShareAnonymousLink" = ${EnableShareAnonymousLink}
            "object" = ${Object}
            "isValid" = ${IsValid}
            "errorMessage" = ${ErrorMessage}
        }

        return $PSO
    }
}