Model/CertificateBaseFields.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 CommonName No description available. .PARAMETER Country No description available. .PARAMETER Organization No description available. .PARAMETER OrganizationalUnit No description available. .PARAMETER Locality No description available. .PARAMETER Province No description available. .PARAMETER Bits No description available. .PARAMETER Algo No description available. .PARAMETER Hosts No description available. .OUTPUTS CertificateBaseFields<PSCustomObject> #> function New-SS6CertificateBaseFields { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${CommonName}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${Country}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${Organization}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [String] ${OrganizationalUnit}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [String] ${Locality}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [String] ${Province}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${Bits}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [String] ${Algo}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [String[]] ${Hosts} ) Process { 'Creating object: SS6AdminModule => SS6CertificateBaseFields' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "commonName" = ${CommonName} "country" = ${Country} "organization" = ${Organization} "organizationalUnit" = ${OrganizationalUnit} "locality" = ${Locality} "province" = ${Province} "bits" = ${Bits} "algo" = ${Algo} "hosts" = ${Hosts} } return $PSO } } |