Model/RequestGroupWithPermissions.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 Name
No description available.

.PARAMETER Description
No description available.

.PARAMETER Users
No description available.

.PARAMETER PermissionLevels
No description available.

.PARAMETER GroupOwner
No description available.

.PARAMETER GroupOwnerType
No description available.

.PARAMETER BuildInGroupType
No description available.

.OUTPUTS

RequestGroupWithPermissions<PSCustomObject>
#>


function New-RequestGroupWithPermissions {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Name},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Users},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${PermissionLevels},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${GroupOwner},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${GroupOwnerType},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${BuildInGroupType}
    )

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

        $PSO = [PSCustomObject]@{
            "name" = ${Name}
            "description" = ${Description}
            "users" = ${Users}
            "permissionLevels" = ${PermissionLevels}
            "groupOwner" = ${GroupOwner}
            "groupOwnerType" = ${GroupOwnerType}
            "buildInGroupType" = ${BuildInGroupType}
        }

        return $PSO
    }
}