Model/AzureADGroup.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 ObjectId
No description available.

.PARAMETER TenantId
No description available.

.PARAMETER GroupName
No description available.

.PARAMETER Email
No description available.

.PARAMETER Description
No description available.

.PARAMETER Privacy
No description available.

.PARAMETER Subscribe
No description available.

.PARAMETER OutsideSender
No description available.

.PARAMETER Language
No description available.

.PARAMETER Classification
No description available.

.PARAMETER SharePointSiteUrl
No description available.

.OUTPUTS

AzureADGroup<PSCustomObject>
#>


function New-AzureADGroup {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectId},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${TenantId},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GroupName},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Email},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${Privacy},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${Subscribe},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${OutsideSender},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Language},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Classification},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SharePointSiteUrl}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "objectId" = ${ObjectId}
            "tenantId" = ${TenantId}
            "groupName" = ${GroupName}
            "email" = ${Email}
            "description" = ${Description}
            "privacy" = ${Privacy}
            "subscribe" = ${Subscribe}
            "outsideSender" = ${OutsideSender}
            "language" = ${Language}
            "classification" = ${Classification}
            "sharePointSiteUrl" = ${SharePointSiteUrl}
        }

        return $PSO
    }
}