Model/RequestMetadataInfo.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 TagName
No description available.

.PARAMETER Description
No description available.

.PARAMETER FieldType
No description available.

.PARAMETER DefaultValue
No description available.

.PARAMETER MetadataValues
No description available.

.PARAMETER DisplayValues
No description available.

.PARAMETER ValueConfig
No description available.

.PARAMETER DisplayInReportType
No description available.

.PARAMETER Action
No description available.

.PARAMETER EnableTextValidation
No description available.

.PARAMETER TextValidationRuleId
No description available.

.PARAMETER OrginalValue
No description available.

.PARAMETER OrginalDisplayValue
No description available.

.PARAMETER IsNewMetadata
No description available.

.PARAMETER OriginalTargetUserDisplayName
No description available.

.PARAMETER TenantId
No description available.

.OUTPUTS

RequestMetadataInfo<PSCustomObject>
#>


function New-RequestMetadataInfo {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${TagName},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${FieldType},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${DefaultValue},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MetadataValues},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${DisplayValues},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${ValueConfig},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${DisplayInReportType},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${Action},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableTextValidation},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${TextValidationRuleId},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${OrginalValue},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${OrginalDisplayValue},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsNewMetadata},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${OriginalTargetUserDisplayName},
        [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${TenantId}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "tagName" = ${TagName}
            "description" = ${Description}
            "fieldType" = ${FieldType}
            "defaultValue" = ${DefaultValue}
            "metadataValues" = ${MetadataValues}
            "displayValues" = ${DisplayValues}
            "valueConfig" = ${ValueConfig}
            "displayInReportType" = ${DisplayInReportType}
            "action" = ${Action}
            "enableTextValidation" = ${EnableTextValidation}
            "textValidationRuleId" = ${TextValidationRuleId}
            "orginalValue" = ${OrginalValue}
            "orginalDisplayValue" = ${OrginalDisplayValue}
            "isNewMetadata" = ${IsNewMetadata}
            "originalTargetUserDisplayName" = ${OriginalTargetUserDisplayName}
            "tenantId" = ${TenantId}
        }

        return $PSO
    }
}