Model/SitePolicyAosSetting.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 IsPolicyEnforcerEnabled
No description available.

.PARAMETER PolicyEnforcerProfile
No description available.

.PARAMETER IsDpmEnabled
No description available.

.PARAMETER DpmPlan
No description available.

.PARAMETER IsBackupEnabled
No description available.

.PARAMETER IsAuditingEnabled
No description available.

.PARAMETER IsArchiveEnabled
No description available.

.PARAMETER ArchiveProfile
No description available.

.PARAMETER ArchiveApprovalProcess
No description available.

.OUTPUTS

SitePolicyAosSetting<PSCustomObject>
#>


function New-SitePolicyAosSetting {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsPolicyEnforcerEnabled},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PolicyEnforcerProfile},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsDpmEnabled},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${DpmPlan},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsBackupEnabled},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsAuditingEnabled},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsArchiveEnabled},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ArchiveProfile},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ArchiveApprovalProcess}
    )

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

        $PSO = [PSCustomObject]@{
            "isPolicyEnforcerEnabled" = ${IsPolicyEnforcerEnabled}
            "policyEnforcerProfile" = ${PolicyEnforcerProfile}
            "isDpmEnabled" = ${IsDpmEnabled}
            "dpmPlan" = ${DpmPlan}
            "isBackupEnabled" = ${IsBackupEnabled}
            "isAuditingEnabled" = ${IsAuditingEnabled}
            "isArchiveEnabled" = ${IsArchiveEnabled}
            "archiveProfile" = ${ArchiveProfile}
            "archiveApprovalProcess" = ${ArchiveApprovalProcess}
        }

        return $PSO
    }
}