Model/RequestList.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 ServiceId
No description available.

.PARAMETER ServiceName
No description available.

.PARAMETER ServiceType
No description available.

.PARAMETER ServiceTypeDescription
No description available.

.PARAMETER TicketNumber
No description available.

.PARAMETER Summary
No description available.

.PARAMETER Status
No description available.

.PARAMETER ProcessStatus
No description available.

.PARAMETER StatusDescription
No description available.

.PARAMETER Modified
No description available.

.PARAMETER SubmitStatus
No description available.

.PARAMETER Assigned
No description available.

.PARAMETER ServiceAdmin
No description available.

.PARAMETER EnabledCopy
No description available.

.PARAMETER QuestionnaireId
No description available.

.OUTPUTS

RequestList<PSCustomObject>
#>


function New-RequestList {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ServiceId},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ServiceName},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ServiceType},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ServiceTypeDescription},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${TicketNumber},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Summary},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Status},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ProcessStatus},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${StatusDescription},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${Modified},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${SubmitStatus},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Assigned},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ServiceAdmin},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnabledCopy},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${QuestionnaireId}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "serviceId" = ${ServiceId}
            "serviceName" = ${ServiceName}
            "serviceType" = ${ServiceType}
            "serviceTypeDescription" = ${ServiceTypeDescription}
            "ticketNumber" = ${TicketNumber}
            "summary" = ${Summary}
            "status" = ${Status}
            "processStatus" = ${ProcessStatus}
            "statusDescription" = ${StatusDescription}
            "modified" = ${Modified}
            "submitStatus" = ${SubmitStatus}
            "assigned" = ${Assigned}
            "serviceAdmin" = ${ServiceAdmin}
            "enabledCopy" = ${EnabledCopy}
            "questionnaireId" = ${QuestionnaireId}
        }

        return $PSO
    }
}