Model/YammerGroupRequestSettings.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 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

YammerGroupRequestSettings<PSCustomObject>
#>


function New-YammerGroupRequestSettings {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${NameOrId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Type},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${JoinType},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsListInDirectory},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsGroupAlreadyExisted}
    )

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

        $PSO = [PSCustomObject]@{
            "nameOrId" = ${NameOrId}
            "description" = ${Description}
            "type" = ${Type}
            "joinType" = ${JoinType}
            "isListInDirectory" = ${IsListInDirectory}
            "isGroupAlreadyExisted" = ${IsGroupAlreadyExisted}
        }

        return $PSO
    }
}