custom/autogen-model-cmdlets/New-NmeNotificationActionEmailDeliveryUpdateModel.ps1
|
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.8, generator: @autorest/powershell@4.0.752) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Create an in-memory object for NotificationActionEmailDeliveryUpdate. .Description Create an in-memory object for NotificationActionEmailDeliveryUpdate. .Outputs NmePowershell.Models.NotificationActionEmailDeliveryUpdate #> function New-NmeNotificationActionEmailDeliveryUpdateModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.NotificationActionEmailDeliveryUpdate')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter()] [NmePowershell.PSArgumentCompleterAttribute("None", "EntraIdManager")] [string[]] $BuiltInRecipients, [Parameter()] [bool] $Enable, [Parameter()] [int] $MailboxId, [Parameter()] [string[]] $SendTo ) process { $Object = [NmePowershell.Models.NotificationActionEmailDeliveryUpdate]::New() if ($PSBoundParameters.ContainsKey('BuiltInRecipients')) { $Object.BuiltInRecipients = $BuiltInRecipients } if ($PSBoundParameters.ContainsKey('Enable')) { $Object.Enable = $Enable } if ($PSBoundParameters.ContainsKey('MailboxId')) { $Object.MailboxId = $MailboxId } if ($PSBoundParameters.ContainsKey('SendTo')) { $Object.SendTo = $SendTo } return $Object } } |