Model/MetadataList.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 CreatedBy
No description available.

.PARAMETER CreatedByDisplayName
No description available.

.PARAMETER Id
No description available.

.PARAMETER Name
No description available.

.PARAMETER Description
No description available.

.PARAMETER FieldType
No description available.

.PARAMETER MetadataValue
No description available.

.PARAMETER ShowInReportType
No description available.

.PARAMETER ShowInReportTypeDescription
No description available.

.PARAMETER LastModifiedTime
No description available.

.OUTPUTS

MetadataList<PSCustomObject>
#>


function New-MetadataList {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${CreatedBy},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${CreatedByDisplayName},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Name},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${FieldType},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MetadataValue},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ShowInReportType},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ShowInReportTypeDescription},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${LastModifiedTime}
    )

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

        $PSO = [PSCustomObject]@{
            "createdBy" = ${CreatedBy}
            "createdByDisplayName" = ${CreatedByDisplayName}
            "id" = ${Id}
            "name" = ${Name}
            "description" = ${Description}
            "fieldType" = ${FieldType}
            "metadataValue" = ${MetadataValue}
            "showInReportType" = ${ShowInReportType}
            "showInReportTypeDescription" = ${ShowInReportTypeDescription}
            "lastModifiedTime" = ${LastModifiedTime}
        }

        return $PSO
    }
}