Model/ReminderModel.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 Name No description available. .PARAMETER Description No description available. .PARAMETER EmailTemplate No description available. .PARAMETER Interval No description available. .PARAMETER IntervalType No description available. .PARAMETER EnableRecurrentReminder No description available. .PARAMETER RecurrentInterval No description available. .OUTPUTS ReminderModel<PSCustomObject> #> function New-ReminderModel { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${Name}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${Description}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${EmailTemplate}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${Interval}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${IntervalType}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableRecurrentReminder}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${RecurrentInterval} ) Process { 'Creating object: Cloud.Governance.Client => ReminderModel' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "id" = ${Id} "name" = ${Name} "description" = ${Description} "emailTemplate" = ${EmailTemplate} "interval" = ${Interval} "intervalType" = ${IntervalType} "enableRecurrentReminder" = ${EnableRecurrentReminder} "recurrentInterval" = ${RecurrentInterval} } return $PSO } } |