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