Model/PieChartReport.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 StatisticColumn
No description available.

.PARAMETER Id
No description available.

.PARAMETER Title
No description available.

.PARAMETER Description
No description available.

.PARAMETER DataSource
No description available.

.PARAMETER Type
No description available.

.PARAMETER UserId
No description available.

.PARAMETER CreatedTime
No description available.

.OUTPUTS

PieChartReport<PSCustomObject>
#>


function New-PieChartReport {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${StatisticColumn},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Title},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${DataSource},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Type},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${UserId},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${CreatedTime}
    )

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

        $PSO = [PSCustomObject]@{
            "statisticColumn" = ${StatisticColumn}
            "id" = ${Id}
            "title" = ${Title}
            "description" = ${Description}
            "dataSource" = ${DataSource}
            "type" = ${Type}
            "userId" = ${UserId}
            "createdTime" = ${CreatedTime}
        }

        return $PSO
    }
}