Model/RequestTeamsSettings.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 AllowMembersCreateUpdateChannels
No description available.

.PARAMETER AllowMembersCreatePrivateChannels
No description available.

.PARAMETER AllowMemberDeleteRestoreChannels
No description available.

.PARAMETER AllowMembersAddRemoveApps
No description available.

.PARAMETER AllowMembersCreateUpdateRemoveTabs
No description available.

.PARAMETER AllowMembersCreateUpdateRemoveConnections
No description available.

.PARAMETER AllowMembersDeleteMessages
No description available.

.PARAMETER AllowMembersEditMessages
No description available.

.PARAMETER AllowGuestsCreateUpdateChannels
No description available.

.PARAMETER AllowGuestsDeleteChannels
No description available.

.PARAMETER AllowMentionsTeam
No description available.

.PARAMETER AllowMentionsChannel
No description available.

.PARAMETER EnableGiphy
No description available.

.PARAMETER EnableStickersAndMemes
No description available.

.PARAMETER EnableCustomMemes
No description available.

.PARAMETER GiphyRatingType
No description available.

.OUTPUTS

RequestTeamsSettings<PSCustomObject>
#>


function New-RequestTeamsSettings {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMembersCreateUpdateChannels},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMembersCreatePrivateChannels},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMemberDeleteRestoreChannels},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMembersAddRemoveApps},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMembersCreateUpdateRemoveTabs},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMembersCreateUpdateRemoveConnections},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMembersDeleteMessages},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMembersEditMessages},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowGuestsCreateUpdateChannels},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowGuestsDeleteChannels},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMentionsTeam},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowMentionsChannel},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableGiphy},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableStickersAndMemes},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableCustomMemes},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${GiphyRatingType}
    )

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

        $PSO = [PSCustomObject]@{
            "allowMembersCreateUpdateChannels" = ${AllowMembersCreateUpdateChannels}
            "allowMembersCreatePrivateChannels" = ${AllowMembersCreatePrivateChannels}
            "allowMemberDeleteRestoreChannels" = ${AllowMemberDeleteRestoreChannels}
            "allowMembersAddRemoveApps" = ${AllowMembersAddRemoveApps}
            "allowMembersCreateUpdateRemoveTabs" = ${AllowMembersCreateUpdateRemoveTabs}
            "allowMembersCreateUpdateRemoveConnections" = ${AllowMembersCreateUpdateRemoveConnections}
            "allowMembersDeleteMessages" = ${AllowMembersDeleteMessages}
            "allowMembersEditMessages" = ${AllowMembersEditMessages}
            "allowGuestsCreateUpdateChannels" = ${AllowGuestsCreateUpdateChannels}
            "allowGuestsDeleteChannels" = ${AllowGuestsDeleteChannels}
            "allowMentionsTeam" = ${AllowMentionsTeam}
            "allowMentionsChannel" = ${AllowMentionsChannel}
            "enableGiphy" = ${EnableGiphy}
            "enableStickersAndMemes" = ${EnableStickersAndMemes}
            "enableCustomMemes" = ${EnableCustomMemes}
            "giphyRatingType" = ${GiphyRatingType}
        }

        return $PSO
    }
}