Model/PermissionActionLockItem.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 InstanceId
No description available.

.PARAMETER PermissionActionInstanceId
No description available.

.PARAMETER IsEnabled
No description available.

.PARAMETER IsEnabledText
No description available.

.OUTPUTS

PermissionActionLockItem<PSCustomObject>
#>


function New-PermissionActionLockItem {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${InstanceId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${PermissionActionInstanceId},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsEnabled},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${IsEnabledText}
    )

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

        $PSO = [PSCustomObject]@{
            "instanceId" = ${InstanceId}
            "permissionActionInstanceId" = ${PermissionActionInstanceId}
            "isEnabled" = ${IsEnabled}
            "isEnabledText" = ${IsEnabledText}
        }

        return $PSO
    }
}