Model/SpecifyContactModel.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 PrimaryContact
No description available.

.PARAMETER SecondaryContact
No description available.

.PARAMETER PrimaryEmailTemplate
No description available.

.PARAMETER SecondaryEmailTemplate
No description available.

.PARAMETER SelectedSiteIds
No description available.

.PARAMETER IsFromTask
No description available.

.OUTPUTS

SpecifyContactModel<PSCustomObject>
#>


function New-SpecifyContactModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${PrimaryContact},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SecondaryContact},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${PrimaryEmailTemplate},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SecondaryEmailTemplate},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String[]]
        ${SelectedSiteIds},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsFromTask}
    )

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

        $PSO = [PSCustomObject]@{
            "primaryContact" = ${PrimaryContact}
            "secondaryContact" = ${SecondaryContact}
            "primaryEmailTemplate" = ${PrimaryEmailTemplate}
            "secondaryEmailTemplate" = ${SecondaryEmailTemplate}
            "selectedSiteIds" = ${SelectedSiteIds}
            "isFromTask" = ${IsFromTask}
        }

        return $PSO
    }
}