lib/Classes/Public/TMProfile.ps1

class TMProfile {
    [String]$Name
    [String]$Server
    [String]$Project
    [PSCredential]$Credential
    [Bool]$AllowInsecureSSL

    TMProfile() {}

    TMProfile([String]$name) {
        $this.Name = $name
    }

    TMProfile([String]$name, [String]$server, [String]$project = '', [PSCredential]$credential, [Bool]$allowInsecureSSL = $false) {
        $this.Name = $name
        $this.Server = $server
        $this.Project = $project
        $this.Credential = $credential
        $this.AllowInsecureSSL = $allowInsecureSSL
    }
}