Model/SpeedLimit.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 Source IP address or Network to which this limit applies .PARAMETER UpKbps Upload speed limit in KB/s .PARAMETER DnKbps Download speed limit in KB/s .OUTPUTS SpeedLimit<PSCustomObject> #> function New-SS6SpeedLimit { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${Source}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${UpKbps}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${DnKbps} ) Process { 'Creating object: SS6AdminModule => SS6SpeedLimit' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "source" = ${Source} "upKbps" = ${UpKbps} "dnKbps" = ${DnKbps} } return $PSO } } |