Model/SitePolicyExpirationSetting.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 IsEnabled
No description available.

.PARAMETER Duration
No description available.

.PARAMETER DurationType
No description available.

.PARAMETER Process
No description available.

.PARAMETER IsAutoLockEnabled
No description available.

.PARAMETER AutoLockProfile
No description available.

.PARAMETER IsNotifyEnabled
No description available.

.PARAMETER NotifyTemplate
No description available.

.OUTPUTS

SitePolicyExpirationSetting<PSCustomObject>
#>


function New-SitePolicyExpirationSetting {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsEnabled},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${Duration},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${DurationType},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Process},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsAutoLockEnabled},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${AutoLockProfile},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsNotifyEnabled},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${NotifyTemplate}
    )

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

        $PSO = [PSCustomObject]@{
            "isEnabled" = ${IsEnabled}
            "duration" = ${Duration}
            "durationType" = ${DurationType}
            "process" = ${Process}
            "isAutoLockEnabled" = ${IsAutoLockEnabled}
            "autoLockProfile" = ${AutoLockProfile}
            "isNotifyEnabled" = ${IsNotifyEnabled}
            "notifyTemplate" = ${NotifyTemplate}
        }

        return $PSO
    }
}