Model/HubSiteSettings.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 Enabled
No description available.

.PARAMETER Action
No description available.

.PARAMETER AssociatedHubSiteId
No description available.

.PARAMETER AssociatedHubSiteTitle
No description available.

.OUTPUTS

HubSiteSettings<PSCustomObject>
#>


function New-HubSiteSettings {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${Enabled},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Action},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${AssociatedHubSiteId},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AssociatedHubSiteTitle}
    )

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

        $PSO = [PSCustomObject]@{
            "enabled" = ${Enabled}
            "action" = ${Action}
            "associatedHubSiteId" = ${AssociatedHubSiteId}
            "associatedHubSiteTitle" = ${AssociatedHubSiteTitle}
        }

        return $PSO
    }
}