Model/ChangeGroupSettingCheckResult.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 PrimaryContact
No description available.

.PARAMETER SecondaryContact
No description available.

.PARAMETER GroupId
No description available.

.PARAMETER GroupName
No description available.

.PARAMETER GroupEmail
No description available.

.PARAMETER GroupDescription
No description available.

.PARAMETER IsEnableSubscribeMembers
No description available.

.PARAMETER IsEnableOutsideSender
No description available.

.PARAMETER Classification
No description available.

.PARAMETER IsTeamsEnabled
No description available.

.PARAMETER EnableManageGroupSharing
No description available.

.PARAMETER EnableInviteAuthorizedGuestUser
No description available.

.PARAMETER EnableInviteGuestUser
No description available.

.PARAMETER EnableDynamicMembership
No description available.

.PARAMETER IsHubSite
No description available.

.PARAMETER AssociatedHubSiteId
No description available.

.PARAMETER DynamicMembershipRules
No description available.

.PARAMETER Metadatas
No description available.

.PARAMETER IsValid
No description available.

.PARAMETER ErrorMessage
No description available.

.OUTPUTS

ChangeGroupSettingCheckResult<PSCustomObject>
#>


function New-ChangeGroupSettingCheckResult {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${PrimaryContact},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SecondaryContact},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GroupId},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GroupName},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GroupEmail},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GroupDescription},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsEnableSubscribeMembers},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsEnableOutsideSender},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Classification},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsTeamsEnabled},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableManageGroupSharing},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableInviteAuthorizedGuestUser},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableInviteGuestUser},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableDynamicMembership},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsHubSite},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${AssociatedHubSiteId},
        [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${DynamicMembershipRules},
        [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Metadatas},
        [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsValid},
        [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ErrorMessage}
    )

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

        $PSO = [PSCustomObject]@{
            "primaryContact" = ${PrimaryContact}
            "secondaryContact" = ${SecondaryContact}
            "groupId" = ${GroupId}
            "groupName" = ${GroupName}
            "groupEmail" = ${GroupEmail}
            "groupDescription" = ${GroupDescription}
            "isEnableSubscribeMembers" = ${IsEnableSubscribeMembers}
            "isEnableOutsideSender" = ${IsEnableOutsideSender}
            "classification" = ${Classification}
            "isTeamsEnabled" = ${IsTeamsEnabled}
            "enableManageGroupSharing" = ${EnableManageGroupSharing}
            "enableInviteAuthorizedGuestUser" = ${EnableInviteAuthorizedGuestUser}
            "enableInviteGuestUser" = ${EnableInviteGuestUser}
            "enableDynamicMembership" = ${EnableDynamicMembership}
            "isHubSite" = ${IsHubSite}
            "associatedHubSiteId" = ${AssociatedHubSiteId}
            "dynamicMembershipRules" = ${DynamicMembershipRules}
            "metadatas" = ${Metadatas}
            "isValid" = ${IsValid}
            "errorMessage" = ${ErrorMessage}
        }

        return $PSO
    }
}