Add AddonModel.ps1
This commit is contained in:
1 parent
6ca36f5014
commit
90959082a6
1 file changed
+17
@@ -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