Model/GroupSharingSetting.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 EnableManageGroupSharing
No description available.

.PARAMETER EnableInviteGuestUser
No description available.

.PARAMETER EnableManageSiteSharing
No description available.

.PARAMETER SiteSharingType
No description available.

.OUTPUTS

GroupSharingSetting<PSCustomObject>
#>


function New-GroupSharingSetting {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableManageGroupSharing},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableInviteGuestUser},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableManageSiteSharing},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SiteSharingType}
    )

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

        $PSO = [PSCustomObject]@{
            "enableManageGroupSharing" = ${EnableManageGroupSharing}
            "enableInviteGuestUser" = ${EnableInviteGuestUser}
            "enableManageSiteSharing" = ${EnableManageSiteSharing}
            "siteSharingType" = ${SiteSharingType}
        }

        return $PSO
    }
}