Model/ChangeGroupSettingService.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 TenantId
No description available.

.PARAMETER GroupRestriction
No description available.

.PARAMETER EnableChangeName
No description available.

.PARAMETER EnableChangeDescription
No description available.

.PARAMETER EnableChangeMemberSubscription
No description available.

.PARAMETER EnableChangeOutsideSenders
No description available.

.PARAMETER EnableChangePrimaryContact
No description available.

.PARAMETER EnableChangeSecondaryContact
No description available.

.PARAMETER EnableAddOwners
No description available.

.PARAMETER AddOwnerRestriction
No description available.

.PARAMETER EnableRemoveOwners
No description available.

.PARAMETER EnableAddMembers
No description available.

.PARAMETER AddMemberRestriction
No description available.

.PARAMETER EnableRemoveMembers
No description available.

.PARAMETER EnableChangeDynamicMembershipRules
No description available.

.PARAMETER EnableChangeTeamCollaboration
No description available.

.PARAMETER EnableChangeHubSite
No description available.

.PARAMETER EnableChangeClassification
No description available.

.PARAMETER ClassificationList
No description available.

.PARAMETER EnableChangeMetadata
No description available.

.PARAMETER EnableAddOrDeleteMetadata
No description available.

.PARAMETER MetadataList
No description available.

.PARAMETER DepartmentAssignBy
No description available.

.PARAMETER Metadatas
No description available.

.PARAMETER HideRequestSummary
No description available.

.PARAMETER Id
No description available.

.PARAMETER Name
No description available.

.PARAMETER Description
No description available.

.PARAMETER Type
No description available.

.PARAMETER Department
No description available.

.PARAMETER LoadDepartmentFromUps
No description available.

.PARAMETER Departments
No description available.

.PARAMETER ServiceContact
No description available.

.PARAMETER ServiceAdminContact
No description available.

.PARAMETER ApproversContainManagerRole
No description available.

.PARAMETER Status
No description available.

.PARAMETER ShowServiceInCatalog
No description available.

.PARAMETER CustomActions
No description available.

.PARAMETER ApprovalProcessId
No description available.

.PARAMETER LanguageId
No description available.

.PARAMETER CategoryId
No description available.

.OUTPUTS

ChangeGroupSettingService<PSCustomObject>
#>


function New-ChangeGroupSettingService {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${TenantId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${GroupRestriction},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeName},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeDescription},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeMemberSubscription},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeOutsideSenders},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangePrimaryContact},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeSecondaryContact},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableAddOwners},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${AddOwnerRestriction},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableRemoveOwners},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableAddMembers},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${AddMemberRestriction},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableRemoveMembers},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeDynamicMembershipRules},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeTeamCollaboration},
        [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeHubSite},
        [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeClassification},
        [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)]
        [String[]]
        ${ClassificationList},
        [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableChangeMetadata},
        [Parameter(Position = 20, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${EnableAddOrDeleteMetadata},
        [Parameter(Position = 21, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${MetadataList},
        [Parameter(Position = 22, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${DepartmentAssignBy},
        [Parameter(Position = 23, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Metadatas},
        [Parameter(Position = 24, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${HideRequestSummary},
        [Parameter(Position = 25, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 26, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Name},
        [Parameter(Position = 27, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 28, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Type},
        [Parameter(Position = 29, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Department},
        [Parameter(Position = 30, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${LoadDepartmentFromUps},
        [Parameter(Position = 31, ValueFromPipelineByPropertyName = $true)]
        [String[]]
        ${Departments},
        [Parameter(Position = 32, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ServiceContact},
        [Parameter(Position = 33, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ServiceAdminContact},
        [Parameter(Position = 34, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${ApproversContainManagerRole},
        [Parameter(Position = 35, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Status},
        [Parameter(Position = 36, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${ShowServiceInCatalog},
        [Parameter(Position = 37, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${CustomActions},
        [Parameter(Position = 38, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ApprovalProcessId},
        [Parameter(Position = 39, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${LanguageId},
        [Parameter(Position = 40, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${CategoryId}
    )

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

        $PSO = [PSCustomObject]@{
            "tenantId" = ${TenantId}
            "groupRestriction" = ${GroupRestriction}
            "enableChangeName" = ${EnableChangeName}
            "enableChangeDescription" = ${EnableChangeDescription}
            "enableChangeMemberSubscription" = ${EnableChangeMemberSubscription}
            "enableChangeOutsideSenders" = ${EnableChangeOutsideSenders}
            "enableChangePrimaryContact" = ${EnableChangePrimaryContact}
            "enableChangeSecondaryContact" = ${EnableChangeSecondaryContact}
            "enableAddOwners" = ${EnableAddOwners}
            "addOwnerRestriction" = ${AddOwnerRestriction}
            "enableRemoveOwners" = ${EnableRemoveOwners}
            "enableAddMembers" = ${EnableAddMembers}
            "addMemberRestriction" = ${AddMemberRestriction}
            "enableRemoveMembers" = ${EnableRemoveMembers}
            "enableChangeDynamicMembershipRules" = ${EnableChangeDynamicMembershipRules}
            "enableChangeTeamCollaboration" = ${EnableChangeTeamCollaboration}
            "enableChangeHubSite" = ${EnableChangeHubSite}
            "enableChangeClassification" = ${EnableChangeClassification}
            "classificationList" = ${ClassificationList}
            "enableChangeMetadata" = ${EnableChangeMetadata}
            "enableAddOrDeleteMetadata" = ${EnableAddOrDeleteMetadata}
            "metadataList" = ${MetadataList}
            "departmentAssignBy" = ${DepartmentAssignBy}
            "metadatas" = ${Metadatas}
            "hideRequestSummary" = ${HideRequestSummary}
            "id" = ${Id}
            "name" = ${Name}
            "description" = ${Description}
            "type" = ${Type}
            "department" = ${Department}
            "loadDepartmentFromUps" = ${LoadDepartmentFromUps}
            "departments" = ${Departments}
            "serviceContact" = ${ServiceContact}
            "serviceAdminContact" = ${ServiceAdminContact}
            "approversContainManagerRole" = ${ApproversContainManagerRole}
            "status" = ${Status}
            "showServiceInCatalog" = ${ShowServiceInCatalog}
            "customActions" = ${CustomActions}
            "approvalProcessId" = ${ApprovalProcessId}
            "languageId" = ${LanguageId}
            "categoryId" = ${CategoryId}
        }

        return $PSO
    }
}