Model/ServiceTeamsSettings.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 MemberPermissionsAssignBy No description available. .PARAMETER GuestPermissionsAssignBy No description available. .PARAMETER MentionsAssignBy No description available. .PARAMETER FunStuffAssignBy No description available. .PARAMETER AllowMembersCreateUpdateChannels No description available. .PARAMETER AllowMembersCreatePrivateChannels No description available. .PARAMETER AllowMemberDeleteRestoreChannels No description available. .PARAMETER AllowMembersAddRemoveApps No description available. .PARAMETER AllowMembersCreateUpdateRemoveTabs No description available. .PARAMETER AllowMembersCreateUpdateRemoveConnections No description available. .PARAMETER AllowMembersDeleteMessages No description available. .PARAMETER AllowMembersEditMessages No description available. .PARAMETER AllowGuestsCreateUpdateChannels No description available. .PARAMETER AllowGuestsDeleteChannels No description available. .PARAMETER AllowMentionsTeam No description available. .PARAMETER AllowMentionsChannel No description available. .PARAMETER EnableGiphy No description available. .PARAMETER EnableStickersAndMemes No description available. .PARAMETER EnableCustomMemes No description available. .PARAMETER GiphyRatingType No description available. .OUTPUTS ServiceTeamsSettings<PSCustomObject> #> function New-ServiceTeamsSettings { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${MemberPermissionsAssignBy}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${GuestPermissionsAssignBy}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${MentionsAssignBy}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${FunStuffAssignBy}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMembersCreateUpdateChannels}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMembersCreatePrivateChannels}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMemberDeleteRestoreChannels}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMembersAddRemoveApps}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMembersCreateUpdateRemoveTabs}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMembersCreateUpdateRemoveConnections}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMembersDeleteMessages}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMembersEditMessages}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowGuestsCreateUpdateChannels}, [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowGuestsDeleteChannels}, [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMentionsTeam}, [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMentionsChannel}, [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableGiphy}, [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableStickersAndMemes}, [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableCustomMemes}, [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${GiphyRatingType} ) Process { 'Creating object: Cloud.Governance.Client => ServiceTeamsSettings' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "memberPermissionsAssignBy" = ${MemberPermissionsAssignBy} "guestPermissionsAssignBy" = ${GuestPermissionsAssignBy} "mentionsAssignBy" = ${MentionsAssignBy} "funStuffAssignBy" = ${FunStuffAssignBy} "allowMembersCreateUpdateChannels" = ${AllowMembersCreateUpdateChannels} "allowMembersCreatePrivateChannels" = ${AllowMembersCreatePrivateChannels} "allowMemberDeleteRestoreChannels" = ${AllowMemberDeleteRestoreChannels} "allowMembersAddRemoveApps" = ${AllowMembersAddRemoveApps} "allowMembersCreateUpdateRemoveTabs" = ${AllowMembersCreateUpdateRemoveTabs} "allowMembersCreateUpdateRemoveConnections" = ${AllowMembersCreateUpdateRemoveConnections} "allowMembersDeleteMessages" = ${AllowMembersDeleteMessages} "allowMembersEditMessages" = ${AllowMembersEditMessages} "allowGuestsCreateUpdateChannels" = ${AllowGuestsCreateUpdateChannels} "allowGuestsDeleteChannels" = ${AllowGuestsDeleteChannels} "allowMentionsTeam" = ${AllowMentionsTeam} "allowMentionsChannel" = ${AllowMentionsChannel} "enableGiphy" = ${EnableGiphy} "enableStickersAndMemes" = ${EnableStickersAndMemes} "enableCustomMemes" = ${EnableCustomMemes} "giphyRatingType" = ${GiphyRatingType} } return $PSO } } |