lib/Classes/Public/SNProfile.ps1
class SNProfile { [String]$Name [String]$Server [String]$Project [PSCredential]$Credential [Bool]$AllowInsecureSSL [Bool]$Api SNProfile() { } SNProfile([String]$_name) { $this.Name = $_name } SNProfile([String]$_name, [String]$_server, [String]$_project = '', [PSCredential]$_credential, [Bool]$_allowInsecureSSL = $false, [Bool]$_api = $true) { $this.Name = $_name $this.Server = $_server $this.Project = $_project $this.Credential = $_credential $this.AllowInsecureSSL = $_allowInsecureSSL $this.Api = $_api } } |