Model/SitePolicyLifecycleSetting.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 Archive
No description available.

.PARAMETER Deletion
No description available.

.PARAMETER Extension
No description available.

.PARAMETER ChangePolicy
No description available.

.PARAMETER Unlock
No description available.

.PARAMETER Lock
No description available.

.PARAMETER Quota
No description available.

.PARAMETER DefaultProcess
No description available.

.OUTPUTS

SitePolicyLifecycleSetting<PSCustomObject>
#>


function New-SitePolicyLifecycleSetting {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Archive},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Deletion},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Extension},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ChangePolicy},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Unlock},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Lock},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Quota},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${DefaultProcess}
    )

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

        $PSO = [PSCustomObject]@{
            "archive" = ${Archive}
            "deletion" = ${Deletion}
            "extension" = ${Extension}
            "changePolicy" = ${ChangePolicy}
            "unlock" = ${Unlock}
            "lock" = ${Lock}
            "quota" = ${Quota}
            "defaultProcess" = ${DefaultProcess}
        }

        return $PSO
    }
}