Model/ChangeSiteContactSubRequest.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 AssignTo
No description available.

.PARAMETER Reason
No description available.

.PARAMETER Status
No description available.

.PARAMETER StatusDescription
No description available.

.PARAMETER AdminContactSettings
No description available.

.PARAMETER ProgressStatus
No description available.

.OUTPUTS

ChangeSiteContactSubRequest<PSCustomObject>
#>


function New-ChangeSiteContactSubRequest {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${AssignTo},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Reason},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${Status},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${StatusDescription},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${AdminContactSettings},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ProgressStatus}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "assignTo" = ${AssignTo}
            "reason" = ${Reason}
            "status" = ${Status}
            "statusDescription" = ${StatusDescription}
            "adminContactSettings" = ${AdminContactSettings}
            "progressStatus" = ${ProgressStatus}
        }

        return $PSO
    }
}