Model/GroupInfo.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 Name
No description available.

.PARAMETER Id
No description available.

.PARAMETER ImageUrl
No description available.

.PARAMETER Description
No description available.

.PARAMETER Privacy
No description available.

.PARAMETER NetworkId
No description available.

.OUTPUTS

GroupInfo<PSCustomObject>
#>


function New-GroupInfo {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Name},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Id},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ImageUrl},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Privacy},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${NetworkId}
    )

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

        $PSO = [PSCustomObject]@{
            "name" = ${Name}
            "id" = ${Id}
            "imageUrl" = ${ImageUrl}
            "description" = ${Description}
            "privacy" = ${Privacy}
            "networkId" = ${NetworkId}
        }

        return $PSO
    }
}