Add AddonModel.ps1
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
class AddonModel {
|
||||||
|
[string] $Name
|
||||||
|
[string] $Id
|
||||||
|
[string] $InstallUrl
|
||||||
|
[string] $StoreUrl
|
||||||
|
[string] $Description
|
||||||
|
[bool] $IsSelected
|
||||||
|
|
||||||
|
AddonModel([string]$name, [string]$id, [string]$installUrl, [string]$storeUrl, [string]$description) {
|
||||||
|
$this.Name = $name
|
||||||
|
$this.Id = $id
|
||||||
|
$this.InstallUrl = $installUrl
|
||||||
|
$this.StoreUrl = $storeUrl
|
||||||
|
$this.Description= $description
|
||||||
|
$this.IsSelected = $false
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user