Classes/Public/TMProvider.ps1
|
class TMProvider { #region Non-Static Properties [Nullable[System.Int64]]$Id [System.String]$Name [System.String]$Description [System.String]$Comment [Nullable[System.DateTime]]$DateCreated [Nullable[System.DateTime]]$LastUpdated #endregion Non-Static Properties #region Constructors TMProvider() {} TMProvider([System.String]$_name) { $this.Name = $_name } TMProvider([System.String]$_name, [System.String]$_description, [System.String]$_comment) { $this.Name = $_name $this.Description = $_description $this.Comment = $_comment } TMProvider([Object]$_object) { $this.Id = $_object.id $this.Name = $_object.name $this.Description = $_object.description $this.Comment = $_object.comment $this.DateCreated = $_object.dateCreated $this.LastUpdated = $_object.lastUpdated } #endregion Constructors } |