Model/TeamsTemplateSettings.ps1

#
# Cloud Governance Api
# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
# Version: 1.0
# Generated by OpenAPI Generator: https://openapi-generator.tech
#

<#
.SYNOPSIS

No summary available.

.DESCRIPTION

No description available.

.PARAMETER EnableCreateTeamFromScratch
No description available.

.PARAMETER EnableCreateTeamFromExistTeam
No description available.

.PARAMETER SelectedTemplate
No description available.

.PARAMETER EnableCloneChannels
No description available.

.PARAMETER EnableCloneApps
No description available.

.PARAMETER EnableCloneTabs
No description available.

.PARAMETER EnableCloneMembers
No description available.

.PARAMETER EnableCloneTeamSetting
No description available.

.PARAMETER EnableCloneTeamPrivacy
No description available.

.PARAMETER EnableCloneTeamClassification
No description available.

.OUTPUTS

TeamsTemplateSettings<PSCustomObject>
#>


function New-TeamsTemplateSettings {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCreateTeamFromScratch},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCreateTeamFromExistTeam},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SelectedTemplate},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCloneChannels},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCloneApps},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCloneTabs},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCloneMembers},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCloneTeamSetting},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCloneTeamPrivacy},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCloneTeamClassification}
    )

    Process {
        'Creating object: Cloud.Governance.Client => TeamsTemplateSettings' | Write-Debug
        $PSBoundParameters | Out-DebugParameter | Write-Debug

        $PSO = [PSCustomObject]@{
            "enableCreateTeamFromScratch" = ${EnableCreateTeamFromScratch}
            "enableCreateTeamFromExistTeam" = ${EnableCreateTeamFromExistTeam}
            "selectedTemplate" = ${SelectedTemplate}
            "enableCloneChannels" = ${EnableCloneChannels}
            "enableCloneApps" = ${EnableCloneApps}
            "enableCloneTabs" = ${EnableCloneTabs}
            "enableCloneMembers" = ${EnableCloneMembers}
            "enableCloneTeamSetting" = ${EnableCloneTeamSetting}
            "enableCloneTeamPrivacy" = ${EnableCloneTeamPrivacy}
            "enableCloneTeamClassification" = ${EnableCloneTeamClassification}
        }

        return $PSO
    }
}