Model/TaskList.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 Title No description available. .PARAMETER Requester No description available. .PARAMETER RequestTicketNumber No description available. .PARAMETER RequesterDisplayName No description available. .PARAMETER DueDate No description available. .PARAMETER DueDateType No description available. .PARAMETER ServiceType No description available. .PARAMETER ServiceTypeDescription No description available. .PARAMETER CreatedTime No description available. .PARAMETER TaskType No description available. .PARAMETER Status No description available. .PARAMETER StatusDescription No description available. .OUTPUTS TaskList<PSCustomObject> #> function New-TaskList { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${Title}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${Requester}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${RequestTicketNumber}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [String] ${RequesterDisplayName}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${DueDate}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${DueDateType}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${ServiceType}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [String] ${ServiceTypeDescription}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${CreatedTime}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TaskType}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Status}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [String] ${StatusDescription} ) Process { 'Creating object: Cloud.Governance.Client => TaskList' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "id" = ${Id} "title" = ${Title} "requester" = ${Requester} "requestTicketNumber" = ${RequestTicketNumber} "requesterDisplayName" = ${RequesterDisplayName} "dueDate" = ${DueDate} "dueDateType" = ${DueDateType} "serviceType" = ${ServiceType} "serviceTypeDescription" = ${ServiceTypeDescription} "createdTime" = ${CreatedTime} "taskType" = ${TaskType} "status" = ${Status} "statusDescription" = ${StatusDescription} } return $PSO } } |