Model/PolicyDaoSetting.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 IsArchiverEnabled
No description available.

.PARAMETER ArchiverProfile
No description available.

.PARAMETER ArchiverProcessId
No description available.

.OUTPUTS

PolicyDaoSetting<PSCustomObject>
#>


function New-PolicyDaoSetting {
    [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]]
        ${IsArchiverEnabled},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ArchiverProfile},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ArchiverProcessId}
    )

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

        $PSO = [PSCustomObject]@{
            "isPolicyEnforcerEnabled" = ${IsPolicyEnforcerEnabled}
            "policyEnforcerProfile" = ${PolicyEnforcerProfile}
            "isDpmEnabled" = ${IsDpmEnabled}
            "dpmPlan" = ${DpmPlan}
            "isBackupEnabled" = ${IsBackupEnabled}
            "isAuditingEnabled" = ${IsAuditingEnabled}
            "isArchiverEnabled" = ${IsArchiverEnabled}
            "archiverProfile" = ${ArchiverProfile}
            "archiverProcessId" = ${ArchiverProcessId}
        }

        return $PSO
    }
}