Skip to content

Commit f0b5523

Browse files
authored
Add rest interface 1.6 and add DownloadCommandProhibited (#214)
1 parent 50d4538 commit f0b5523

File tree

4 files changed

+2364
-9
lines changed

4 files changed

+2364
-9
lines changed

Tools/PowershellModule/src/Library/Classes.ps1

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ class WinGetInstaller
154154
$ElevationRequirement
155155
$UnsupportedOSArchitectures
156156
$AppsAndFeaturesEntries
157-
$Markets
157+
$Markets
158+
$DownloadCommandProhibited
158159

159160
WinGetInstaller ([string] $a)
160161
{
@@ -191,7 +192,8 @@ class WinGetInstaller
191192
$this.ElevationRequirement = $Converted.ElevationRequirement
192193
$this.UnsupportedOSArchitectures= $Converted.UnsupportedOSArchitectures
193194
$this.AppsAndFeaturesEntries = $Converted.AppsAndFeaturesEntries
194-
$this.Markets = $Converted.Markets
195+
$this.Markets = $Converted.Markets
196+
$this.DownloadCommandProhibited = $Converted.DownloadCommandProhibited
195197
}
196198
WinGetInstaller ([WinGetInstaller] $a)
197199
{
@@ -226,7 +228,8 @@ class WinGetInstaller
226228
$this.ElevationRequirement = $a.ElevationRequirement
227229
$this.UnsupportedOSArchitectures= $a.UnsupportedOSArchitectures
228230
$this.AppsAndFeaturesEntries = $a.AppsAndFeaturesEntries
229-
$this.Markets = $a.Markets
231+
$this.Markets = $a.Markets
232+
$this.DownloadCommandProhibited = $a.DownloadCommandProhibited
230233
}
231234
WinGetInstaller ([psobject] $a) {
232235
$this.InstallerIdentifier = $a.InstallerIdentifier
@@ -260,7 +263,8 @@ class WinGetInstaller
260263
$this.ElevationRequirement = $a.ElevationRequirement
261264
$this.UnsupportedOSArchitectures= $a.UnsupportedOSArchitectures
262265
$this.AppsAndFeaturesEntries = $a.AppsAndFeaturesEntries
263-
$this.Markets = $a.Markets
266+
$this.Markets = $a.Markets
267+
$this.DownloadCommandProhibited = $a.DownloadCommandProhibited
264268
}
265269

266270
[WinGetInstaller[]] Add ([WinGetInstaller] $a)

0 commit comments

Comments
 (0)