Model/ApprovalProcessStageCollection.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 UniqueId
No description available.

.PARAMETER StageCount
No description available.

.PARAMETER StageOne
No description available.

.PARAMETER StageTwo
No description available.

.PARAMETER StageThree
No description available.

.OUTPUTS

ApprovalProcessStageCollection<PSCustomObject>
#>


function New-ApprovalProcessStageCollection {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${UniqueId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${StageCount},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${StageOne},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${StageTwo},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${StageThree}
    )

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

        $PSO = [PSCustomObject]@{
            "uniqueId" = ${UniqueId}
            "stageCount" = ${StageCount}
            "stageOne" = ${StageOne}
            "stageTwo" = ${StageTwo}
            "stageThree" = ${StageThree}
        }

        return $PSO
    }
}