Model/ApiTask.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 DynamicProperties No description available. .PARAMETER Id No description available. .PARAMETER Title No description available. .PARAMETER Description No description available. .PARAMETER RequestGuid No description available. .PARAMETER Status No description available. .PARAMETER StatusDescription No description available. .PARAMETER ServiceType No description available. .PARAMETER ServiceTypeDescription No description available. .PARAMETER Comments No description available. .PARAMETER AllComments No description available. .PARAMETER ErrorMessage No description available. .PARAMETER LastModifiedTime No description available. .PARAMETER TaskType No description available. .PARAMETER AllowReassign No description available. .PARAMETER AllowEdit No description available. .PARAMETER DynamicActions No description available. .OUTPUTS ApiTask<PSCustomObject> #> function New-ApiTask { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${DynamicProperties}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${Title}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [String] ${Description}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${RequestGuid}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Status}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [String] ${StatusDescription}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${ServiceType}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [String] ${ServiceTypeDescription}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [String] ${Comments}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${AllComments}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [String] ${ErrorMessage}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${LastModifiedTime}, [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TaskType}, [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowReassign}, [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowEdit}, [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${DynamicActions} ) Process { 'Creating object: Cloud.Governance.Client => ApiTask' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "dynamicProperties" = ${DynamicProperties} "id" = ${Id} "title" = ${Title} "description" = ${Description} "requestGuid" = ${RequestGuid} "status" = ${Status} "statusDescription" = ${StatusDescription} "serviceType" = ${ServiceType} "serviceTypeDescription" = ${ServiceTypeDescription} "comments" = ${Comments} "allComments" = ${AllComments} "errorMessage" = ${ErrorMessage} "lastModifiedTime" = ${LastModifiedTime} "taskType" = ${TaskType} "allowReassign" = ${AllowReassign} "allowEdit" = ${AllowEdit} "dynamicActions" = ${DynamicActions} } return $PSO } } |