Model/DynamicGroupRuleInfo.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 Order
No description available.

.PARAMETER Relation
No description available.

.PARAMETER Category
No description available.

.PARAMETER MetadataId
No description available.

.PARAMETER MetadataName
No description available.

.PARAMETER MetadataValue
No description available.

.PARAMETER MetadataDisplayValue
No description available.

.PARAMETER Condition
No description available.

.OUTPUTS

DynamicGroupRuleInfo<PSCustomObject>
#>


function New-DynamicGroupRuleInfo {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${Order},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Relation},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Category},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${MetadataId},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MetadataName},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MetadataValue},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MetadataDisplayValue},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Condition}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "order" = ${Order}
            "relation" = ${Relation}
            "category" = ${Category}
            "metadataId" = ${MetadataId}
            "metadataName" = ${MetadataName}
            "metadataValue" = ${MetadataValue}
            "metadataDisplayValue" = ${MetadataDisplayValue}
            "condition" = ${Condition}
        }

        return $PSO
    }
}