Model/HubSiteChangedSettings.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 IsModernSite
No description available.

.PARAMETER Action
No description available.

.PARAMETER AssociatedHubSiteId
No description available.

.PARAMETER AssociatedHubSiteTitle
No description available.

.OUTPUTS

HubSiteChangedSettings<PSCustomObject>
#>


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

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

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

        return $PSO
    }
}