Model/AllTaskList.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 Comments
No description available.

.PARAMETER TaskStatus
No description available.

.PARAMETER TaskStatusDescription
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 Requester
No description available.

.PARAMETER RequesterDisplayName
No description available.

.PARAMETER DetailStatus
No description available.

.PARAMETER DetailStatusDescription
No description available.

.PARAMETER ProgressStatus
No description available.

.PARAMETER ProgressStatusDescription
No description available.

.PARAMETER Modified
No description available.

.PARAMETER AssignTo
No description available.

.PARAMETER AssignToDisplayName
No description available.

.PARAMETER ServiceAdmin
No description available.

.PARAMETER ObjectUrl
No description available.

.PARAMETER CreatedTime
No description available.

.OUTPUTS

AllTaskList<PSCustomObject>
#>


function New-AllTaskList {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Comments},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${TaskStatus},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${TaskStatusDescription},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ServiceId},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ServiceName},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ServiceType},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ServiceTypeDescription},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${TicketNumber},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Summary},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Requester},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${RequesterDisplayName},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${DetailStatus},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${DetailStatusDescription},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ProgressStatus},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ProgressStatusDescription},
        [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${Modified},
        [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AssignTo},
        [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AssignToDisplayName},
        [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ServiceAdmin},
        [Parameter(Position = 20, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectUrl},
        [Parameter(Position = 21, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${CreatedTime}
    )

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

        $PSO = [PSCustomObject]@{
            "comments" = ${Comments}
            "taskStatus" = ${TaskStatus}
            "taskStatusDescription" = ${TaskStatusDescription}
            "id" = ${Id}
            "serviceId" = ${ServiceId}
            "serviceName" = ${ServiceName}
            "serviceType" = ${ServiceType}
            "serviceTypeDescription" = ${ServiceTypeDescription}
            "ticketNumber" = ${TicketNumber}
            "summary" = ${Summary}
            "requester" = ${Requester}
            "requesterDisplayName" = ${RequesterDisplayName}
            "detailStatus" = ${DetailStatus}
            "detailStatusDescription" = ${DetailStatusDescription}
            "progressStatus" = ${ProgressStatus}
            "progressStatusDescription" = ${ProgressStatusDescription}
            "modified" = ${Modified}
            "assignTo" = ${AssignTo}
            "assignToDisplayName" = ${AssignToDisplayName}
            "serviceAdmin" = ${ServiceAdmin}
            "objectUrl" = ${ObjectUrl}
            "createdTime" = ${CreatedTime}
        }

        return $PSO
    }
}