custom/autogen-model-cmdlets/New-NmeFsLogixInstallerUpdateModel.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 FsLogixInstallerUpdate.
.Description
Create an in-memory object for FsLogixInstallerUpdate.

.Outputs
NmePowershell.Models.FsLogixInstallerUpdate

#>

function New-NmeFsLogixInstallerUpdateModel {
    [NmePowershell.ModelCmdletAttribute()]
    [OutputType('NmePowershell.Models.FsLogixInstallerUpdate')]
    [CmdletBinding(PositionalBinding=$false)]
    Param(

        [Parameter()]
        [bool]
        $ForceUpdate,
        [Parameter()]
        [string]
        $Version
    )

    process {
        $Object = [NmePowershell.Models.FsLogixInstallerUpdate]::New()

        if ($PSBoundParameters.ContainsKey('ForceUpdate')) {
            $Object.ForceUpdate = $ForceUpdate
        }
        if ($PSBoundParameters.ContainsKey('Version')) {
            $Object.Version = $Version
        }
        return $Object
    }
}