Model/RequestAuditGridModel.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 RequestId
No description available.

.PARAMETER TicketNumber
No description available.

.PARAMETER RequestSummary
No description available.

.PARAMETER Requester
No description available.

.PARAMETER RequesterDisplayName
No description available.

.PARAMETER Department
No description available.

.PARAMETER Description
No description available.

.PARAMETER SubmittedTime
No description available.

.PARAMETER ProgressStatusDetail
No description available.

.PARAMETER ProgressStatusDetailDescription
No description available.

.PARAMETER ProgressStatus
No description available.

.PARAMETER ProgressStatusDescription
No description available.

.PARAMETER AssignTo
No description available.

.PARAMETER AssignToDisplayName
No description available.

.PARAMETER LastUpdated
No description available.

.PARAMETER ServiceId
No description available.

.PARAMETER ServiceType
No description available.

.PARAMETER ServiceName
No description available.

.PARAMETER CreatedTime
No description available.

.OUTPUTS

RequestAuditGridModel<PSCustomObject>
#>


function New-RequestAuditGridModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${RequestId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${TicketNumber},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${RequestSummary},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Requester},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${RequesterDisplayName},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Department},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${SubmittedTime},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ProgressStatusDetail},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ProgressStatusDetailDescription},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ProgressStatus},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ProgressStatusDescription},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AssignTo},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AssignToDisplayName},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${LastUpdated},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ServiceId},
        [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${ServiceType},
        [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ServiceName},
        [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${CreatedTime}
    )

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

        $PSO = [PSCustomObject]@{
            "requestId" = ${RequestId}
            "ticketNumber" = ${TicketNumber}
            "requestSummary" = ${RequestSummary}
            "requester" = ${Requester}
            "requesterDisplayName" = ${RequesterDisplayName}
            "department" = ${Department}
            "description" = ${Description}
            "submittedTime" = ${SubmittedTime}
            "progressStatusDetail" = ${ProgressStatusDetail}
            "progressStatusDetailDescription" = ${ProgressStatusDetailDescription}
            "progressStatus" = ${ProgressStatus}
            "progressStatusDescription" = ${ProgressStatusDescription}
            "assignTo" = ${AssignTo}
            "assignToDisplayName" = ${AssignToDisplayName}
            "lastUpdated" = ${LastUpdated}
            "serviceId" = ${ServiceId}
            "serviceType" = ${ServiceType}
            "serviceName" = ${ServiceName}
            "createdTime" = ${CreatedTime}
        }

        return $PSO
    }
}