Model/UserProfileMetadataSettings.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 AdminCenter
No description available.

.PARAMETER EnableValueSync
No description available.

.PARAMETER EnableRoleValueSync
No description available.

.PARAMETER Value
No description available.

.PARAMETER Property
No description available.

.PARAMETER AllowReferenceAsRoleInApprovalProcess
No description available.

.OUTPUTS

UserProfileMetadataSettings<PSCustomObject>
#>


function New-UserProfileMetadataSettings {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AdminCenter},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableValueSync},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableRoleValueSync},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Value},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Property},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${AllowReferenceAsRoleInApprovalProcess}
    )

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

        $PSO = [PSCustomObject]@{
            "adminCenter" = ${AdminCenter}
            "enableValueSync" = ${EnableValueSync}
            "enableRoleValueSync" = ${EnableRoleValueSync}
            "value" = ${Value}
            "property" = ${Property}
            "allowReferenceAsRoleInApprovalProcess" = ${AllowReferenceAsRoleInApprovalProcess}
        }

        return $PSO
    }
}