Model/ImpersonationAccountList.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 Id
No description available.

.PARAMETER DisplayName
No description available.

.PARAMETER TenantId
No description available.

.PARAMETER TenantName
No description available.

.PARAMETER Domain
No description available.

.PARAMETER ModifiedTime
No description available.

.OUTPUTS

ImpersonationAccountList<PSCustomObject>
#>


function New-ImpersonationAccountList {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${DisplayName},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${TenantId},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${TenantName},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Domain},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${ModifiedTime}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "displayName" = ${DisplayName}
            "tenantId" = ${TenantId}
            "tenantName" = ${TenantName}
            "domain" = ${Domain}
            "modifiedTime" = ${ModifiedTime}
        }

        return $PSO
    }
}