Model/PolicyDeletionLifecycleItem.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 IsPermanentlyDelete
No description available.

.PARAMETER IsNotifyEnabled
No description available.

.PARAMETER NotifyUser
No description available.

.PARAMETER NotifyTemplate
No description available.

.PARAMETER IsEnabled
No description available.

.PARAMETER IsDefaultProcess
No description available.

.PARAMETER ProcessId
No description available.

.OUTPUTS

PolicyDeletionLifecycleItem<PSCustomObject>
#>


function New-PolicyDeletionLifecycleItem {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsPermanentlyDelete},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsNotifyEnabled},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${NotifyUser},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${NotifyTemplate},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsEnabled},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsDefaultProcess},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ProcessId}
    )

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

        $PSO = [PSCustomObject]@{
            "isPermanentlyDelete" = ${IsPermanentlyDelete}
            "isNotifyEnabled" = ${IsNotifyEnabled}
            "notifyUser" = ${NotifyUser}
            "notifyTemplate" = ${NotifyTemplate}
            "isEnabled" = ${IsEnabled}
            "isDefaultProcess" = ${IsDefaultProcess}
            "processId" = ${ProcessId}
        }

        return $PSO
    }
}