Model/VirtualSite.ps1
# # SMServer V6 # Syncplify.me Server! REST API # Version: 1.0.0 # Generated by OpenAPI Generator: https://openapi-generator.tech # <# .SYNOPSIS No summary available. .DESCRIPTION No description available. .PARAMETER Id ID of the virtual site .PARAMETER Name Name of the virtual site (can be anything) .PARAMETER AutoStart Should this virtualsite be automatically started when the program starts? .PARAMETER AutoRestart Should this virtualsite be automatically restarted if its process \"dies\" unexpectedly? .PARAMETER NodeBindings Multiple bindings are supported for each node of each virtual site .PARAMETER AdminUiLogo Logo to be displayed in the Admin UI .PARAMETER AdminUiLogoType MIME-Type of the logo to be displayed in the Admin UI .PARAMETER AdminUiDisclaimer Legal disclaimer (free text) to be displayed on the Admin UI's login page .OUTPUTS VirtualSite<PSCustomObject> #> function New-SS6VirtualSite { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${Name}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AutoStart}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AutoRestart}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${NodeBindings}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${AdminUiLogo}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [String] ${AdminUiLogoType}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [String] ${AdminUiDisclaimer} ) Process { 'Creating object: SS6AdminModule => SS6VirtualSite' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "id" = ${Id} "name" = ${Name} "autoStart" = ${AutoStart} "autoRestart" = ${AutoRestart} "nodeBindings" = ${NodeBindings} "adminUiLogo" = ${AdminUiLogo} "adminUiLogoType" = ${AdminUiLogoType} "adminUiDisclaimer" = ${AdminUiDisclaimer} } return $PSO } } |