custom/autogen-model-cmdlets/New-NmeShellAppVersionFileOptionCreateModel.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 ShellAppVersionFileOptionCreate. .Description Create an in-memory object for ShellAppVersionFileOptionCreate. .Outputs NmePowershell.Models.ShellAppVersionFileOptionCreate #> function New-NmeShellAppVersionFileOptionCreateModel { [NmePowershell.ModelCmdletAttribute()] [OutputType('NmePowershell.Models.ShellAppVersionFileOptionCreate')] [CmdletBinding(PositionalBinding=$false)] Param( [Parameter(Mandatory)] [bool] $IsEnabled, [Parameter()] [string] $ValueSha256, [Parameter()] [string] $ValueSourceUrl ) process { $Object = [NmePowershell.Models.ShellAppVersionFileOptionCreate]::New() if ($PSBoundParameters.ContainsKey('IsEnabled')) { $Object.IsEnabled = $IsEnabled } if ($PSBoundParameters.ContainsKey('ValueSha256')) { $Object.ValueSha256 = $ValueSha256 } if ($PSBoundParameters.ContainsKey('ValueSourceUrl')) { $Object.ValueSourceUrl = $ValueSourceUrl } return $Object } } |