lib/Classes/Public/TMTeam.ps1
class TMTeam { #region Non-Static Properties [ValidateLength(1, 32)] [System.String]$Code [ValidateRange(0, 100)] [System.Int64]$Level [System.String]$Description [System.String]$Help #endregion Non-Static Properties #region Constructors TMTeam() {} TMTeam([System.String]$_code, [System.Int64]$_level, [System.String]$_description, [System.String]$_help) { $this.Code = $_code $this.Level = $_level $this.Description = $_description $this.Help = $_help } TMTeam([Object]$_object) { $this.Code = $_object.code $this.Level = $_object.level $this.Description = $_object.description $this.Help = $_object.help } #endregion Constructors } |