Model/AutoTaskChangePolicyRequest.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 Action No description available. .PARAMETER Policy No description available. .PARAMETER StartDateType No description available. .PARAMETER SpecifyStartDate No description available. .PARAMETER TaskId No description available. .PARAMETER Metadatas No description available. .PARAMETER Comments No description available. .OUTPUTS AutoTaskChangePolicyRequest<PSCustomObject> #> function New-AutoTaskChangePolicyRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Action}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Policy}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${StartDateType}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${SpecifyStartDate}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TaskId}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${Metadatas}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Comments} ) Process { 'Creating object: Cloud.Governance.Client => AutoTaskChangePolicyRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "action" = ${Action} "policy" = ${Policy} "startDateType" = ${StartDateType} "specifyStartDate" = ${SpecifyStartDate} "taskId" = ${TaskId} "metadatas" = ${Metadatas} "comments" = ${Comments} } return $PSO } } |