Model/QuickRequestManagementViewModel.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 Categories
No description available.

.PARAMETER Services
No description available.

.PARAMETER IsCategoryEnabledSelectAll
No description available.

.PARAMETER SelectedCategories
No description available.

.PARAMETER IsServiceEnabledSelectAll
No description available.

.PARAMETER SelectedServices
No description available.

.OUTPUTS

QuickRequestManagementViewModel<PSCustomObject>
#>


function New-QuickRequestManagementViewModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Categories},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Services},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsCategoryEnabledSelectAll},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${SelectedCategories},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsServiceEnabledSelectAll},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${SelectedServices}
    )

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

        $PSO = [PSCustomObject]@{
            "categories" = ${Categories}
            "services" = ${Services}
            "isCategoryEnabledSelectAll" = ${IsCategoryEnabledSelectAll}
            "selectedCategories" = ${SelectedCategories}
            "isServiceEnabledSelectAll" = ${IsServiceEnabledSelectAll}
            "selectedServices" = ${SelectedServices}
        }

        return $PSO
    }
}