Model/ChangeGroupPolicyResult.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 CurrentPolicy
No description available.

.PARAMETER AllPolicies
No description available.

.PARAMETER ChangePolicyAssignBy
No description available.

.PARAMETER StartDateType
No description available.

.PARAMETER ServiceSpecifyDate
No description available.

.PARAMETER IsEnableLeaseExpired
No description available.

.PARAMETER LeaseDuration
No description available.

.PARAMETER LeaseDurationType
No description available.

.PARAMETER CurrentStartDate
No description available.

.OUTPUTS

ChangeGroupPolicyResult<PSCustomObject>
#>


function New-ChangeGroupPolicyResult {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${CurrentPolicy},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${AllPolicies},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ChangePolicyAssignBy},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${StartDateType},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${ServiceSpecifyDate},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsEnableLeaseExpired},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${LeaseDuration},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${LeaseDurationType},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${CurrentStartDate}
    )

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

        $PSO = [PSCustomObject]@{
            "currentPolicy" = ${CurrentPolicy}
            "allPolicies" = ${AllPolicies}
            "changePolicyAssignBy" = ${ChangePolicyAssignBy}
            "startDateType" = ${StartDateType}
            "serviceSpecifyDate" = ${ServiceSpecifyDate}
            "isEnableLeaseExpired" = ${IsEnableLeaseExpired}
            "leaseDuration" = ${LeaseDuration}
            "leaseDurationType" = ${LeaseDurationType}
            "currentStartDate" = ${CurrentStartDate}
        }

        return $PSO
    }
}