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

.Outputs
NmePowershell.Models.FsLogixCloudCacheRegistrySettingsUpdate

#>

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

        [Parameter()]
        [string]
        $Common,
        [Parameter()]
        [string]
        $OfficeContainer,
        [Parameter()]
        [string]
        $ProfileContainer
    )

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

        if ($PSBoundParameters.ContainsKey('Common')) {
            $Object.Common = $Common
        }
        if ($PSBoundParameters.ContainsKey('OfficeContainer')) {
            $Object.OfficeContainer = $OfficeContainer
        }
        if ($PSBoundParameters.ContainsKey('ProfileContainer')) {
            $Object.ProfileContainer = $ProfileContainer
        }
        return $Object
    }
}