Model/SPUserManagementModel.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 IdentityName
No description available.

.PARAMETER DisplayName
No description available.

.PARAMETER IsGroup
No description available.

.PARAMETER Action
No description available.

.PARAMETER ExternalUserType
No description available.

.OUTPUTS

SPUserManagementModel<PSCustomObject>
#>


function New-SPUserManagementModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${IdentityName},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${DisplayName},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsGroup},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Action},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ExternalUserType}
    )

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

        $PSO = [PSCustomObject]@{
            "identityName" = ${IdentityName}
            "displayName" = ${DisplayName}
            "isGroup" = ${IsGroup}
            "action" = ${Action}
            "externalUserType" = ${ExternalUserType}
        }

        return $PSO
    }
}