Model/AutoImportProfileRef.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 Id
No description available.

.PARAMETER ObjectName
No description available.

.PARAMETER NotesToPrimaryContact
No description available.

.PARAMETER Name
No description available.

.PARAMETER Description
No description available.

.PARAMETER DefaultSecondaryContact
No description available.

.PARAMETER DefaultPolicyId
No description available.

.PARAMETER Departments
No description available.

.PARAMETER Policies
No description available.

.PARAMETER LoadDepartmentFromUps
No description available.

.PARAMETER IsLastStep
No description available.

.PARAMETER Metadatas
No description available.

.OUTPUTS

AutoImportProfileRef<PSCustomObject>
#>


function New-AutoImportProfileRef {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectName},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${NotesToPrimaryContact},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Name},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${DefaultSecondaryContact},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${DefaultPolicyId},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String[]]
        ${Departments},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Policies},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${LoadDepartmentFromUps},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsLastStep},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Metadatas}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "objectName" = ${ObjectName}
            "notesToPrimaryContact" = ${NotesToPrimaryContact}
            "name" = ${Name}
            "description" = ${Description}
            "defaultSecondaryContact" = ${DefaultSecondaryContact}
            "defaultPolicyId" = ${DefaultPolicyId}
            "departments" = ${Departments}
            "policies" = ${Policies}
            "loadDepartmentFromUps" = ${LoadDepartmentFromUps}
            "isLastStep" = ${IsLastStep}
            "metadatas" = ${Metadatas}
        }

        return $PSO
    }
}