Model/AdminNotificationEscalationModel.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 Interval
No description available.

.PARAMETER IntervalType
No description available.

.PARAMETER ReminderSetting
No description available.

.PARAMETER EscalationType
No description available.

.PARAMETER EscalationUser
No description available.

.PARAMETER EscalationEmailTemplate
No description available.

.OUTPUTS

AdminNotificationEscalationModel<PSCustomObject>
#>


function New-AdminNotificationEscalationModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsEnabled},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${Interval},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${IntervalType},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ReminderSetting},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${EscalationType},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${EscalationUser},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${EscalationEmailTemplate}
    )

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

        $PSO = [PSCustomObject]@{
            "isEnabled" = ${IsEnabled}
            "interval" = ${Interval}
            "intervalType" = ${IntervalType}
            "reminderSetting" = ${ReminderSetting}
            "escalationType" = ${EscalationType}
            "escalationUser" = ${EscalationUser}
            "escalationEmailTemplate" = ${EscalationEmailTemplate}
        }

        return $PSO
    }
}