Model/GroupPolicyModel.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 IsOverwriteLifecycleStartTime
No description available.

.PARAMETER QuotaSize
No description available.

.PARAMETER SharingSettings
No description available.

.PARAMETER LifecycleSettings
No description available.

.PARAMETER InactivityThresholdSettings
No description available.

.PARAMETER LeaseThresholdSettings
No description available.

.PARAMETER QuotaThresholdSettings
No description available.

.PARAMETER RecertificationSettings
No description available.

.PARAMETER Id
No description available.

.PARAMETER Name
No description available.

.PARAMETER Description
No description available.

.PARAMETER Category
No description available.

.PARAMETER TenantId
No description available.

.PARAMETER Status
No description available.

.OUTPUTS

GroupPolicyModel<PSCustomObject>
#>


function New-GroupPolicyModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsOverwriteLifecycleStartTime},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${QuotaSize},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SharingSettings},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${LifecycleSettings},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${InactivityThresholdSettings},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${LeaseThresholdSettings},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${QuotaThresholdSettings},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${RecertificationSettings},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Name},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Category},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${TenantId},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Status}
    )

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

        $PSO = [PSCustomObject]@{
            "isOverwriteLifecycleStartTime" = ${IsOverwriteLifecycleStartTime}
            "quotaSize" = ${QuotaSize}
            "sharingSettings" = ${SharingSettings}
            "lifecycleSettings" = ${LifecycleSettings}
            "inactivityThresholdSettings" = ${InactivityThresholdSettings}
            "leaseThresholdSettings" = ${LeaseThresholdSettings}
            "quotaThresholdSettings" = ${QuotaThresholdSettings}
            "recertificationSettings" = ${RecertificationSettings}
            "id" = ${Id}
            "name" = ${Name}
            "description" = ${Description}
            "category" = ${Category}
            "tenantId" = ${TenantId}
            "status" = ${Status}
        }

        return $PSO
    }
}