custom/autogen-model-cmdlets/New-NmeScriptedActionsGroupItemUpdateModel.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 ScriptedActionsGroupItemUpdate. .Description Create an in-memory object for ScriptedActionsGroupItemUpdate. .Outputs NmePowershell.Models.ScriptedActionsGroupItemUpdate #> function New-NmeScriptedActionsGroupItemUpdateModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.ScriptedActionsGroupItemUpdate')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(HelpMessage="Dictionary of <ScriptedActionParamValue>.")] [NmePowershell.Models.IScriptedActionsGroupItemUpdateDefaultParams] $DefaultParams, [Parameter()] [int] $Id, [Parameter(Mandatory)] [int] $ScriptedActionId ) process { $Object = [NmePowershell.Models.ScriptedActionsGroupItemUpdate]::New() if ($PSBoundParameters.ContainsKey('DefaultParams')) { $Object.DefaultParams = $DefaultParams } if ($PSBoundParameters.ContainsKey('Id')) { $Object.Id = $Id } if ($PSBoundParameters.ContainsKey('ScriptedActionId')) { $Object.ScriptedActionId = $ScriptedActionId } return $Object } } |