Skip to content

Commit a9adab9

Browse files
committed
feat: update CreatePatchSoftwareTitleConfiguration example for Adobe AIR
1 parent ac2ad54 commit a9adab9

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,29 @@ func main() {
1919

2020
// Create a new PatchSoftwareTitleConfiguration
2121
newConfig := &jamfpro.ResourcePatchSoftwareTitleConfiguration{
22-
DisplayName: "firefox test",
23-
CategoryID: "-1",
24-
SiteID: "-1",
25-
UiNotifications: true,
26-
EmailNotifications: true,
27-
SoftwareTitleID: "***",
22+
JamfOfficial: true,
23+
DisplayName: "Adobe AIR",
24+
CategoryID: "-1",
25+
SiteID: "-1",
26+
UiNotifications: true,
27+
EmailNotifications: true,
28+
SoftwareTitleID: "11",
29+
SoftwareTitleName: "Adobe AIR",
30+
SoftwareTitleNameId: "0AE",
31+
SoftwareTitlePublisher: "HARMAN",
32+
PatchSourceName: "Jamf",
33+
PatchSourceEnabled: true,
2834
Packages: []jamfpro.PatchSoftwareTitleConfigurationSubsetPackage{
2935
{
3036
PackageId: "38",
31-
Version: "133.0.3",
3237
DisplayName: "Firefox 133.0.3.pkg",
38+
Version: "51.1.2.2",
39+
},
40+
},
41+
ExtensionAttributes: []jamfpro.PatchSoftwareTitleConfigurationSubsetExtensionAttribute{
42+
{
43+
Accepted: false,
44+
EaID: "jamf-patch-adobe-air",
3345
},
3446
},
3547
}

0 commit comments

Comments
 (0)