Skip to content

Commit d88314f

Browse files
author
ShocOne
committed
struct renaming tweaks
1 parent 434d05e commit d88314f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func main() {
3737
newSmartGroup := &jamfpro.ComputerGroupRequest{
3838
Name: "NewGroupNameBySDKWithnoSiteset",
3939
IsSmart: true,
40-
Site: jamfpro.Site{ID: -1, Name: "None"}, // not required in req as can be handled in func and set to none.
40+
Site: jamfpro.ComputerGroupSite{ID: -1, Name: "None"}, // not required in req as can be handled in func and set to none.
4141
Criteria: []jamfpro.ComputerGroupCriterion{
4242
{
4343
Name: "Last Inventory Update",

examples/computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func main() {
5555
newStaticGroup := &jamfpro.ComputerGroupRequest{
5656
Name: "SDK Static Group Test",
5757
IsSmart: false,
58-
Site: jamfpro.Site{ID: -1, Name: "None"},
58+
Site: jamfpro.ComputerGroupSite{ID: -1, Name: "None"},
5959
Computers: computers,
6060
}
6161

examples/computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func main() {
5252
updatedStaticGroup := &jamfpro.ComputerGroupRequest{
5353
Name: "Updated Static Group Name",
5454
IsSmart: false,
55-
Site: jamfpro.Site{ID: -1, Name: "None"},
55+
Site: jamfpro.ComputerGroupSite{ID: -1, Name: "None"},
5656
Computers: updatedComputers,
5757
}
5858

examples/computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func main() {
5252
updatedStaticGroup := &jamfpro.ComputerGroupRequest{
5353
Name: "Static Group Name",
5454
IsSmart: false,
55-
Site: jamfpro.Site{ID: -1, Name: "None"},
55+
Site: jamfpro.ComputerGroupSite{ID: -1, Name: "None"},
5656
Computers: updatedComputers,
5757
}
5858

0 commit comments

Comments
 (0)