Model/ApprovalProcessStageEmailSetting.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 NotifyApproverWhenAssigned No description available. .PARAMETER NotifyApproverEmailTemplateId No description available. .PARAMETER NotifyReuqesterWhenApproved No description available. .PARAMETER NotifyReuqesterEmailTemplateApprovedId No description available. .PARAMETER NotifyReuqesterWhenRejected No description available. .PARAMETER NotifyReuqesterEmailTemplateRejectedId No description available. .PARAMETER WarnApproverbeforeExpired No description available. .PARAMETER WarnApproverbeforeExpiredEmailTemplateId No description available. .PARAMETER NotifyApproverWhenExpired No description available. .PARAMETER NotifyApproverWhenExpiredEmailTemplateId No description available. .PARAMETER NotifyApproverWhenCancelled No description available. .PARAMETER NotifyApproverCancelledEmailTemplateId No description available. .PARAMETER NotifyApproverWhenRejected No description available. .PARAMETER NotifyApproverRejectedEmailTemplateId No description available. .OUTPUTS ApprovalProcessStageEmailSetting<PSCustomObject> #> function New-ApprovalProcessStageEmailSetting { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${NotifyApproverWhenAssigned}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${NotifyApproverEmailTemplateId}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${NotifyReuqesterWhenApproved}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${NotifyReuqesterEmailTemplateApprovedId}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${NotifyReuqesterWhenRejected}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${NotifyReuqesterEmailTemplateRejectedId}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${WarnApproverbeforeExpired}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${WarnApproverbeforeExpiredEmailTemplateId}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${NotifyApproverWhenExpired}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${NotifyApproverWhenExpiredEmailTemplateId}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${NotifyApproverWhenCancelled}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${NotifyApproverCancelledEmailTemplateId}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${NotifyApproverWhenRejected}, [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${NotifyApproverRejectedEmailTemplateId} ) Process { 'Creating object: Cloud.Governance.Client => ApprovalProcessStageEmailSetting' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "notifyApproverWhenAssigned" = ${NotifyApproverWhenAssigned} "notifyApproverEmailTemplateId" = ${NotifyApproverEmailTemplateId} "notifyReuqesterWhenApproved" = ${NotifyReuqesterWhenApproved} "notifyReuqesterEmailTemplateApprovedId" = ${NotifyReuqesterEmailTemplateApprovedId} "notifyReuqesterWhenRejected" = ${NotifyReuqesterWhenRejected} "notifyReuqesterEmailTemplateRejectedId" = ${NotifyReuqesterEmailTemplateRejectedId} "warnApproverbeforeExpired" = ${WarnApproverbeforeExpired} "warnApproverbeforeExpiredEmailTemplateId" = ${WarnApproverbeforeExpiredEmailTemplateId} "notifyApproverWhenExpired" = ${NotifyApproverWhenExpired} "notifyApproverWhenExpiredEmailTemplateId" = ${NotifyApproverWhenExpiredEmailTemplateId} "notifyApproverWhenCancelled" = ${NotifyApproverWhenCancelled} "notifyApproverCancelledEmailTemplateId" = ${NotifyApproverCancelledEmailTemplateId} "notifyApproverWhenRejected" = ${NotifyApproverWhenRejected} "notifyApproverRejectedEmailTemplateId" = ${NotifyApproverRejectedEmailTemplateId} } return $PSO } } |