Model/YammerGroupServiceSettings.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 NetworkId
No description available.

.PARAMETER AllowCreate
No description available.

.PARAMETER AllowReuseExisting
No description available.

.PARAMETER Enabled
No description available.

.PARAMETER CreateNewGroupAssignBy
No description available.

.PARAMETER NameOrId
No description available.

.PARAMETER Description
No description available.

.PARAMETER Type
No description available.

.PARAMETER JoinType
No description available.

.PARAMETER IsListInDirectory
No description available.

.PARAMETER IsGroupAlreadyExisted
No description available.

.OUTPUTS

YammerGroupServiceSettings<PSCustomObject>
#>


function New-YammerGroupServiceSettings {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${NetworkId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowCreate},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowReuseExisting},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${Enabled},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${CreateNewGroupAssignBy},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${NameOrId},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Type},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${JoinType},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsListInDirectory},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsGroupAlreadyExisted}
    )

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

        $PSO = [PSCustomObject]@{
            "networkId" = ${NetworkId}
            "allowCreate" = ${AllowCreate}
            "allowReuseExisting" = ${AllowReuseExisting}
            "enabled" = ${Enabled}
            "createNewGroupAssignBy" = ${CreateNewGroupAssignBy}
            "nameOrId" = ${NameOrId}
            "description" = ${Description}
            "type" = ${Type}
            "joinType" = ${JoinType}
            "isListInDirectory" = ${IsListInDirectory}
            "isGroupAlreadyExisted" = ${IsGroupAlreadyExisted}
        }

        return $PSO
    }
}