custom/autogen-model-cmdlets/New-NmeNotificationConditionRunByUserModel.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 NotificationConditionRunByUser. .Description Create an in-memory object for NotificationConditionRunByUser. .Outputs NmePowershell.Models.NotificationConditionRunByUser #> function New-NmeNotificationConditionRunByUserModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.NotificationConditionRunByUser')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(Mandatory)] [NmePowershell.PSArgumentCompleterAttribute("User", "System", "RestApi")] [string] $UserType, [Parameter(Mandatory)] [string] $Username ) process { $Object = [NmePowershell.Models.NotificationConditionRunByUser]::New() if ($PSBoundParameters.ContainsKey('UserType')) { $Object.UserType = $UserType } if ($PSBoundParameters.ContainsKey('Username')) { $Object.Username = $Username } return $Object } } |