Model/GroupRenewProfileRef.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 EnableOwnerRenewal
No description available.

.PARAMETER EnableMemberRenewal
No description available.

.PARAMETER EnableAddOrDeleteUser
No description available.

.PARAMETER IsDynamicMembership
No description available.

.PARAMETER EnableManageGroupSharing
No description available.

.PARAMETER EnableInviteAuthorizedGuestUser
No description available.

.PARAMETER EnableInviteGuestUser
No description available.

.PARAMETER IsLastStage
No description available.

.PARAMETER ConfirmMessage
No description available.

.PARAMETER ObjectTitle
No description available.

.PARAMETER EnableContactRenewal
No description available.

.PARAMETER EnablePermissionRenewal
No description available.

.PARAMETER EnableMetadataRenewal
No description available.

.PARAMETER EnableReassign
No description available.

.PARAMETER EnableDeletion
No description available.

.PARAMETER EnableArchival
No description available.

.OUTPUTS

GroupRenewProfileRef<PSCustomObject>
#>


function New-GroupRenewProfileRef {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableOwnerRenewal},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableMemberRenewal},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableAddOrDeleteUser},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsDynamicMembership},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableManageGroupSharing},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableInviteAuthorizedGuestUser},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableInviteGuestUser},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsLastStage},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ConfirmMessage},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectTitle},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableContactRenewal},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnablePermissionRenewal},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableMetadataRenewal},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableReassign},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableDeletion},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableArchival}
    )

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

        $PSO = [PSCustomObject]@{
            "enableOwnerRenewal" = ${EnableOwnerRenewal}
            "enableMemberRenewal" = ${EnableMemberRenewal}
            "enableAddOrDeleteUser" = ${EnableAddOrDeleteUser}
            "isDynamicMembership" = ${IsDynamicMembership}
            "enableManageGroupSharing" = ${EnableManageGroupSharing}
            "enableInviteAuthorizedGuestUser" = ${EnableInviteAuthorizedGuestUser}
            "enableInviteGuestUser" = ${EnableInviteGuestUser}
            "isLastStage" = ${IsLastStage}
            "confirmMessage" = ${ConfirmMessage}
            "objectTitle" = ${ObjectTitle}
            "enableContactRenewal" = ${EnableContactRenewal}
            "enablePermissionRenewal" = ${EnablePermissionRenewal}
            "enableMetadataRenewal" = ${EnableMetadataRenewal}
            "enableReassign" = ${EnableReassign}
            "enableDeletion" = ${EnableDeletion}
            "enableArchival" = ${EnableArchival}
        }

        return $PSO
    }
}