Model/ResourceValue.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 Display
No description available.

.PARAMETER Value
No description available.

.PARAMETER ResourceKey
No description available.

.OUTPUTS

ResourceValue<PSCustomObject>
#>


function New-ResourceValue {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Display},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${Value},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ResourceKey}
    )

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

        $PSO = [PSCustomObject]@{
            "display" = ${Display}
            "value" = ${Value}
            "resourceKey" = ${ResourceKey}
        }

        return $PSO
    }
}