Model/InviteSupportModel.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 Services
No description available.

.PARAMETER IssueType
No description available.

.PARAMETER Severity
No description available.

.PARAMETER Detail
No description available.

.PARAMETER RelatedServiceName
No description available.

.PARAMETER FileName
No description available.

.PARAMETER ContactName
No description available.

.PARAMETER ContactOption
No description available.

.PARAMETER ContactDetail
No description available.

.PARAMETER ContactCC
No description available.

.OUTPUTS

InviteSupportModel<PSCustomObject>
#>


function New-InviteSupportModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Services},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${IssueType},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Severity},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Detail},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${RelatedServiceName},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${FileName},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ContactName},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ContactOption},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ContactDetail},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ContactCC}
    )

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

        $PSO = [PSCustomObject]@{
            "services" = ${Services}
            "issueType" = ${IssueType}
            "severity" = ${Severity}
            "detail" = ${Detail}
            "relatedServiceName" = ${RelatedServiceName}
            "fileName" = ${FileName}
            "contactName" = ${ContactName}
            "contactOption" = ${ContactOption}
            "contactDetail" = ${ContactDetail}
            "contactCC" = ${ContactCC}
        }

        return $PSO
    }
}