Model/SPGroupManagementModel.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 Id No description available. .PARAMETER Name No description available. .PARAMETER Description No description available. .PARAMETER Owner No description available. .PARAMETER Members No description available. .PARAMETER SpGroupViewType No description available. .PARAMETER SpGroupEditType No description available. .PARAMETER Permissions No description available. .PARAMETER Action No description available. .PARAMETER IsAllowJoinOrLeaveRequest No description available. .PARAMETER IsAutoAcceptRequest No description available. .PARAMETER SendMembershipRequestEmailAddress No description available. .PARAMETER IsTemporaryGroup No description available. .OUTPUTS SPGroupManagementModel<PSCustomObject> #> function New-SPGroupManagementModel { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Name}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${Description}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Owner}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${Members}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${SpGroupViewType}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${SpGroupEditType}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [String[]] ${Permissions}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Action}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsAllowJoinOrLeaveRequest}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsAutoAcceptRequest}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [String] ${SendMembershipRequestEmailAddress}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsTemporaryGroup} ) Process { 'Creating object: Cloud.Governance.Client => SPGroupManagementModel' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "id" = ${Id} "name" = ${Name} "description" = ${Description} "owner" = ${Owner} "members" = ${Members} "spGroupViewType" = ${SpGroupViewType} "spGroupEditType" = ${SpGroupEditType} "permissions" = ${Permissions} "action" = ${Action} "isAllowJoinOrLeaveRequest" = ${IsAllowJoinOrLeaveRequest} "isAutoAcceptRequest" = ${IsAutoAcceptRequest} "sendMembershipRequestEmailAddress" = ${SendMembershipRequestEmailAddress} "isTemporaryGroup" = ${IsTemporaryGroup} } return $PSO } } |