Model/DelegatedAccessTokenApiResult.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 Value
No description available.

.PARAMETER IsSuccess
No description available.

.PARAMETER ErrorMsg
No description available.

.OUTPUTS

DelegatedAccessTokenApiResult<PSCustomObject>
#>


function New-DelegatedAccessTokenApiResult {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Value},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsSuccess},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ErrorMsg}
    )

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

        $PSO = [PSCustomObject]@{
            "value" = ${Value}
            "isSuccess" = ${IsSuccess}
            "errorMsg" = ${ErrorMsg}
        }

        return $PSO
    }
}