From e98033a7257a7039ba9ade5e126b131171514f4a Mon Sep 17 00:00:00 2001 From: Bobby Date: Tue, 10 Jun 2025 10:54:16 +0100 Subject: [PATCH 01/20] gitignore for config file --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 10fcfcbd5..348badbd1 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,5 @@ go.work # macOS File System .DS_Store + +clientconfig.json \ No newline at end of file From 92dee385410e9a34475513b81982365d07bf7928 Mon Sep 17 00:00:00 2001 From: Bobby Date: Tue, 10 Jun 2025 10:54:59 +0100 Subject: [PATCH 02/20] config file location --- .../jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go b/examples/jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go index 28c77c0a7..f291a5326 100644 --- a/examples/jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go +++ b/examples/jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) From e13a22c4d4742afdc911062870a4eda3e8320553 Mon Sep 17 00:00:00 2001 From: Bobby Date: Tue, 10 Jun 2025 10:58:32 +0100 Subject: [PATCH 03/20] change default config file path --- .../CreateAccountGroup/CreateAccountGroup.go | 2 +- .../DeleteAccountGroupByID.go | 2 +- .../DeleteAccountGroupByName.go | 2 +- .../DeleteAllAccountGroups.go | 2 +- .../GetAccountGroupByID/GetAccountGroupByID.go | 2 +- .../GetAccountGroupByName.go | 2 +- .../UpdateAccountGroupByID.go | 2 +- .../UpdateAccountGroupByName.go | 2 +- .../GetAccountPreferences.go | 2 +- .../UpdateAccountPreferences.go | 2 +- .../CreateAccountWithFullAccess.go | 2 +- .../CreateAccountWithGroupAccess.go | 2 +- .../CreateAccountWithSiteAccess.go | 2 +- .../DeleteAccountByID/DeleteAccountByID.go | 2 +- .../DeleteAccountByName/DeleteAccountByName.go | 2 +- .../accounts/GetAccountByID/GetAccountByID.go | 2 +- .../accounts/GetAccountByName/GetAccountByName.go | 2 +- examples/accounts/GetAccounts/GetAccounts.go | 2 +- .../UpdateAccountByID/UpdateAccountByID.go | 2 +- .../UpdateAccountByName/UpdateAccountByName.go | 2 +- .../GetActivationCode/GetActivationCode.go | 2 +- .../UpdateActivationCode/UpdateActivationCode.go | 2 +- .../CreateAdvancedComputerSearch.go | 2 +- .../DeleteAdvancedComputerSearchByID.go | 2 +- .../DeleteAdvancedComputerSearchByName.go | 2 +- .../GetAdvancedComputerSearchByID.go | 2 +- .../GetAdvancedComputerSearches.go | 2 +- .../GetAdvancedComputerSearchesByName.go | 2 +- .../UpdateAdvancedComputerSearchByID.go | 2 +- .../UpdateAdvancedComputerSearchByName.go | 2 +- .../CreateAdvancedMobileDeviceSearch.go | 2 +- .../DeleteAdvancedMobileDeviceSearchByID.go | 2 +- .../GetAdvancedMobileDeviceSearchByID.go | 2 +- .../GetAdvancedMobileDeviceSearchByName.go | 2 +- .../GetAdvancedMobileDeviceSearches.go | 2 +- .../UpdateAdvancedMobileDeviceSearchByID.go | 2 +- .../CreateAdvancedUserSearch.go | 2 +- .../DeleteAdvancedUserSearchByID.go | 2 +- .../DeleteAdvancedUserSearchByName.go | 2 +- .../GetAdvancedUserSearchByID.go | 2 +- .../GetAdvancedUserSearchByName.go | 2 +- .../GetAdvancedUserSearches.go | 2 +- .../UpdateAdvancedUserSearchByID.go | 2 +- .../UpdateAdvancedUserSearchByName.go | 2 +- .../CreateAllowedFileExtension.go | 2 +- .../DeleteAllowedFileExtensionByID.go | 2 +- .../GetAllowedFileExtensionByID.go | 2 +- .../GetAllowedFileExtensionByName.go | 2 +- .../GetAllowedFileExtensions.go | 2 +- .../bookmarks/CreateBookmark/CreateBookmark.go | 2 +- .../DeleteBookmarkByID/DeleteBookmarkByID.go | 2 +- .../bookmarks/GetBookmarkByID/GetBookmarkByID.go | 2 +- .../GetBookmarkByName/GetBookmarkByName.go | 2 +- examples/bookmarks/GetBookmarks/GetBookmarks.go | 2 +- .../UpdateBookmarkByID/UpdateBookmarkByID.go | 2 +- .../buildings/CreateBuilding/CreateBuilding.go | 2 +- .../CreateBuildingResourceHistoryByID.go | 2 +- .../DeleteBuildingByID/DeleteBuildingByID.go | 2 +- .../DeleteBuildingByNameByID.go | 2 +- .../DeleteMultipleBuildingsByID.go | 2 +- .../buildings/GetBuildingByID/GetBuildingByID.go | 2 +- .../GetBuildingResourceHistoryByID.go | 2 +- examples/buildings/GetBuildings/GetBuildings.go | 2 +- .../GetBuildingsByName/GetBuildingsByName.go | 2 +- .../UpdateBuildingByID/UpdateBuildingByID.go | 2 +- .../UpdateBuildingByName/UpdateBuildingByName.go | 2 +- .../CreateBYOProfile/CreateBYOProfile.go | 2 +- .../DeleteBYOProfileByID/DeleteBYOProfileByID.go | 2 +- .../DeleteBYOProfileByName.go | 2 +- .../GetBYOProfileByID/GetBYOProfileByID.go | 2 +- .../GetBYOProfileByName/GetBYOProfileByName.go | 2 +- .../byoprofiles/GetBYOProfiles/GetBYOProfiles.go | 2 +- .../UpdateBYOProfileByID/UpdateBYOProfileByID.go | 2 +- .../UpdateBYOProfileByName.go | 2 +- .../GetCacheSettings/GetCacheSettings.go | 2 +- .../UpdateCacheSettings/UpdateCacheSettings.go | 2 +- .../categories/CreateCategory/CreateCategory.go | 2 +- .../DeleteCategoryByID/DeleteCategoryByID.go | 2 +- .../DeleteCategoryByNameByID.go | 2 +- .../DeleteMultipleCategoriesByID.go | 2 +- .../categories/GetCategories/GetCategories.go | 2 +- .../categories/GetCategoryByID/GetCategoryByID.go | 2 +- .../GetCategoryNameByID/GetCategoryNameByID.go | 2 +- .../UpdateCategoryByID/UpdateCategoryByID.go | 2 +- .../UpdateCategoryByName/UpdateCategoryByName.go | 2 +- .../GetActiveCertificateAuthority.go | 2 +- .../CreateClassesByID/CreateClassesByID.go | 2 +- .../classes/DeleteClassByID/DeleteClassByID.go | 2 +- .../DeleteClassByName/DeleteClassByName.go | 2 +- examples/classes/GetClasses/GetClasses.go | 2 +- examples/classes/GetClassesByID/GetClassesByID.go | 2 +- .../classes/GetClassesByName/GetClassesByName.go | 2 +- .../UpdateClassesByID/UpdateClassesByID.go | 2 +- .../UpdateClassesByName/UpdateClassesByName.go | 2 +- .../GetClientCheckinSettings.go | 2 +- .../UpdateClientCheckinSettings.go | 2 +- .../CreateCloudIdentityProvider.go | 2 +- .../GetCloudDistributionPointUploadCapability.go | 2 +- .../GetCloudIdentityProviderConfigurationByID.go | 2 +- ...GetCloudIdentityProviderConfigurationByName.go | 2 +- .../GetCloudIdentityProviders.go | 2 +- .../GetDefaultIDPMappings.go | 2 +- ...eateComputerExtensionAttributeWithPopUpMenu.go | 2 +- .../CreateComputerExtensionAttributeWithScript.go | 2 +- ...eateComputerExtensionAttributeWithTextField.go | 2 +- .../DeleteComputerExtensionAttributeByID.go | 2 +- ...eleteMultipleComputerExtensionAttributeByID.go | 2 +- .../GetComputerExtensionAttributeByID.go | 2 +- .../GetComputerExtensionAttributeByName.go | 2 +- .../GetComputerExtensionAttributes.go | 2 +- .../UpdateComputerExtensionAttributeByID.go | 2 +- .../UpdateComputerExtensionAttributeByName.go | 2 +- .../GetComputerHistoryByComputerID.go | 2 +- ...GetComputerHistoryByComputerIDAndDataSubset.go | 2 +- .../GetComputerHistoryByComputerMACAddress.go | 2 +- ...terHistoryByComputerMACAddressAndDataSubset.go | 2 +- .../GetComputerHistoryByComputerName.go | 2 +- ...tComputerHistoryByComputerNameAndDataSubset.go | 2 +- .../GetComputerHistoryByComputerSerialNumber.go | 2 +- ...rHistoryByComputerSerialNumberAndDataSubset.go | 2 +- .../GetComputerHistoryByComputerUDID.go | 2 +- ...tComputerHistoryByComputerUDIDAndDataSubset.go | 2 +- .../DeleteAttachmentByIDAndComputerID.go | 2 +- .../DeleteComputerInventoryByID.go | 2 +- .../EraseComputerByID/EraseComputerByID.go | 2 +- .../GetComputerFileVaultInventoryByID.go | 2 +- .../GetComputerInventoryByID.go | 2 +- .../GetComputerInventoryByName.go | 2 +- .../GetComputerRecoveryLockPasswordByID.go | 2 +- .../GetComputersFileVaultInventory.go | 2 +- .../GetComputersInventory.go | 2 +- .../RemoveComputerMDMProfile.go | 2 +- .../UpdateComputerInventoryByID.go | 2 +- .../UploadAttachmentAndAssignToComputerByID.go | 2 +- .../GetComputerInventoryCollectionInformation.go | 2 +- ...pdateComputerInventoryCollectionInformation.go | 2 +- ...mputerInventoryCollectionSettingsCustomPath.go | 2 +- ...erInventoryCollectionSettingsCustomPathByID.go | 2 +- .../GetComputerInventoryCollectionSettings.go | 2 +- .../UpdateComputerInventoryCollectionSettings.go | 2 +- .../CreateComputerInvitation.go | 2 +- .../DeleteComputerInvitationByID.go | 2 +- .../GetComputerInvitationByID.go | 2 +- .../GetComputerInvitations.go | 2 +- .../GetComputerInvitationsByInvitationID.go | 2 +- .../CreateComputerPrestageFullConfig.go | 2 +- .../CreateComputerPrestageMinimumConfig.go | 2 +- .../DeleteComputerPrestageByID.go | 2 +- .../DeleteComputerPrestageByNameByID.go | 2 +- .../GetComputerPrestageByID.go | 2 +- .../GetComputerPrestageByName.go | 2 +- .../GetComputerPrestages/GetComputerPrestages.go | 2 +- .../GetDeviceScopeForComputerPrestage.go | 2 +- .../UpdateComputerPrestageByID.go | 2 +- .../UpdateComputerPrestageByName.go | 2 +- .../computers/CreateComputer/CreateComputer.go | 2 +- .../DeleteComputerByID/DeleteComputerByID.go | 2 +- .../DeleteComputerByName/DeleteComputerByName.go | 2 +- .../computers/GetComputerByID/GetComputerByID.go | 2 +- .../GetComputerByName/GetComputerByName.go | 2 +- examples/computers/GetComputers/GetComputers.go | 2 +- .../UpdateComputerByID/UpdateComputerByID.go | 2 +- .../UpdateComputerByName/UpdateComputerByName.go | 2 +- ...onalAccessDeviceComplianceFeatureEnablement.go | 2 +- .../ForceDDMSync/ForceDDMSync.go | 2 +- .../GetDDMStatusItem/GetDDMStatusItem.go | 2 +- .../GetDDMStatusItems/GetDDMStatusItems.go | 2 +- .../CreateDepartment/CreateDepartment.go | 2 +- .../DeleteAllDepartments/DeleteAllDepartments.go | 2 +- .../DeleteDepartmentByID/DeleteDepartmentByID.go | 2 +- .../DeleteDepartmentByName.go | 2 +- .../GetDepartmentByID/GetDepartmentByID.go | 2 +- .../GetDepartmentByName/GetDepartmentByName.go | 2 +- .../departments/GetDepartments/GetDepartments.go | 2 +- .../UpdateDepartmentByID/UpdateDepartmentByID.go | 2 +- .../UpdateDepartmentByName.go | 2 +- .../GetDeviceCommunicationSettings.go | 2 +- .../UpdateDeviceCommunicationSettings.go | 2 +- .../CreateDeviceEnrollmentWithMDMServerToken.go | 2 +- .../DeleteDeviceEnrollmentByID.go | 2 +- .../GetDeviceEnrollmentByID.go | 2 +- .../GetDeviceEnrollmentByName.go | 2 +- .../GetDeviceEnrollmentHistory.go | 2 +- .../GetDeviceEnrollmentSyncStates.go | 2 +- .../GetDeviceEnrollments/GetDeviceEnrollments.go | 2 +- .../UpdateDeviceEnrollmentMDMServerToken.go | 2 +- .../UpdateDeviceEnrollmentMetadataByID.go | 2 +- .../CreateDirectoryBinding.go | 2 +- .../DeleteDirectoryBindingByID.go | 2 +- .../DeleteDirectoryBindingByName.go | 2 +- .../GetDirectoryBindingByID.go | 2 +- .../GetDirectoryBindingByName.go | 2 +- .../GetDirectoryBindings/GetDirectoryBindings.go | 2 +- .../UpdateDirectoryBindingByID.go | 2 +- .../UpdateDirectoryBindingByName.go | 2 +- ...ncryptionConfigurationIndividualRecoveryKey.go | 2 +- ...yptionConfigurationInstitutionalRecoveryKey.go | 2 +- .../DeleteDiskEncryptionConfigurationByID.go | 2 +- .../DeleteDiskEncryptionConfigurationByName.go | 2 +- .../GetDiskEncryptionConfigurationByID.go | 2 +- .../GetDiskEncryptionConfigurationByName.go | 2 +- .../GetDiskEncryptionConfigurations.go | 2 +- ...ptionConfigurationByIDIndividualRecoveryKey.go | 2 +- ...ionConfigurationByNameIndividualRecoveryKey.go | 2 +- .../dock_items/CreateDockItems/CreateDockItems.go | 2 +- .../DeleteAllDockItems/DeleteAllDockItems.go | 2 +- .../DeleteDockItemsByID/DeleteDockItemsByID.go | 2 +- .../DeleteDockItemsByName.go | 2 +- examples/dock_items/GetDockItems/GetDockItems.go | 2 +- .../GetDockItemsByID/GetDockItemsByID.go | 2 +- .../GetDockItemsByName/GetDockItemsByName.go | 2 +- .../UpdateDockItemsByID/UpdateDockItemByID.go | 2 +- .../UpdateDockItemsByName/UpdateDockItemByName.go | 2 +- examples/ebooks/CreateEbook/CreateEbook.go | 2 +- .../ebooks/DeleteEbookByID/DeleteEbookByID.go | 2 +- .../ebooks/DeleteEbookByName/DeleteEbookByName.go | 2 +- examples/ebooks/GetEbooks/GetEbooks.go | 2 +- examples/ebooks/GetEbooksByID/GetEbooksByID.go | 2 +- .../ebooks/GetEbooksByName/GetEbooksByName.go | 2 +- .../GetEbooksByNameAndDataSubset.go | 2 +- .../ebooks/UpdateEbookByID/UpdateEbookByID.go | 2 +- .../ebooks/UpdateEbookByName/UpdateEbookByName.go | 2 +- ...reateAccountDrivenUserEnrollmentAccessGroup.go | 2 +- ...leteMultipleEnrollmentMessagesByLanguageIDs.go | 2 +- ...tAccountDrivenUserEnrollmentAccessGroupByID.go | 2 +- ...ccountDrivenUserEnrollmentAccessGroupByName.go | 2 +- .../GetAccountDrivenUserEnrollmentAccessGroups.go | 2 +- .../enrollment/GetEnrollment/GetEnrollment.go | 2 +- .../GetEnrollmentHistory/GetEnrollmentHistory.go | 2 +- .../GetEnrollmentLanguageCodes.go | 2 +- .../GetEnrollmentMessageByLanguageID.go | 2 +- .../GetEnrollmentMessages.go | 2 +- ...eAccountDrivenUserEnrollmentAccessGroupByID.go | 2 +- .../UpdateEnrollment/UpdateEnrollment.go | 2 +- .../UpdateEnrollmentMessageByLanguageID.go | 2 +- ...EnrollmentCustomizationWithLDAPPrestagePane.go | 2 +- ...eEnrollmentCustomizationWithSSOPrestagePane.go | 2 +- ...EnrollmentCustomizationWithTextPrestagePane.go | 2 +- .../DeleteEnrollmentCustomizationByID.go | 2 +- .../GetEnrollmentCustomizationByID.go | 2 +- .../GetEnrollmentCustomizationByName.go | 2 +- .../GetEnrollmentCustomizations.go | 2 +- .../GetLDAPPrestagePaneByID.go | 2 +- .../GetPrestagePanes/GetPrestagePanes.go | 2 +- .../GetSSOPrestagePaneByID.go | 2 +- .../GetTextPrestagePaneByID.go | 2 +- .../UpdateEnrollmentCustomizationByID.go | 2 +- ...ntCustomizationPrestagePanesWithLDAPandText.go | 2 +- ...entCustomizationPrestagePanesWithSSOandText.go | 2 +- .../UpdateLDAPPrestagePaneByID.go | 2 +- .../UpdateSSOPrestagePaneByID.go | 2 +- .../UpdateTextPrestagePaneByID.go | 2 +- .../UploadEnrollmentCustomizationsImage.go | 2 +- .../GetADUESessionTokenSettings.go | 2 +- .../GetEnrollmentSettings.go | 2 +- .../UpdateADUESessionTokenSettings.go | 2 +- .../CreateFileShareDistributionPoint.go | 2 +- .../DeleteFileShareDistributionPointByID.go | 2 +- .../DeleteFileShareDistributionPointByName.go | 2 +- .../GetFileShareDistributionPointByID.go | 2 +- .../GetFileShareDistributionPointByName.go | 2 +- .../GetFileShareDistributionPoints.go | 2 +- .../UpdateFileShareDistributionPointByID.go | 2 +- .../UpdateFileShareDistributionPointByName.go | 2 +- .../CreateFileAttachmentsEbooks.go | 2 +- .../CreateFileAttachmentsPolicies.go | 2 +- .../CreateFileAttachmentsPrinters.go | 2 +- .../GetGSXConnectionInformation.go | 2 +- .../UpdateGSXConnectionInformation.go | 2 +- .../health_check/GetHealthCheck/GetHealthCheck.go | 2 +- examples/ibeacons/CreateIBeacon/CreateIBeacon.go | 2 +- .../DeleteIBeaconByID/DeleteIBeaconByID.go | 2 +- .../DeleteIBeaconByName/DeleteIBeaconByName.go | 2 +- .../ibeacons/GetIBeaconByID/GetIBeaconByID.go | 2 +- .../ibeacons/GetIBeaconByName/GetIBeaconByName.go | 2 +- examples/ibeacons/GetIBeacons/GetIBeacons.go | 2 +- .../UpdateIBeaconByID/UpdateIBeaconByID.go | 2 +- .../UpdateIBeaconByName/UpdateIBeaconByName.go | 2 +- examples/icon/GetIconByID/GetIconByID.go | 2 +- examples/icon/UploadIcon/UploadIcon.go | 2 +- .../CreateApiIntegration/CreateApiIntegration.go | 2 +- .../DeleteApiIntegrationByID.go | 2 +- .../DeleteApiIntegrationByName.go | 2 +- .../GetApiIntegrationByID.go | 2 +- .../GetApiIntegrationByName.go | 2 +- .../GetApiIntegrations/GetApiIntegrations.go | 2 +- .../RefreshClientCredentialsByApiRoleID.go | 2 +- .../UpdateApiIntegrationByID.go | 2 +- .../UpdateApiIntegrationByName.go | 2 +- .../GetJamfAPIPrivileges/GetJamfAPIPrivileges.go | 2 +- .../GetJamfAPIRolePrivilegeByName.go | 2 +- .../CreateJamfApiRole/CreateJamfApiRole.go | 2 +- .../DeleteJamfApiRoleByID.go | 2 +- .../DeleteJamfApiRoleByName.go | 2 +- .../GetJamfAPIRoles/GetJamfAPIRoles.go | 2 +- .../GetJamfApiRolesByID/GetJamfApiRolesByID.go | 2 +- .../GetJamfApiRolesNameById.go | 2 +- .../UpdateJamfApiRoleByID.go | 2 +- .../UpdateJamfApiRoleByName.go | 2 +- ...amfAppCatalogAppInstallerTermsAndConditions.go | 2 +- .../CreateJamfAppCatalogDeployment.go | 2 +- .../DeleteJamfAppCatalogDeploymentByID.go | 2 +- .../GetJamfAppCatalogAppInstallerByID.go | 2 +- .../GetJamfAppCatalogAppInstallerByName.go | 2 +- .../GetJamfAppCatalogAppInstallerByTitleID.go | 2 +- .../GetJamfAppCatalogAppInstallerByTitleName.go | 2 +- ...GetJamfAppCatalogAppInstallerGlobalSettings.go | 2 +- .../GetJamfAppCatalogAppInstallerTitles.go | 2 +- ...ateJamfAppCatalogAppInstallerGlobalSettings.go | 2 +- .../UpdateJamfAppCatalogDeploymentByID.go | 2 +- ...JamfConnectConfigProfileByConfigProfileUUID.go | 2 +- .../GetJamfConnectConfigProfileByID.go | 2 +- .../GetJamfConnectConfigProfileByName.go | 2 +- .../GetJamfConnectConfigProfiles.go | 2 +- .../GetJamfConnectSettings.go | 2 +- ...mfConnectDeploymentTasksByConfigProfileUUID.go | 2 +- ...JamfConnectConfigProfileByConfigProfileUUID.go | 2 +- .../UpdateJamfConnectConfigProfileByID.go | 2 +- .../DeleteJCDS2PackageByFileName.go | 2 +- .../DoPackageUpload/DoPackageUpload.go | 2 +- .../GetJCDS2PackageURIByName.go | 2 +- .../GetJCDS2Packages/GetJCDS2Packages.go | 2 +- .../GetJCDS2Properties/GetJCDS2Properties.go | 2 +- .../RefreshJCDS2Inventory.go | 2 +- .../RenewJCDS2Credentials.go | 2 +- .../GetJamfProInformation.go | 2 +- .../InitializeDatabaseConnection.go | 2 +- .../InitializeJamfProServer.go | 2 +- .../CreateLDAPServer/CreateLDAPServer.go | 2 +- .../DeleteLDAPServerByID/DeleteLDAPServerByID.go | 2 +- .../DeleteLDAPServerByName.go | 2 +- .../GetLDAPServerByID/GetLDAPServerByID.go | 2 +- .../GetLDAPServerByIDAndGroupDataSubset.go | 2 +- .../GetLDAPServerByIDAndUserDataSubset.go | 2 +- ...erverByIDAndUserMembershipInGroupDataSubset.go | 2 +- .../GetLDAPServerByName/GetLDAPServerByName.go | 2 +- .../GetLDAPServerByNameAndGroupDataSubset.go | 2 +- .../GetLDAPServerByNameAndUserDataSubset.go | 2 +- ...verByNameAndUserMembershipInGroupDataSubset.go | 2 +- .../ldap_servers/GetLDAPServers/GetLDAPServers.go | 2 +- .../UpdateLDAPServerByID/UpdateLDAPServerByID.go | 2 +- .../UpdateLDAPServerByName.go | 2 +- .../CreateLicensedSoftware.go | 2 +- .../DeleteLicensedSoftwareByID.go | 2 +- .../DeleteLicensedSoftwareByName.go | 2 +- .../GetLicensedSoftware/GetLicensedSoftware.go | 2 +- .../GetLicensedSoftwareByID.go | 2 +- .../GetLicensedSoftwareByName.go | 2 +- .../UpdateLicensedSoftwareByID.go | 2 +- .../UpdateLicensedSoftwareByName.go | 2 +- ...lAdminPasswordForSpecifiedUsernameOnAClient.go | 2 +- .../GetListOfPendingLapsRotations.go | 2 +- ...PasswordCapableAccountsByClientManagementID.go | 2 +- ...dminPasswordFullHistoryByClientManagementID.go | 2 +- .../GetLocalAdminPasswordSettings.go | 2 +- .../GetLocalAdminPasswordViewedHistory.go | 2 +- .../SetLocalAdminPasswordByClientManagementID.go | 2 +- .../UpdateLocalAdminPasswordSettings.go | 2 +- examples/locales/GetLocales/GetLocales.go | 2 +- .../DeleteLogFlushingTaskByID.go | 2 +- .../GetLogFlushingSettings.go | 2 +- .../GetLogFlushingTaskByID.go | 2 +- .../GetLogFlushingTasks/GetLogFlushingTasks.go | 2 +- .../QueueLogFlushingTask/QueueLogFlushingTask.go | 2 +- .../GetLoginCustomization.go | 2 +- .../UpdateLoginCustomization.go | 2 +- .../CreateMacApplication/CreateMacApplication.go | 2 +- .../DeleteMacApplicationByID.go | 2 +- .../DeleteMacApplicationByName.go | 2 +- .../GetMacApplicationByID.go | 2 +- .../GetMacApplicationByIDAndDataSubset.go | 2 +- .../GetMacApplicationByName.go | 2 +- .../GetMacApplicationByNameAndDataSubset.go | 2 +- .../GetMacApplications/GetMacApplications.go | 2 +- .../UpdateMacApplicationByID.go | 2 +- .../UpdateMacApplicationByName.go | 2 +- ...CreateConfigProfileWithCustomSettingsSchema.go | 2 +- ...onfigProfileWithCustomSettingsSchemaCISlvl1.go | 2 +- .../GetConfigProfileByPayloadUUID.go | 2 +- .../GetCustomSettingsSchemaList.go | 2 +- .../CreateMacOSConfigurationProfile.go | 2 +- .../DeleteAllMacOSConfigurationProfiles.go | 2 +- .../DeleteMacOSConfigurationProfileByID.go | 2 +- .../DeleteMacOSConfigurationProfileByName.go | 2 +- .../GetMacOSConfigurationProfileByID.go | 2 +- .../GetMacOSConfigurationProfileByName.go | 2 +- .../GetMacOSConfigurationProfileNameByID.go | 2 +- .../GetMacOSConfigurationProfiles.go | 2 +- .../UpdateMacOSConfigurationProfileByID.go | 2 +- ...MacOSConfigurationProfileByIDWithFileUpload.go | 2 +- .../UpdateMacOSConfigurationProfileByName.go | 2 +- .../CreateManagedSoftwareUpdatePlanByDeviceID.go | 2 +- .../CreateManagedSoftwareUpdatePlanByGroupID.go | 2 +- .../GetManagedSoftwareUpdateFeatureToggle.go | 2 +- .../GetManagedSoftwareUpdatePlans.go | 2 +- .../GetManagedSoftwareUpdatePlansByGroupID.go | 2 +- .../GetManagedSoftwareUpdates.go | 2 +- .../UpdateManagedSoftwareUpdateFeatureToggle.go | 2 +- .../SendMDMCommandForCreationAndQueuing.go | 2 +- .../SendMDMCommandForMDMProfileRenewal.go | 2 +- .../SendMDMCommandForPackageDeployment.go | 2 +- .../CreateMobileDeviceApplication.go | 2 +- .../DeleteMobileDeviceApplicationByBundleID.go | 2 +- ...MobileDeviceApplicationByBundleIDAndVersion.go | 2 +- .../DeleteMobileDeviceApplicationByName.go | 2 +- .../DeleteMobileDeviceApplicationpByID.go | 2 +- .../GetMobileDeviceApplicationByAppBundleID.go | 2 +- ...ileDeviceApplicationByAppBundleIDAndVersion.go | 2 +- .../GetMobileDeviceApplicationByID.go | 2 +- ...GetMobileDeviceApplicationByIDAndDataSubset.go | 2 +- .../GetMobileDeviceApplicationByName.go | 2 +- ...tMobileDeviceApplicationByNameAndDataSubset.go | 2 +- .../GetMobileDeviceApplications.go | 2 +- ...obileDeviceApplicationByApplicationBundleID.go | 2 +- .../UpdateMobileDeviceApplicationByID.go | 2 +- ...ateMobileDeviceApplicationByIDAndAppVersion.go | 2 +- .../UpdateMobileDeviceApplicationByName.go | 2 +- .../CreateMobileDeviceConfigurationProfile.go | 2 +- .../DeleteMobileDeviceConfigurationProfileByID.go | 2 +- ...eleteMobileDeviceConfigurationProfileByName.go | 2 +- .../GetMobileDeviceConfigurationProfileByID.go | 2 +- ...ileDeviceConfigurationProfileByIDWithSubset.go | 2 +- .../GetMobileDeviceConfigurationProfileByName.go | 2 +- ...eDeviceConfigurationProfileByNameWithSubset.go | 2 +- .../GetMobileDeviceConfigurationProfiles.go | 2 +- .../UpdateMobileDeviceConfigurationProfileByID.go | 2 +- ...pdateMobileDeviceConfigurationProfileByName.go | 2 +- .../CreateMobileDeviceGroupSmart.go | 2 +- .../CreateMobileDeviceGroupStatic.go | 2 +- .../DeleteMobileDeviceGroupByID.go | 2 +- .../DeleteMobileDeviceGroupByName.go | 2 +- .../GetMobileDeviceGroups.go | 2 +- .../GetMobileDeviceGroupsByID.go | 2 +- .../GetMobileDeviceGroupsByName.go | 2 +- .../UpdateMobileDeviceGroupByIDSmart.go | 2 +- .../UpdateMobileDeviceGroupByIDStatic.go | 2 +- ...teMobileDeviceGroupByIDStaticGroupAdditions.go | 2 +- ...teMobileDeviceGroupByIDStaticGroupDeletions.go | 2 +- .../UpdateMobileDeviceGroupByNameSmart.go | 2 +- .../UpdateMobileDeviceGroupByNameStatic.go | 2 +- .../CreateMobileDeviceEnrollmentProfile.go | 2 +- .../DeleteMobileDeviceEnrollmentProfileByID.go | 2 +- ...teMobileDeviceEnrollmentProfileByInvitation.go | 2 +- .../DeleteMobileDeviceEnrollmentProfileByName.go | 2 +- .../GetMobileDeviceEnrollmentProfileByID.go | 2 +- ...MobileDeviceEnrollmentProfileByIDWithSubset.go | 2 +- .../GetMobileDeviceEnrollmentProfileByName.go | 2 +- ...bileDeviceEnrollmentProfileByNameWithSubset.go | 2 +- .../GetMobileDeviceEnrollmentProfiles.go | 2 +- .../GetProfileByInvitation.go | 2 +- .../UpdateMobileDeviceEnrollmentProfileByID.go | 2 +- ...teMobileDeviceEnrollmentProfileByInvitation.go | 2 +- .../UpdateMobileDeviceEnrollmentProfileByName.go | 2 +- .../CreateMobileDeviceProvisioningProfileByID.go | 2 +- ...CreateMobileDeviceProvisioningProfileByName.go | 2 +- ...CreateMobileDeviceProvisioningProfileByUUID.go | 2 +- .../DeleteMobileDeviceProvisioningProfileByID.go | 2 +- ...DeleteMobileDeviceProvisioningProfileByName.go | 2 +- ...DeleteMobileDeviceProvisioningProfileByUUID.go | 2 +- .../GetMobileDeviceProvisioningProfileByID.go | 2 +- .../GetMobileDeviceProvisioningProfileByName.go | 2 +- .../GetMobileDeviceProvisioningProfileByUUID.go | 2 +- .../GetMobileDeviceProvisioningProfiles.go | 2 +- .../UpdateMobileDeviceProvisioningProfileByID.go | 2 +- ...UpdateMobileDeviceProvisioningProfileByName.go | 2 +- ...UpdateMobileDeviceProvisioningProfileByUUID.go | 2 +- .../CreateMobileDevice/CreateMobileDevice.go | 2 +- .../DeleteMobileDeviceByID.go | 2 +- .../DeleteMobileDeviceByName.go | 2 +- .../GetMobileDeviceByIDAndDataSubset.go | 2 +- .../GetMobileDeviceByName.go | 2 +- .../GetMobileDeviceByNameAndDataSubset.go | 2 +- .../GetMobileDevices/GetMobileDevices.go | 2 +- .../GetMobileDevicesByID/GetMobileDevicesByID.go | 2 +- .../UpdateMobileDeviceByID.go | 2 +- .../UpdateMobileDeviceByName.go | 2 +- .../CreateMobileExtensionAttribute.go | 2 +- .../DeleteMobileExtensionAttributeByID.go | 2 +- .../DeleteMobileExtensionAttributeByName.go | 2 +- .../GetMobileExtensionAttributeByID.go | 2 +- .../GetMobileExtensionAttributeByName.go | 2 +- .../GetMobileExtensionAttributes.go | 2 +- .../UpdateMobileExtensionAttributeByID.go | 2 +- .../UpdateMobileExtensionAttributeByName.go | 2 +- .../CreateNetworkSegment/CreateNetworkSegment.go | 2 +- .../DeleteNetworkSegmentByID.go | 2 +- .../DeleteNetworkSegmentByName.go | 2 +- .../GetNetworkSegmentByID.go | 2 +- .../GetNetworkSegmentByName.go | 2 +- .../GetNetworkSegments/GetNetworkSegments.go | 2 +- .../UpdateNetworkSegmentByID.go | 2 +- .../UpdateNetworkSegmentByName.go | 2 +- .../GetNotificationsForUserAndSite.go | 2 +- .../GenerateKeystoreForOIDCMessages.go | 2 +- .../GetPublicKeyOfOIDCKeystore.go | 2 +- .../SetRedirectURLForOIDCLogon.go | 2 +- examples/packages/CreatePackage/CreatePackage.go | 2 +- .../DeleteMultiplePackagesByID.go | 2 +- .../DeletePackageManifestByID.go | 2 +- .../DeletePackagesByID/DeletePackageByID.go | 2 +- .../packages/GetPackageByID/GetPackageByID.go | 2 +- .../packages/GetPackageByName/GetPackageByName.go | 2 +- .../GetPackageHistoryByPackageID.go | 2 +- examples/packages/GetPackages/GetPackages.go | 2 +- .../UpdatePackageByID.go | 2 +- examples/packages/UploadPackage/UploadPackage.go | 2 +- .../AcceptPatchManagementDisclaimer.go | 2 +- .../CreateExternalPatchSource.go | 2 +- .../DeleteExternalPatchSourceByID.go | 2 +- .../GetPatchExternalSourceByID.go | 2 +- .../GetPatchExternalSourceByName.go | 2 +- .../GetPatchExternalSources.go | 2 +- .../UpdateExternalPatchSourceByID.go | 2 +- .../AddPatchPolicyToDashboard.go | 2 +- .../CreatePatchPolicy/CreatePatchPolicy.go | 2 +- .../DeletePatchPolicyByID.go | 2 +- .../DeletePatchPolicyFromDashboard.go | 2 +- .../GetPatchPolicies/GetPatchPolicies.go | 2 +- .../GetPatchPolicyByID/GetPatchPolicyByID.go | 2 +- .../GetPatchPolicyByName/GetPatchPolicyByName.go | 2 +- .../GetPatchPolicyDashboardStatus.go | 2 +- .../UpdatePatchPolicyByID.go | 2 +- .../CreatePatchSoftwareTitleConfiguration.go | 2 +- .../GetPatchSoftwareTitleConfigurationById.go | 2 +- .../GetPatchSoftwareTitleConfigurationByName.go | 2 +- .../GetPatchSoftwareTitleDefinitions.go | 2 +- .../GetPatchSoftwareTitleDependencies.go | 2 +- .../GetPatchSoftwareTitleExtensionAttributes.go | 2 +- .../GetSoftwareTitleConfigurations.go | 2 +- .../UpdatePatchSoftwareTitleConfigurationById.go | 2 +- .../CreateDeleteAccountPolicy.go | 2 +- .../CreateDirectoryBindingPolicy.go | 2 +- .../CreateDisableUserForFilevault2Policy.go | 2 +- ...CreateDiskEncryptionWithIndividualKeyPolicy.go | 2 +- ...ateDiskEncryptionWithInstitutionalKeyPolicy.go | 2 +- .../CreateDockItemPolicy/CreateDockItemPolicy.go | 2 +- .../CreateEFIPasswordRemovePolicy.go | 2 +- .../CreateEFIPasswordSetPolicy.go | 2 +- .../CreateFileAndProcessesPolicy.go | 2 +- .../CreateMaintenancePolicy.go | 2 +- .../CreateManagementAccountPolicy.go | 2 +- .../CreateNewLocalAccountPolicy.go | 2 +- .../CreatePackagePolicy/CreatePackagePolicy.go | 2 +- .../CreatePolicyMinimumConfig.go | 2 +- .../CreatePrinterPolicy/CreatePrinterPolicy.go | 2 +- .../CreateResetAccountPasswordPolicy.go | 2 +- .../CreateRestartOptionsPolicy.go | 2 +- .../CreateScriptPolicy/CreateScriptPolicy.go | 2 +- .../CreateSelfServicePolicy.go | 2 +- .../CreateSoftwareUpdatePolicy.go | 2 +- .../CreateUserInterationPolicy.go | 2 +- .../policies/DeletePolicyByID/DeletePolicyByID.go | 2 +- .../DeletePolicyByName/DeletePolicyByName.go | 2 +- examples/policies/GetPolicies/GetPolicies.go | 2 +- .../GetPoliciesByType/GetPoliciesByType.go | 2 +- .../GetPolicyByCategory/GetPolicyByCategory.go | 2 +- examples/policies/GetPolicyByID/GetPolicyByID.go | 2 +- .../policies/GetPolicyByName/GetPolicyByName.go | 2 +- .../policies/UpdatePolicyByID/UpdatePolicyByID.go | 2 +- .../UpdatePolicyByName/UpdatePolicyByName.go | 2 +- .../GetPolicyProperties/GetPolicyProperties.go | 2 +- .../UpdatePolicyProperties.go | 2 +- .../printers/CreatePrinters/CreatePrinters.go | 2 +- .../DeleteAllPrinters/DeleteAllPrinters.go | 2 +- .../DeletePrinterByID/DeletePrinterByID.go | 2 +- .../DeletePrinterByName/DeletePrinterByName.go | 2 +- .../printers/GetPrinterByID/GetPrinterByID.go | 2 +- .../printers/GetPrinterByName/GetPrinterByName.go | 2 +- examples/printers/GetPrinters/GetPrinters.go | 2 +- .../UpdatePrinterByID/UpdatePrinterByID.go | 2 +- .../UpdatePrinterByName/UpdatePrinterByName.go | 2 +- .../CreateRemovableMACAddress.go | 2 +- .../DeleteRemovableMACAddressByID.go | 2 +- .../DeleteRemovableMACAddressByName.go | 2 +- .../GetRemovableMACAddressByID.go | 2 +- .../GetRemovableMACAddressByName.go | 2 +- .../GetRemovableMACAddresses.go | 2 +- .../UpdateRemovableMACAddressByID.go | 2 +- .../UpdateRemovableMACAddressByName.go | 2 +- .../CreateRestrictedSoftware.go | 2 +- .../DeleteRestrictedSoftwareByID.go | 2 +- .../DeleteRestrictedSoftwareByName.go | 2 +- .../GetRestrictedSoftwareByID.go | 2 +- .../GetRestrictedSoftwareByName.go | 2 +- .../GetRestrictedSoftwares.go | 2 +- .../UpdateRestrictedSoftwareByID.go | 2 +- .../UpdateRestrictedSoftwareByName.go | 2 +- .../CreateReturnToServiceConfiguration.go | 2 +- .../GetReturnToServiceConfigurations.go | 2 +- examples/scripts/CreateScript/CreateScript.go | 2 +- .../CreateScriptWithFileUpload.go | 2 +- .../scripts/DeleteAllScripts/DeleteAllScripts.go | 2 +- .../scripts/DeleteScriptByID/DeleteScriptByID.go | 2 +- .../DeleteScriptByName/DeleteScriptByName.go | 2 +- examples/scripts/GetScripts/GetScripts.go | 2 +- examples/scripts/GetScriptsByID/GetScriptsByID.go | 2 +- .../scripts/GetScriptsByName/GetScriptsByName.go | 2 +- .../scripts/UpdateScriptByID/UpdateScriptByID.go | 2 +- .../UpdateScriptByIDWithFile.go | 2 +- .../UpdateScriptByName/UpdateScriptByName.go | 2 +- .../UpdateScriptByNameWithFileUpload.go | 2 +- .../UploadSelfServiceBrandingImage.go | 2 +- .../CreateSelfServiceBrandingMacOS.go | 2 +- .../DeleteSelfServiceBrandingMacOSByID.go | 2 +- .../DeleteSelfServiceBrandingMacOSByName.go | 2 +- .../GetSelfServiceBrandingMacOS.go | 2 +- .../GetSelfServiceBrandingMacOSByID.go | 2 +- .../UpdateSelfServiceBrandingMacOSByID.go | 2 +- .../UpdateSelfServiceBrandingMacOSByName.go | 2 +- .../GetSelfServiceSettings.go | 2 +- .../UpdateSelfServiceSettings.go | 2 +- examples/sites/CreateSite/CreateSite.go | 2 +- examples/sites/DeleteAllSites/DeleteAllSites.go | 2 +- examples/sites/DeleteSiteByID/DeleteSiteByID.go | 2 +- .../sites/DeleteSiteByName/DeleteSiteByName.go | 2 +- examples/sites/GetSiteByID/GetSiteByID.go | 2 +- examples/sites/GetSiteByName/GetSiteByName.go | 2 +- examples/sites/GetSites/GetSites.go | 2 +- examples/sites/UpdateSiteByID/UpdateSiteByID.go | 2 +- .../sites/UpdateSiteByName/UpdateSiteByName.go | 2 +- .../CreateSmartComputerGroup.go | 2 +- .../DeleteComputerGroupByID.go | 2 +- .../GetComputerGroupByID/GetComputerGroupByID.go | 2 +- .../GetSmartComputerGroupByName.go | 2 +- .../GetSmartComputerGroupMembershipByID.go | 2 +- .../GetSmartComputerGroups.go | 2 +- .../GetSmartComputerGroupsV2.go | 2 +- .../UpdateSmartComputerGroupByID.go | 2 +- .../GetSMTPServerInformation.go | 2 +- .../UpdateSMTPServerInformationBasicAuth.go | 2 +- .../UpdateSMTPServerInformationGoogleAuth.go | 2 +- .../UpdateSMTPServerInformationGraphAPIAuth.go | 2 +- .../CreateSoftwareUpdateServer.go | 2 +- .../DeleteSoftwareUpdateServerByID.go | 2 +- .../DeleteSoftwareUpdateServerByName.go | 2 +- .../GetSoftwareUpdateServers.go | 2 +- .../GetSoftwareUpdateServersByID.go | 2 +- .../GetSoftwareUpdateServersByName.go | 2 +- .../UpdateSoftwareUpdateServerByID.go | 2 +- .../UpdateSoftwareUpdateServerByName.go | 2 +- .../GetSSOFailoverURL/GetSSOFailoverURL.go | 2 +- .../UpdateSSOFailoverURL/UpdateSSOFailoverURL.go | 2 +- .../GetStartupStatus/GetStartupStatus.go | 2 +- .../CreateStaticComputerGroup.go | 2 +- .../UpdateStaticComputerGroupByID.go | 2 +- .../UpdateStaticComputerGroupByName.go | 2 +- examples/time_zones/GetTimeZones/GetTimeZones.go | 2 +- .../CreateUserExtensionAttribute.go | 2 +- .../DeleteUserExtensionAttributeByID.go | 2 +- .../DeleteUserExtensionAttributeByName.go | 2 +- .../GetUserExtensionAttributeByID.go | 2 +- .../GetUserExtensionAttributeByName.go | 2 +- .../GetUserExtensionAttributes.go | 2 +- .../UpdateUserExtensionAttributeByID.go | 2 +- .../UpdateUserExtensionAttributeByName.go | 2 +- .../CreateUserGroupSmart/CreateUserGroupSmart.go | 2 +- .../CreateUserGroupStatic.go | 2 +- .../DeleteAllUserGroups/DeleteAllUserGroups.go | 2 +- .../DeleteUserGroupByID/DeleteUserGroupByID.go | 2 +- .../DeleteUserGroupByName.go | 2 +- .../user_groups/GetUserGroups/GetUserGroups.go | 2 +- .../GetUserGroupsByID/GetUserGroupsByID.go | 2 +- .../GetUserGroupsByName/GetUserGroupsByName.go | 2 +- .../UpdateUserGroupByIDSmart.go | 2 +- .../UpdateUserGroupByIDStatic.go | 2 +- .../UpdateUserGroupByIDStaticAdditions.go | 2 +- .../UpdateUserGroupByIDStaticDeletions.go | 2 +- .../UpdateUserGroupByNameSmart.go | 2 +- .../UpdateUserGroupByNameStatic.go | 2 +- .../UpdateUserGroupByNameStaticAdditions.go | 2 +- .../UpdateUserGroupByNameStaticDeletions.go | 2 +- examples/users/CreateUser/CreateUser.go | 2 +- .../users/DeleteUserByEmail/DeleteUserByEmail.go | 2 +- examples/users/DeleteUserByID/DeleteUserByID.go | 2 +- .../users/DeleteUserByName/DeleteUserByName.go | 2 +- examples/users/GetUserByEmail/GetUserByEmail.go | 2 +- examples/users/GetUserByID/GetUserByID.go | 2 +- examples/users/GetUserByName/GetUserByName.go | 2 +- examples/users/GetUsers/GetUsers.go | 2 +- .../users/UpdateUserByEmail/UpdateUserByEmail.go | 2 +- examples/users/UpdateUserByID/UpdateUserByID.go | 2 +- .../users/UpdateUserByName/UpdateUserByName.go | 2 +- .../CreateVolumePurchasingSubscription.go | 2 +- .../DeleteVolumePurchasingSubscriptionByID.go | 2 +- .../DeleteVolumePurchasingSubscriptionByName.go | 2 +- .../GetVolumePurchasingSubscriptionByID.go | 2 +- .../GetVolumePurchasingSubscriptionByName.go | 2 +- .../GetVolumePurchasingSubscriptions.go | 2 +- .../UpdateVolumePurchasingSubscriptionByID.go | 2 +- .../UpdateVolumePurchasingSubscriptionByName.go | 2 +- .../CreateVPPAccount/CreateVPPAccount.go | 2 +- .../DeleteVPPAccountByID/DeleteVPPAccountByID.go | 2 +- .../GetVPPAccountByID/GetVPPAccountByID.go | 2 +- .../vpp_accounts/GetVPPAccounts/GetVPPAccounts.go | 2 +- .../UpdateVPPAccount/UpdateVPPAccount.go | 2 +- .../CreateVPPAssignment/CreateVPPAssignment.go | 2 +- .../DeleteVPPAssignmentByID.go | 2 +- .../GetVPPAssignmentByID/GetVPPAssignmentByID.go | 2 +- .../GetVPPAssignments/GetVPPAssignments.go | 2 +- .../UpdateVPPAssignmentByID.go | 2 +- examples/webhooks/CreateWebhook/CreateWebhook.go | 2 +- .../DeleteWebhookByID/DeleteWebhookByID.go | 2 +- .../DeleteWebhookByName/DeleteWebhookByName.go | 2 +- .../webhooks/GetWebhookByID/GetWebhookByID.go | 2 +- .../webhooks/GetWebhookByName/GetWebhookByName.go | 2 +- examples/webhooks/GetWebhooks/GetWebhooks.go | 2 +- .../UpdateWebhookByID/UpdateWebhookByID.go | 2 +- .../UpdateWebhookByName/UpdateWebhookByName.go | 2 +- .../SetAllAvailableApiPriviledgesToRole.go | 2 +- .../DeleteAllComputerExtensionAttributes.go | 2 +- .../ExportComputerExtensionAttributes.go | 2 +- .../GetAllComputerHistories.go | 2 +- .../GetAllComputersWithFailedCommands.go | 2 +- .../SetDeviceStateToUnmanaged.go | 2 +- .../InitializeAndcheckStatus.go | 2 +- ...lAdminPasswordCapableAccountsByComputerName.go | 2 +- ...PasswordForAllCapableAccountsByComputerName.go | 2 +- ...eateMacOSConfigurationProfileWithFileUpload.go | 2 +- ...reateMacOSConfigurationProfileWithFullScope.go | 2 +- .../DeleteAllMacOSConfigurationProfiles.go | 2 +- .../SetOrRemoveRecoveryLockForAppleSiliconMacs.go | 2 +- ...eateMacOSConfigurationProfileWithFileUpload.go | 2 +- recipes/packages/package_uploader/main.go | 2 +- .../UploadPackageAndAssignToPatchPolicy.go | 2 +- .../CreateScriptPolicyFull.go | 2 +- .../DeleteAllPolicies/DeleteAllPolicies.go | 2 +- ..._All_Assigned_Privileges_By_Api_Integration.go | 2 +- ...rt_All_Available_Privileges_By_Type_To_Json.go | 2 +- .../DeleteAllRestrictedSoftware.go | 2 +- .../scripts/DeleteAllScripts/DeleteAllScripts.go | 2 +- .../jamfproapi_file_share_distribution_points.go | 15 +++++++++++++++ 731 files changed, 745 insertions(+), 730 deletions(-) create mode 100644 sdk/jamfpro/jamfproapi_file_share_distribution_points.go diff --git a/examples/account_groups/CreateAccountGroup/CreateAccountGroup.go b/examples/account_groups/CreateAccountGroup/CreateAccountGroup.go index 46c5283c7..e96bdded1 100644 --- a/examples/account_groups/CreateAccountGroup/CreateAccountGroup.go +++ b/examples/account_groups/CreateAccountGroup/CreateAccountGroup.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/DeleteAccountGroupByID/DeleteAccountGroupByID.go b/examples/account_groups/DeleteAccountGroupByID/DeleteAccountGroupByID.go index a39885e29..284b89111 100644 --- a/examples/account_groups/DeleteAccountGroupByID/DeleteAccountGroupByID.go +++ b/examples/account_groups/DeleteAccountGroupByID/DeleteAccountGroupByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/DeleteAccountGroupByName/DeleteAccountGroupByName.go b/examples/account_groups/DeleteAccountGroupByName/DeleteAccountGroupByName.go index b7175e3ae..65f8c30cc 100644 --- a/examples/account_groups/DeleteAccountGroupByName/DeleteAccountGroupByName.go +++ b/examples/account_groups/DeleteAccountGroupByName/DeleteAccountGroupByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/DeleteAllAccountGroups/DeleteAllAccountGroups.go b/examples/account_groups/DeleteAllAccountGroups/DeleteAllAccountGroups.go index 90df31a6e..23a04c631 100644 --- a/examples/account_groups/DeleteAllAccountGroups/DeleteAllAccountGroups.go +++ b/examples/account_groups/DeleteAllAccountGroups/DeleteAllAccountGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/GetAccountGroupByID/GetAccountGroupByID.go b/examples/account_groups/GetAccountGroupByID/GetAccountGroupByID.go index a2513ca9b..9acc4f63f 100644 --- a/examples/account_groups/GetAccountGroupByID/GetAccountGroupByID.go +++ b/examples/account_groups/GetAccountGroupByID/GetAccountGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/GetAccountGroupByName/GetAccountGroupByName.go b/examples/account_groups/GetAccountGroupByName/GetAccountGroupByName.go index 8af3c9306..e08ebac39 100644 --- a/examples/account_groups/GetAccountGroupByName/GetAccountGroupByName.go +++ b/examples/account_groups/GetAccountGroupByName/GetAccountGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/UpdateAccountGroupByID/UpdateAccountGroupByID.go b/examples/account_groups/UpdateAccountGroupByID/UpdateAccountGroupByID.go index abad048af..fe76884b8 100644 --- a/examples/account_groups/UpdateAccountGroupByID/UpdateAccountGroupByID.go +++ b/examples/account_groups/UpdateAccountGroupByID/UpdateAccountGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/UpdateAccountGroupByName/UpdateAccountGroupByName.go b/examples/account_groups/UpdateAccountGroupByName/UpdateAccountGroupByName.go index a7d53dbfc..bfa2b259c 100644 --- a/examples/account_groups/UpdateAccountGroupByName/UpdateAccountGroupByName.go +++ b/examples/account_groups/UpdateAccountGroupByName/UpdateAccountGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_preferences/GetAccountPreferences/GetAccountPreferences.go b/examples/account_preferences/GetAccountPreferences/GetAccountPreferences.go index f766f6204..53a199eaf 100644 --- a/examples/account_preferences/GetAccountPreferences/GetAccountPreferences.go +++ b/examples/account_preferences/GetAccountPreferences/GetAccountPreferences.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_preferences/UpdateAccountPreferences/UpdateAccountPreferences.go b/examples/account_preferences/UpdateAccountPreferences/UpdateAccountPreferences.go index 9347eaee1..4db3613e2 100644 --- a/examples/account_preferences/UpdateAccountPreferences/UpdateAccountPreferences.go +++ b/examples/account_preferences/UpdateAccountPreferences/UpdateAccountPreferences.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/CreateAccountWithFullAccess/CreateAccountWithFullAccess.go b/examples/accounts/CreateAccountWithFullAccess/CreateAccountWithFullAccess.go index 31dbcd082..1dd604dd6 100644 --- a/examples/accounts/CreateAccountWithFullAccess/CreateAccountWithFullAccess.go +++ b/examples/accounts/CreateAccountWithFullAccess/CreateAccountWithFullAccess.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/CreateAccountWithGroupAccess/CreateAccountWithGroupAccess.go b/examples/accounts/CreateAccountWithGroupAccess/CreateAccountWithGroupAccess.go index f1c28d6db..4139608fa 100644 --- a/examples/accounts/CreateAccountWithGroupAccess/CreateAccountWithGroupAccess.go +++ b/examples/accounts/CreateAccountWithGroupAccess/CreateAccountWithGroupAccess.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go b/examples/accounts/CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go index 429309f5f..80313dc2d 100644 --- a/examples/accounts/CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go +++ b/examples/accounts/CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/DeleteAccountByID/DeleteAccountByID.go b/examples/accounts/DeleteAccountByID/DeleteAccountByID.go index 5796ae558..2cdba5ae7 100644 --- a/examples/accounts/DeleteAccountByID/DeleteAccountByID.go +++ b/examples/accounts/DeleteAccountByID/DeleteAccountByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/DeleteAccountByName/DeleteAccountByName.go b/examples/accounts/DeleteAccountByName/DeleteAccountByName.go index 5ed2ce342..ae10ca112 100644 --- a/examples/accounts/DeleteAccountByName/DeleteAccountByName.go +++ b/examples/accounts/DeleteAccountByName/DeleteAccountByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/GetAccountByID/GetAccountByID.go b/examples/accounts/GetAccountByID/GetAccountByID.go index 355c358dc..3a1e975d1 100644 --- a/examples/accounts/GetAccountByID/GetAccountByID.go +++ b/examples/accounts/GetAccountByID/GetAccountByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/GetAccountByName/GetAccountByName.go b/examples/accounts/GetAccountByName/GetAccountByName.go index d9f190c0b..5aeaf015d 100644 --- a/examples/accounts/GetAccountByName/GetAccountByName.go +++ b/examples/accounts/GetAccountByName/GetAccountByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/GetAccounts/GetAccounts.go b/examples/accounts/GetAccounts/GetAccounts.go index 9716cd38e..4fc2ef026 100644 --- a/examples/accounts/GetAccounts/GetAccounts.go +++ b/examples/accounts/GetAccounts/GetAccounts.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/UpdateAccountByID/UpdateAccountByID.go b/examples/accounts/UpdateAccountByID/UpdateAccountByID.go index c2ae97e62..51f6f3225 100644 --- a/examples/accounts/UpdateAccountByID/UpdateAccountByID.go +++ b/examples/accounts/UpdateAccountByID/UpdateAccountByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/UpdateAccountByName/UpdateAccountByName.go b/examples/accounts/UpdateAccountByName/UpdateAccountByName.go index 9f49ac6e0..a137cad49 100644 --- a/examples/accounts/UpdateAccountByName/UpdateAccountByName.go +++ b/examples/accounts/UpdateAccountByName/UpdateAccountByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/activationcode/GetActivationCode/GetActivationCode.go b/examples/activationcode/GetActivationCode/GetActivationCode.go index e28358ddd..03a3992b5 100644 --- a/examples/activationcode/GetActivationCode/GetActivationCode.go +++ b/examples/activationcode/GetActivationCode/GetActivationCode.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/activationcode/UpdateActivationCode/UpdateActivationCode.go b/examples/activationcode/UpdateActivationCode/UpdateActivationCode.go index 60fe15f35..c80982157 100644 --- a/examples/activationcode/UpdateActivationCode/UpdateActivationCode.go +++ b/examples/activationcode/UpdateActivationCode/UpdateActivationCode.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/CreateAdvancedComputerSearch/CreateAdvancedComputerSearch.go b/examples/advanced_computer_searches/CreateAdvancedComputerSearch/CreateAdvancedComputerSearch.go index 9a53b1803..23b8ec99c 100644 --- a/examples/advanced_computer_searches/CreateAdvancedComputerSearch/CreateAdvancedComputerSearch.go +++ b/examples/advanced_computer_searches/CreateAdvancedComputerSearch/CreateAdvancedComputerSearch.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByID/DeleteAdvancedComputerSearchByID.go b/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByID/DeleteAdvancedComputerSearchByID.go index 8978b24c4..c98a95a07 100644 --- a/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByID/DeleteAdvancedComputerSearchByID.go +++ b/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByID/DeleteAdvancedComputerSearchByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByName/DeleteAdvancedComputerSearchByName.go b/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByName/DeleteAdvancedComputerSearchByName.go index 8df26acee..d91bf63e7 100644 --- a/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByName/DeleteAdvancedComputerSearchByName.go +++ b/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByName/DeleteAdvancedComputerSearchByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/GetAdvancedComputerSearchByID/GetAdvancedComputerSearchByID.go b/examples/advanced_computer_searches/GetAdvancedComputerSearchByID/GetAdvancedComputerSearchByID.go index 30d406d18..00a475c57 100644 --- a/examples/advanced_computer_searches/GetAdvancedComputerSearchByID/GetAdvancedComputerSearchByID.go +++ b/examples/advanced_computer_searches/GetAdvancedComputerSearchByID/GetAdvancedComputerSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/GetAdvancedComputerSearches/GetAdvancedComputerSearches.go b/examples/advanced_computer_searches/GetAdvancedComputerSearches/GetAdvancedComputerSearches.go index 7e46f6ae1..e60c39fbd 100644 --- a/examples/advanced_computer_searches/GetAdvancedComputerSearches/GetAdvancedComputerSearches.go +++ b/examples/advanced_computer_searches/GetAdvancedComputerSearches/GetAdvancedComputerSearches.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/GetAdvancedComputerSearchesByName/GetAdvancedComputerSearchesByName.go b/examples/advanced_computer_searches/GetAdvancedComputerSearchesByName/GetAdvancedComputerSearchesByName.go index 50a892337..99e70356d 100644 --- a/examples/advanced_computer_searches/GetAdvancedComputerSearchesByName/GetAdvancedComputerSearchesByName.go +++ b/examples/advanced_computer_searches/GetAdvancedComputerSearchesByName/GetAdvancedComputerSearchesByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByID/UpdateAdvancedComputerSearchByID.go b/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByID/UpdateAdvancedComputerSearchByID.go index 621b89945..ad9eb9900 100644 --- a/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByID/UpdateAdvancedComputerSearchByID.go +++ b/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByID/UpdateAdvancedComputerSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByName/UpdateAdvancedComputerSearchByName.go b/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByName/UpdateAdvancedComputerSearchByName.go index 7f8449f8c..a08ff748d 100644 --- a/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByName/UpdateAdvancedComputerSearchByName.go +++ b/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByName/UpdateAdvancedComputerSearchByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/CreateAdvancedMobileDeviceSearch/CreateAdvancedMobileDeviceSearch.go b/examples/advanced_mobile_device_searches/CreateAdvancedMobileDeviceSearch/CreateAdvancedMobileDeviceSearch.go index 9df3a30ba..64a24c754 100644 --- a/examples/advanced_mobile_device_searches/CreateAdvancedMobileDeviceSearch/CreateAdvancedMobileDeviceSearch.go +++ b/examples/advanced_mobile_device_searches/CreateAdvancedMobileDeviceSearch/CreateAdvancedMobileDeviceSearch.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/DeleteAdvancedMobileDeviceSearchByID/DeleteAdvancedMobileDeviceSearchByID.go b/examples/advanced_mobile_device_searches/DeleteAdvancedMobileDeviceSearchByID/DeleteAdvancedMobileDeviceSearchByID.go index f80192496..4fc55eb81 100644 --- a/examples/advanced_mobile_device_searches/DeleteAdvancedMobileDeviceSearchByID/DeleteAdvancedMobileDeviceSearchByID.go +++ b/examples/advanced_mobile_device_searches/DeleteAdvancedMobileDeviceSearchByID/DeleteAdvancedMobileDeviceSearchByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByID/GetAdvancedMobileDeviceSearchByID.go b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByID/GetAdvancedMobileDeviceSearchByID.go index 20c7932bf..eae757dbf 100644 --- a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByID/GetAdvancedMobileDeviceSearchByID.go +++ b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByID/GetAdvancedMobileDeviceSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByName/GetAdvancedMobileDeviceSearchByName.go b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByName/GetAdvancedMobileDeviceSearchByName.go index b5228d761..a041d08ce 100644 --- a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByName/GetAdvancedMobileDeviceSearchByName.go +++ b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByName/GetAdvancedMobileDeviceSearchByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearches/GetAdvancedMobileDeviceSearches.go b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearches/GetAdvancedMobileDeviceSearches.go index 6d5ffa9b6..5811a5a0a 100644 --- a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearches/GetAdvancedMobileDeviceSearches.go +++ b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearches/GetAdvancedMobileDeviceSearches.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/UpdateAdvancedMobileDeviceSearchByID/UpdateAdvancedMobileDeviceSearchByID.go b/examples/advanced_mobile_device_searches/UpdateAdvancedMobileDeviceSearchByID/UpdateAdvancedMobileDeviceSearchByID.go index faff4a76e..a2becb4e6 100644 --- a/examples/advanced_mobile_device_searches/UpdateAdvancedMobileDeviceSearchByID/UpdateAdvancedMobileDeviceSearchByID.go +++ b/examples/advanced_mobile_device_searches/UpdateAdvancedMobileDeviceSearchByID/UpdateAdvancedMobileDeviceSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/CreateAdvancedUserSearch/CreateAdvancedUserSearch.go b/examples/advanced_user_searches/CreateAdvancedUserSearch/CreateAdvancedUserSearch.go index 9b353cfc7..589433bc2 100644 --- a/examples/advanced_user_searches/CreateAdvancedUserSearch/CreateAdvancedUserSearch.go +++ b/examples/advanced_user_searches/CreateAdvancedUserSearch/CreateAdvancedUserSearch.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/DeleteAdvancedUserSearchByID/DeleteAdvancedUserSearchByID.go b/examples/advanced_user_searches/DeleteAdvancedUserSearchByID/DeleteAdvancedUserSearchByID.go index 8e06289b1..8900ec1a2 100644 --- a/examples/advanced_user_searches/DeleteAdvancedUserSearchByID/DeleteAdvancedUserSearchByID.go +++ b/examples/advanced_user_searches/DeleteAdvancedUserSearchByID/DeleteAdvancedUserSearchByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/DeleteAdvancedUserSearchByName/DeleteAdvancedUserSearchByName.go b/examples/advanced_user_searches/DeleteAdvancedUserSearchByName/DeleteAdvancedUserSearchByName.go index 472bc51d9..2fce42df2 100644 --- a/examples/advanced_user_searches/DeleteAdvancedUserSearchByName/DeleteAdvancedUserSearchByName.go +++ b/examples/advanced_user_searches/DeleteAdvancedUserSearchByName/DeleteAdvancedUserSearchByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go b/examples/advanced_user_searches/GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go index 16c6c382b..f03155b2d 100644 --- a/examples/advanced_user_searches/GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go +++ b/examples/advanced_user_searches/GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go b/examples/advanced_user_searches/GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go index ad21b4ad7..2b690832a 100644 --- a/examples/advanced_user_searches/GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go +++ b/examples/advanced_user_searches/GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/GetAdvancedUserSearches/GetAdvancedUserSearches.go b/examples/advanced_user_searches/GetAdvancedUserSearches/GetAdvancedUserSearches.go index a6c88df45..c6e3e450a 100644 --- a/examples/advanced_user_searches/GetAdvancedUserSearches/GetAdvancedUserSearches.go +++ b/examples/advanced_user_searches/GetAdvancedUserSearches/GetAdvancedUserSearches.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/UpdateAdvancedUserSearchByID/UpdateAdvancedUserSearchByID.go b/examples/advanced_user_searches/UpdateAdvancedUserSearchByID/UpdateAdvancedUserSearchByID.go index dcc3a7faf..2afd0a9a1 100644 --- a/examples/advanced_user_searches/UpdateAdvancedUserSearchByID/UpdateAdvancedUserSearchByID.go +++ b/examples/advanced_user_searches/UpdateAdvancedUserSearchByID/UpdateAdvancedUserSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/UpdateAdvancedUserSearchByName/UpdateAdvancedUserSearchByName.go b/examples/advanced_user_searches/UpdateAdvancedUserSearchByName/UpdateAdvancedUserSearchByName.go index 836ce8c76..cda988b34 100644 --- a/examples/advanced_user_searches/UpdateAdvancedUserSearchByName/UpdateAdvancedUserSearchByName.go +++ b/examples/advanced_user_searches/UpdateAdvancedUserSearchByName/UpdateAdvancedUserSearchByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/CreateAllowedFileExtension/CreateAllowedFileExtension.go b/examples/allowed_file_extensions/CreateAllowedFileExtension/CreateAllowedFileExtension.go index ffedb5ff1..39d787597 100644 --- a/examples/allowed_file_extensions/CreateAllowedFileExtension/CreateAllowedFileExtension.go +++ b/examples/allowed_file_extensions/CreateAllowedFileExtension/CreateAllowedFileExtension.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/DeleteAllowedFileExtensionByID/DeleteAllowedFileExtensionByID.go b/examples/allowed_file_extensions/DeleteAllowedFileExtensionByID/DeleteAllowedFileExtensionByID.go index e5f078e75..e7606c483 100644 --- a/examples/allowed_file_extensions/DeleteAllowedFileExtensionByID/DeleteAllowedFileExtensionByID.go +++ b/examples/allowed_file_extensions/DeleteAllowedFileExtensionByID/DeleteAllowedFileExtensionByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go b/examples/allowed_file_extensions/GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go index eb62883c2..3e4dd6d07 100644 --- a/examples/allowed_file_extensions/GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go +++ b/examples/allowed_file_extensions/GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/GetAllowedFileExtensionByName/GetAllowedFileExtensionByName.go b/examples/allowed_file_extensions/GetAllowedFileExtensionByName/GetAllowedFileExtensionByName.go index 78e880553..70b7fa626 100644 --- a/examples/allowed_file_extensions/GetAllowedFileExtensionByName/GetAllowedFileExtensionByName.go +++ b/examples/allowed_file_extensions/GetAllowedFileExtensionByName/GetAllowedFileExtensionByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/GetAllowedFileExtensions/GetAllowedFileExtensions.go b/examples/allowed_file_extensions/GetAllowedFileExtensions/GetAllowedFileExtensions.go index 95828e6ac..1bb0cebdb 100644 --- a/examples/allowed_file_extensions/GetAllowedFileExtensions/GetAllowedFileExtensions.go +++ b/examples/allowed_file_extensions/GetAllowedFileExtensions/GetAllowedFileExtensions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/CreateBookmark/CreateBookmark.go b/examples/bookmarks/CreateBookmark/CreateBookmark.go index bf6ec7f3e..f40d45167 100644 --- a/examples/bookmarks/CreateBookmark/CreateBookmark.go +++ b/examples/bookmarks/CreateBookmark/CreateBookmark.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go b/examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go index 15341c1dd..13480e40b 100644 --- a/examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go +++ b/examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go b/examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go index 58aae13cd..810b43944 100644 --- a/examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go +++ b/examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go b/examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go index 639bf43f5..aef9eb3de 100644 --- a/examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go +++ b/examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/GetBookmarks/GetBookmarks.go b/examples/bookmarks/GetBookmarks/GetBookmarks.go index 6ef63e877..ed6025c59 100644 --- a/examples/bookmarks/GetBookmarks/GetBookmarks.go +++ b/examples/bookmarks/GetBookmarks/GetBookmarks.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go b/examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go index 5d114353d..b5665e61f 100644 --- a/examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go +++ b/examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/CreateBuilding/CreateBuilding.go b/examples/buildings/CreateBuilding/CreateBuilding.go index ea7d9cace..663f31d7d 100644 --- a/examples/buildings/CreateBuilding/CreateBuilding.go +++ b/examples/buildings/CreateBuilding/CreateBuilding.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/CreateBuildingResourceHistoryByID/CreateBuildingResourceHistoryByID.go b/examples/buildings/CreateBuildingResourceHistoryByID/CreateBuildingResourceHistoryByID.go index 1450d591e..6bf37ee07 100644 --- a/examples/buildings/CreateBuildingResourceHistoryByID/CreateBuildingResourceHistoryByID.go +++ b/examples/buildings/CreateBuildingResourceHistoryByID/CreateBuildingResourceHistoryByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go b/examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go index 8ace9d98c..1f8eb54f0 100644 --- a/examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go +++ b/examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/DeleteBuildingByNameByID/DeleteBuildingByNameByID.go b/examples/buildings/DeleteBuildingByNameByID/DeleteBuildingByNameByID.go index dac3c12f1..62cb39a21 100644 --- a/examples/buildings/DeleteBuildingByNameByID/DeleteBuildingByNameByID.go +++ b/examples/buildings/DeleteBuildingByNameByID/DeleteBuildingByNameByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go b/examples/buildings/DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go index a412e07b7..d44b083a0 100644 --- a/examples/buildings/DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go +++ b/examples/buildings/DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/GetBuildingByID/GetBuildingByID.go b/examples/buildings/GetBuildingByID/GetBuildingByID.go index ddc2f336b..ebab470e8 100644 --- a/examples/buildings/GetBuildingByID/GetBuildingByID.go +++ b/examples/buildings/GetBuildingByID/GetBuildingByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/GetBuildingResourceHistoryByID/GetBuildingResourceHistoryByID.go b/examples/buildings/GetBuildingResourceHistoryByID/GetBuildingResourceHistoryByID.go index e315d4757..9a176e7f9 100644 --- a/examples/buildings/GetBuildingResourceHistoryByID/GetBuildingResourceHistoryByID.go +++ b/examples/buildings/GetBuildingResourceHistoryByID/GetBuildingResourceHistoryByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/GetBuildings/GetBuildings.go b/examples/buildings/GetBuildings/GetBuildings.go index a29ebf744..0b25a9d0e 100644 --- a/examples/buildings/GetBuildings/GetBuildings.go +++ b/examples/buildings/GetBuildings/GetBuildings.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/GetBuildingsByName/GetBuildingsByName.go b/examples/buildings/GetBuildingsByName/GetBuildingsByName.go index a8d2e8bbf..184ac8106 100644 --- a/examples/buildings/GetBuildingsByName/GetBuildingsByName.go +++ b/examples/buildings/GetBuildingsByName/GetBuildingsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go b/examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go index a33149fd4..d118a6af3 100644 --- a/examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go +++ b/examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go b/examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go index c12e6b23d..3bd2a2522 100644 --- a/examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go +++ b/examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go b/examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go index 875b7f6e1..aa501613b 100644 --- a/examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go +++ b/examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go b/examples/byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go index 5cb11e1c6..537637bdc 100644 --- a/examples/byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go +++ b/examples/byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/DeleteBYOProfileByName/DeleteBYOProfileByName.go b/examples/byoprofiles/DeleteBYOProfileByName/DeleteBYOProfileByName.go index 9d8000b83..aa4eba3ae 100644 --- a/examples/byoprofiles/DeleteBYOProfileByName/DeleteBYOProfileByName.go +++ b/examples/byoprofiles/DeleteBYOProfileByName/DeleteBYOProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go b/examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go index 917a37357..d04ede3c6 100644 --- a/examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go +++ b/examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go b/examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go index f871356a7..3d24a2b13 100644 --- a/examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go +++ b/examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go b/examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go index 279939c54..cbdf3d653 100644 --- a/examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go +++ b/examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go b/examples/byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go index fdcf47257..382996909 100644 --- a/examples/byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go +++ b/examples/byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/UpdateBYOProfileByName/UpdateBYOProfileByName.go b/examples/byoprofiles/UpdateBYOProfileByName/UpdateBYOProfileByName.go index 1ab35268a..ca05cbdbf 100644 --- a/examples/byoprofiles/UpdateBYOProfileByName/UpdateBYOProfileByName.go +++ b/examples/byoprofiles/UpdateBYOProfileByName/UpdateBYOProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cache_settings/GetCacheSettings/GetCacheSettings.go b/examples/cache_settings/GetCacheSettings/GetCacheSettings.go index f4c12e70d..a392fde73 100644 --- a/examples/cache_settings/GetCacheSettings/GetCacheSettings.go +++ b/examples/cache_settings/GetCacheSettings/GetCacheSettings.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cache_settings/UpdateCacheSettings/UpdateCacheSettings.go b/examples/cache_settings/UpdateCacheSettings/UpdateCacheSettings.go index 8910a6334..991c8e0cf 100644 --- a/examples/cache_settings/UpdateCacheSettings/UpdateCacheSettings.go +++ b/examples/cache_settings/UpdateCacheSettings/UpdateCacheSettings.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/CreateCategory/CreateCategory.go b/examples/categories/CreateCategory/CreateCategory.go index 96480f748..76dc0f75c 100644 --- a/examples/categories/CreateCategory/CreateCategory.go +++ b/examples/categories/CreateCategory/CreateCategory.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/DeleteCategoryByID/DeleteCategoryByID.go b/examples/categories/DeleteCategoryByID/DeleteCategoryByID.go index 7ff17ea28..42e0c7d09 100644 --- a/examples/categories/DeleteCategoryByID/DeleteCategoryByID.go +++ b/examples/categories/DeleteCategoryByID/DeleteCategoryByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/DeleteCategoryByNameByID/DeleteCategoryByNameByID.go b/examples/categories/DeleteCategoryByNameByID/DeleteCategoryByNameByID.go index b6b2862d8..5b9e4bc0c 100644 --- a/examples/categories/DeleteCategoryByNameByID/DeleteCategoryByNameByID.go +++ b/examples/categories/DeleteCategoryByNameByID/DeleteCategoryByNameByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/DeleteMultipleCategoriesByID/DeleteMultipleCategoriesByID.go b/examples/categories/DeleteMultipleCategoriesByID/DeleteMultipleCategoriesByID.go index e6a7fe38e..b11bbe11d 100644 --- a/examples/categories/DeleteMultipleCategoriesByID/DeleteMultipleCategoriesByID.go +++ b/examples/categories/DeleteMultipleCategoriesByID/DeleteMultipleCategoriesByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/GetCategories/GetCategories.go b/examples/categories/GetCategories/GetCategories.go index d1297a3a7..dba68d0fb 100644 --- a/examples/categories/GetCategories/GetCategories.go +++ b/examples/categories/GetCategories/GetCategories.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/GetCategoryByID/GetCategoryByID.go b/examples/categories/GetCategoryByID/GetCategoryByID.go index e48668068..ece110c3c 100644 --- a/examples/categories/GetCategoryByID/GetCategoryByID.go +++ b/examples/categories/GetCategoryByID/GetCategoryByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/GetCategoryNameByID/GetCategoryNameByID.go b/examples/categories/GetCategoryNameByID/GetCategoryNameByID.go index 11e1939ab..c6b927ac5 100644 --- a/examples/categories/GetCategoryNameByID/GetCategoryNameByID.go +++ b/examples/categories/GetCategoryNameByID/GetCategoryNameByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/UpdateCategoryByID/UpdateCategoryByID.go b/examples/categories/UpdateCategoryByID/UpdateCategoryByID.go index 40124afb7..9edb76e32 100644 --- a/examples/categories/UpdateCategoryByID/UpdateCategoryByID.go +++ b/examples/categories/UpdateCategoryByID/UpdateCategoryByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/UpdateCategoryByName/UpdateCategoryByName.go b/examples/categories/UpdateCategoryByName/UpdateCategoryByName.go index bef538735..ef1e9996c 100644 --- a/examples/categories/UpdateCategoryByName/UpdateCategoryByName.go +++ b/examples/categories/UpdateCategoryByName/UpdateCategoryByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/certificate_authority/GetActiveCertificateAuthority/GetActiveCertificateAuthority.go b/examples/certificate_authority/GetActiveCertificateAuthority/GetActiveCertificateAuthority.go index ae29288fc..7f8d4186d 100644 --- a/examples/certificate_authority/GetActiveCertificateAuthority/GetActiveCertificateAuthority.go +++ b/examples/certificate_authority/GetActiveCertificateAuthority/GetActiveCertificateAuthority.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/CreateClassesByID/CreateClassesByID.go b/examples/classes/CreateClassesByID/CreateClassesByID.go index d6afe3bb9..49380085b 100644 --- a/examples/classes/CreateClassesByID/CreateClassesByID.go +++ b/examples/classes/CreateClassesByID/CreateClassesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/DeleteClassByID/DeleteClassByID.go b/examples/classes/DeleteClassByID/DeleteClassByID.go index 9db992605..4e412c480 100644 --- a/examples/classes/DeleteClassByID/DeleteClassByID.go +++ b/examples/classes/DeleteClassByID/DeleteClassByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/DeleteClassByName/DeleteClassByName.go b/examples/classes/DeleteClassByName/DeleteClassByName.go index 5b2279aab..ca078bc17 100644 --- a/examples/classes/DeleteClassByName/DeleteClassByName.go +++ b/examples/classes/DeleteClassByName/DeleteClassByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/GetClasses/GetClasses.go b/examples/classes/GetClasses/GetClasses.go index 2821053bd..8880b4e80 100644 --- a/examples/classes/GetClasses/GetClasses.go +++ b/examples/classes/GetClasses/GetClasses.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/GetClassesByID/GetClassesByID.go b/examples/classes/GetClassesByID/GetClassesByID.go index 9ad1668f0..94eee578f 100644 --- a/examples/classes/GetClassesByID/GetClassesByID.go +++ b/examples/classes/GetClassesByID/GetClassesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/GetClassesByName/GetClassesByName.go b/examples/classes/GetClassesByName/GetClassesByName.go index 24bbc976b..8e05f2329 100644 --- a/examples/classes/GetClassesByName/GetClassesByName.go +++ b/examples/classes/GetClassesByName/GetClassesByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/UpdateClassesByID/UpdateClassesByID.go b/examples/classes/UpdateClassesByID/UpdateClassesByID.go index 104ca08c5..d0490f953 100644 --- a/examples/classes/UpdateClassesByID/UpdateClassesByID.go +++ b/examples/classes/UpdateClassesByID/UpdateClassesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/UpdateClassesByName/UpdateClassesByName.go b/examples/classes/UpdateClassesByName/UpdateClassesByName.go index 092ad7970..8fb9c108d 100644 --- a/examples/classes/UpdateClassesByName/UpdateClassesByName.go +++ b/examples/classes/UpdateClassesByName/UpdateClassesByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/client_checkin_settings/GetClientCheckinSettings/GetClientCheckinSettings.go b/examples/client_checkin_settings/GetClientCheckinSettings/GetClientCheckinSettings.go index a4f379274..3085b1c4b 100644 --- a/examples/client_checkin_settings/GetClientCheckinSettings/GetClientCheckinSettings.go +++ b/examples/client_checkin_settings/GetClientCheckinSettings/GetClientCheckinSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/client_checkin_settings/UpdateClientCheckinSettings/UpdateClientCheckinSettings.go b/examples/client_checkin_settings/UpdateClientCheckinSettings/UpdateClientCheckinSettings.go index f24581abb..47b697e82 100644 --- a/examples/client_checkin_settings/UpdateClientCheckinSettings/UpdateClientCheckinSettings.go +++ b/examples/client_checkin_settings/UpdateClientCheckinSettings/UpdateClientCheckinSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_azure/CreateCloudIdentityProvider/CreateCloudIdentityProvider.go b/examples/cloud_azure/CreateCloudIdentityProvider/CreateCloudIdentityProvider.go index 4b41dae86..507fabe20 100644 --- a/examples/cloud_azure/CreateCloudIdentityProvider/CreateCloudIdentityProvider.go +++ b/examples/cloud_azure/CreateCloudIdentityProvider/CreateCloudIdentityProvider.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_distribution_points/GetCloudDistributionPointUploadCapability/GetCloudDistributionPointUploadCapability.go b/examples/cloud_distribution_points/GetCloudDistributionPointUploadCapability/GetCloudDistributionPointUploadCapability.go index 30a68bb05..84714c538 100644 --- a/examples/cloud_distribution_points/GetCloudDistributionPointUploadCapability/GetCloudDistributionPointUploadCapability.go +++ b/examples/cloud_distribution_points/GetCloudDistributionPointUploadCapability/GetCloudDistributionPointUploadCapability.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_idp/GetCloudIdentityProviderConfigurationByID/GetCloudIdentityProviderConfigurationByID.go b/examples/cloud_idp/GetCloudIdentityProviderConfigurationByID/GetCloudIdentityProviderConfigurationByID.go index 5ead0697e..78902d5da 100644 --- a/examples/cloud_idp/GetCloudIdentityProviderConfigurationByID/GetCloudIdentityProviderConfigurationByID.go +++ b/examples/cloud_idp/GetCloudIdentityProviderConfigurationByID/GetCloudIdentityProviderConfigurationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_idp/GetCloudIdentityProviderConfigurationByName/GetCloudIdentityProviderConfigurationByName.go b/examples/cloud_idp/GetCloudIdentityProviderConfigurationByName/GetCloudIdentityProviderConfigurationByName.go index 04107cd84..400695bde 100644 --- a/examples/cloud_idp/GetCloudIdentityProviderConfigurationByName/GetCloudIdentityProviderConfigurationByName.go +++ b/examples/cloud_idp/GetCloudIdentityProviderConfigurationByName/GetCloudIdentityProviderConfigurationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_idp/GetCloudIdentityProviders/GetCloudIdentityProviders.go b/examples/cloud_idp/GetCloudIdentityProviders/GetCloudIdentityProviders.go index 7ef17315f..d3d227e0b 100644 --- a/examples/cloud_idp/GetCloudIdentityProviders/GetCloudIdentityProviders.go +++ b/examples/cloud_idp/GetCloudIdentityProviders/GetCloudIdentityProviders.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go b/examples/cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go index e2df426fc..ad802d97b 100644 --- a/examples/cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go +++ b/examples/cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithPopUpMenu/CreateComputerExtensionAttributeWithPopUpMenu.go b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithPopUpMenu/CreateComputerExtensionAttributeWithPopUpMenu.go index bc12c6ee2..852e3d329 100644 --- a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithPopUpMenu/CreateComputerExtensionAttributeWithPopUpMenu.go +++ b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithPopUpMenu/CreateComputerExtensionAttributeWithPopUpMenu.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithScript/CreateComputerExtensionAttributeWithScript.go b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithScript/CreateComputerExtensionAttributeWithScript.go index a2973ed30..87c5a4231 100644 --- a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithScript/CreateComputerExtensionAttributeWithScript.go +++ b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithScript/CreateComputerExtensionAttributeWithScript.go @@ -19,7 +19,7 @@ func loadScriptFromFile(filePath string) (string, error) { func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithTextField/CreateComputerExtensionAttributeWithTextField.go b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithTextField/CreateComputerExtensionAttributeWithTextField.go index eefbe226d..c80fc1194 100644 --- a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithTextField/CreateComputerExtensionAttributeWithTextField.go +++ b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithTextField/CreateComputerExtensionAttributeWithTextField.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/DeleteComputerExtensionAttributeByID/DeleteComputerExtensionAttributeByID.go b/examples/computer_extension_attributes/DeleteComputerExtensionAttributeByID/DeleteComputerExtensionAttributeByID.go index 2762ab1ab..5b018b956 100644 --- a/examples/computer_extension_attributes/DeleteComputerExtensionAttributeByID/DeleteComputerExtensionAttributeByID.go +++ b/examples/computer_extension_attributes/DeleteComputerExtensionAttributeByID/DeleteComputerExtensionAttributeByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/DeleteMultipleComputerExtensionAttributeByID/DeleteMultipleComputerExtensionAttributeByID.go b/examples/computer_extension_attributes/DeleteMultipleComputerExtensionAttributeByID/DeleteMultipleComputerExtensionAttributeByID.go index 032ad44dc..c90d37a26 100644 --- a/examples/computer_extension_attributes/DeleteMultipleComputerExtensionAttributeByID/DeleteMultipleComputerExtensionAttributeByID.go +++ b/examples/computer_extension_attributes/DeleteMultipleComputerExtensionAttributeByID/DeleteMultipleComputerExtensionAttributeByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/GetComputerExtensionAttributeByID/GetComputerExtensionAttributeByID.go b/examples/computer_extension_attributes/GetComputerExtensionAttributeByID/GetComputerExtensionAttributeByID.go index a1743e798..b67c5d841 100644 --- a/examples/computer_extension_attributes/GetComputerExtensionAttributeByID/GetComputerExtensionAttributeByID.go +++ b/examples/computer_extension_attributes/GetComputerExtensionAttributeByID/GetComputerExtensionAttributeByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/GetComputerExtensionAttributeByName/GetComputerExtensionAttributeByName.go b/examples/computer_extension_attributes/GetComputerExtensionAttributeByName/GetComputerExtensionAttributeByName.go index 5453e9477..cd894830f 100644 --- a/examples/computer_extension_attributes/GetComputerExtensionAttributeByName/GetComputerExtensionAttributeByName.go +++ b/examples/computer_extension_attributes/GetComputerExtensionAttributeByName/GetComputerExtensionAttributeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/GetComputerExtensionAttributes/GetComputerExtensionAttributes.go b/examples/computer_extension_attributes/GetComputerExtensionAttributes/GetComputerExtensionAttributes.go index 011d2a733..31e5c4cdc 100644 --- a/examples/computer_extension_attributes/GetComputerExtensionAttributes/GetComputerExtensionAttributes.go +++ b/examples/computer_extension_attributes/GetComputerExtensionAttributes/GetComputerExtensionAttributes.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByID/UpdateComputerExtensionAttributeByID.go b/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByID/UpdateComputerExtensionAttributeByID.go index ed39cb9b0..0f46c2ddd 100644 --- a/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByID/UpdateComputerExtensionAttributeByID.go +++ b/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByID/UpdateComputerExtensionAttributeByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByName/UpdateComputerExtensionAttributeByName.go b/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByName/UpdateComputerExtensionAttributeByName.go index 132388a06..65bca14be 100644 --- a/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByName/UpdateComputerExtensionAttributeByName.go +++ b/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByName/UpdateComputerExtensionAttributeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerID/GetComputerHistoryByComputerID.go b/examples/computer_history/GetComputerHistoryByComputerID/GetComputerHistoryByComputerID.go index b437d6100..ea0b9d777 100644 --- a/examples/computer_history/GetComputerHistoryByComputerID/GetComputerHistoryByComputerID.go +++ b/examples/computer_history/GetComputerHistoryByComputerID/GetComputerHistoryByComputerID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerIDAndDataSubset/GetComputerHistoryByComputerIDAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerIDAndDataSubset/GetComputerHistoryByComputerIDAndDataSubset.go index d3938b798..4cccd28df 100644 --- a/examples/computer_history/GetComputerHistoryByComputerIDAndDataSubset/GetComputerHistoryByComputerIDAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerIDAndDataSubset/GetComputerHistoryByComputerIDAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerMACAddress/GetComputerHistoryByComputerMACAddress.go b/examples/computer_history/GetComputerHistoryByComputerMACAddress/GetComputerHistoryByComputerMACAddress.go index 436574b8d..a82082551 100644 --- a/examples/computer_history/GetComputerHistoryByComputerMACAddress/GetComputerHistoryByComputerMACAddress.go +++ b/examples/computer_history/GetComputerHistoryByComputerMACAddress/GetComputerHistoryByComputerMACAddress.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerMACAddressAndDataSubset/GetComputerHistoryByComputerMACAddressAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerMACAddressAndDataSubset/GetComputerHistoryByComputerMACAddressAndDataSubset.go index 1aeb0a5f1..547b51ca0 100644 --- a/examples/computer_history/GetComputerHistoryByComputerMACAddressAndDataSubset/GetComputerHistoryByComputerMACAddressAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerMACAddressAndDataSubset/GetComputerHistoryByComputerMACAddressAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerName/GetComputerHistoryByComputerName.go b/examples/computer_history/GetComputerHistoryByComputerName/GetComputerHistoryByComputerName.go index 3b2c219f9..ed9d066fd 100644 --- a/examples/computer_history/GetComputerHistoryByComputerName/GetComputerHistoryByComputerName.go +++ b/examples/computer_history/GetComputerHistoryByComputerName/GetComputerHistoryByComputerName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerNameAndDataSubset/GetComputerHistoryByComputerNameAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerNameAndDataSubset/GetComputerHistoryByComputerNameAndDataSubset.go index 4db56083a..a50106e8f 100644 --- a/examples/computer_history/GetComputerHistoryByComputerNameAndDataSubset/GetComputerHistoryByComputerNameAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerNameAndDataSubset/GetComputerHistoryByComputerNameAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerSerialNumber/GetComputerHistoryByComputerSerialNumber.go b/examples/computer_history/GetComputerHistoryByComputerSerialNumber/GetComputerHistoryByComputerSerialNumber.go index f38424c4e..3431e0a07 100644 --- a/examples/computer_history/GetComputerHistoryByComputerSerialNumber/GetComputerHistoryByComputerSerialNumber.go +++ b/examples/computer_history/GetComputerHistoryByComputerSerialNumber/GetComputerHistoryByComputerSerialNumber.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerSerialNumberAndDataSubset/GetComputerHistoryByComputerSerialNumberAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerSerialNumberAndDataSubset/GetComputerHistoryByComputerSerialNumberAndDataSubset.go index 0803d834f..fec44057c 100644 --- a/examples/computer_history/GetComputerHistoryByComputerSerialNumberAndDataSubset/GetComputerHistoryByComputerSerialNumberAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerSerialNumberAndDataSubset/GetComputerHistoryByComputerSerialNumberAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerUDID/GetComputerHistoryByComputerUDID.go b/examples/computer_history/GetComputerHistoryByComputerUDID/GetComputerHistoryByComputerUDID.go index 3374c19c4..9e9e22fae 100644 --- a/examples/computer_history/GetComputerHistoryByComputerUDID/GetComputerHistoryByComputerUDID.go +++ b/examples/computer_history/GetComputerHistoryByComputerUDID/GetComputerHistoryByComputerUDID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerUDIDAndDataSubset/GetComputerHistoryByComputerUDIDAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerUDIDAndDataSubset/GetComputerHistoryByComputerUDIDAndDataSubset.go index ac8d15fdf..31fd33ff4 100644 --- a/examples/computer_history/GetComputerHistoryByComputerUDIDAndDataSubset/GetComputerHistoryByComputerUDIDAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerUDIDAndDataSubset/GetComputerHistoryByComputerUDIDAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/DeleteAttachmentByIDAndComputerID/DeleteAttachmentByIDAndComputerID.go b/examples/computer_inventory/DeleteAttachmentByIDAndComputerID/DeleteAttachmentByIDAndComputerID.go index 896810332..90ae1594f 100644 --- a/examples/computer_inventory/DeleteAttachmentByIDAndComputerID/DeleteAttachmentByIDAndComputerID.go +++ b/examples/computer_inventory/DeleteAttachmentByIDAndComputerID/DeleteAttachmentByIDAndComputerID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/DeleteComputerInventoryByID/DeleteComputerInventoryByID.go b/examples/computer_inventory/DeleteComputerInventoryByID/DeleteComputerInventoryByID.go index 69e5d5e6d..007e91da4 100644 --- a/examples/computer_inventory/DeleteComputerInventoryByID/DeleteComputerInventoryByID.go +++ b/examples/computer_inventory/DeleteComputerInventoryByID/DeleteComputerInventoryByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/EraseComputerByID/EraseComputerByID.go b/examples/computer_inventory/EraseComputerByID/EraseComputerByID.go index 679ba6850..3c74473af 100644 --- a/examples/computer_inventory/EraseComputerByID/EraseComputerByID.go +++ b/examples/computer_inventory/EraseComputerByID/EraseComputerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputerFileVaultInventoryByID/GetComputerFileVaultInventoryByID.go b/examples/computer_inventory/GetComputerFileVaultInventoryByID/GetComputerFileVaultInventoryByID.go index 05d3604d1..c2045a6ff 100644 --- a/examples/computer_inventory/GetComputerFileVaultInventoryByID/GetComputerFileVaultInventoryByID.go +++ b/examples/computer_inventory/GetComputerFileVaultInventoryByID/GetComputerFileVaultInventoryByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputerInventoryByID/GetComputerInventoryByID.go b/examples/computer_inventory/GetComputerInventoryByID/GetComputerInventoryByID.go index 0fb375ab5..9459e1d57 100644 --- a/examples/computer_inventory/GetComputerInventoryByID/GetComputerInventoryByID.go +++ b/examples/computer_inventory/GetComputerInventoryByID/GetComputerInventoryByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputerInventoryByName/GetComputerInventoryByName.go b/examples/computer_inventory/GetComputerInventoryByName/GetComputerInventoryByName.go index a2ac08cad..8bc1c0650 100644 --- a/examples/computer_inventory/GetComputerInventoryByName/GetComputerInventoryByName.go +++ b/examples/computer_inventory/GetComputerInventoryByName/GetComputerInventoryByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputerRecoveryLockPasswordByID/GetComputerRecoveryLockPasswordByID.go b/examples/computer_inventory/GetComputerRecoveryLockPasswordByID/GetComputerRecoveryLockPasswordByID.go index 51f2d9c2a..8aebf9479 100644 --- a/examples/computer_inventory/GetComputerRecoveryLockPasswordByID/GetComputerRecoveryLockPasswordByID.go +++ b/examples/computer_inventory/GetComputerRecoveryLockPasswordByID/GetComputerRecoveryLockPasswordByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputersFileVaultInventory/GetComputersFileVaultInventory.go b/examples/computer_inventory/GetComputersFileVaultInventory/GetComputersFileVaultInventory.go index dabae9b95..a7c580e99 100644 --- a/examples/computer_inventory/GetComputersFileVaultInventory/GetComputersFileVaultInventory.go +++ b/examples/computer_inventory/GetComputersFileVaultInventory/GetComputersFileVaultInventory.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputersInventory/GetComputersInventory.go b/examples/computer_inventory/GetComputersInventory/GetComputersInventory.go index 9be582bb8..bd360491f 100644 --- a/examples/computer_inventory/GetComputersInventory/GetComputersInventory.go +++ b/examples/computer_inventory/GetComputersInventory/GetComputersInventory.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/RemoveComputerMDMProfile/RemoveComputerMDMProfile.go b/examples/computer_inventory/RemoveComputerMDMProfile/RemoveComputerMDMProfile.go index a67b3804e..d7b5e8bbb 100644 --- a/examples/computer_inventory/RemoveComputerMDMProfile/RemoveComputerMDMProfile.go +++ b/examples/computer_inventory/RemoveComputerMDMProfile/RemoveComputerMDMProfile.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/UpdateComputerInventoryByID/UpdateComputerInventoryByID.go b/examples/computer_inventory/UpdateComputerInventoryByID/UpdateComputerInventoryByID.go index 3ca7f5bfd..9b6f97bc9 100644 --- a/examples/computer_inventory/UpdateComputerInventoryByID/UpdateComputerInventoryByID.go +++ b/examples/computer_inventory/UpdateComputerInventoryByID/UpdateComputerInventoryByID.go @@ -15,7 +15,7 @@ var fsys embed.FS func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/UploadAttachmentAndAssignToComputerByID/UploadAttachmentAndAssignToComputerByID.go b/examples/computer_inventory/UploadAttachmentAndAssignToComputerByID/UploadAttachmentAndAssignToComputerByID.go index 84e6419bb..a0db0e29c 100644 --- a/examples/computer_inventory/UploadAttachmentAndAssignToComputerByID/UploadAttachmentAndAssignToComputerByID.go +++ b/examples/computer_inventory/UploadAttachmentAndAssignToComputerByID/UploadAttachmentAndAssignToComputerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_collection/GetComputerInventoryCollectionInformation/GetComputerInventoryCollectionInformation.go b/examples/computer_inventory_collection/GetComputerInventoryCollectionInformation/GetComputerInventoryCollectionInformation.go index 2306a1db7..c00a335c6 100644 --- a/examples/computer_inventory_collection/GetComputerInventoryCollectionInformation/GetComputerInventoryCollectionInformation.go +++ b/examples/computer_inventory_collection/GetComputerInventoryCollectionInformation/GetComputerInventoryCollectionInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_collection/UpdateComputerInventoryCollectionInformation/UpdateComputerInventoryCollectionInformation.go b/examples/computer_inventory_collection/UpdateComputerInventoryCollectionInformation/UpdateComputerInventoryCollectionInformation.go index 4c0de9efe..a3a4d2f64 100644 --- a/examples/computer_inventory_collection/UpdateComputerInventoryCollectionInformation/UpdateComputerInventoryCollectionInformation.go +++ b/examples/computer_inventory_collection/UpdateComputerInventoryCollectionInformation/UpdateComputerInventoryCollectionInformation.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_settings/CreateComputerInventoryCollectionSettingsCustomPath/CreateComputerInventoryCollectionSettingsCustomPath.go b/examples/computer_inventory_settings/CreateComputerInventoryCollectionSettingsCustomPath/CreateComputerInventoryCollectionSettingsCustomPath.go index 89bd5a546..d36889ee4 100644 --- a/examples/computer_inventory_settings/CreateComputerInventoryCollectionSettingsCustomPath/CreateComputerInventoryCollectionSettingsCustomPath.go +++ b/examples/computer_inventory_settings/CreateComputerInventoryCollectionSettingsCustomPath/CreateComputerInventoryCollectionSettingsCustomPath.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_settings/DeleteComputerInventoryCollectionSettingsCustomPathByID/DeleteComputerInventoryCollectionSettingsCustomPathByID.go b/examples/computer_inventory_settings/DeleteComputerInventoryCollectionSettingsCustomPathByID/DeleteComputerInventoryCollectionSettingsCustomPathByID.go index 0e8df9da8..e0f049ba2 100644 --- a/examples/computer_inventory_settings/DeleteComputerInventoryCollectionSettingsCustomPathByID/DeleteComputerInventoryCollectionSettingsCustomPathByID.go +++ b/examples/computer_inventory_settings/DeleteComputerInventoryCollectionSettingsCustomPathByID/DeleteComputerInventoryCollectionSettingsCustomPathByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_settings/GetComputerInventoryCollectionSettings/GetComputerInventoryCollectionSettings.go b/examples/computer_inventory_settings/GetComputerInventoryCollectionSettings/GetComputerInventoryCollectionSettings.go index 8e074e941..317513a87 100644 --- a/examples/computer_inventory_settings/GetComputerInventoryCollectionSettings/GetComputerInventoryCollectionSettings.go +++ b/examples/computer_inventory_settings/GetComputerInventoryCollectionSettings/GetComputerInventoryCollectionSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_settings/UpdateComputerInventoryCollectionSettings/UpdateComputerInventoryCollectionSettings.go b/examples/computer_inventory_settings/UpdateComputerInventoryCollectionSettings/UpdateComputerInventoryCollectionSettings.go index e270ef6c9..953ee4849 100644 --- a/examples/computer_inventory_settings/UpdateComputerInventoryCollectionSettings/UpdateComputerInventoryCollectionSettings.go +++ b/examples/computer_inventory_settings/UpdateComputerInventoryCollectionSettings/UpdateComputerInventoryCollectionSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/CreateComputerInvitation/CreateComputerInvitation.go b/examples/computer_invitations/CreateComputerInvitation/CreateComputerInvitation.go index 674c43af8..eea555163 100644 --- a/examples/computer_invitations/CreateComputerInvitation/CreateComputerInvitation.go +++ b/examples/computer_invitations/CreateComputerInvitation/CreateComputerInvitation.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/DeleteComputerInvitationByID/DeleteComputerInvitationByID.go b/examples/computer_invitations/DeleteComputerInvitationByID/DeleteComputerInvitationByID.go index 8c0069641..e84b0810e 100644 --- a/examples/computer_invitations/DeleteComputerInvitationByID/DeleteComputerInvitationByID.go +++ b/examples/computer_invitations/DeleteComputerInvitationByID/DeleteComputerInvitationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/GetComputerInvitationByID/GetComputerInvitationByID.go b/examples/computer_invitations/GetComputerInvitationByID/GetComputerInvitationByID.go index 24aa2c7ae..8dae4b165 100644 --- a/examples/computer_invitations/GetComputerInvitationByID/GetComputerInvitationByID.go +++ b/examples/computer_invitations/GetComputerInvitationByID/GetComputerInvitationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/GetComputerInvitations/GetComputerInvitations.go b/examples/computer_invitations/GetComputerInvitations/GetComputerInvitations.go index 58da659e1..4057f09d0 100644 --- a/examples/computer_invitations/GetComputerInvitations/GetComputerInvitations.go +++ b/examples/computer_invitations/GetComputerInvitations/GetComputerInvitations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/GetComputerInvitationsByInvitationID/GetComputerInvitationsByInvitationID.go b/examples/computer_invitations/GetComputerInvitationsByInvitationID/GetComputerInvitationsByInvitationID.go index d89549ccd..2f0ee8cf3 100644 --- a/examples/computer_invitations/GetComputerInvitationsByInvitationID/GetComputerInvitationsByInvitationID.go +++ b/examples/computer_invitations/GetComputerInvitationsByInvitationID/GetComputerInvitationsByInvitationID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/CreateComputerPrestageFullConfig/CreateComputerPrestageFullConfig.go b/examples/computer_prestages/CreateComputerPrestageFullConfig/CreateComputerPrestageFullConfig.go index 8076f03a7..42ae3275b 100644 --- a/examples/computer_prestages/CreateComputerPrestageFullConfig/CreateComputerPrestageFullConfig.go +++ b/examples/computer_prestages/CreateComputerPrestageFullConfig/CreateComputerPrestageFullConfig.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/CreateComputerPrestageMinimumConfig/CreateComputerPrestageMinimumConfig.go b/examples/computer_prestages/CreateComputerPrestageMinimumConfig/CreateComputerPrestageMinimumConfig.go index 1129339f8..a56882802 100644 --- a/examples/computer_prestages/CreateComputerPrestageMinimumConfig/CreateComputerPrestageMinimumConfig.go +++ b/examples/computer_prestages/CreateComputerPrestageMinimumConfig/CreateComputerPrestageMinimumConfig.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/DeleteComputerPrestageByID/DeleteComputerPrestageByID.go b/examples/computer_prestages/DeleteComputerPrestageByID/DeleteComputerPrestageByID.go index 71b3a8e9e..eea83b042 100644 --- a/examples/computer_prestages/DeleteComputerPrestageByID/DeleteComputerPrestageByID.go +++ b/examples/computer_prestages/DeleteComputerPrestageByID/DeleteComputerPrestageByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/DeleteComputerPrestageByNameByID/DeleteComputerPrestageByNameByID.go b/examples/computer_prestages/DeleteComputerPrestageByNameByID/DeleteComputerPrestageByNameByID.go index a1b85fb3f..5154aac33 100644 --- a/examples/computer_prestages/DeleteComputerPrestageByNameByID/DeleteComputerPrestageByNameByID.go +++ b/examples/computer_prestages/DeleteComputerPrestageByNameByID/DeleteComputerPrestageByNameByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/GetComputerPrestageByID/GetComputerPrestageByID.go b/examples/computer_prestages/GetComputerPrestageByID/GetComputerPrestageByID.go index f1859e63b..94834992e 100644 --- a/examples/computer_prestages/GetComputerPrestageByID/GetComputerPrestageByID.go +++ b/examples/computer_prestages/GetComputerPrestageByID/GetComputerPrestageByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/GetComputerPrestageByName/GetComputerPrestageByName.go b/examples/computer_prestages/GetComputerPrestageByName/GetComputerPrestageByName.go index 54f6e35c3..438a90430 100644 --- a/examples/computer_prestages/GetComputerPrestageByName/GetComputerPrestageByName.go +++ b/examples/computer_prestages/GetComputerPrestageByName/GetComputerPrestageByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/GetComputerPrestages/GetComputerPrestages.go b/examples/computer_prestages/GetComputerPrestages/GetComputerPrestages.go index f856164c9..a720337ab 100644 --- a/examples/computer_prestages/GetComputerPrestages/GetComputerPrestages.go +++ b/examples/computer_prestages/GetComputerPrestages/GetComputerPrestages.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/GetDeviceScopeForComputerPrestage/GetDeviceScopeForComputerPrestage.go b/examples/computer_prestages/GetDeviceScopeForComputerPrestage/GetDeviceScopeForComputerPrestage.go index b7e1adba2..156567f79 100644 --- a/examples/computer_prestages/GetDeviceScopeForComputerPrestage/GetDeviceScopeForComputerPrestage.go +++ b/examples/computer_prestages/GetDeviceScopeForComputerPrestage/GetDeviceScopeForComputerPrestage.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/UpdateComputerPrestageByID/UpdateComputerPrestageByID.go b/examples/computer_prestages/UpdateComputerPrestageByID/UpdateComputerPrestageByID.go index 388476955..d26fae2c2 100644 --- a/examples/computer_prestages/UpdateComputerPrestageByID/UpdateComputerPrestageByID.go +++ b/examples/computer_prestages/UpdateComputerPrestageByID/UpdateComputerPrestageByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/UpdateComputerPrestageByName/UpdateComputerPrestageByName.go b/examples/computer_prestages/UpdateComputerPrestageByName/UpdateComputerPrestageByName.go index b893ea957..4e986a30f 100644 --- a/examples/computer_prestages/UpdateComputerPrestageByName/UpdateComputerPrestageByName.go +++ b/examples/computer_prestages/UpdateComputerPrestageByName/UpdateComputerPrestageByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/CreateComputer/CreateComputer.go b/examples/computers/CreateComputer/CreateComputer.go index 23373d9ca..b486dd435 100644 --- a/examples/computers/CreateComputer/CreateComputer.go +++ b/examples/computers/CreateComputer/CreateComputer.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/DeleteComputerByID/DeleteComputerByID.go b/examples/computers/DeleteComputerByID/DeleteComputerByID.go index 87bcce3cb..aac9b7fec 100644 --- a/examples/computers/DeleteComputerByID/DeleteComputerByID.go +++ b/examples/computers/DeleteComputerByID/DeleteComputerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/DeleteComputerByName/DeleteComputerByName.go b/examples/computers/DeleteComputerByName/DeleteComputerByName.go index b92e5bc0f..cafb4d49c 100644 --- a/examples/computers/DeleteComputerByName/DeleteComputerByName.go +++ b/examples/computers/DeleteComputerByName/DeleteComputerByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/GetComputerByID/GetComputerByID.go b/examples/computers/GetComputerByID/GetComputerByID.go index 3608dc476..1405fb515 100644 --- a/examples/computers/GetComputerByID/GetComputerByID.go +++ b/examples/computers/GetComputerByID/GetComputerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/GetComputerByName/GetComputerByName.go b/examples/computers/GetComputerByName/GetComputerByName.go index ccc20c4bc..0b7b01697 100644 --- a/examples/computers/GetComputerByName/GetComputerByName.go +++ b/examples/computers/GetComputerByName/GetComputerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/GetComputers/GetComputers.go b/examples/computers/GetComputers/GetComputers.go index 40cc8ce5e..d1e798472 100644 --- a/examples/computers/GetComputers/GetComputers.go +++ b/examples/computers/GetComputers/GetComputers.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/UpdateComputerByID/UpdateComputerByID.go b/examples/computers/UpdateComputerByID/UpdateComputerByID.go index a207e6b6a..8eec3c810 100644 --- a/examples/computers/UpdateComputerByID/UpdateComputerByID.go +++ b/examples/computers/UpdateComputerByID/UpdateComputerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/UpdateComputerByName/UpdateComputerByName.go b/examples/computers/UpdateComputerByName/UpdateComputerByName.go index c3e8b1232..a3aa836a7 100644 --- a/examples/computers/UpdateComputerByName/UpdateComputerByName.go +++ b/examples/computers/UpdateComputerByName/UpdateComputerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/conditional_access/GetConditionalAccessDeviceComplianceFeatureEnablement/GetConditionalAccessDeviceComplianceFeatureEnablement.go b/examples/conditional_access/GetConditionalAccessDeviceComplianceFeatureEnablement/GetConditionalAccessDeviceComplianceFeatureEnablement.go index 877e204f3..825c0e5a2 100644 --- a/examples/conditional_access/GetConditionalAccessDeviceComplianceFeatureEnablement/GetConditionalAccessDeviceComplianceFeatureEnablement.go +++ b/examples/conditional_access/GetConditionalAccessDeviceComplianceFeatureEnablement/GetConditionalAccessDeviceComplianceFeatureEnablement.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/declarative_device_management/ForceDDMSync/ForceDDMSync.go b/examples/declarative_device_management/ForceDDMSync/ForceDDMSync.go index 5e45802da..5fcbfeb7e 100644 --- a/examples/declarative_device_management/ForceDDMSync/ForceDDMSync.go +++ b/examples/declarative_device_management/ForceDDMSync/ForceDDMSync.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/declarative_device_management/GetDDMStatusItem/GetDDMStatusItem.go b/examples/declarative_device_management/GetDDMStatusItem/GetDDMStatusItem.go index 00b5f6598..5b6182b56 100644 --- a/examples/declarative_device_management/GetDDMStatusItem/GetDDMStatusItem.go +++ b/examples/declarative_device_management/GetDDMStatusItem/GetDDMStatusItem.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/declarative_device_management/GetDDMStatusItems/GetDDMStatusItems.go b/examples/declarative_device_management/GetDDMStatusItems/GetDDMStatusItems.go index 6f4457a00..6e787ead4 100644 --- a/examples/declarative_device_management/GetDDMStatusItems/GetDDMStatusItems.go +++ b/examples/declarative_device_management/GetDDMStatusItems/GetDDMStatusItems.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/CreateDepartment/CreateDepartment.go b/examples/departments/CreateDepartment/CreateDepartment.go index eaa46b6d0..2ac1a288c 100644 --- a/examples/departments/CreateDepartment/CreateDepartment.go +++ b/examples/departments/CreateDepartment/CreateDepartment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/DeleteAllDepartments/DeleteAllDepartments.go b/examples/departments/DeleteAllDepartments/DeleteAllDepartments.go index cb78cc506..f51e95e14 100644 --- a/examples/departments/DeleteAllDepartments/DeleteAllDepartments.go +++ b/examples/departments/DeleteAllDepartments/DeleteAllDepartments.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/DeleteDepartmentByID/DeleteDepartmentByID.go b/examples/departments/DeleteDepartmentByID/DeleteDepartmentByID.go index 945a8f1e9..27281ebfd 100644 --- a/examples/departments/DeleteDepartmentByID/DeleteDepartmentByID.go +++ b/examples/departments/DeleteDepartmentByID/DeleteDepartmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/DeleteDepartmentByName/DeleteDepartmentByName.go b/examples/departments/DeleteDepartmentByName/DeleteDepartmentByName.go index 324a84ed1..93fe360ca 100644 --- a/examples/departments/DeleteDepartmentByName/DeleteDepartmentByName.go +++ b/examples/departments/DeleteDepartmentByName/DeleteDepartmentByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/GetDepartmentByID/GetDepartmentByID.go b/examples/departments/GetDepartmentByID/GetDepartmentByID.go index 7992d206f..e694b3d5a 100644 --- a/examples/departments/GetDepartmentByID/GetDepartmentByID.go +++ b/examples/departments/GetDepartmentByID/GetDepartmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/GetDepartmentByName/GetDepartmentByName.go b/examples/departments/GetDepartmentByName/GetDepartmentByName.go index 7e04d4664..921f3260b 100644 --- a/examples/departments/GetDepartmentByName/GetDepartmentByName.go +++ b/examples/departments/GetDepartmentByName/GetDepartmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/GetDepartments/GetDepartments.go b/examples/departments/GetDepartments/GetDepartments.go index 6531a99ca..1ab322e3c 100644 --- a/examples/departments/GetDepartments/GetDepartments.go +++ b/examples/departments/GetDepartments/GetDepartments.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/UpdateDepartmentByID/UpdateDepartmentByID.go b/examples/departments/UpdateDepartmentByID/UpdateDepartmentByID.go index 1e1bcd9b3..d9baa207c 100644 --- a/examples/departments/UpdateDepartmentByID/UpdateDepartmentByID.go +++ b/examples/departments/UpdateDepartmentByID/UpdateDepartmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/UpdateDepartmentByName/UpdateDepartmentByName.go b/examples/departments/UpdateDepartmentByName/UpdateDepartmentByName.go index c6a8e561e..97494c8eb 100644 --- a/examples/departments/UpdateDepartmentByName/UpdateDepartmentByName.go +++ b/examples/departments/UpdateDepartmentByName/UpdateDepartmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_communication_settings/GetDeviceCommunicationSettings/GetDeviceCommunicationSettings.go b/examples/device_communication_settings/GetDeviceCommunicationSettings/GetDeviceCommunicationSettings.go index 216a766c1..1e13bf862 100644 --- a/examples/device_communication_settings/GetDeviceCommunicationSettings/GetDeviceCommunicationSettings.go +++ b/examples/device_communication_settings/GetDeviceCommunicationSettings/GetDeviceCommunicationSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_communication_settings/UpdateDeviceCommunicationSettings/UpdateDeviceCommunicationSettings.go b/examples/device_communication_settings/UpdateDeviceCommunicationSettings/UpdateDeviceCommunicationSettings.go index 1621f2037..c5b82349b 100644 --- a/examples/device_communication_settings/UpdateDeviceCommunicationSettings/UpdateDeviceCommunicationSettings.go +++ b/examples/device_communication_settings/UpdateDeviceCommunicationSettings/UpdateDeviceCommunicationSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/CreateDeviceEnrollmentWithMDMServerToken/CreateDeviceEnrollmentWithMDMServerToken.go b/examples/device_enrollments/CreateDeviceEnrollmentWithMDMServerToken/CreateDeviceEnrollmentWithMDMServerToken.go index 0da703e86..d4475b198 100644 --- a/examples/device_enrollments/CreateDeviceEnrollmentWithMDMServerToken/CreateDeviceEnrollmentWithMDMServerToken.go +++ b/examples/device_enrollments/CreateDeviceEnrollmentWithMDMServerToken/CreateDeviceEnrollmentWithMDMServerToken.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go b/examples/device_enrollments/DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go index 74b70fad3..d9c38feac 100644 --- a/examples/device_enrollments/DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go +++ b/examples/device_enrollments/DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go b/examples/device_enrollments/GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go index 73489586c..111a2cbf3 100644 --- a/examples/device_enrollments/GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go +++ b/examples/device_enrollments/GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go b/examples/device_enrollments/GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go index 58c7fd80b..4afa8c97b 100644 --- a/examples/device_enrollments/GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go +++ b/examples/device_enrollments/GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go b/examples/device_enrollments/GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go index 1af186a7e..633e1643b 100644 --- a/examples/device_enrollments/GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go +++ b/examples/device_enrollments/GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollmentSyncStates/GetDeviceEnrollmentSyncStates.go b/examples/device_enrollments/GetDeviceEnrollmentSyncStates/GetDeviceEnrollmentSyncStates.go index 4091f4ae7..2a8e57aac 100644 --- a/examples/device_enrollments/GetDeviceEnrollmentSyncStates/GetDeviceEnrollmentSyncStates.go +++ b/examples/device_enrollments/GetDeviceEnrollmentSyncStates/GetDeviceEnrollmentSyncStates.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollments/GetDeviceEnrollments.go b/examples/device_enrollments/GetDeviceEnrollments/GetDeviceEnrollments.go index 89b1a26f3..049cb5cc3 100644 --- a/examples/device_enrollments/GetDeviceEnrollments/GetDeviceEnrollments.go +++ b/examples/device_enrollments/GetDeviceEnrollments/GetDeviceEnrollments.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/UpdateDeviceEnrollmentMDMServerToken/UpdateDeviceEnrollmentMDMServerToken.go b/examples/device_enrollments/UpdateDeviceEnrollmentMDMServerToken/UpdateDeviceEnrollmentMDMServerToken.go index c0b6accef..6c5a56bb3 100644 --- a/examples/device_enrollments/UpdateDeviceEnrollmentMDMServerToken/UpdateDeviceEnrollmentMDMServerToken.go +++ b/examples/device_enrollments/UpdateDeviceEnrollmentMDMServerToken/UpdateDeviceEnrollmentMDMServerToken.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/UpdateDeviceEnrollmentMetadataByID/UpdateDeviceEnrollmentMetadataByID.go b/examples/device_enrollments/UpdateDeviceEnrollmentMetadataByID/UpdateDeviceEnrollmentMetadataByID.go index f2429f78c..b534c851d 100644 --- a/examples/device_enrollments/UpdateDeviceEnrollmentMetadataByID/UpdateDeviceEnrollmentMetadataByID.go +++ b/examples/device_enrollments/UpdateDeviceEnrollmentMetadataByID/UpdateDeviceEnrollmentMetadataByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/CreateDirectoryBinding/CreateDirectoryBinding.go b/examples/directory_bindings/CreateDirectoryBinding/CreateDirectoryBinding.go index e51ccd612..05ff56910 100644 --- a/examples/directory_bindings/CreateDirectoryBinding/CreateDirectoryBinding.go +++ b/examples/directory_bindings/CreateDirectoryBinding/CreateDirectoryBinding.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go b/examples/directory_bindings/DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go index b5985d2f7..ac78c8b68 100644 --- a/examples/directory_bindings/DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go +++ b/examples/directory_bindings/DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/DeleteDirectoryBindingByName/DeleteDirectoryBindingByName.go b/examples/directory_bindings/DeleteDirectoryBindingByName/DeleteDirectoryBindingByName.go index 45e8109b0..4896426f0 100644 --- a/examples/directory_bindings/DeleteDirectoryBindingByName/DeleteDirectoryBindingByName.go +++ b/examples/directory_bindings/DeleteDirectoryBindingByName/DeleteDirectoryBindingByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/GetDirectoryBindingByID/GetDirectoryBindingByID.go b/examples/directory_bindings/GetDirectoryBindingByID/GetDirectoryBindingByID.go index be8649bcc..25b67df8d 100644 --- a/examples/directory_bindings/GetDirectoryBindingByID/GetDirectoryBindingByID.go +++ b/examples/directory_bindings/GetDirectoryBindingByID/GetDirectoryBindingByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/GetDirectoryBindingByName/GetDirectoryBindingByName.go b/examples/directory_bindings/GetDirectoryBindingByName/GetDirectoryBindingByName.go index 3ba9b3b8a..789eb9726 100644 --- a/examples/directory_bindings/GetDirectoryBindingByName/GetDirectoryBindingByName.go +++ b/examples/directory_bindings/GetDirectoryBindingByName/GetDirectoryBindingByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/GetDirectoryBindings/GetDirectoryBindings.go b/examples/directory_bindings/GetDirectoryBindings/GetDirectoryBindings.go index 5a167a66d..4fb270533 100644 --- a/examples/directory_bindings/GetDirectoryBindings/GetDirectoryBindings.go +++ b/examples/directory_bindings/GetDirectoryBindings/GetDirectoryBindings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go b/examples/directory_bindings/UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go index a9a6e011a..d90788cf6 100644 --- a/examples/directory_bindings/UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go +++ b/examples/directory_bindings/UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/UpdateDirectoryBindingByName/UpdateDirectoryBindingByName.go b/examples/directory_bindings/UpdateDirectoryBindingByName/UpdateDirectoryBindingByName.go index b674d40fb..ec8c60a2a 100644 --- a/examples/directory_bindings/UpdateDirectoryBindingByName/UpdateDirectoryBindingByName.go +++ b/examples/directory_bindings/UpdateDirectoryBindingByName/UpdateDirectoryBindingByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationIndividualRecoveryKey/CreateDiskEncryptionConfigurationIndividualRecoveryKey.go b/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationIndividualRecoveryKey/CreateDiskEncryptionConfigurationIndividualRecoveryKey.go index f8f935c48..56d7802e7 100644 --- a/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationIndividualRecoveryKey/CreateDiskEncryptionConfigurationIndividualRecoveryKey.go +++ b/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationIndividualRecoveryKey/CreateDiskEncryptionConfigurationIndividualRecoveryKey.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go b/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go index 92116aeb4..abfe85819 100644 --- a/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go +++ b/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go @@ -14,7 +14,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByID/DeleteDiskEncryptionConfigurationByID.go b/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByID/DeleteDiskEncryptionConfigurationByID.go index f0dd53ebf..05a952ffd 100644 --- a/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByID/DeleteDiskEncryptionConfigurationByID.go +++ b/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByID/DeleteDiskEncryptionConfigurationByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByName/DeleteDiskEncryptionConfigurationByName.go b/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByName/DeleteDiskEncryptionConfigurationByName.go index d509739e1..0172f8d76 100644 --- a/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByName/DeleteDiskEncryptionConfigurationByName.go +++ b/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByName/DeleteDiskEncryptionConfigurationByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByID/GetDiskEncryptionConfigurationByID.go b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByID/GetDiskEncryptionConfigurationByID.go index 86b466f98..8580b1115 100644 --- a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByID/GetDiskEncryptionConfigurationByID.go +++ b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByID/GetDiskEncryptionConfigurationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByName/GetDiskEncryptionConfigurationByName.go b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByName/GetDiskEncryptionConfigurationByName.go index bbadcd428..555a669e9 100644 --- a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByName/GetDiskEncryptionConfigurationByName.go +++ b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByName/GetDiskEncryptionConfigurationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurations/GetDiskEncryptionConfigurations.go b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurations/GetDiskEncryptionConfigurations.go index f526c9c1b..9dfcaf2c1 100644 --- a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurations/GetDiskEncryptionConfigurations.go +++ b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurations/GetDiskEncryptionConfigurations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go b/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go index 50f1562d8..0bb86b4c3 100644 --- a/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go +++ b/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go b/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go index eb82cafe1..e73292c9d 100644 --- a/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go +++ b/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/CreateDockItems/CreateDockItems.go b/examples/dock_items/CreateDockItems/CreateDockItems.go index 5b8e4f244..0cce7fbab 100644 --- a/examples/dock_items/CreateDockItems/CreateDockItems.go +++ b/examples/dock_items/CreateDockItems/CreateDockItems.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go b/examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go index de15b2bbe..41024619f 100644 --- a/examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go +++ b/examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go b/examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go index b06c5a5fc..a2a6cf85d 100644 --- a/examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go +++ b/examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go b/examples/dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go index 7f7459ab6..d26f95f7a 100644 --- a/examples/dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go +++ b/examples/dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/GetDockItems/GetDockItems.go b/examples/dock_items/GetDockItems/GetDockItems.go index 482a7999e..80f809047 100644 --- a/examples/dock_items/GetDockItems/GetDockItems.go +++ b/examples/dock_items/GetDockItems/GetDockItems.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/GetDockItemsByID/GetDockItemsByID.go b/examples/dock_items/GetDockItemsByID/GetDockItemsByID.go index 39d0cedbf..e53628e75 100644 --- a/examples/dock_items/GetDockItemsByID/GetDockItemsByID.go +++ b/examples/dock_items/GetDockItemsByID/GetDockItemsByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/GetDockItemsByName/GetDockItemsByName.go b/examples/dock_items/GetDockItemsByName/GetDockItemsByName.go index 6cbe5ca8d..3aa426ead 100644 --- a/examples/dock_items/GetDockItemsByName/GetDockItemsByName.go +++ b/examples/dock_items/GetDockItemsByName/GetDockItemsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go b/examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go index 2994ea07b..ad6f0da8b 100644 --- a/examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go +++ b/examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/UpdateDockItemsByName/UpdateDockItemByName.go b/examples/dock_items/UpdateDockItemsByName/UpdateDockItemByName.go index d0502b1a0..184f04227 100644 --- a/examples/dock_items/UpdateDockItemsByName/UpdateDockItemByName.go +++ b/examples/dock_items/UpdateDockItemsByName/UpdateDockItemByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/CreateEbook/CreateEbook.go b/examples/ebooks/CreateEbook/CreateEbook.go index e40518127..60e768518 100644 --- a/examples/ebooks/CreateEbook/CreateEbook.go +++ b/examples/ebooks/CreateEbook/CreateEbook.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/DeleteEbookByID/DeleteEbookByID.go b/examples/ebooks/DeleteEbookByID/DeleteEbookByID.go index b55efe9fb..9aa151102 100644 --- a/examples/ebooks/DeleteEbookByID/DeleteEbookByID.go +++ b/examples/ebooks/DeleteEbookByID/DeleteEbookByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/DeleteEbookByName/DeleteEbookByName.go b/examples/ebooks/DeleteEbookByName/DeleteEbookByName.go index cbf51a8b4..ff57beed9 100644 --- a/examples/ebooks/DeleteEbookByName/DeleteEbookByName.go +++ b/examples/ebooks/DeleteEbookByName/DeleteEbookByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/GetEbooks/GetEbooks.go b/examples/ebooks/GetEbooks/GetEbooks.go index 327c0c891..a65c65bba 100644 --- a/examples/ebooks/GetEbooks/GetEbooks.go +++ b/examples/ebooks/GetEbooks/GetEbooks.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/GetEbooksByID/GetEbooksByID.go b/examples/ebooks/GetEbooksByID/GetEbooksByID.go index 2839bbaef..d119c5dfc 100644 --- a/examples/ebooks/GetEbooksByID/GetEbooksByID.go +++ b/examples/ebooks/GetEbooksByID/GetEbooksByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/GetEbooksByName/GetEbooksByName.go b/examples/ebooks/GetEbooksByName/GetEbooksByName.go index 3be5b31ec..9b582f32a 100644 --- a/examples/ebooks/GetEbooksByName/GetEbooksByName.go +++ b/examples/ebooks/GetEbooksByName/GetEbooksByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/GetEbooksByNameAndDataSubset/GetEbooksByNameAndDataSubset.go b/examples/ebooks/GetEbooksByNameAndDataSubset/GetEbooksByNameAndDataSubset.go index ee5a559c7..445ae9ae0 100644 --- a/examples/ebooks/GetEbooksByNameAndDataSubset/GetEbooksByNameAndDataSubset.go +++ b/examples/ebooks/GetEbooksByNameAndDataSubset/GetEbooksByNameAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/UpdateEbookByID/UpdateEbookByID.go b/examples/ebooks/UpdateEbookByID/UpdateEbookByID.go index 58aff144c..f6e56db6e 100644 --- a/examples/ebooks/UpdateEbookByID/UpdateEbookByID.go +++ b/examples/ebooks/UpdateEbookByID/UpdateEbookByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/UpdateEbookByName/UpdateEbookByName.go b/examples/ebooks/UpdateEbookByName/UpdateEbookByName.go index ffb39ba11..cce9831c1 100644 --- a/examples/ebooks/UpdateEbookByName/UpdateEbookByName.go +++ b/examples/ebooks/UpdateEbookByName/UpdateEbookByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/CreateAccountDrivenUserEnrollmentAccessGroup/CreateAccountDrivenUserEnrollmentAccessGroup.go b/examples/enrollment/CreateAccountDrivenUserEnrollmentAccessGroup/CreateAccountDrivenUserEnrollmentAccessGroup.go index bc2b89d70..b709383fb 100644 --- a/examples/enrollment/CreateAccountDrivenUserEnrollmentAccessGroup/CreateAccountDrivenUserEnrollmentAccessGroup.go +++ b/examples/enrollment/CreateAccountDrivenUserEnrollmentAccessGroup/CreateAccountDrivenUserEnrollmentAccessGroup.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/DeleteMultipleEnrollmentMessagesByLanguageIDs/DeleteMultipleEnrollmentMessagesByLanguageIDs.go b/examples/enrollment/DeleteMultipleEnrollmentMessagesByLanguageIDs/DeleteMultipleEnrollmentMessagesByLanguageIDs.go index 1d4afd29a..f6814d4dd 100644 --- a/examples/enrollment/DeleteMultipleEnrollmentMessagesByLanguageIDs/DeleteMultipleEnrollmentMessagesByLanguageIDs.go +++ b/examples/enrollment/DeleteMultipleEnrollmentMessagesByLanguageIDs/DeleteMultipleEnrollmentMessagesByLanguageIDs.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByID/GetAccountDrivenUserEnrollmentAccessGroupByID.go b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByID/GetAccountDrivenUserEnrollmentAccessGroupByID.go index 5f4eea50f..642194356 100644 --- a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByID/GetAccountDrivenUserEnrollmentAccessGroupByID.go +++ b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByID/GetAccountDrivenUserEnrollmentAccessGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByName/GetAccountDrivenUserEnrollmentAccessGroupByName.go b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByName/GetAccountDrivenUserEnrollmentAccessGroupByName.go index e327df6e6..6d09f49e6 100644 --- a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByName/GetAccountDrivenUserEnrollmentAccessGroupByName.go +++ b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByName/GetAccountDrivenUserEnrollmentAccessGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroups/GetAccountDrivenUserEnrollmentAccessGroups.go b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroups/GetAccountDrivenUserEnrollmentAccessGroups.go index c9512cf8c..2ab9c39a4 100644 --- a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroups/GetAccountDrivenUserEnrollmentAccessGroups.go +++ b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroups/GetAccountDrivenUserEnrollmentAccessGroups.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetEnrollment/GetEnrollment.go b/examples/enrollment/GetEnrollment/GetEnrollment.go index fa9d852bd..e48a07c7a 100644 --- a/examples/enrollment/GetEnrollment/GetEnrollment.go +++ b/examples/enrollment/GetEnrollment/GetEnrollment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go b/examples/enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go index ed2ace45c..c2c67d92a 100644 --- a/examples/enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go +++ b/examples/enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go b/examples/enrollment/GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go index 4c18a7b58..ed6e34ae6 100644 --- a/examples/enrollment/GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go +++ b/examples/enrollment/GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/enrollment/GetEnrollmentMessageByLanguageID/GetEnrollmentMessageByLanguageID.go b/examples/enrollment/GetEnrollmentMessageByLanguageID/GetEnrollmentMessageByLanguageID.go index f2c4dd77a..96e8199b8 100644 --- a/examples/enrollment/GetEnrollmentMessageByLanguageID/GetEnrollmentMessageByLanguageID.go +++ b/examples/enrollment/GetEnrollmentMessageByLanguageID/GetEnrollmentMessageByLanguageID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go b/examples/enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go index 0c031e4e6..d4c818b6f 100644 --- a/examples/enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go +++ b/examples/enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/UpdateAccountDrivenUserEnrollmentAccessGroupByID/UpdateAccountDrivenUserEnrollmentAccessGroupByID.go b/examples/enrollment/UpdateAccountDrivenUserEnrollmentAccessGroupByID/UpdateAccountDrivenUserEnrollmentAccessGroupByID.go index c2c11b39c..0bcb11de2 100644 --- a/examples/enrollment/UpdateAccountDrivenUserEnrollmentAccessGroupByID/UpdateAccountDrivenUserEnrollmentAccessGroupByID.go +++ b/examples/enrollment/UpdateAccountDrivenUserEnrollmentAccessGroupByID/UpdateAccountDrivenUserEnrollmentAccessGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/UpdateEnrollment/UpdateEnrollment.go b/examples/enrollment/UpdateEnrollment/UpdateEnrollment.go index cba2c0846..0a0a14230 100644 --- a/examples/enrollment/UpdateEnrollment/UpdateEnrollment.go +++ b/examples/enrollment/UpdateEnrollment/UpdateEnrollment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/UpdateEnrollmentMessageByLanguageID/UpdateEnrollmentMessageByLanguageID.go b/examples/enrollment/UpdateEnrollmentMessageByLanguageID/UpdateEnrollmentMessageByLanguageID.go index 560e05453..5e8de0bf7 100644 --- a/examples/enrollment/UpdateEnrollmentMessageByLanguageID/UpdateEnrollmentMessageByLanguageID.go +++ b/examples/enrollment/UpdateEnrollmentMessageByLanguageID/UpdateEnrollmentMessageByLanguageID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithLDAPPrestagePane/CreateEnrollmentCustomizationWithLDAPPrestagePane.go b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithLDAPPrestagePane/CreateEnrollmentCustomizationWithLDAPPrestagePane.go index 165cd648f..ed572dfc4 100644 --- a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithLDAPPrestagePane/CreateEnrollmentCustomizationWithLDAPPrestagePane.go +++ b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithLDAPPrestagePane/CreateEnrollmentCustomizationWithLDAPPrestagePane.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithSSOPrestagePane/CreateEnrollmentCustomizationWithSSOPrestagePane.go b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithSSOPrestagePane/CreateEnrollmentCustomizationWithSSOPrestagePane.go index 4aee5cac1..0de04d4a1 100644 --- a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithSSOPrestagePane/CreateEnrollmentCustomizationWithSSOPrestagePane.go +++ b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithSSOPrestagePane/CreateEnrollmentCustomizationWithSSOPrestagePane.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithTextPrestagePane/CreateEnrollmentCustomizationWithTextPrestagePane.go b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithTextPrestagePane/CreateEnrollmentCustomizationWithTextPrestagePane.go index 6228c1e11..d7d7b6fbf 100644 --- a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithTextPrestagePane/CreateEnrollmentCustomizationWithTextPrestagePane.go +++ b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithTextPrestagePane/CreateEnrollmentCustomizationWithTextPrestagePane.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/DeleteEnrollmentCustomization/DeleteEnrollmentCustomizationByID.go b/examples/enrollment_customizations/DeleteEnrollmentCustomization/DeleteEnrollmentCustomizationByID.go index 3f55b5802..c64ff4179 100644 --- a/examples/enrollment_customizations/DeleteEnrollmentCustomization/DeleteEnrollmentCustomizationByID.go +++ b/examples/enrollment_customizations/DeleteEnrollmentCustomization/DeleteEnrollmentCustomizationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetEnrollmentCustomizationByID/GetEnrollmentCustomizationByID.go b/examples/enrollment_customizations/GetEnrollmentCustomizationByID/GetEnrollmentCustomizationByID.go index 966b615fb..80630c9f9 100644 --- a/examples/enrollment_customizations/GetEnrollmentCustomizationByID/GetEnrollmentCustomizationByID.go +++ b/examples/enrollment_customizations/GetEnrollmentCustomizationByID/GetEnrollmentCustomizationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetEnrollmentCustomizationByName/GetEnrollmentCustomizationByName.go b/examples/enrollment_customizations/GetEnrollmentCustomizationByName/GetEnrollmentCustomizationByName.go index f4e361100..8d50b32a4 100644 --- a/examples/enrollment_customizations/GetEnrollmentCustomizationByName/GetEnrollmentCustomizationByName.go +++ b/examples/enrollment_customizations/GetEnrollmentCustomizationByName/GetEnrollmentCustomizationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetEnrollmentCustomizations/GetEnrollmentCustomizations.go b/examples/enrollment_customizations/GetEnrollmentCustomizations/GetEnrollmentCustomizations.go index 95038c966..66e8e7e2e 100644 --- a/examples/enrollment_customizations/GetEnrollmentCustomizations/GetEnrollmentCustomizations.go +++ b/examples/enrollment_customizations/GetEnrollmentCustomizations/GetEnrollmentCustomizations.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go b/examples/enrollment_customizations/GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go index a0e3a684c..e32ab1f7e 100644 --- a/examples/enrollment_customizations/GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go +++ b/examples/enrollment_customizations/GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetPrestagePanes/GetPrestagePanes.go b/examples/enrollment_customizations/GetPrestagePanes/GetPrestagePanes.go index 581d8c359..2b3f22657 100644 --- a/examples/enrollment_customizations/GetPrestagePanes/GetPrestagePanes.go +++ b/examples/enrollment_customizations/GetPrestagePanes/GetPrestagePanes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go b/examples/enrollment_customizations/GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go index 2199167f8..9fd4e0cd0 100644 --- a/examples/enrollment_customizations/GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go +++ b/examples/enrollment_customizations/GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetTextPrestagePaneByID/GetTextPrestagePaneByID.go b/examples/enrollment_customizations/GetTextPrestagePaneByID/GetTextPrestagePaneByID.go index b20a867f0..a8fef9194 100644 --- a/examples/enrollment_customizations/GetTextPrestagePaneByID/GetTextPrestagePaneByID.go +++ b/examples/enrollment_customizations/GetTextPrestagePaneByID/GetTextPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateEnrollmentCustomizationByID/UpdateEnrollmentCustomizationByID.go b/examples/enrollment_customizations/UpdateEnrollmentCustomizationByID/UpdateEnrollmentCustomizationByID.go index 06c61bc3b..03ed1d086 100644 --- a/examples/enrollment_customizations/UpdateEnrollmentCustomizationByID/UpdateEnrollmentCustomizationByID.go +++ b/examples/enrollment_customizations/UpdateEnrollmentCustomizationByID/UpdateEnrollmentCustomizationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go b/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go index 2d2d7b7af..7ad182e25 100644 --- a/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go +++ b/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go b/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go index ebf4b65ab..e11691267 100644 --- a/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go +++ b/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go b/examples/enrollment_customizations/UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go index 3ced4c47e..4c36a6266 100644 --- a/examples/enrollment_customizations/UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go +++ b/examples/enrollment_customizations/UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go b/examples/enrollment_customizations/UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go index 6bdd52191..244feeccf 100644 --- a/examples/enrollment_customizations/UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go +++ b/examples/enrollment_customizations/UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go b/examples/enrollment_customizations/UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go index 899a4e093..e2d65d2a6 100644 --- a/examples/enrollment_customizations/UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go +++ b/examples/enrollment_customizations/UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UploadEnrollmentCustomizationsImage/UploadEnrollmentCustomizationsImage.go b/examples/enrollment_customizations/UploadEnrollmentCustomizationsImage/UploadEnrollmentCustomizationsImage.go index b59623560..e6ec4073a 100644 --- a/examples/enrollment_customizations/UploadEnrollmentCustomizationsImage/UploadEnrollmentCustomizationsImage.go +++ b/examples/enrollment_customizations/UploadEnrollmentCustomizationsImage/UploadEnrollmentCustomizationsImage.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/enrollment_settings/GetADUESessionTokenSettings/GetADUESessionTokenSettings.go b/examples/enrollment_settings/GetADUESessionTokenSettings/GetADUESessionTokenSettings.go index 84bf615b4..ccc807e39 100644 --- a/examples/enrollment_settings/GetADUESessionTokenSettings/GetADUESessionTokenSettings.go +++ b/examples/enrollment_settings/GetADUESessionTokenSettings/GetADUESessionTokenSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_settings/GetEnrollmentSettings/GetEnrollmentSettings.go b/examples/enrollment_settings/GetEnrollmentSettings/GetEnrollmentSettings.go index fc5c712cb..4ceaf3901 100644 --- a/examples/enrollment_settings/GetEnrollmentSettings/GetEnrollmentSettings.go +++ b/examples/enrollment_settings/GetEnrollmentSettings/GetEnrollmentSettings.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_settings/UpdateADUESessionTokenSettings/UpdateADUESessionTokenSettings.go b/examples/enrollment_settings/UpdateADUESessionTokenSettings/UpdateADUESessionTokenSettings.go index 2d69079fc..a04c87f9d 100644 --- a/examples/enrollment_settings/UpdateADUESessionTokenSettings/UpdateADUESessionTokenSettings.go +++ b/examples/enrollment_settings/UpdateADUESessionTokenSettings/UpdateADUESessionTokenSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go index a54f48c5c..df05e9efd 100644 --- a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go +++ b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go index 5eb14cdce..22ad065a8 100644 --- a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go index 9311b82a3..7aa18b3fd 100644 --- a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go +++ b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go index e84edfa0d..4aa341e68 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go b/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go index 358f32a15..5cb88b2ed 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go index 0ed830acb..96cdd5649 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go index ab793a63b..5f92cae11 100644 --- a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go index 8d2e6d100..dc06cf4be 100644 --- a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go +++ b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_uploads/CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go b/examples/file_uploads/CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go index 87fd70c8f..0351734a4 100644 --- a/examples/file_uploads/CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go +++ b/examples/file_uploads/CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go @@ -8,7 +8,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/file_uploads/CreateFileAttachmentsPolicies/CreateFileAttachmentsPolicies.go b/examples/file_uploads/CreateFileAttachmentsPolicies/CreateFileAttachmentsPolicies.go index 698bde651..04785ce9f 100644 --- a/examples/file_uploads/CreateFileAttachmentsPolicies/CreateFileAttachmentsPolicies.go +++ b/examples/file_uploads/CreateFileAttachmentsPolicies/CreateFileAttachmentsPolicies.go @@ -8,7 +8,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/file_uploads/CreateFileAttachmentsPrinters/CreateFileAttachmentsPrinters.go b/examples/file_uploads/CreateFileAttachmentsPrinters/CreateFileAttachmentsPrinters.go index a2ad1e133..6a86657d3 100644 --- a/examples/file_uploads/CreateFileAttachmentsPrinters/CreateFileAttachmentsPrinters.go +++ b/examples/file_uploads/CreateFileAttachmentsPrinters/CreateFileAttachmentsPrinters.go @@ -8,7 +8,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/gsx_connection/GetGSXConnectionInformation/GetGSXConnectionInformation.go b/examples/gsx_connection/GetGSXConnectionInformation/GetGSXConnectionInformation.go index 66fdfa4ec..9c2e9503a 100644 --- a/examples/gsx_connection/GetGSXConnectionInformation/GetGSXConnectionInformation.go +++ b/examples/gsx_connection/GetGSXConnectionInformation/GetGSXConnectionInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/gsx_connection/UpdateGSXConnectionInformation/UpdateGSXConnectionInformation.go b/examples/gsx_connection/UpdateGSXConnectionInformation/UpdateGSXConnectionInformation.go index 783ed53eb..9c7019ff2 100644 --- a/examples/gsx_connection/UpdateGSXConnectionInformation/UpdateGSXConnectionInformation.go +++ b/examples/gsx_connection/UpdateGSXConnectionInformation/UpdateGSXConnectionInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/health_check/GetHealthCheck/GetHealthCheck.go b/examples/health_check/GetHealthCheck/GetHealthCheck.go index af31589bd..7017fb63e 100644 --- a/examples/health_check/GetHealthCheck/GetHealthCheck.go +++ b/examples/health_check/GetHealthCheck/GetHealthCheck.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/CreateIBeacon/CreateIBeacon.go b/examples/ibeacons/CreateIBeacon/CreateIBeacon.go index de8d25d66..a6b1cd14c 100644 --- a/examples/ibeacons/CreateIBeacon/CreateIBeacon.go +++ b/examples/ibeacons/CreateIBeacon/CreateIBeacon.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go b/examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go index 0d54a8d4b..4c229ddf0 100644 --- a/examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go +++ b/examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go b/examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go index 4d594751e..df9936cce 100644 --- a/examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go +++ b/examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go b/examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go index ac2d3ad9b..e01b17e13 100644 --- a/examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go +++ b/examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go b/examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go index acb73e815..2ad0f83e8 100644 --- a/examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go +++ b/examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/GetIBeacons/GetIBeacons.go b/examples/ibeacons/GetIBeacons/GetIBeacons.go index f3a77c5a6..1c8ce4ff1 100644 --- a/examples/ibeacons/GetIBeacons/GetIBeacons.go +++ b/examples/ibeacons/GetIBeacons/GetIBeacons.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go b/examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go index 82ae7c52d..c114546e8 100644 --- a/examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go +++ b/examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go b/examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go index 2f66c18c5..f39f6c96f 100644 --- a/examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go +++ b/examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/icon/GetIconByID/GetIconByID.go b/examples/icon/GetIconByID/GetIconByID.go index 2332ce98a..85d52961c 100644 --- a/examples/icon/GetIconByID/GetIconByID.go +++ b/examples/icon/GetIconByID/GetIconByID.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/icon/UploadIcon/UploadIcon.go b/examples/icon/UploadIcon/UploadIcon.go index a5f69cce9..00c225c9c 100644 --- a/examples/icon/UploadIcon/UploadIcon.go +++ b/examples/icon/UploadIcon/UploadIcon.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/jamf_api_integrations/CreateApiIntegration/CreateApiIntegration.go b/examples/jamf_api_integrations/CreateApiIntegration/CreateApiIntegration.go index 74a6e6444..027bf4945 100644 --- a/examples/jamf_api_integrations/CreateApiIntegration/CreateApiIntegration.go +++ b/examples/jamf_api_integrations/CreateApiIntegration/CreateApiIntegration.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/DeleteApiIntegrationByID/DeleteApiIntegrationByID.go b/examples/jamf_api_integrations/DeleteApiIntegrationByID/DeleteApiIntegrationByID.go index e44a57115..0c92900bb 100644 --- a/examples/jamf_api_integrations/DeleteApiIntegrationByID/DeleteApiIntegrationByID.go +++ b/examples/jamf_api_integrations/DeleteApiIntegrationByID/DeleteApiIntegrationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/DeleteApiIntegrationByName/DeleteApiIntegrationByName.go b/examples/jamf_api_integrations/DeleteApiIntegrationByName/DeleteApiIntegrationByName.go index 9765a5229..6a1f47cef 100644 --- a/examples/jamf_api_integrations/DeleteApiIntegrationByName/DeleteApiIntegrationByName.go +++ b/examples/jamf_api_integrations/DeleteApiIntegrationByName/DeleteApiIntegrationByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/GetApiIntegrationByID/GetApiIntegrationByID.go b/examples/jamf_api_integrations/GetApiIntegrationByID/GetApiIntegrationByID.go index be1cae7c4..e9a47b42f 100644 --- a/examples/jamf_api_integrations/GetApiIntegrationByID/GetApiIntegrationByID.go +++ b/examples/jamf_api_integrations/GetApiIntegrationByID/GetApiIntegrationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/GetApiIntegrationByName/GetApiIntegrationByName.go b/examples/jamf_api_integrations/GetApiIntegrationByName/GetApiIntegrationByName.go index eddbdc4c2..08e575130 100644 --- a/examples/jamf_api_integrations/GetApiIntegrationByName/GetApiIntegrationByName.go +++ b/examples/jamf_api_integrations/GetApiIntegrationByName/GetApiIntegrationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/GetApiIntegrations/GetApiIntegrations.go b/examples/jamf_api_integrations/GetApiIntegrations/GetApiIntegrations.go index b3fc4d1c4..7f366aa15 100644 --- a/examples/jamf_api_integrations/GetApiIntegrations/GetApiIntegrations.go +++ b/examples/jamf_api_integrations/GetApiIntegrations/GetApiIntegrations.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/RefreshClientCredentialsByApiRoleID/RefreshClientCredentialsByApiRoleID.go b/examples/jamf_api_integrations/RefreshClientCredentialsByApiRoleID/RefreshClientCredentialsByApiRoleID.go index 6d8045efe..39f5add95 100644 --- a/examples/jamf_api_integrations/RefreshClientCredentialsByApiRoleID/RefreshClientCredentialsByApiRoleID.go +++ b/examples/jamf_api_integrations/RefreshClientCredentialsByApiRoleID/RefreshClientCredentialsByApiRoleID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/UpdateApiIntegrationByID/UpdateApiIntegrationByID.go b/examples/jamf_api_integrations/UpdateApiIntegrationByID/UpdateApiIntegrationByID.go index 2a19bb78d..54e50e3f0 100644 --- a/examples/jamf_api_integrations/UpdateApiIntegrationByID/UpdateApiIntegrationByID.go +++ b/examples/jamf_api_integrations/UpdateApiIntegrationByID/UpdateApiIntegrationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/UpdateApiIntegrationByName/UpdateApiIntegrationByName.go b/examples/jamf_api_integrations/UpdateApiIntegrationByName/UpdateApiIntegrationByName.go index 9aec4ac80..36fea842a 100644 --- a/examples/jamf_api_integrations/UpdateApiIntegrationByName/UpdateApiIntegrationByName.go +++ b/examples/jamf_api_integrations/UpdateApiIntegrationByName/UpdateApiIntegrationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_privileges/GetJamfAPIPrivileges/GetJamfAPIPrivileges.go b/examples/jamf_api_privileges/GetJamfAPIPrivileges/GetJamfAPIPrivileges.go index 937bbfa6f..60498831e 100644 --- a/examples/jamf_api_privileges/GetJamfAPIPrivileges/GetJamfAPIPrivileges.go +++ b/examples/jamf_api_privileges/GetJamfAPIPrivileges/GetJamfAPIPrivileges.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_privileges/GetJamfAPIRolePrivilegeByName/GetJamfAPIRolePrivilegeByName.go b/examples/jamf_api_privileges/GetJamfAPIRolePrivilegeByName/GetJamfAPIRolePrivilegeByName.go index af8d17c9f..ff3980f31 100644 --- a/examples/jamf_api_privileges/GetJamfAPIRolePrivilegeByName/GetJamfAPIRolePrivilegeByName.go +++ b/examples/jamf_api_privileges/GetJamfAPIRolePrivilegeByName/GetJamfAPIRolePrivilegeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go b/examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go index 7d54dc8d0..1e4e4077b 100644 --- a/examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go +++ b/examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go b/examples/jamf_api_roles/DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go index 67b68ae44..3ee4ee86d 100644 --- a/examples/jamf_api_roles/DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go +++ b/examples/jamf_api_roles/DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go b/examples/jamf_api_roles/DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go index b66a168dc..602164d0f 100644 --- a/examples/jamf_api_roles/DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go +++ b/examples/jamf_api_roles/DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go b/examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go index ffef79339..67b52521f 100644 --- a/examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go +++ b/examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go b/examples/jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go index 7964ef3d8..f61d69a52 100644 --- a/examples/jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go +++ b/examples/jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/GetJamfApiRolesNameById/GetJamfApiRolesNameById.go b/examples/jamf_api_roles/GetJamfApiRolesNameById/GetJamfApiRolesNameById.go index a20f22f51..1e36344d7 100644 --- a/examples/jamf_api_roles/GetJamfApiRolesNameById/GetJamfApiRolesNameById.go +++ b/examples/jamf_api_roles/GetJamfApiRolesNameById/GetJamfApiRolesNameById.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go b/examples/jamf_api_roles/UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go index f2a890f6b..2b19d48a4 100644 --- a/examples/jamf_api_roles/UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go +++ b/examples/jamf_api_roles/UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go b/examples/jamf_api_roles/UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go index dd1b6813c..877ddc9d7 100644 --- a/examples/jamf_api_roles/UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go +++ b/examples/jamf_api_roles/UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/AcceptJamfAppCatalogAppInstallerTermsAndConditions/AcceptJamfAppCatalogAppInstallerTermsAndConditions.go b/examples/jamf_app_catalog_app_installers/AcceptJamfAppCatalogAppInstallerTermsAndConditions/AcceptJamfAppCatalogAppInstallerTermsAndConditions.go index c8ce40204..9ce6372f2 100644 --- a/examples/jamf_app_catalog_app_installers/AcceptJamfAppCatalogAppInstallerTermsAndConditions/AcceptJamfAppCatalogAppInstallerTermsAndConditions.go +++ b/examples/jamf_app_catalog_app_installers/AcceptJamfAppCatalogAppInstallerTermsAndConditions/AcceptJamfAppCatalogAppInstallerTermsAndConditions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/CreateJamfAppCatalogDeployment/CreateJamfAppCatalogDeployment.go b/examples/jamf_app_catalog_app_installers/CreateJamfAppCatalogDeployment/CreateJamfAppCatalogDeployment.go index 0fc392060..cee9c2773 100644 --- a/examples/jamf_app_catalog_app_installers/CreateJamfAppCatalogDeployment/CreateJamfAppCatalogDeployment.go +++ b/examples/jamf_app_catalog_app_installers/CreateJamfAppCatalogDeployment/CreateJamfAppCatalogDeployment.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/DeleteJamfAppCatalogDeploymentByID/DeleteJamfAppCatalogDeploymentByID.go b/examples/jamf_app_catalog_app_installers/DeleteJamfAppCatalogDeploymentByID/DeleteJamfAppCatalogDeploymentByID.go index 1bf746f61..3ab269718 100644 --- a/examples/jamf_app_catalog_app_installers/DeleteJamfAppCatalogDeploymentByID/DeleteJamfAppCatalogDeploymentByID.go +++ b/examples/jamf_app_catalog_app_installers/DeleteJamfAppCatalogDeploymentByID/DeleteJamfAppCatalogDeploymentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByID/GetJamfAppCatalogAppInstallerByID.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByID/GetJamfAppCatalogAppInstallerByID.go index bf961c0f9..29c622303 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByID/GetJamfAppCatalogAppInstallerByID.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByID/GetJamfAppCatalogAppInstallerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByName/GetJamfAppCatalogAppInstallerByName.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByName/GetJamfAppCatalogAppInstallerByName.go index 069615109..e3777b630 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByName/GetJamfAppCatalogAppInstallerByName.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByName/GetJamfAppCatalogAppInstallerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleID/GetJamfAppCatalogAppInstallerByTitleID.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleID/GetJamfAppCatalogAppInstallerByTitleID.go index 68abbb99f..c14942b77 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleID/GetJamfAppCatalogAppInstallerByTitleID.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleID/GetJamfAppCatalogAppInstallerByTitleID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleName/GetJamfAppCatalogAppInstallerByTitleName.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleName/GetJamfAppCatalogAppInstallerByTitleName.go index 73af0b43d..a1e94e40c 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleName/GetJamfAppCatalogAppInstallerByTitleName.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleName/GetJamfAppCatalogAppInstallerByTitleName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerGlobalSettings/GetJamfAppCatalogAppInstallerGlobalSettings.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerGlobalSettings/GetJamfAppCatalogAppInstallerGlobalSettings.go index 62725e32d..864b7e2c5 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerGlobalSettings/GetJamfAppCatalogAppInstallerGlobalSettings.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerGlobalSettings/GetJamfAppCatalogAppInstallerGlobalSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerTitles/GetJamfAppCatalogAppInstallerTitles.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerTitles/GetJamfAppCatalogAppInstallerTitles.go index ab70106b5..c13266898 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerTitles/GetJamfAppCatalogAppInstallerTitles.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerTitles/GetJamfAppCatalogAppInstallerTitles.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogAppInstallerGlobalSettings/UpdateJamfAppCatalogAppInstallerGlobalSettings.go b/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogAppInstallerGlobalSettings/UpdateJamfAppCatalogAppInstallerGlobalSettings.go index f66cf3607..45177bfb2 100644 --- a/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogAppInstallerGlobalSettings/UpdateJamfAppCatalogAppInstallerGlobalSettings.go +++ b/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogAppInstallerGlobalSettings/UpdateJamfAppCatalogAppInstallerGlobalSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogDeploymentByID/UpdateJamfAppCatalogDeploymentByID.go b/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogDeploymentByID/UpdateJamfAppCatalogDeploymentByID.go index ab82c6b63..238b247ac 100644 --- a/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogDeploymentByID/UpdateJamfAppCatalogDeploymentByID.go +++ b/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogDeploymentByID/UpdateJamfAppCatalogDeploymentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectConfigProfileByConfigProfileUUID/GetJamfConnectConfigProfileByConfigProfileUUID.go b/examples/jamf_connect/GetJamfConnectConfigProfileByConfigProfileUUID/GetJamfConnectConfigProfileByConfigProfileUUID.go index 462c8ab34..36654a917 100644 --- a/examples/jamf_connect/GetJamfConnectConfigProfileByConfigProfileUUID/GetJamfConnectConfigProfileByConfigProfileUUID.go +++ b/examples/jamf_connect/GetJamfConnectConfigProfileByConfigProfileUUID/GetJamfConnectConfigProfileByConfigProfileUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectConfigProfileByID/GetJamfConnectConfigProfileByID.go b/examples/jamf_connect/GetJamfConnectConfigProfileByID/GetJamfConnectConfigProfileByID.go index 3601e97be..6afaf6932 100644 --- a/examples/jamf_connect/GetJamfConnectConfigProfileByID/GetJamfConnectConfigProfileByID.go +++ b/examples/jamf_connect/GetJamfConnectConfigProfileByID/GetJamfConnectConfigProfileByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectConfigProfileByName/GetJamfConnectConfigProfileByName.go b/examples/jamf_connect/GetJamfConnectConfigProfileByName/GetJamfConnectConfigProfileByName.go index e7a2b2b61..c8997bde8 100644 --- a/examples/jamf_connect/GetJamfConnectConfigProfileByName/GetJamfConnectConfigProfileByName.go +++ b/examples/jamf_connect/GetJamfConnectConfigProfileByName/GetJamfConnectConfigProfileByName.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectConfigProfiles/GetJamfConnectConfigProfiles.go b/examples/jamf_connect/GetJamfConnectConfigProfiles/GetJamfConnectConfigProfiles.go index 502a84eed..64cde1ba1 100644 --- a/examples/jamf_connect/GetJamfConnectConfigProfiles/GetJamfConnectConfigProfiles.go +++ b/examples/jamf_connect/GetJamfConnectConfigProfiles/GetJamfConnectConfigProfiles.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectSettings/GetJamfConnectSettings.go b/examples/jamf_connect/GetJamfConnectSettings/GetJamfConnectSettings.go index 7f6996e52..96a6ff3ae 100644 --- a/examples/jamf_connect/GetJamfConnectSettings/GetJamfConnectSettings.go +++ b/examples/jamf_connect/GetJamfConnectSettings/GetJamfConnectSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/RetryJamfConnectDeploymentTasksByConfigProfileUUID/RetryJamfConnectDeploymentTasksByConfigProfileUUID.go b/examples/jamf_connect/RetryJamfConnectDeploymentTasksByConfigProfileUUID/RetryJamfConnectDeploymentTasksByConfigProfileUUID.go index a8ebde2ea..1183e03ea 100644 --- a/examples/jamf_connect/RetryJamfConnectDeploymentTasksByConfigProfileUUID/RetryJamfConnectDeploymentTasksByConfigProfileUUID.go +++ b/examples/jamf_connect/RetryJamfConnectDeploymentTasksByConfigProfileUUID/RetryJamfConnectDeploymentTasksByConfigProfileUUID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/UpdateJamfConnectConfigProfileByConfigProfileUUID/UpdateJamfConnectConfigProfileByConfigProfileUUID.go b/examples/jamf_connect/UpdateJamfConnectConfigProfileByConfigProfileUUID/UpdateJamfConnectConfigProfileByConfigProfileUUID.go index e56f13a62..6ef8468bb 100644 --- a/examples/jamf_connect/UpdateJamfConnectConfigProfileByConfigProfileUUID/UpdateJamfConnectConfigProfileByConfigProfileUUID.go +++ b/examples/jamf_connect/UpdateJamfConnectConfigProfileByConfigProfileUUID/UpdateJamfConnectConfigProfileByConfigProfileUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/UpdateJamfConnectConfigProfileByID/UpdateJamfConnectConfigProfileByID.go b/examples/jamf_connect/UpdateJamfConnectConfigProfileByID/UpdateJamfConnectConfigProfileByID.go index 6b05f110b..158b6c2e4 100644 --- a/examples/jamf_connect/UpdateJamfConnectConfigProfileByID/UpdateJamfConnectConfigProfileByID.go +++ b/examples/jamf_connect/UpdateJamfConnectConfigProfileByID/UpdateJamfConnectConfigProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/DeleteJCDS2PackageByFileName/DeleteJCDS2PackageByFileName.go b/examples/jamf_content_distribution_server/DeleteJCDS2PackageByFileName/DeleteJCDS2PackageByFileName.go index 8bcf222ba..08cc93c8d 100644 --- a/examples/jamf_content_distribution_server/DeleteJCDS2PackageByFileName/DeleteJCDS2PackageByFileName.go +++ b/examples/jamf_content_distribution_server/DeleteJCDS2PackageByFileName/DeleteJCDS2PackageByFileName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/DoPackageUpload/DoPackageUpload.go b/examples/jamf_content_distribution_server/DoPackageUpload/DoPackageUpload.go index c5e551d71..f23c1a6c5 100644 --- a/examples/jamf_content_distribution_server/DoPackageUpload/DoPackageUpload.go +++ b/examples/jamf_content_distribution_server/DoPackageUpload/DoPackageUpload.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go b/examples/jamf_content_distribution_server/GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go index 92377c767..9cc6a8689 100644 --- a/examples/jamf_content_distribution_server/GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go +++ b/examples/jamf_content_distribution_server/GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/GetJCDS2Packages/GetJCDS2Packages.go b/examples/jamf_content_distribution_server/GetJCDS2Packages/GetJCDS2Packages.go index e877ca9ed..ac7ebee0b 100644 --- a/examples/jamf_content_distribution_server/GetJCDS2Packages/GetJCDS2Packages.go +++ b/examples/jamf_content_distribution_server/GetJCDS2Packages/GetJCDS2Packages.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/GetJCDS2Properties/GetJCDS2Properties.go b/examples/jamf_content_distribution_server/GetJCDS2Properties/GetJCDS2Properties.go index 92b94cf5e..f9b732b94 100644 --- a/examples/jamf_content_distribution_server/GetJCDS2Properties/GetJCDS2Properties.go +++ b/examples/jamf_content_distribution_server/GetJCDS2Properties/GetJCDS2Properties.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/RefreshJCDS2Inventory/RefreshJCDS2Inventory.go b/examples/jamf_content_distribution_server/RefreshJCDS2Inventory/RefreshJCDS2Inventory.go index 7c409f3ad..84be7cd54 100644 --- a/examples/jamf_content_distribution_server/RefreshJCDS2Inventory/RefreshJCDS2Inventory.go +++ b/examples/jamf_content_distribution_server/RefreshJCDS2Inventory/RefreshJCDS2Inventory.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/RenewJCDS2Credentials/RenewJCDS2Credentials.go b/examples/jamf_content_distribution_server/RenewJCDS2Credentials/RenewJCDS2Credentials.go index 8a82bf8a0..026fe1b59 100644 --- a/examples/jamf_content_distribution_server/RenewJCDS2Credentials/RenewJCDS2Credentials.go +++ b/examples/jamf_content_distribution_server/RenewJCDS2Credentials/RenewJCDS2Credentials.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_pro_information/GetJamfProInformation/GetJamfProInformation.go b/examples/jamf_pro_information/GetJamfProInformation/GetJamfProInformation.go index 37a4c22e3..42bceba29 100644 --- a/examples/jamf_pro_information/GetJamfProInformation/GetJamfProInformation.go +++ b/examples/jamf_pro_information/GetJamfProInformation/GetJamfProInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_pro_system_initialization/InitializeDatabaseConnection/InitializeDatabaseConnection.go b/examples/jamf_pro_system_initialization/InitializeDatabaseConnection/InitializeDatabaseConnection.go index c1e798daa..68bb7a5c3 100644 --- a/examples/jamf_pro_system_initialization/InitializeDatabaseConnection/InitializeDatabaseConnection.go +++ b/examples/jamf_pro_system_initialization/InitializeDatabaseConnection/InitializeDatabaseConnection.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_pro_system_initialization/InitializeJamfProServer/InitializeJamfProServer.go b/examples/jamf_pro_system_initialization/InitializeJamfProServer/InitializeJamfProServer.go index 1a8c903c9..12c263fff 100644 --- a/examples/jamf_pro_system_initialization/InitializeJamfProServer/InitializeJamfProServer.go +++ b/examples/jamf_pro_system_initialization/InitializeJamfProServer/InitializeJamfProServer.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go b/examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go index dc612a474..0c603897b 100644 --- a/examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go +++ b/examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go b/examples/ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go index 39a75fccf..c86d8f33f 100644 --- a/examples/ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go +++ b/examples/ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/DeleteLDAPServerByName/DeleteLDAPServerByName.go b/examples/ldap_servers/DeleteLDAPServerByName/DeleteLDAPServerByName.go index 004f703f5..6aabe03f1 100644 --- a/examples/ldap_servers/DeleteLDAPServerByName/DeleteLDAPServerByName.go +++ b/examples/ldap_servers/DeleteLDAPServerByName/DeleteLDAPServerByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go b/examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go index 4b4dd4440..b88845b29 100644 --- a/examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go +++ b/examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByIDAndGroupDataSubset/GetLDAPServerByIDAndGroupDataSubset.go b/examples/ldap_servers/GetLDAPServerByIDAndGroupDataSubset/GetLDAPServerByIDAndGroupDataSubset.go index 06e43d4d6..9c5e2d5df 100644 --- a/examples/ldap_servers/GetLDAPServerByIDAndGroupDataSubset/GetLDAPServerByIDAndGroupDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByIDAndGroupDataSubset/GetLDAPServerByIDAndGroupDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByIDAndUserDataSubset/GetLDAPServerByIDAndUserDataSubset.go b/examples/ldap_servers/GetLDAPServerByIDAndUserDataSubset/GetLDAPServerByIDAndUserDataSubset.go index 1201840e0..c0c8a5d9b 100644 --- a/examples/ldap_servers/GetLDAPServerByIDAndUserDataSubset/GetLDAPServerByIDAndUserDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByIDAndUserDataSubset/GetLDAPServerByIDAndUserDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByIDAndUserMembershipInGroupDataSubset/GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go b/examples/ldap_servers/GetLDAPServerByIDAndUserMembershipInGroupDataSubset/GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go index 42a334e2f..56d889335 100644 --- a/examples/ldap_servers/GetLDAPServerByIDAndUserMembershipInGroupDataSubset/GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByIDAndUserMembershipInGroupDataSubset/GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go b/examples/ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go index dc1de30e9..39eb9822f 100644 --- a/examples/ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go +++ b/examples/ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByNameAndGroupDataSubset/GetLDAPServerByNameAndGroupDataSubset.go b/examples/ldap_servers/GetLDAPServerByNameAndGroupDataSubset/GetLDAPServerByNameAndGroupDataSubset.go index 1ff529aaa..2f1cd379a 100644 --- a/examples/ldap_servers/GetLDAPServerByNameAndGroupDataSubset/GetLDAPServerByNameAndGroupDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByNameAndGroupDataSubset/GetLDAPServerByNameAndGroupDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByNameAndUserDataSubset/GetLDAPServerByNameAndUserDataSubset.go b/examples/ldap_servers/GetLDAPServerByNameAndUserDataSubset/GetLDAPServerByNameAndUserDataSubset.go index 39e944c6d..afb060411 100644 --- a/examples/ldap_servers/GetLDAPServerByNameAndUserDataSubset/GetLDAPServerByNameAndUserDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByNameAndUserDataSubset/GetLDAPServerByNameAndUserDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByNameAndUserMembershipInGroupDataSubset/GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go b/examples/ldap_servers/GetLDAPServerByNameAndUserMembershipInGroupDataSubset/GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go index 9b9468b7e..316ff567a 100644 --- a/examples/ldap_servers/GetLDAPServerByNameAndUserMembershipInGroupDataSubset/GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByNameAndUserMembershipInGroupDataSubset/GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServers/GetLDAPServers.go b/examples/ldap_servers/GetLDAPServers/GetLDAPServers.go index 192a9498a..37649db32 100644 --- a/examples/ldap_servers/GetLDAPServers/GetLDAPServers.go +++ b/examples/ldap_servers/GetLDAPServers/GetLDAPServers.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go b/examples/ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go index 8257edaea..3bcf71ddb 100644 --- a/examples/ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go +++ b/examples/ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/UpdateLDAPServerByName/UpdateLDAPServerByName.go b/examples/ldap_servers/UpdateLDAPServerByName/UpdateLDAPServerByName.go index 3d86fd7e7..f6a242656 100644 --- a/examples/ldap_servers/UpdateLDAPServerByName/UpdateLDAPServerByName.go +++ b/examples/ldap_servers/UpdateLDAPServerByName/UpdateLDAPServerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/CreateLicensedSoftware/CreateLicensedSoftware.go b/examples/licensed_software/CreateLicensedSoftware/CreateLicensedSoftware.go index cbe62a1d8..f4dd08eae 100644 --- a/examples/licensed_software/CreateLicensedSoftware/CreateLicensedSoftware.go +++ b/examples/licensed_software/CreateLicensedSoftware/CreateLicensedSoftware.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go b/examples/licensed_software/DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go index 4bff65286..9c707fb03 100644 --- a/examples/licensed_software/DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go +++ b/examples/licensed_software/DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/DeleteLicensedSoftwareByName/DeleteLicensedSoftwareByName.go b/examples/licensed_software/DeleteLicensedSoftwareByName/DeleteLicensedSoftwareByName.go index b2d3ee440..0a5cca403 100644 --- a/examples/licensed_software/DeleteLicensedSoftwareByName/DeleteLicensedSoftwareByName.go +++ b/examples/licensed_software/DeleteLicensedSoftwareByName/DeleteLicensedSoftwareByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/GetLicensedSoftware/GetLicensedSoftware.go b/examples/licensed_software/GetLicensedSoftware/GetLicensedSoftware.go index e1556fca5..44a2f48df 100644 --- a/examples/licensed_software/GetLicensedSoftware/GetLicensedSoftware.go +++ b/examples/licensed_software/GetLicensedSoftware/GetLicensedSoftware.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/GetLicensedSoftwareByID/GetLicensedSoftwareByID.go b/examples/licensed_software/GetLicensedSoftwareByID/GetLicensedSoftwareByID.go index 1e84e5b0a..998db00b9 100644 --- a/examples/licensed_software/GetLicensedSoftwareByID/GetLicensedSoftwareByID.go +++ b/examples/licensed_software/GetLicensedSoftwareByID/GetLicensedSoftwareByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/GetLicensedSoftwareByName/GetLicensedSoftwareByName.go b/examples/licensed_software/GetLicensedSoftwareByName/GetLicensedSoftwareByName.go index 675b9d13b..b551bcc23 100644 --- a/examples/licensed_software/GetLicensedSoftwareByName/GetLicensedSoftwareByName.go +++ b/examples/licensed_software/GetLicensedSoftwareByName/GetLicensedSoftwareByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go b/examples/licensed_software/UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go index 784c6c5d8..0ad3cbfb6 100644 --- a/examples/licensed_software/UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go +++ b/examples/licensed_software/UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/UpdateLicensedSoftwareByName/UpdateLicensedSoftwareByName.go b/examples/licensed_software/UpdateLicensedSoftwareByName/UpdateLicensedSoftwareByName.go index 72aa47c6b..73786ef3d 100644 --- a/examples/licensed_software/UpdateLicensedSoftwareByName/UpdateLicensedSoftwareByName.go +++ b/examples/licensed_software/UpdateLicensedSoftwareByName/UpdateLicensedSoftwareByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go b/examples/local_administrator_password/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go index 9361c8dda..06365cfa5 100644 --- a/examples/local_administrator_password/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go +++ b/examples/local_administrator_password/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetListOfPendingLapsRotations/GetListOfPendingLapsRotations.go b/examples/local_administrator_password/GetListOfPendingLapsRotations/GetListOfPendingLapsRotations.go index 90af428cf..d360c761b 100644 --- a/examples/local_administrator_password/GetListOfPendingLapsRotations/GetListOfPendingLapsRotations.go +++ b/examples/local_administrator_password/GetListOfPendingLapsRotations/GetListOfPendingLapsRotations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetLocalAdminPasswordCapableAccountsByClientManagementID/GetLocalAdminPasswordCapableAccountsByClientManagementID.go b/examples/local_administrator_password/GetLocalAdminPasswordCapableAccountsByClientManagementID/GetLocalAdminPasswordCapableAccountsByClientManagementID.go index 6cbfbe77c..dae27292d 100644 --- a/examples/local_administrator_password/GetLocalAdminPasswordCapableAccountsByClientManagementID/GetLocalAdminPasswordCapableAccountsByClientManagementID.go +++ b/examples/local_administrator_password/GetLocalAdminPasswordCapableAccountsByClientManagementID/GetLocalAdminPasswordCapableAccountsByClientManagementID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetLocalAdminPasswordFullHistoryByClientManagementID/GetLocalAdminPasswordFullHistoryByClientManagementID.go b/examples/local_administrator_password/GetLocalAdminPasswordFullHistoryByClientManagementID/GetLocalAdminPasswordFullHistoryByClientManagementID.go index 31b07e974..516b307d1 100644 --- a/examples/local_administrator_password/GetLocalAdminPasswordFullHistoryByClientManagementID/GetLocalAdminPasswordFullHistoryByClientManagementID.go +++ b/examples/local_administrator_password/GetLocalAdminPasswordFullHistoryByClientManagementID/GetLocalAdminPasswordFullHistoryByClientManagementID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetLocalAdminPasswordSettings/GetLocalAdminPasswordSettings.go b/examples/local_administrator_password/GetLocalAdminPasswordSettings/GetLocalAdminPasswordSettings.go index b0ae743ce..054424477 100644 --- a/examples/local_administrator_password/GetLocalAdminPasswordSettings/GetLocalAdminPasswordSettings.go +++ b/examples/local_administrator_password/GetLocalAdminPasswordSettings/GetLocalAdminPasswordSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetLocalAdminPasswordViewedHistory/GetLocalAdminPasswordViewedHistory.go b/examples/local_administrator_password/GetLocalAdminPasswordViewedHistory/GetLocalAdminPasswordViewedHistory.go index 097e46f51..ce0b63eb7 100644 --- a/examples/local_administrator_password/GetLocalAdminPasswordViewedHistory/GetLocalAdminPasswordViewedHistory.go +++ b/examples/local_administrator_password/GetLocalAdminPasswordViewedHistory/GetLocalAdminPasswordViewedHistory.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/SetLocalAdminPasswordByClientManagementID/SetLocalAdminPasswordByClientManagementID.go b/examples/local_administrator_password/SetLocalAdminPasswordByClientManagementID/SetLocalAdminPasswordByClientManagementID.go index 77dbcfeec..4791b541e 100644 --- a/examples/local_administrator_password/SetLocalAdminPasswordByClientManagementID/SetLocalAdminPasswordByClientManagementID.go +++ b/examples/local_administrator_password/SetLocalAdminPasswordByClientManagementID/SetLocalAdminPasswordByClientManagementID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/UpdateLocalAdminPasswordSettings/UpdateLocalAdminPasswordSettings.go b/examples/local_administrator_password/UpdateLocalAdminPasswordSettings/UpdateLocalAdminPasswordSettings.go index b7269cb33..9dc4510c4 100644 --- a/examples/local_administrator_password/UpdateLocalAdminPasswordSettings/UpdateLocalAdminPasswordSettings.go +++ b/examples/local_administrator_password/UpdateLocalAdminPasswordSettings/UpdateLocalAdminPasswordSettings.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/locales/GetLocales/GetLocales.go b/examples/locales/GetLocales/GetLocales.go index e89f7229c..74bc2dd9f 100644 --- a/examples/locales/GetLocales/GetLocales.go +++ b/examples/locales/GetLocales/GetLocales.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go b/examples/log_flushing/DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go index 84c155328..7d8b7f162 100644 --- a/examples/log_flushing/DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go +++ b/examples/log_flushing/DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/GetLogFlushingSettings/GetLogFlushingSettings.go b/examples/log_flushing/GetLogFlushingSettings/GetLogFlushingSettings.go index f6ed7c0c8..5519521a3 100644 --- a/examples/log_flushing/GetLogFlushingSettings/GetLogFlushingSettings.go +++ b/examples/log_flushing/GetLogFlushingSettings/GetLogFlushingSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/GetLogFlushingTaskByID/GetLogFlushingTaskByID.go b/examples/log_flushing/GetLogFlushingTaskByID/GetLogFlushingTaskByID.go index d39bf8984..6e976b035 100644 --- a/examples/log_flushing/GetLogFlushingTaskByID/GetLogFlushingTaskByID.go +++ b/examples/log_flushing/GetLogFlushingTaskByID/GetLogFlushingTaskByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go b/examples/log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go index 77b55ebab..fada38f92 100644 --- a/examples/log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go +++ b/examples/log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go b/examples/log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go index 762ba2d55..22391acc8 100644 --- a/examples/log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go +++ b/examples/log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/login_customization/GetLoginCustomization/GetLoginCustomization.go b/examples/login_customization/GetLoginCustomization/GetLoginCustomization.go index a8ea1878d..11dbf9a53 100644 --- a/examples/login_customization/GetLoginCustomization/GetLoginCustomization.go +++ b/examples/login_customization/GetLoginCustomization/GetLoginCustomization.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/login_customization/UpdateLoginCustomization/UpdateLoginCustomization.go b/examples/login_customization/UpdateLoginCustomization/UpdateLoginCustomization.go index e7fd896b3..e4848a106 100644 --- a/examples/login_customization/UpdateLoginCustomization/UpdateLoginCustomization.go +++ b/examples/login_customization/UpdateLoginCustomization/UpdateLoginCustomization.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/CreateMacApplication/CreateMacApplication.go b/examples/mac_applications/CreateMacApplication/CreateMacApplication.go index c13b587d5..11b9db178 100644 --- a/examples/mac_applications/CreateMacApplication/CreateMacApplication.go +++ b/examples/mac_applications/CreateMacApplication/CreateMacApplication.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/DeleteMacApplicationByID/DeleteMacApplicationByID.go b/examples/mac_applications/DeleteMacApplicationByID/DeleteMacApplicationByID.go index 38c1b5351..52e64801a 100644 --- a/examples/mac_applications/DeleteMacApplicationByID/DeleteMacApplicationByID.go +++ b/examples/mac_applications/DeleteMacApplicationByID/DeleteMacApplicationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/DeleteMacApplicationByName/DeleteMacApplicationByName.go b/examples/mac_applications/DeleteMacApplicationByName/DeleteMacApplicationByName.go index 091117b05..710d510f8 100644 --- a/examples/mac_applications/DeleteMacApplicationByName/DeleteMacApplicationByName.go +++ b/examples/mac_applications/DeleteMacApplicationByName/DeleteMacApplicationByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplicationByID/GetMacApplicationByID.go b/examples/mac_applications/GetMacApplicationByID/GetMacApplicationByID.go index 6cb9b0f80..66e8906ec 100644 --- a/examples/mac_applications/GetMacApplicationByID/GetMacApplicationByID.go +++ b/examples/mac_applications/GetMacApplicationByID/GetMacApplicationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplicationByIDAndDataSubset/GetMacApplicationByIDAndDataSubset.go b/examples/mac_applications/GetMacApplicationByIDAndDataSubset/GetMacApplicationByIDAndDataSubset.go index 44838fd4c..e86454bf3 100644 --- a/examples/mac_applications/GetMacApplicationByIDAndDataSubset/GetMacApplicationByIDAndDataSubset.go +++ b/examples/mac_applications/GetMacApplicationByIDAndDataSubset/GetMacApplicationByIDAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplicationByName/GetMacApplicationByName.go b/examples/mac_applications/GetMacApplicationByName/GetMacApplicationByName.go index 003fe4a8a..909ab53f1 100644 --- a/examples/mac_applications/GetMacApplicationByName/GetMacApplicationByName.go +++ b/examples/mac_applications/GetMacApplicationByName/GetMacApplicationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplicationByNameAndDataSubset/GetMacApplicationByNameAndDataSubset.go b/examples/mac_applications/GetMacApplicationByNameAndDataSubset/GetMacApplicationByNameAndDataSubset.go index bf89e4357..5df4ce759 100644 --- a/examples/mac_applications/GetMacApplicationByNameAndDataSubset/GetMacApplicationByNameAndDataSubset.go +++ b/examples/mac_applications/GetMacApplicationByNameAndDataSubset/GetMacApplicationByNameAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplications/GetMacApplications.go b/examples/mac_applications/GetMacApplications/GetMacApplications.go index f5cb6c2d0..326f8df73 100644 --- a/examples/mac_applications/GetMacApplications/GetMacApplications.go +++ b/examples/mac_applications/GetMacApplications/GetMacApplications.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/UpdateMacApplicationByID/UpdateMacApplicationByID.go b/examples/mac_applications/UpdateMacApplicationByID/UpdateMacApplicationByID.go index 02a10e08c..403096638 100644 --- a/examples/mac_applications/UpdateMacApplicationByID/UpdateMacApplicationByID.go +++ b/examples/mac_applications/UpdateMacApplicationByID/UpdateMacApplicationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/UpdateMacApplicationByName/UpdateMacApplicationByName.go b/examples/mac_applications/UpdateMacApplicationByName/UpdateMacApplicationByName.go index 3cfe58e4f..e5c233749 100644 --- a/examples/mac_applications/UpdateMacApplicationByName/UpdateMacApplicationByName.go +++ b/examples/mac_applications/UpdateMacApplicationByName/UpdateMacApplicationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchema/CreateConfigProfileWithCustomSettingsSchema.go b/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchema/CreateConfigProfileWithCustomSettingsSchema.go index 729929e00..21a579b3a 100644 --- a/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchema/CreateConfigProfileWithCustomSettingsSchema.go +++ b/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchema/CreateConfigProfileWithCustomSettingsSchema.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchemaCISlvl1/CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go b/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchemaCISlvl1/CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go index 89b9a5bde..8a25d2263 100644 --- a/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchemaCISlvl1/CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go +++ b/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchemaCISlvl1/CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profile_custom_settings/GetConfigProfileByPayloadUUID/GetConfigProfileByPayloadUUID.go b/examples/macos_configuration_profile_custom_settings/GetConfigProfileByPayloadUUID/GetConfigProfileByPayloadUUID.go index d60480e9b..8d3b99761 100644 --- a/examples/macos_configuration_profile_custom_settings/GetConfigProfileByPayloadUUID/GetConfigProfileByPayloadUUID.go +++ b/examples/macos_configuration_profile_custom_settings/GetConfigProfileByPayloadUUID/GetConfigProfileByPayloadUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profile_custom_settings/GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go b/examples/macos_configuration_profile_custom_settings/GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go index d270ff678..f80faa206 100644 --- a/examples/macos_configuration_profile_custom_settings/GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go +++ b/examples/macos_configuration_profile_custom_settings/GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/CreateMacOSConfigurationProfile/CreateMacOSConfigurationProfile.go b/examples/macos_configuration_profiles/CreateMacOSConfigurationProfile/CreateMacOSConfigurationProfile.go index 3081ff872..3339ce589 100644 --- a/examples/macos_configuration_profiles/CreateMacOSConfigurationProfile/CreateMacOSConfigurationProfile.go +++ b/examples/macos_configuration_profiles/CreateMacOSConfigurationProfile/CreateMacOSConfigurationProfile.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go b/examples/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go index 757efcd0b..4075c5875 100644 --- a/examples/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go +++ b/examples/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByID/DeleteMacOSConfigurationProfileByID.go b/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByID/DeleteMacOSConfigurationProfileByID.go index f435a0c0c..6eddd80d2 100644 --- a/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByID/DeleteMacOSConfigurationProfileByID.go +++ b/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByID/DeleteMacOSConfigurationProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByName/DeleteMacOSConfigurationProfileByName.go b/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByName/DeleteMacOSConfigurationProfileByName.go index ecf865b8b..2fa12a22f 100644 --- a/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByName/DeleteMacOSConfigurationProfileByName.go +++ b/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByName/DeleteMacOSConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByID/GetMacOSConfigurationProfileByID.go b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByID/GetMacOSConfigurationProfileByID.go index 6aa0be610..605385219 100644 --- a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByID/GetMacOSConfigurationProfileByID.go +++ b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByID/GetMacOSConfigurationProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByName/GetMacOSConfigurationProfileByName.go b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByName/GetMacOSConfigurationProfileByName.go index 81ebc452d..3d23ff0a7 100644 --- a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByName/GetMacOSConfigurationProfileByName.go +++ b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByName/GetMacOSConfigurationProfileByName.go @@ -12,7 +12,7 @@ const () func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileNameByID/GetMacOSConfigurationProfileNameByID.go b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileNameByID/GetMacOSConfigurationProfileNameByID.go index 82e637251..e5fe13de8 100644 --- a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileNameByID/GetMacOSConfigurationProfileNameByID.go +++ b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileNameByID/GetMacOSConfigurationProfileNameByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/GetMacOSConfigurationProfiles/GetMacOSConfigurationProfiles.go b/examples/macos_configuration_profiles/GetMacOSConfigurationProfiles/GetMacOSConfigurationProfiles.go index 4a7a81301..c184d78f4 100644 --- a/examples/macos_configuration_profiles/GetMacOSConfigurationProfiles/GetMacOSConfigurationProfiles.go +++ b/examples/macos_configuration_profiles/GetMacOSConfigurationProfiles/GetMacOSConfigurationProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByID/UpdateMacOSConfigurationProfileByID.go b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByID/UpdateMacOSConfigurationProfileByID.go index a591e60a4..1d522987c 100644 --- a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByID/UpdateMacOSConfigurationProfileByID.go +++ b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByID/UpdateMacOSConfigurationProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/UpdateMacOSConfigurationProfileByIDWithFileUpload.go b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/UpdateMacOSConfigurationProfileByIDWithFileUpload.go index a071856d9..f8f972b40 100644 --- a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/UpdateMacOSConfigurationProfileByIDWithFileUpload.go +++ b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/UpdateMacOSConfigurationProfileByIDWithFileUpload.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByName/UpdateMacOSConfigurationProfileByName.go b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByName/UpdateMacOSConfigurationProfileByName.go index 074fd248f..31f7f7e5b 100644 --- a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByName/UpdateMacOSConfigurationProfileByName.go +++ b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByName/UpdateMacOSConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByDeviceID/CreateManagedSoftwareUpdatePlanByDeviceID.go b/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByDeviceID/CreateManagedSoftwareUpdatePlanByDeviceID.go index 6be96803d..5edf5708e 100644 --- a/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByDeviceID/CreateManagedSoftwareUpdatePlanByDeviceID.go +++ b/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByDeviceID/CreateManagedSoftwareUpdatePlanByDeviceID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByGroupID/CreateManagedSoftwareUpdatePlanByGroupID.go b/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByGroupID/CreateManagedSoftwareUpdatePlanByGroupID.go index 602dc2c07..b51b82c7a 100644 --- a/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByGroupID/CreateManagedSoftwareUpdatePlanByGroupID.go +++ b/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByGroupID/CreateManagedSoftwareUpdatePlanByGroupID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/GetManagedSoftwareUpdateFeatureToggle/GetManagedSoftwareUpdateFeatureToggle.go b/examples/managed_software_updates/GetManagedSoftwareUpdateFeatureToggle/GetManagedSoftwareUpdateFeatureToggle.go index 2997b9104..cafd9f923 100644 --- a/examples/managed_software_updates/GetManagedSoftwareUpdateFeatureToggle/GetManagedSoftwareUpdateFeatureToggle.go +++ b/examples/managed_software_updates/GetManagedSoftwareUpdateFeatureToggle/GetManagedSoftwareUpdateFeatureToggle.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/GetManagedSoftwareUpdatePlans/GetManagedSoftwareUpdatePlans.go b/examples/managed_software_updates/GetManagedSoftwareUpdatePlans/GetManagedSoftwareUpdatePlans.go index 3ad01001f..4583425d6 100644 --- a/examples/managed_software_updates/GetManagedSoftwareUpdatePlans/GetManagedSoftwareUpdatePlans.go +++ b/examples/managed_software_updates/GetManagedSoftwareUpdatePlans/GetManagedSoftwareUpdatePlans.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/GetManagedSoftwareUpdatePlansByGroupID/GetManagedSoftwareUpdatePlansByGroupID.go b/examples/managed_software_updates/GetManagedSoftwareUpdatePlansByGroupID/GetManagedSoftwareUpdatePlansByGroupID.go index dd9489c38..b4e4917d5 100644 --- a/examples/managed_software_updates/GetManagedSoftwareUpdatePlansByGroupID/GetManagedSoftwareUpdatePlansByGroupID.go +++ b/examples/managed_software_updates/GetManagedSoftwareUpdatePlansByGroupID/GetManagedSoftwareUpdatePlansByGroupID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go b/examples/managed_software_updates/GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go index 3d1c8e15a..36f232e07 100644 --- a/examples/managed_software_updates/GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go +++ b/examples/managed_software_updates/GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/UpdateManagedSoftwareUpdateFeatureToggle/UpdateManagedSoftwareUpdateFeatureToggle.go b/examples/managed_software_updates/UpdateManagedSoftwareUpdateFeatureToggle/UpdateManagedSoftwareUpdateFeatureToggle.go index 7eadcc7e7..0c3bf228a 100644 --- a/examples/managed_software_updates/UpdateManagedSoftwareUpdateFeatureToggle/UpdateManagedSoftwareUpdateFeatureToggle.go +++ b/examples/managed_software_updates/UpdateManagedSoftwareUpdateFeatureToggle/UpdateManagedSoftwareUpdateFeatureToggle.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mdm/SendMDMCommandForCreationAndQueuing/SendMDMCommandForCreationAndQueuing.go b/examples/mdm/SendMDMCommandForCreationAndQueuing/SendMDMCommandForCreationAndQueuing.go index ea451856d..e5b2fbaa2 100644 --- a/examples/mdm/SendMDMCommandForCreationAndQueuing/SendMDMCommandForCreationAndQueuing.go +++ b/examples/mdm/SendMDMCommandForCreationAndQueuing/SendMDMCommandForCreationAndQueuing.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mdm/SendMDMCommandForMDMProfileRenewal/SendMDMCommandForMDMProfileRenewal.go b/examples/mdm/SendMDMCommandForMDMProfileRenewal/SendMDMCommandForMDMProfileRenewal.go index 478c2aa48..47ea8a2ef 100644 --- a/examples/mdm/SendMDMCommandForMDMProfileRenewal/SendMDMCommandForMDMProfileRenewal.go +++ b/examples/mdm/SendMDMCommandForMDMProfileRenewal/SendMDMCommandForMDMProfileRenewal.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mdm/SendMDMCommandForPackageDeployment/SendMDMCommandForPackageDeployment.go b/examples/mdm/SendMDMCommandForPackageDeployment/SendMDMCommandForPackageDeployment.go index 7871aa628..0bdd67f6d 100644 --- a/examples/mdm/SendMDMCommandForPackageDeployment/SendMDMCommandForPackageDeployment.go +++ b/examples/mdm/SendMDMCommandForPackageDeployment/SendMDMCommandForPackageDeployment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/CreateMobileDeviceApplication/CreateMobileDeviceApplication.go b/examples/mobile_device_applications/CreateMobileDeviceApplication/CreateMobileDeviceApplication.go index 631d25db7..67b62d566 100644 --- a/examples/mobile_device_applications/CreateMobileDeviceApplication/CreateMobileDeviceApplication.go +++ b/examples/mobile_device_applications/CreateMobileDeviceApplication/CreateMobileDeviceApplication.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleID/DeleteMobileDeviceApplicationByBundleID.go b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleID/DeleteMobileDeviceApplicationByBundleID.go index c25b6b43f..2d7165213 100644 --- a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleID/DeleteMobileDeviceApplicationByBundleID.go +++ b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleID/DeleteMobileDeviceApplicationByBundleID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleIDAndVersion/DeleteMobileDeviceApplicationByBundleIDAndVersion.go b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleIDAndVersion/DeleteMobileDeviceApplicationByBundleIDAndVersion.go index 37a89b35c..d651068b1 100644 --- a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleIDAndVersion/DeleteMobileDeviceApplicationByBundleIDAndVersion.go +++ b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleIDAndVersion/DeleteMobileDeviceApplicationByBundleIDAndVersion.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByName/DeleteMobileDeviceApplicationByName.go b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByName/DeleteMobileDeviceApplicationByName.go index ea4c762f3..aa80d4782 100644 --- a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByName/DeleteMobileDeviceApplicationByName.go +++ b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByName/DeleteMobileDeviceApplicationByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/DeleteMobileDeviceApplicationpByID/DeleteMobileDeviceApplicationpByID.go b/examples/mobile_device_applications/DeleteMobileDeviceApplicationpByID/DeleteMobileDeviceApplicationpByID.go index 9114c02e3..1a9905cfe 100644 --- a/examples/mobile_device_applications/DeleteMobileDeviceApplicationpByID/DeleteMobileDeviceApplicationpByID.go +++ b/examples/mobile_device_applications/DeleteMobileDeviceApplicationpByID/DeleteMobileDeviceApplicationpByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleID/GetMobileDeviceApplicationByAppBundleID.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleID/GetMobileDeviceApplicationByAppBundleID.go index 21f3e123e..aef4b1506 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleID/GetMobileDeviceApplicationByAppBundleID.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleID/GetMobileDeviceApplicationByAppBundleID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleIDAndVersion/GetMobileDeviceApplicationByAppBundleIDAndVersion.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleIDAndVersion/GetMobileDeviceApplicationByAppBundleIDAndVersion.go index 7cdef4a29..44458ece1 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleIDAndVersion/GetMobileDeviceApplicationByAppBundleIDAndVersion.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleIDAndVersion/GetMobileDeviceApplicationByAppBundleIDAndVersion.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByID/GetMobileDeviceApplicationByID.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByID/GetMobileDeviceApplicationByID.go index ba8a6932c..d83bac958 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByID/GetMobileDeviceApplicationByID.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByID/GetMobileDeviceApplicationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByIDAndDataSubset/GetMobileDeviceApplicationByIDAndDataSubset.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByIDAndDataSubset/GetMobileDeviceApplicationByIDAndDataSubset.go index 6d0300229..cd1c7b001 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByIDAndDataSubset/GetMobileDeviceApplicationByIDAndDataSubset.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByIDAndDataSubset/GetMobileDeviceApplicationByIDAndDataSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByName/GetMobileDeviceApplicationByName.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByName/GetMobileDeviceApplicationByName.go index 1a68866a7..13cca7b25 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByName/GetMobileDeviceApplicationByName.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByName/GetMobileDeviceApplicationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByNameAndDataSubset/GetMobileDeviceApplicationByNameAndDataSubset.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByNameAndDataSubset/GetMobileDeviceApplicationByNameAndDataSubset.go index bbd3c9461..a27409cae 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByNameAndDataSubset/GetMobileDeviceApplicationByNameAndDataSubset.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByNameAndDataSubset/GetMobileDeviceApplicationByNameAndDataSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplications/GetMobileDeviceApplications.go b/examples/mobile_device_applications/GetMobileDeviceApplications/GetMobileDeviceApplications.go index 106beacee..9e26c1435 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplications/GetMobileDeviceApplications.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplications/GetMobileDeviceApplications.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByApplicationBundleID/UpdateMobileDeviceApplicationByApplicationBundleID.go b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByApplicationBundleID/UpdateMobileDeviceApplicationByApplicationBundleID.go index f5bd77be8..c1b380dc8 100644 --- a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByApplicationBundleID/UpdateMobileDeviceApplicationByApplicationBundleID.go +++ b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByApplicationBundleID/UpdateMobileDeviceApplicationByApplicationBundleID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByID/UpdateMobileDeviceApplicationByID.go b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByID/UpdateMobileDeviceApplicationByID.go index fba76c774..47b3bd751 100644 --- a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByID/UpdateMobileDeviceApplicationByID.go +++ b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByID/UpdateMobileDeviceApplicationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByIDAndAppVersion/UpdateMobileDeviceApplicationByIDAndAppVersion.go b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByIDAndAppVersion/UpdateMobileDeviceApplicationByIDAndAppVersion.go index 0aa4dedd9..f81fdf1c6 100644 --- a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByIDAndAppVersion/UpdateMobileDeviceApplicationByIDAndAppVersion.go +++ b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByIDAndAppVersion/UpdateMobileDeviceApplicationByIDAndAppVersion.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByName/UpdateMobileDeviceApplicationByName.go b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByName/UpdateMobileDeviceApplicationByName.go index be144f7d1..57c77e285 100644 --- a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByName/UpdateMobileDeviceApplicationByName.go +++ b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByName/UpdateMobileDeviceApplicationByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfile/CreateMobileDeviceConfigurationProfile.go b/examples/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfile/CreateMobileDeviceConfigurationProfile.go index ef5e27a16..4c128ca21 100644 --- a/examples/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfile/CreateMobileDeviceConfigurationProfile.go +++ b/examples/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfile/CreateMobileDeviceConfigurationProfile.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByID/DeleteMobileDeviceConfigurationProfileByID.go b/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByID/DeleteMobileDeviceConfigurationProfileByID.go index c8bb869b2..0f29981c0 100644 --- a/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByID/DeleteMobileDeviceConfigurationProfileByID.go +++ b/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByID/DeleteMobileDeviceConfigurationProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByName/DeleteMobileDeviceConfigurationProfileByName.go b/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByName/DeleteMobileDeviceConfigurationProfileByName.go index bcfd5ecd4..ff049aae8 100644 --- a/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByName/DeleteMobileDeviceConfigurationProfileByName.go +++ b/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByName/DeleteMobileDeviceConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByID/GetMobileDeviceConfigurationProfileByID.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByID/GetMobileDeviceConfigurationProfileByID.go index 838a48b25..844ef4c3b 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByID/GetMobileDeviceConfigurationProfileByID.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByID/GetMobileDeviceConfigurationProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByIDWithSubset/GetMobileDeviceConfigurationProfileByIDWithSubset.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByIDWithSubset/GetMobileDeviceConfigurationProfileByIDWithSubset.go index 76d777622..357269d10 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByIDWithSubset/GetMobileDeviceConfigurationProfileByIDWithSubset.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByIDWithSubset/GetMobileDeviceConfigurationProfileByIDWithSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByName/GetMobileDeviceConfigurationProfileByName.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByName/GetMobileDeviceConfigurationProfileByName.go index 200042dae..b86c78ffa 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByName/GetMobileDeviceConfigurationProfileByName.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByName/GetMobileDeviceConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByNameWithSubset/GetMobileDeviceConfigurationProfileByNameWithSubset.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByNameWithSubset/GetMobileDeviceConfigurationProfileByNameWithSubset.go index a82a07535..1e428a84a 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByNameWithSubset/GetMobileDeviceConfigurationProfileByNameWithSubset.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByNameWithSubset/GetMobileDeviceConfigurationProfileByNameWithSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfiles/GetMobileDeviceConfigurationProfiles.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfiles/GetMobileDeviceConfigurationProfiles.go index 61f5856a5..ab0e85281 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfiles/GetMobileDeviceConfigurationProfiles.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfiles/GetMobileDeviceConfigurationProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByID/UpdateMobileDeviceConfigurationProfileByID.go b/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByID/UpdateMobileDeviceConfigurationProfileByID.go index df1f91fb2..d7bdc4c38 100644 --- a/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByID/UpdateMobileDeviceConfigurationProfileByID.go +++ b/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByID/UpdateMobileDeviceConfigurationProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByName/UpdateMobileDeviceConfigurationProfileByName.go b/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByName/UpdateMobileDeviceConfigurationProfileByName.go index c57f01166..51c54f2f7 100644 --- a/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByName/UpdateMobileDeviceConfigurationProfileByName.go +++ b/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByName/UpdateMobileDeviceConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupSmart/CreateMobileDeviceGroupSmart.go b/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupSmart/CreateMobileDeviceGroupSmart.go index 3350e9208..a9ef5f4f7 100644 --- a/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupSmart/CreateMobileDeviceGroupSmart.go +++ b/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupSmart/CreateMobileDeviceGroupSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupStatic/CreateMobileDeviceGroupStatic.go b/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupStatic/CreateMobileDeviceGroupStatic.go index 0fbaafc85..e2adba068 100644 --- a/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupStatic/CreateMobileDeviceGroupStatic.go +++ b/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupStatic/CreateMobileDeviceGroupStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go b/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go index 873629599..4d54da5b9 100644 --- a/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go +++ b/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByName/DeleteMobileDeviceGroupByName.go b/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByName/DeleteMobileDeviceGroupByName.go index ce59ca067..a0d2fddb6 100644 --- a/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByName/DeleteMobileDeviceGroupByName.go +++ b/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByName/DeleteMobileDeviceGroupByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroups/GetMobileDeviceGroups.go b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroups/GetMobileDeviceGroups.go index 210ca015c..d9b350a60 100644 --- a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroups/GetMobileDeviceGroups.go +++ b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroups/GetMobileDeviceGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go index 6018aab9d..9692eba46 100644 --- a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go +++ b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go index 8e2b3018e..3691734c2 100644 --- a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go +++ b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDSmart/UpdateMobileDeviceGroupByIDSmart.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDSmart/UpdateMobileDeviceGroupByIDSmart.go index 9f2b7d2bb..866825216 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDSmart/UpdateMobileDeviceGroupByIDSmart.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDSmart/UpdateMobileDeviceGroupByIDSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStatic/UpdateMobileDeviceGroupByIDStatic.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStatic/UpdateMobileDeviceGroupByIDStatic.go index f336be39c..715e66405 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStatic/UpdateMobileDeviceGroupByIDStatic.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStatic/UpdateMobileDeviceGroupByIDStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupAdditions/UpdateMobileDeviceGroupByIDStaticGroupAdditions.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupAdditions/UpdateMobileDeviceGroupByIDStaticGroupAdditions.go index 4e455f1c7..3b574e299 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupAdditions/UpdateMobileDeviceGroupByIDStaticGroupAdditions.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupAdditions/UpdateMobileDeviceGroupByIDStaticGroupAdditions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupDeletions/UpdateMobileDeviceGroupByIDStaticGroupDeletions.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupDeletions/UpdateMobileDeviceGroupByIDStaticGroupDeletions.go index 5e64da29c..78e432ec4 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupDeletions/UpdateMobileDeviceGroupByIDStaticGroupDeletions.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupDeletions/UpdateMobileDeviceGroupByIDStaticGroupDeletions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameSmart/UpdateMobileDeviceGroupByNameSmart.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameSmart/UpdateMobileDeviceGroupByNameSmart.go index 1aa6c0243..8d4c224f5 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameSmart/UpdateMobileDeviceGroupByNameSmart.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameSmart/UpdateMobileDeviceGroupByNameSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameStatic/UpdateMobileDeviceGroupByNameStatic.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameStatic/UpdateMobileDeviceGroupByNameStatic.go index 30713cbdf..8f807ddf6 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameStatic/UpdateMobileDeviceGroupByNameStatic.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameStatic/UpdateMobileDeviceGroupByNameStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/CreateMobileDeviceEnrollmentProfile/CreateMobileDeviceEnrollmentProfile.go b/examples/mobile_device_enrollment_profiles/CreateMobileDeviceEnrollmentProfile/CreateMobileDeviceEnrollmentProfile.go index 933eba3ab..f0509caa1 100644 --- a/examples/mobile_device_enrollment_profiles/CreateMobileDeviceEnrollmentProfile/CreateMobileDeviceEnrollmentProfile.go +++ b/examples/mobile_device_enrollment_profiles/CreateMobileDeviceEnrollmentProfile/CreateMobileDeviceEnrollmentProfile.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByID/DeleteMobileDeviceEnrollmentProfileByID.go b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByID/DeleteMobileDeviceEnrollmentProfileByID.go index d289fb1ba..ff8933a4e 100644 --- a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByID/DeleteMobileDeviceEnrollmentProfileByID.go +++ b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByID/DeleteMobileDeviceEnrollmentProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByInvitation/DeleteMobileDeviceEnrollmentProfileByInvitation.go b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByInvitation/DeleteMobileDeviceEnrollmentProfileByInvitation.go index 2f1925311..60e8d865d 100644 --- a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByInvitation/DeleteMobileDeviceEnrollmentProfileByInvitation.go +++ b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByInvitation/DeleteMobileDeviceEnrollmentProfileByInvitation.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByName/DeleteMobileDeviceEnrollmentProfileByName.go b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByName/DeleteMobileDeviceEnrollmentProfileByName.go index a0ef90e38..cbaafad3b 100644 --- a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByName/DeleteMobileDeviceEnrollmentProfileByName.go +++ b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByName/DeleteMobileDeviceEnrollmentProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByID/GetMobileDeviceEnrollmentProfileByID.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByID/GetMobileDeviceEnrollmentProfileByID.go index 3fce53990..0f51ef7a6 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByID/GetMobileDeviceEnrollmentProfileByID.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByID/GetMobileDeviceEnrollmentProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByIDWithSubset/GetMobileDeviceEnrollmentProfileByIDWithSubset.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByIDWithSubset/GetMobileDeviceEnrollmentProfileByIDWithSubset.go index 9497d14e4..949d8fdb7 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByIDWithSubset/GetMobileDeviceEnrollmentProfileByIDWithSubset.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByIDWithSubset/GetMobileDeviceEnrollmentProfileByIDWithSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByName/GetMobileDeviceEnrollmentProfileByName.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByName/GetMobileDeviceEnrollmentProfileByName.go index f8bcf6ff6..d201e8a33 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByName/GetMobileDeviceEnrollmentProfileByName.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByName/GetMobileDeviceEnrollmentProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByNameWithSubset/GetMobileDeviceEnrollmentProfileByNameWithSubset.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByNameWithSubset/GetMobileDeviceEnrollmentProfileByNameWithSubset.go index 254bc951f..577bfc69b 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByNameWithSubset/GetMobileDeviceEnrollmentProfileByNameWithSubset.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByNameWithSubset/GetMobileDeviceEnrollmentProfileByNameWithSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfiles/GetMobileDeviceEnrollmentProfiles.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfiles/GetMobileDeviceEnrollmentProfiles.go index 8f4902a21..433e4f55d 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfiles/GetMobileDeviceEnrollmentProfiles.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfiles/GetMobileDeviceEnrollmentProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetProfileByInvitation/GetProfileByInvitation.go b/examples/mobile_device_enrollment_profiles/GetProfileByInvitation/GetProfileByInvitation.go index 172e7b629..05a4caa76 100644 --- a/examples/mobile_device_enrollment_profiles/GetProfileByInvitation/GetProfileByInvitation.go +++ b/examples/mobile_device_enrollment_profiles/GetProfileByInvitation/GetProfileByInvitation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByID/UpdateMobileDeviceEnrollmentProfileByID.go b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByID/UpdateMobileDeviceEnrollmentProfileByID.go index edde872f2..5f453a796 100644 --- a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByID/UpdateMobileDeviceEnrollmentProfileByID.go +++ b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByID/UpdateMobileDeviceEnrollmentProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByInvitation/UpdateMobileDeviceEnrollmentProfileByInvitation.go b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByInvitation/UpdateMobileDeviceEnrollmentProfileByInvitation.go index 4d806d9e2..6d8c24c74 100644 --- a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByInvitation/UpdateMobileDeviceEnrollmentProfileByInvitation.go +++ b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByInvitation/UpdateMobileDeviceEnrollmentProfileByInvitation.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByName/UpdateMobileDeviceEnrollmentProfileByName.go b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByName/UpdateMobileDeviceEnrollmentProfileByName.go index 864c02494..cf67ee95d 100644 --- a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByName/UpdateMobileDeviceEnrollmentProfileByName.go +++ b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByName/UpdateMobileDeviceEnrollmentProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByID/CreateMobileDeviceProvisioningProfileByID.go b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByID/CreateMobileDeviceProvisioningProfileByID.go index 4bf6f233d..6be747c11 100644 --- a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByID/CreateMobileDeviceProvisioningProfileByID.go +++ b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByID/CreateMobileDeviceProvisioningProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByName/CreateMobileDeviceProvisioningProfileByName.go b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByName/CreateMobileDeviceProvisioningProfileByName.go index ccd4fe947..a3dab1b0c 100644 --- a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByName/CreateMobileDeviceProvisioningProfileByName.go +++ b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByName/CreateMobileDeviceProvisioningProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByUUID/CreateMobileDeviceProvisioningProfileByUUID.go b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByUUID/CreateMobileDeviceProvisioningProfileByUUID.go index a5f892b2d..8b7c3ef0a 100644 --- a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByUUID/CreateMobileDeviceProvisioningProfileByUUID.go +++ b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByUUID/CreateMobileDeviceProvisioningProfileByUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByID/DeleteMobileDeviceProvisioningProfileByID.go b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByID/DeleteMobileDeviceProvisioningProfileByID.go index 7f09bc058..e8ebffa33 100644 --- a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByID/DeleteMobileDeviceProvisioningProfileByID.go +++ b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByID/DeleteMobileDeviceProvisioningProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByName/DeleteMobileDeviceProvisioningProfileByName.go b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByName/DeleteMobileDeviceProvisioningProfileByName.go index 5a77e473f..f10e8be15 100644 --- a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByName/DeleteMobileDeviceProvisioningProfileByName.go +++ b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByName/DeleteMobileDeviceProvisioningProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByUUID/DeleteMobileDeviceProvisioningProfileByUUID.go b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByUUID/DeleteMobileDeviceProvisioningProfileByUUID.go index c2327aa7c..1b9ef902f 100644 --- a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByUUID/DeleteMobileDeviceProvisioningProfileByUUID.go +++ b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByUUID/DeleteMobileDeviceProvisioningProfileByUUID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByID/GetMobileDeviceProvisioningProfileByID.go b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByID/GetMobileDeviceProvisioningProfileByID.go index e37f07843..568d49b26 100644 --- a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByID/GetMobileDeviceProvisioningProfileByID.go +++ b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByID/GetMobileDeviceProvisioningProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByName/GetMobileDeviceProvisioningProfileByName.go b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByName/GetMobileDeviceProvisioningProfileByName.go index 32b898ec4..03432f089 100644 --- a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByName/GetMobileDeviceProvisioningProfileByName.go +++ b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByName/GetMobileDeviceProvisioningProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByUUID/GetMobileDeviceProvisioningProfileByUUID.go b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByUUID/GetMobileDeviceProvisioningProfileByUUID.go index 97808d3ff..94f88f710 100644 --- a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByUUID/GetMobileDeviceProvisioningProfileByUUID.go +++ b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByUUID/GetMobileDeviceProvisioningProfileByUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfiles/GetMobileDeviceProvisioningProfiles.go b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfiles/GetMobileDeviceProvisioningProfiles.go index b43c0c7be..6c3d7c5a9 100644 --- a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfiles/GetMobileDeviceProvisioningProfiles.go +++ b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfiles/GetMobileDeviceProvisioningProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByID/UpdateMobileDeviceProvisioningProfileByID.go b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByID/UpdateMobileDeviceProvisioningProfileByID.go index 930b2568d..65b8c2eb6 100644 --- a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByID/UpdateMobileDeviceProvisioningProfileByID.go +++ b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByID/UpdateMobileDeviceProvisioningProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByName/UpdateMobileDeviceProvisioningProfileByName.go b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByName/UpdateMobileDeviceProvisioningProfileByName.go index b3b5aabc6..7306dd00c 100644 --- a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByName/UpdateMobileDeviceProvisioningProfileByName.go +++ b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByName/UpdateMobileDeviceProvisioningProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByUUID/UpdateMobileDeviceProvisioningProfileByUUID.go b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByUUID/UpdateMobileDeviceProvisioningProfileByUUID.go index 742d1dc09..1befbc28a 100644 --- a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByUUID/UpdateMobileDeviceProvisioningProfileByUUID.go +++ b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByUUID/UpdateMobileDeviceProvisioningProfileByUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/CreateMobileDevice/CreateMobileDevice.go b/examples/mobile_devices/CreateMobileDevice/CreateMobileDevice.go index ece3e2c7c..3236d723c 100644 --- a/examples/mobile_devices/CreateMobileDevice/CreateMobileDevice.go +++ b/examples/mobile_devices/CreateMobileDevice/CreateMobileDevice.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/DeleteMobileDeviceByID/DeleteMobileDeviceByID.go b/examples/mobile_devices/DeleteMobileDeviceByID/DeleteMobileDeviceByID.go index 076d41692..72d4c5ca3 100644 --- a/examples/mobile_devices/DeleteMobileDeviceByID/DeleteMobileDeviceByID.go +++ b/examples/mobile_devices/DeleteMobileDeviceByID/DeleteMobileDeviceByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/DeleteMobileDeviceByName/DeleteMobileDeviceByName.go b/examples/mobile_devices/DeleteMobileDeviceByName/DeleteMobileDeviceByName.go index 5ebfec501..ab365019f 100644 --- a/examples/mobile_devices/DeleteMobileDeviceByName/DeleteMobileDeviceByName.go +++ b/examples/mobile_devices/DeleteMobileDeviceByName/DeleteMobileDeviceByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDeviceByIDAndDataSubset/GetMobileDeviceByIDAndDataSubset.go b/examples/mobile_devices/GetMobileDeviceByIDAndDataSubset/GetMobileDeviceByIDAndDataSubset.go index a1c8731da..2bb44fdb7 100644 --- a/examples/mobile_devices/GetMobileDeviceByIDAndDataSubset/GetMobileDeviceByIDAndDataSubset.go +++ b/examples/mobile_devices/GetMobileDeviceByIDAndDataSubset/GetMobileDeviceByIDAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDeviceByName/GetMobileDeviceByName.go b/examples/mobile_devices/GetMobileDeviceByName/GetMobileDeviceByName.go index 47a16b052..e26544577 100644 --- a/examples/mobile_devices/GetMobileDeviceByName/GetMobileDeviceByName.go +++ b/examples/mobile_devices/GetMobileDeviceByName/GetMobileDeviceByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDeviceByNameAndDataSubset/GetMobileDeviceByNameAndDataSubset.go b/examples/mobile_devices/GetMobileDeviceByNameAndDataSubset/GetMobileDeviceByNameAndDataSubset.go index 1e1746301..6d6bd476e 100644 --- a/examples/mobile_devices/GetMobileDeviceByNameAndDataSubset/GetMobileDeviceByNameAndDataSubset.go +++ b/examples/mobile_devices/GetMobileDeviceByNameAndDataSubset/GetMobileDeviceByNameAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDevices/GetMobileDevices.go b/examples/mobile_devices/GetMobileDevices/GetMobileDevices.go index 20febe502..f340cdf92 100644 --- a/examples/mobile_devices/GetMobileDevices/GetMobileDevices.go +++ b/examples/mobile_devices/GetMobileDevices/GetMobileDevices.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go b/examples/mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go index 35ddb73af..3878e5424 100644 --- a/examples/mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go +++ b/examples/mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/UpdateMobileDeviceByID/UpdateMobileDeviceByID.go b/examples/mobile_devices/UpdateMobileDeviceByID/UpdateMobileDeviceByID.go index 10767f9c3..9acde8173 100644 --- a/examples/mobile_devices/UpdateMobileDeviceByID/UpdateMobileDeviceByID.go +++ b/examples/mobile_devices/UpdateMobileDeviceByID/UpdateMobileDeviceByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/UpdateMobileDeviceByName/UpdateMobileDeviceByName.go b/examples/mobile_devices/UpdateMobileDeviceByName/UpdateMobileDeviceByName.go index f14e9444b..7ebb6f107 100644 --- a/examples/mobile_devices/UpdateMobileDeviceByName/UpdateMobileDeviceByName.go +++ b/examples/mobile_devices/UpdateMobileDeviceByName/UpdateMobileDeviceByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/CreateMobileExtensionAttribute/CreateMobileExtensionAttribute.go b/examples/mobile_extension_attributes/CreateMobileExtensionAttribute/CreateMobileExtensionAttribute.go index b7032e309..820213f54 100644 --- a/examples/mobile_extension_attributes/CreateMobileExtensionAttribute/CreateMobileExtensionAttribute.go +++ b/examples/mobile_extension_attributes/CreateMobileExtensionAttribute/CreateMobileExtensionAttribute.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByID/DeleteMobileExtensionAttributeByID.go b/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByID/DeleteMobileExtensionAttributeByID.go index 07a6aed70..2ce183da2 100644 --- a/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByID/DeleteMobileExtensionAttributeByID.go +++ b/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByID/DeleteMobileExtensionAttributeByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByName/DeleteMobileExtensionAttributeByName.go b/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByName/DeleteMobileExtensionAttributeByName.go index 91b8e6004..116fc2fed 100644 --- a/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByName/DeleteMobileExtensionAttributeByName.go +++ b/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByName/DeleteMobileExtensionAttributeByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/GetMobileExtensionAttributeByID/GetMobileExtensionAttributeByID.go b/examples/mobile_extension_attributes/GetMobileExtensionAttributeByID/GetMobileExtensionAttributeByID.go index cfb8790f5..b7d37cebb 100644 --- a/examples/mobile_extension_attributes/GetMobileExtensionAttributeByID/GetMobileExtensionAttributeByID.go +++ b/examples/mobile_extension_attributes/GetMobileExtensionAttributeByID/GetMobileExtensionAttributeByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/GetMobileExtensionAttributeByName/GetMobileExtensionAttributeByName.go b/examples/mobile_extension_attributes/GetMobileExtensionAttributeByName/GetMobileExtensionAttributeByName.go index ed484369a..91770987a 100644 --- a/examples/mobile_extension_attributes/GetMobileExtensionAttributeByName/GetMobileExtensionAttributeByName.go +++ b/examples/mobile_extension_attributes/GetMobileExtensionAttributeByName/GetMobileExtensionAttributeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/GetMobileExtensionAttributes/GetMobileExtensionAttributes.go b/examples/mobile_extension_attributes/GetMobileExtensionAttributes/GetMobileExtensionAttributes.go index 3d1ffda63..76e66686b 100644 --- a/examples/mobile_extension_attributes/GetMobileExtensionAttributes/GetMobileExtensionAttributes.go +++ b/examples/mobile_extension_attributes/GetMobileExtensionAttributes/GetMobileExtensionAttributes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByID/UpdateMobileExtensionAttributeByID.go b/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByID/UpdateMobileExtensionAttributeByID.go index 8d4e6e0b6..003b11933 100644 --- a/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByID/UpdateMobileExtensionAttributeByID.go +++ b/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByID/UpdateMobileExtensionAttributeByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByName/UpdateMobileExtensionAttributeByName.go b/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByName/UpdateMobileExtensionAttributeByName.go index b21213cd3..e847695e0 100644 --- a/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByName/UpdateMobileExtensionAttributeByName.go +++ b/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByName/UpdateMobileExtensionAttributeByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/CreateNetworkSegment/CreateNetworkSegment.go b/examples/network_segments/CreateNetworkSegment/CreateNetworkSegment.go index 13b6b9356..eaee6a27b 100644 --- a/examples/network_segments/CreateNetworkSegment/CreateNetworkSegment.go +++ b/examples/network_segments/CreateNetworkSegment/CreateNetworkSegment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go b/examples/network_segments/DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go index 2bbeae761..6e04bc730 100644 --- a/examples/network_segments/DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go +++ b/examples/network_segments/DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go b/examples/network_segments/DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go index ba0f74dd6..a842d9bbf 100644 --- a/examples/network_segments/DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go +++ b/examples/network_segments/DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/GetNetworkSegmentByID/GetNetworkSegmentByID.go b/examples/network_segments/GetNetworkSegmentByID/GetNetworkSegmentByID.go index b8a6985c4..101ff13c7 100644 --- a/examples/network_segments/GetNetworkSegmentByID/GetNetworkSegmentByID.go +++ b/examples/network_segments/GetNetworkSegmentByID/GetNetworkSegmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/GetNetworkSegmentByName/GetNetworkSegmentByName.go b/examples/network_segments/GetNetworkSegmentByName/GetNetworkSegmentByName.go index 08411b784..899ccb9ae 100644 --- a/examples/network_segments/GetNetworkSegmentByName/GetNetworkSegmentByName.go +++ b/examples/network_segments/GetNetworkSegmentByName/GetNetworkSegmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/GetNetworkSegments/GetNetworkSegments.go b/examples/network_segments/GetNetworkSegments/GetNetworkSegments.go index 8298f3f26..60055e7eb 100644 --- a/examples/network_segments/GetNetworkSegments/GetNetworkSegments.go +++ b/examples/network_segments/GetNetworkSegments/GetNetworkSegments.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go b/examples/network_segments/UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go index 708596e68..65e5161d7 100644 --- a/examples/network_segments/UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go +++ b/examples/network_segments/UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go b/examples/network_segments/UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go index d1e7a50c1..53221045e 100644 --- a/examples/network_segments/UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go +++ b/examples/network_segments/UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/notifications/GetNotificationsForUserAndSite/GetNotificationsForUserAndSite.go b/examples/notifications/GetNotificationsForUserAndSite/GetNotificationsForUserAndSite.go index c2c7a8d64..3c5610ff2 100644 --- a/examples/notifications/GetNotificationsForUserAndSite/GetNotificationsForUserAndSite.go +++ b/examples/notifications/GetNotificationsForUserAndSite/GetNotificationsForUserAndSite.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/oidc/GenerateKeystoreForOIDCMessages/GenerateKeystoreForOIDCMessages.go b/examples/oidc/GenerateKeystoreForOIDCMessages/GenerateKeystoreForOIDCMessages.go index 06b7e47db..f75a89307 100644 --- a/examples/oidc/GenerateKeystoreForOIDCMessages/GenerateKeystoreForOIDCMessages.go +++ b/examples/oidc/GenerateKeystoreForOIDCMessages/GenerateKeystoreForOIDCMessages.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/oidc/GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go b/examples/oidc/GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go index 02ef26c50..b89fa5a72 100644 --- a/examples/oidc/GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go +++ b/examples/oidc/GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/oidc/SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go b/examples/oidc/SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go index f46a38487..7b9a9a482 100644 --- a/examples/oidc/SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go +++ b/examples/oidc/SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/CreatePackage/CreatePackage.go b/examples/packages/CreatePackage/CreatePackage.go index deff258b6..44e179016 100644 --- a/examples/packages/CreatePackage/CreatePackage.go +++ b/examples/packages/CreatePackage/CreatePackage.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go b/examples/packages/DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go index 861f2e6ca..ca7cc779a 100644 --- a/examples/packages/DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go +++ b/examples/packages/DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/DeletePackageManifestByID/DeletePackageManifestByID.go b/examples/packages/DeletePackageManifestByID/DeletePackageManifestByID.go index feb61e8d3..8bbdceaa5 100644 --- a/examples/packages/DeletePackageManifestByID/DeletePackageManifestByID.go +++ b/examples/packages/DeletePackageManifestByID/DeletePackageManifestByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/DeletePackagesByID/DeletePackageByID.go b/examples/packages/DeletePackagesByID/DeletePackageByID.go index dceef4a62..bd5bd6803 100644 --- a/examples/packages/DeletePackagesByID/DeletePackageByID.go +++ b/examples/packages/DeletePackagesByID/DeletePackageByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/GetPackageByID/GetPackageByID.go b/examples/packages/GetPackageByID/GetPackageByID.go index cfab1fd02..d025fd20d 100644 --- a/examples/packages/GetPackageByID/GetPackageByID.go +++ b/examples/packages/GetPackageByID/GetPackageByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/GetPackageByName/GetPackageByName.go b/examples/packages/GetPackageByName/GetPackageByName.go index d338e9ca0..2e645c2dd 100644 --- a/examples/packages/GetPackageByName/GetPackageByName.go +++ b/examples/packages/GetPackageByName/GetPackageByName.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/packages/GetPackageHistoryByPackageID/GetPackageHistoryByPackageID.go b/examples/packages/GetPackageHistoryByPackageID/GetPackageHistoryByPackageID.go index ecbaba4cc..bc3aefe2a 100644 --- a/examples/packages/GetPackageHistoryByPackageID/GetPackageHistoryByPackageID.go +++ b/examples/packages/GetPackageHistoryByPackageID/GetPackageHistoryByPackageID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/GetPackages/GetPackages.go b/examples/packages/GetPackages/GetPackages.go index 9398a2feb..0dc752a16 100644 --- a/examples/packages/GetPackages/GetPackages.go +++ b/examples/packages/GetPackages/GetPackages.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/UpdatePackageManifestByID/UpdatePackageByID.go b/examples/packages/UpdatePackageManifestByID/UpdatePackageByID.go index 02386a9c5..d291253da 100644 --- a/examples/packages/UpdatePackageManifestByID/UpdatePackageByID.go +++ b/examples/packages/UpdatePackageManifestByID/UpdatePackageByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/UploadPackage/UploadPackage.go b/examples/packages/UploadPackage/UploadPackage.go index 169a33302..b58fbd7c8 100644 --- a/examples/packages/UploadPackage/UploadPackage.go +++ b/examples/packages/UploadPackage/UploadPackage.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management/AcceptPatchManagementDisclaimer/AcceptPatchManagementDisclaimer.go b/examples/patch_management/AcceptPatchManagementDisclaimer/AcceptPatchManagementDisclaimer.go index de213d784..449f1e453 100644 --- a/examples/patch_management/AcceptPatchManagementDisclaimer/AcceptPatchManagementDisclaimer.go +++ b/examples/patch_management/AcceptPatchManagementDisclaimer/AcceptPatchManagementDisclaimer.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/CreateExternalPatchSource/CreateExternalPatchSource.go b/examples/patch_management_external_sources/CreateExternalPatchSource/CreateExternalPatchSource.go index 1f1e23c53..33a5ec20f 100644 --- a/examples/patch_management_external_sources/CreateExternalPatchSource/CreateExternalPatchSource.go +++ b/examples/patch_management_external_sources/CreateExternalPatchSource/CreateExternalPatchSource.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/DeleteExternalPatchSourceByID/DeleteExternalPatchSourceByID.go b/examples/patch_management_external_sources/DeleteExternalPatchSourceByID/DeleteExternalPatchSourceByID.go index 29d982be6..ad73dcd6f 100644 --- a/examples/patch_management_external_sources/DeleteExternalPatchSourceByID/DeleteExternalPatchSourceByID.go +++ b/examples/patch_management_external_sources/DeleteExternalPatchSourceByID/DeleteExternalPatchSourceByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/GetPatchExternalSourceByID/GetPatchExternalSourceByID.go b/examples/patch_management_external_sources/GetPatchExternalSourceByID/GetPatchExternalSourceByID.go index 2e3f79c4d..603f2a6bc 100644 --- a/examples/patch_management_external_sources/GetPatchExternalSourceByID/GetPatchExternalSourceByID.go +++ b/examples/patch_management_external_sources/GetPatchExternalSourceByID/GetPatchExternalSourceByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/GetPatchExternalSourceByName/GetPatchExternalSourceByName.go b/examples/patch_management_external_sources/GetPatchExternalSourceByName/GetPatchExternalSourceByName.go index 9dc9ab862..a140d21cb 100644 --- a/examples/patch_management_external_sources/GetPatchExternalSourceByName/GetPatchExternalSourceByName.go +++ b/examples/patch_management_external_sources/GetPatchExternalSourceByName/GetPatchExternalSourceByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/GetPatchExternalSources/GetPatchExternalSources.go b/examples/patch_management_external_sources/GetPatchExternalSources/GetPatchExternalSources.go index fd1f68918..58f489bd3 100644 --- a/examples/patch_management_external_sources/GetPatchExternalSources/GetPatchExternalSources.go +++ b/examples/patch_management_external_sources/GetPatchExternalSources/GetPatchExternalSources.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/UpdateExternalPatchSourceByID/UpdateExternalPatchSourceByID.go b/examples/patch_management_external_sources/UpdateExternalPatchSourceByID/UpdateExternalPatchSourceByID.go index 9ac4f49ff..be84084ad 100644 --- a/examples/patch_management_external_sources/UpdateExternalPatchSourceByID/UpdateExternalPatchSourceByID.go +++ b/examples/patch_management_external_sources/UpdateExternalPatchSourceByID/UpdateExternalPatchSourceByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go b/examples/patch_policies/AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go index b22654ee5..ccbc7db2f 100644 --- a/examples/patch_policies/AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go +++ b/examples/patch_policies/AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go b/examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go index 307c384dc..d265bb02f 100644 --- a/examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go +++ b/examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/DeletePatchPolicyByID/DeletePatchPolicyByID.go b/examples/patch_policies/DeletePatchPolicyByID/DeletePatchPolicyByID.go index 9267bc596..3d724f6b2 100644 --- a/examples/patch_policies/DeletePatchPolicyByID/DeletePatchPolicyByID.go +++ b/examples/patch_policies/DeletePatchPolicyByID/DeletePatchPolicyByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/DeletePatchPolicyFromDashboard/DeletePatchPolicyFromDashboard.go b/examples/patch_policies/DeletePatchPolicyFromDashboard/DeletePatchPolicyFromDashboard.go index bc937fe6f..f32fd294f 100644 --- a/examples/patch_policies/DeletePatchPolicyFromDashboard/DeletePatchPolicyFromDashboard.go +++ b/examples/patch_policies/DeletePatchPolicyFromDashboard/DeletePatchPolicyFromDashboard.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go b/examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go index fd3932bdf..0d931ec98 100644 --- a/examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go +++ b/examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go b/examples/patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go index c16d93fce..844a241e5 100644 --- a/examples/patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go +++ b/examples/patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go b/examples/patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go index 5bc436d22..b000db352 100644 --- a/examples/patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go +++ b/examples/patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/GetPatchPolicyDashboardStatus/GetPatchPolicyDashboardStatus.go b/examples/patch_policies/GetPatchPolicyDashboardStatus/GetPatchPolicyDashboardStatus.go index 506d33648..a31f8f14a 100644 --- a/examples/patch_policies/GetPatchPolicyDashboardStatus/GetPatchPolicyDashboardStatus.go +++ b/examples/patch_policies/GetPatchPolicyDashboardStatus/GetPatchPolicyDashboardStatus.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/UpdatePatchPolicyByID/UpdatePatchPolicyByID.go b/examples/patch_policies/UpdatePatchPolicyByID/UpdatePatchPolicyByID.go index b89562686..14ba3020a 100644 --- a/examples/patch_policies/UpdatePatchPolicyByID/UpdatePatchPolicyByID.go +++ b/examples/patch_policies/UpdatePatchPolicyByID/UpdatePatchPolicyByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go b/examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go index 2dbd4ceda..da3bb8dd6 100644 --- a/examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go +++ b/examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationById/GetPatchSoftwareTitleConfigurationById.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationById/GetPatchSoftwareTitleConfigurationById.go index b49fa01ea..9621da4c2 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationById/GetPatchSoftwareTitleConfigurationById.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationById/GetPatchSoftwareTitleConfigurationById.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationByName/GetPatchSoftwareTitleConfigurationByName.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationByName/GetPatchSoftwareTitleConfigurationByName.go index a8610b015..4cd5a654a 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationByName/GetPatchSoftwareTitleConfigurationByName.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationByName/GetPatchSoftwareTitleConfigurationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleDefinitions/GetPatchSoftwareTitleDefinitions.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleDefinitions/GetPatchSoftwareTitleDefinitions.go index 8fe05f78a..a7b1133f2 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleDefinitions/GetPatchSoftwareTitleDefinitions.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleDefinitions/GetPatchSoftwareTitleDefinitions.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleDependencies/GetPatchSoftwareTitleDependencies.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleDependencies/GetPatchSoftwareTitleDependencies.go index 69cb0543e..0c9ac8d1d 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleDependencies/GetPatchSoftwareTitleDependencies.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleDependencies/GetPatchSoftwareTitleDependencies.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleExtensionAttributes/GetPatchSoftwareTitleExtensionAttributes.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleExtensionAttributes/GetPatchSoftwareTitleExtensionAttributes.go index c85998449..85251a92d 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleExtensionAttributes/GetPatchSoftwareTitleExtensionAttributes.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleExtensionAttributes/GetPatchSoftwareTitleExtensionAttributes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetSoftwareTitleConfigurations/GetSoftwareTitleConfigurations.go b/examples/patch_software_title_configurations/GetSoftwareTitleConfigurations/GetSoftwareTitleConfigurations.go index 3b6f4268c..5d97a127f 100644 --- a/examples/patch_software_title_configurations/GetSoftwareTitleConfigurations/GetSoftwareTitleConfigurations.go +++ b/examples/patch_software_title_configurations/GetSoftwareTitleConfigurations/GetSoftwareTitleConfigurations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/UpdatePatchSoftwareTitleConfigurationById/UpdatePatchSoftwareTitleConfigurationById.go b/examples/patch_software_title_configurations/UpdatePatchSoftwareTitleConfigurationById/UpdatePatchSoftwareTitleConfigurationById.go index b757f1661..6ac2268a6 100644 --- a/examples/patch_software_title_configurations/UpdatePatchSoftwareTitleConfigurationById/UpdatePatchSoftwareTitleConfigurationById.go +++ b/examples/patch_software_title_configurations/UpdatePatchSoftwareTitleConfigurationById/UpdatePatchSoftwareTitleConfigurationById.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go b/examples/policies/CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go index bf42f3c44..5a60c9bb6 100644 --- a/examples/policies/CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go +++ b/examples/policies/CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDirectoryBindingPolicy/CreateDirectoryBindingPolicy.go b/examples/policies/CreateDirectoryBindingPolicy/CreateDirectoryBindingPolicy.go index 796fd0b0f..c1d408ff4 100644 --- a/examples/policies/CreateDirectoryBindingPolicy/CreateDirectoryBindingPolicy.go +++ b/examples/policies/CreateDirectoryBindingPolicy/CreateDirectoryBindingPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDisableUserForFilevault2Policy/CreateDisableUserForFilevault2Policy.go b/examples/policies/CreateDisableUserForFilevault2Policy/CreateDisableUserForFilevault2Policy.go index 95ffb655d..7752971ce 100644 --- a/examples/policies/CreateDisableUserForFilevault2Policy/CreateDisableUserForFilevault2Policy.go +++ b/examples/policies/CreateDisableUserForFilevault2Policy/CreateDisableUserForFilevault2Policy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDiskEncryptionWithIndividualKeyPolicy/CreateDiskEncryptionWithIndividualKeyPolicy.go b/examples/policies/CreateDiskEncryptionWithIndividualKeyPolicy/CreateDiskEncryptionWithIndividualKeyPolicy.go index 585f7edad..b181357e6 100644 --- a/examples/policies/CreateDiskEncryptionWithIndividualKeyPolicy/CreateDiskEncryptionWithIndividualKeyPolicy.go +++ b/examples/policies/CreateDiskEncryptionWithIndividualKeyPolicy/CreateDiskEncryptionWithIndividualKeyPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDiskEncryptionWithInstitutionalKeyPolicy/CreateDiskEncryptionWithInstitutionalKeyPolicy.go b/examples/policies/CreateDiskEncryptionWithInstitutionalKeyPolicy/CreateDiskEncryptionWithInstitutionalKeyPolicy.go index d911c034e..a07b6ca76 100644 --- a/examples/policies/CreateDiskEncryptionWithInstitutionalKeyPolicy/CreateDiskEncryptionWithInstitutionalKeyPolicy.go +++ b/examples/policies/CreateDiskEncryptionWithInstitutionalKeyPolicy/CreateDiskEncryptionWithInstitutionalKeyPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go b/examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go index b3b8f0e95..5b6c22ce0 100644 --- a/examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go +++ b/examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateEFIPasswordRemovePolicy/CreateEFIPasswordRemovePolicy.go b/examples/policies/CreateEFIPasswordRemovePolicy/CreateEFIPasswordRemovePolicy.go index a8aa12837..1d1173683 100644 --- a/examples/policies/CreateEFIPasswordRemovePolicy/CreateEFIPasswordRemovePolicy.go +++ b/examples/policies/CreateEFIPasswordRemovePolicy/CreateEFIPasswordRemovePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go b/examples/policies/CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go index e12eee3e1..937d20dfd 100644 --- a/examples/policies/CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go +++ b/examples/policies/CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateFileAndProcessesPolicy/CreateFileAndProcessesPolicy.go b/examples/policies/CreateFileAndProcessesPolicy/CreateFileAndProcessesPolicy.go index 3222243ff..0c38be2f0 100644 --- a/examples/policies/CreateFileAndProcessesPolicy/CreateFileAndProcessesPolicy.go +++ b/examples/policies/CreateFileAndProcessesPolicy/CreateFileAndProcessesPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go b/examples/policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go index 485ed66ee..69de63e89 100644 --- a/examples/policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go +++ b/examples/policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateManagementAccountPolicy/CreateManagementAccountPolicy.go b/examples/policies/CreateManagementAccountPolicy/CreateManagementAccountPolicy.go index bdfc2c45c..637b80d24 100644 --- a/examples/policies/CreateManagementAccountPolicy/CreateManagementAccountPolicy.go +++ b/examples/policies/CreateManagementAccountPolicy/CreateManagementAccountPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go b/examples/policies/CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go index 3d7d20837..1e67b382d 100644 --- a/examples/policies/CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go +++ b/examples/policies/CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreatePackagePolicy/CreatePackagePolicy.go b/examples/policies/CreatePackagePolicy/CreatePackagePolicy.go index 944ec86af..02ee0c78e 100644 --- a/examples/policies/CreatePackagePolicy/CreatePackagePolicy.go +++ b/examples/policies/CreatePackagePolicy/CreatePackagePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go b/examples/policies/CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go index f39e05dc7..54b743ccd 100644 --- a/examples/policies/CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go +++ b/examples/policies/CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go b/examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go index a8c066b56..38df4a19e 100644 --- a/examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go +++ b/examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateResetAccountPasswordPolicy/CreateResetAccountPasswordPolicy.go b/examples/policies/CreateResetAccountPasswordPolicy/CreateResetAccountPasswordPolicy.go index 88d5169b5..c059a538d 100644 --- a/examples/policies/CreateResetAccountPasswordPolicy/CreateResetAccountPasswordPolicy.go +++ b/examples/policies/CreateResetAccountPasswordPolicy/CreateResetAccountPasswordPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go b/examples/policies/CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go index 298de5301..059927536 100644 --- a/examples/policies/CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go +++ b/examples/policies/CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateScriptPolicy/CreateScriptPolicy.go b/examples/policies/CreateScriptPolicy/CreateScriptPolicy.go index 5bf2764f1..ffb3a104c 100644 --- a/examples/policies/CreateScriptPolicy/CreateScriptPolicy.go +++ b/examples/policies/CreateScriptPolicy/CreateScriptPolicy.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go b/examples/policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go index 6826b77b4..98125536e 100644 --- a/examples/policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go +++ b/examples/policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go b/examples/policies/CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go index 03d859ab1..36f0e8155 100644 --- a/examples/policies/CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go +++ b/examples/policies/CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateUserInterationPolicy/CreateUserInterationPolicy.go b/examples/policies/CreateUserInterationPolicy/CreateUserInterationPolicy.go index 516e35d7c..04a07210a 100644 --- a/examples/policies/CreateUserInterationPolicy/CreateUserInterationPolicy.go +++ b/examples/policies/CreateUserInterationPolicy/CreateUserInterationPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/DeletePolicyByID/DeletePolicyByID.go b/examples/policies/DeletePolicyByID/DeletePolicyByID.go index 31253db14..613a76d85 100644 --- a/examples/policies/DeletePolicyByID/DeletePolicyByID.go +++ b/examples/policies/DeletePolicyByID/DeletePolicyByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/DeletePolicyByName/DeletePolicyByName.go b/examples/policies/DeletePolicyByName/DeletePolicyByName.go index cad998627..e527a5b0b 100644 --- a/examples/policies/DeletePolicyByName/DeletePolicyByName.go +++ b/examples/policies/DeletePolicyByName/DeletePolicyByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPolicies/GetPolicies.go b/examples/policies/GetPolicies/GetPolicies.go index 7cf1c2931..681f797b6 100644 --- a/examples/policies/GetPolicies/GetPolicies.go +++ b/examples/policies/GetPolicies/GetPolicies.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPoliciesByType/GetPoliciesByType.go b/examples/policies/GetPoliciesByType/GetPoliciesByType.go index f9ada30b2..fb564d9ec 100644 --- a/examples/policies/GetPoliciesByType/GetPoliciesByType.go +++ b/examples/policies/GetPoliciesByType/GetPoliciesByType.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPolicyByCategory/GetPolicyByCategory.go b/examples/policies/GetPolicyByCategory/GetPolicyByCategory.go index 52600960d..075e5ec6c 100644 --- a/examples/policies/GetPolicyByCategory/GetPolicyByCategory.go +++ b/examples/policies/GetPolicyByCategory/GetPolicyByCategory.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPolicyByID/GetPolicyByID.go b/examples/policies/GetPolicyByID/GetPolicyByID.go index fa7bde171..bf1b93010 100644 --- a/examples/policies/GetPolicyByID/GetPolicyByID.go +++ b/examples/policies/GetPolicyByID/GetPolicyByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPolicyByName/GetPolicyByName.go b/examples/policies/GetPolicyByName/GetPolicyByName.go index 5290eeafe..8a42fc357 100644 --- a/examples/policies/GetPolicyByName/GetPolicyByName.go +++ b/examples/policies/GetPolicyByName/GetPolicyByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/UpdatePolicyByID/UpdatePolicyByID.go b/examples/policies/UpdatePolicyByID/UpdatePolicyByID.go index 9fbf1c713..0b17e82b4 100644 --- a/examples/policies/UpdatePolicyByID/UpdatePolicyByID.go +++ b/examples/policies/UpdatePolicyByID/UpdatePolicyByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/UpdatePolicyByName/UpdatePolicyByName.go b/examples/policies/UpdatePolicyByName/UpdatePolicyByName.go index 78fe1af7f..143b658e9 100644 --- a/examples/policies/UpdatePolicyByName/UpdatePolicyByName.go +++ b/examples/policies/UpdatePolicyByName/UpdatePolicyByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policy_properties/GetPolicyProperties/GetPolicyProperties.go b/examples/policy_properties/GetPolicyProperties/GetPolicyProperties.go index 85d3f4c67..d012f22fc 100644 --- a/examples/policy_properties/GetPolicyProperties/GetPolicyProperties.go +++ b/examples/policy_properties/GetPolicyProperties/GetPolicyProperties.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policy_properties/UpdatePolicyProperties/UpdatePolicyProperties.go b/examples/policy_properties/UpdatePolicyProperties/UpdatePolicyProperties.go index e8922bf29..de6722eec 100644 --- a/examples/policy_properties/UpdatePolicyProperties/UpdatePolicyProperties.go +++ b/examples/policy_properties/UpdatePolicyProperties/UpdatePolicyProperties.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/CreatePrinters/CreatePrinters.go b/examples/printers/CreatePrinters/CreatePrinters.go index 3ccf1455f..5949afcdb 100644 --- a/examples/printers/CreatePrinters/CreatePrinters.go +++ b/examples/printers/CreatePrinters/CreatePrinters.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/DeleteAllPrinters/DeleteAllPrinters.go b/examples/printers/DeleteAllPrinters/DeleteAllPrinters.go index aab724065..5f316887e 100644 --- a/examples/printers/DeleteAllPrinters/DeleteAllPrinters.go +++ b/examples/printers/DeleteAllPrinters/DeleteAllPrinters.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/DeletePrinterByID/DeletePrinterByID.go b/examples/printers/DeletePrinterByID/DeletePrinterByID.go index d720ef1f0..3e05a670c 100644 --- a/examples/printers/DeletePrinterByID/DeletePrinterByID.go +++ b/examples/printers/DeletePrinterByID/DeletePrinterByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/DeletePrinterByName/DeletePrinterByName.go b/examples/printers/DeletePrinterByName/DeletePrinterByName.go index 64ad3c9a8..57117e71a 100644 --- a/examples/printers/DeletePrinterByName/DeletePrinterByName.go +++ b/examples/printers/DeletePrinterByName/DeletePrinterByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/GetPrinterByID/GetPrinterByID.go b/examples/printers/GetPrinterByID/GetPrinterByID.go index 3a0a3b8ed..88fc6b131 100644 --- a/examples/printers/GetPrinterByID/GetPrinterByID.go +++ b/examples/printers/GetPrinterByID/GetPrinterByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/GetPrinterByName/GetPrinterByName.go b/examples/printers/GetPrinterByName/GetPrinterByName.go index a9d55c881..8ce76f7d5 100644 --- a/examples/printers/GetPrinterByName/GetPrinterByName.go +++ b/examples/printers/GetPrinterByName/GetPrinterByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/GetPrinters/GetPrinters.go b/examples/printers/GetPrinters/GetPrinters.go index 20d837f2b..8c1745d44 100644 --- a/examples/printers/GetPrinters/GetPrinters.go +++ b/examples/printers/GetPrinters/GetPrinters.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/UpdatePrinterByID/UpdatePrinterByID.go b/examples/printers/UpdatePrinterByID/UpdatePrinterByID.go index 7f5855879..9c52c0ea7 100644 --- a/examples/printers/UpdatePrinterByID/UpdatePrinterByID.go +++ b/examples/printers/UpdatePrinterByID/UpdatePrinterByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/UpdatePrinterByName/UpdatePrinterByName.go b/examples/printers/UpdatePrinterByName/UpdatePrinterByName.go index b09b7fb71..43f3aa9ba 100644 --- a/examples/printers/UpdatePrinterByName/UpdatePrinterByName.go +++ b/examples/printers/UpdatePrinterByName/UpdatePrinterByName.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/CreateRemovableMACAddress/CreateRemovableMACAddress.go b/examples/removeable_mac_addresses/CreateRemovableMACAddress/CreateRemovableMACAddress.go index 732814152..448f18296 100644 --- a/examples/removeable_mac_addresses/CreateRemovableMACAddress/CreateRemovableMACAddress.go +++ b/examples/removeable_mac_addresses/CreateRemovableMACAddress/CreateRemovableMACAddress.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/DeleteRemovableMACAddressByID/DeleteRemovableMACAddressByID.go b/examples/removeable_mac_addresses/DeleteRemovableMACAddressByID/DeleteRemovableMACAddressByID.go index 1688ca6d6..dbdfda310 100644 --- a/examples/removeable_mac_addresses/DeleteRemovableMACAddressByID/DeleteRemovableMACAddressByID.go +++ b/examples/removeable_mac_addresses/DeleteRemovableMACAddressByID/DeleteRemovableMACAddressByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/DeleteRemovableMACAddressByName/DeleteRemovableMACAddressByName.go b/examples/removeable_mac_addresses/DeleteRemovableMACAddressByName/DeleteRemovableMACAddressByName.go index 3900240fa..3fdcac401 100644 --- a/examples/removeable_mac_addresses/DeleteRemovableMACAddressByName/DeleteRemovableMACAddressByName.go +++ b/examples/removeable_mac_addresses/DeleteRemovableMACAddressByName/DeleteRemovableMACAddressByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/GetRemovableMACAddressByID/GetRemovableMACAddressByID.go b/examples/removeable_mac_addresses/GetRemovableMACAddressByID/GetRemovableMACAddressByID.go index 4f6f73417..c19bfc103 100644 --- a/examples/removeable_mac_addresses/GetRemovableMACAddressByID/GetRemovableMACAddressByID.go +++ b/examples/removeable_mac_addresses/GetRemovableMACAddressByID/GetRemovableMACAddressByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/GetRemovableMACAddressByName/GetRemovableMACAddressByName.go b/examples/removeable_mac_addresses/GetRemovableMACAddressByName/GetRemovableMACAddressByName.go index 6d5324332..c30c74e7d 100644 --- a/examples/removeable_mac_addresses/GetRemovableMACAddressByName/GetRemovableMACAddressByName.go +++ b/examples/removeable_mac_addresses/GetRemovableMACAddressByName/GetRemovableMACAddressByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/GetRemovableMACAddresses/GetRemovableMACAddresses.go b/examples/removeable_mac_addresses/GetRemovableMACAddresses/GetRemovableMACAddresses.go index 2c5ffb5bc..8d513eb47 100644 --- a/examples/removeable_mac_addresses/GetRemovableMACAddresses/GetRemovableMACAddresses.go +++ b/examples/removeable_mac_addresses/GetRemovableMACAddresses/GetRemovableMACAddresses.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/UpdateRemovableMACAddressByID/UpdateRemovableMACAddressByID.go b/examples/removeable_mac_addresses/UpdateRemovableMACAddressByID/UpdateRemovableMACAddressByID.go index 7b7a1edb2..d64db0916 100644 --- a/examples/removeable_mac_addresses/UpdateRemovableMACAddressByID/UpdateRemovableMACAddressByID.go +++ b/examples/removeable_mac_addresses/UpdateRemovableMACAddressByID/UpdateRemovableMACAddressByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/UpdateRemovableMACAddressByName/UpdateRemovableMACAddressByName.go b/examples/removeable_mac_addresses/UpdateRemovableMACAddressByName/UpdateRemovableMACAddressByName.go index db96cc008..1ec0972bb 100644 --- a/examples/removeable_mac_addresses/UpdateRemovableMACAddressByName/UpdateRemovableMACAddressByName.go +++ b/examples/removeable_mac_addresses/UpdateRemovableMACAddressByName/UpdateRemovableMACAddressByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/CreateRestrictedSoftware/CreateRestrictedSoftware.go b/examples/restricted_software/CreateRestrictedSoftware/CreateRestrictedSoftware.go index ef4ca94fd..9eb058c4b 100644 --- a/examples/restricted_software/CreateRestrictedSoftware/CreateRestrictedSoftware.go +++ b/examples/restricted_software/CreateRestrictedSoftware/CreateRestrictedSoftware.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/DeleteRestrictedSoftwareByID/DeleteRestrictedSoftwareByID.go b/examples/restricted_software/DeleteRestrictedSoftwareByID/DeleteRestrictedSoftwareByID.go index 9b70767c6..82b759746 100644 --- a/examples/restricted_software/DeleteRestrictedSoftwareByID/DeleteRestrictedSoftwareByID.go +++ b/examples/restricted_software/DeleteRestrictedSoftwareByID/DeleteRestrictedSoftwareByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/DeleteRestrictedSoftwareByName/DeleteRestrictedSoftwareByName.go b/examples/restricted_software/DeleteRestrictedSoftwareByName/DeleteRestrictedSoftwareByName.go index bf61df830..9a5505d34 100644 --- a/examples/restricted_software/DeleteRestrictedSoftwareByName/DeleteRestrictedSoftwareByName.go +++ b/examples/restricted_software/DeleteRestrictedSoftwareByName/DeleteRestrictedSoftwareByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go b/examples/restricted_software/GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go index 5f8dc3330..10ee189ad 100644 --- a/examples/restricted_software/GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go +++ b/examples/restricted_software/GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go b/examples/restricted_software/GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go index ac8a9620e..fb2e3e640 100644 --- a/examples/restricted_software/GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go +++ b/examples/restricted_software/GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/GetRestrictedSoftwares/GetRestrictedSoftwares.go b/examples/restricted_software/GetRestrictedSoftwares/GetRestrictedSoftwares.go index 7a391e2dc..3d32bc22d 100644 --- a/examples/restricted_software/GetRestrictedSoftwares/GetRestrictedSoftwares.go +++ b/examples/restricted_software/GetRestrictedSoftwares/GetRestrictedSoftwares.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/UpdateRestrictedSoftwareByID/UpdateRestrictedSoftwareByID.go b/examples/restricted_software/UpdateRestrictedSoftwareByID/UpdateRestrictedSoftwareByID.go index 995ebeb51..1e97ed101 100644 --- a/examples/restricted_software/UpdateRestrictedSoftwareByID/UpdateRestrictedSoftwareByID.go +++ b/examples/restricted_software/UpdateRestrictedSoftwareByID/UpdateRestrictedSoftwareByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/UpdateRestrictedSoftwareByName/UpdateRestrictedSoftwareByName.go b/examples/restricted_software/UpdateRestrictedSoftwareByName/UpdateRestrictedSoftwareByName.go index 92518febd..7e6601a41 100644 --- a/examples/restricted_software/UpdateRestrictedSoftwareByName/UpdateRestrictedSoftwareByName.go +++ b/examples/restricted_software/UpdateRestrictedSoftwareByName/UpdateRestrictedSoftwareByName.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/return_to_service/CreateReturnToServiceConfiguration/CreateReturnToServiceConfiguration.go b/examples/return_to_service/CreateReturnToServiceConfiguration/CreateReturnToServiceConfiguration.go index a7e613300..5da907a88 100644 --- a/examples/return_to_service/CreateReturnToServiceConfiguration/CreateReturnToServiceConfiguration.go +++ b/examples/return_to_service/CreateReturnToServiceConfiguration/CreateReturnToServiceConfiguration.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/return_to_service/GetReturnToServiceConfigurations/GetReturnToServiceConfigurations.go b/examples/return_to_service/GetReturnToServiceConfigurations/GetReturnToServiceConfigurations.go index fdb3b19a2..6a2a5aac5 100644 --- a/examples/return_to_service/GetReturnToServiceConfigurations/GetReturnToServiceConfigurations.go +++ b/examples/return_to_service/GetReturnToServiceConfigurations/GetReturnToServiceConfigurations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/CreateScript/CreateScript.go b/examples/scripts/CreateScript/CreateScript.go index 9db281f3d..b87687173 100644 --- a/examples/scripts/CreateScript/CreateScript.go +++ b/examples/scripts/CreateScript/CreateScript.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/CreateScriptWithFileUpload/CreateScriptWithFileUpload.go b/examples/scripts/CreateScriptWithFileUpload/CreateScriptWithFileUpload.go index c4c87b0c3..5fd3a6659 100644 --- a/examples/scripts/CreateScriptWithFileUpload/CreateScriptWithFileUpload.go +++ b/examples/scripts/CreateScriptWithFileUpload/CreateScriptWithFileUpload.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/DeleteAllScripts/DeleteAllScripts.go b/examples/scripts/DeleteAllScripts/DeleteAllScripts.go index 39089ff64..b5dad1dca 100644 --- a/examples/scripts/DeleteAllScripts/DeleteAllScripts.go +++ b/examples/scripts/DeleteAllScripts/DeleteAllScripts.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/DeleteScriptByID/DeleteScriptByID.go b/examples/scripts/DeleteScriptByID/DeleteScriptByID.go index e8cdc9729..1d3143a33 100644 --- a/examples/scripts/DeleteScriptByID/DeleteScriptByID.go +++ b/examples/scripts/DeleteScriptByID/DeleteScriptByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/DeleteScriptByName/DeleteScriptByName.go b/examples/scripts/DeleteScriptByName/DeleteScriptByName.go index 9de401d7a..da29ec868 100644 --- a/examples/scripts/DeleteScriptByName/DeleteScriptByName.go +++ b/examples/scripts/DeleteScriptByName/DeleteScriptByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/GetScripts/GetScripts.go b/examples/scripts/GetScripts/GetScripts.go index 4720ee712..28f8f98fd 100644 --- a/examples/scripts/GetScripts/GetScripts.go +++ b/examples/scripts/GetScripts/GetScripts.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/GetScriptsByID/GetScriptsByID.go b/examples/scripts/GetScriptsByID/GetScriptsByID.go index 197fd8a47..c54c09b74 100644 --- a/examples/scripts/GetScriptsByID/GetScriptsByID.go +++ b/examples/scripts/GetScriptsByID/GetScriptsByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/GetScriptsByName/GetScriptsByName.go b/examples/scripts/GetScriptsByName/GetScriptsByName.go index 20748a5c3..940e3ef87 100644 --- a/examples/scripts/GetScriptsByName/GetScriptsByName.go +++ b/examples/scripts/GetScriptsByName/GetScriptsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/UpdateScriptByID/UpdateScriptByID.go b/examples/scripts/UpdateScriptByID/UpdateScriptByID.go index 7e328a50d..5776c5f4c 100644 --- a/examples/scripts/UpdateScriptByID/UpdateScriptByID.go +++ b/examples/scripts/UpdateScriptByID/UpdateScriptByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go b/examples/scripts/UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go index bb241f06c..379a90427 100644 --- a/examples/scripts/UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go +++ b/examples/scripts/UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go @@ -12,7 +12,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/UpdateScriptByName/UpdateScriptByName.go b/examples/scripts/UpdateScriptByName/UpdateScriptByName.go index 1b8987a5e..5297b4d9a 100644 --- a/examples/scripts/UpdateScriptByName/UpdateScriptByName.go +++ b/examples/scripts/UpdateScriptByName/UpdateScriptByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/UpdateScriptByNameWithFileUpload/UpdateScriptByNameWithFileUpload.go b/examples/scripts/UpdateScriptByNameWithFileUpload/UpdateScriptByNameWithFileUpload.go index 950158226..5c425687f 100644 --- a/examples/scripts/UpdateScriptByNameWithFileUpload/UpdateScriptByNameWithFileUpload.go +++ b/examples/scripts/UpdateScriptByNameWithFileUpload/UpdateScriptByNameWithFileUpload.go @@ -12,7 +12,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service/UploadSelfServiceBrandingImage/UploadSelfServiceBrandingImage.go b/examples/self_service/UploadSelfServiceBrandingImage/UploadSelfServiceBrandingImage.go index 073f03df1..2fba9d56c 100644 --- a/examples/self_service/UploadSelfServiceBrandingImage/UploadSelfServiceBrandingImage.go +++ b/examples/self_service/UploadSelfServiceBrandingImage/UploadSelfServiceBrandingImage.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/self_service_branding_macos/CreateSelfServiceBrandingMacOS/CreateSelfServiceBrandingMacOS.go b/examples/self_service_branding_macos/CreateSelfServiceBrandingMacOS/CreateSelfServiceBrandingMacOS.go index 0d40efdff..a0f6f3bcf 100644 --- a/examples/self_service_branding_macos/CreateSelfServiceBrandingMacOS/CreateSelfServiceBrandingMacOS.go +++ b/examples/self_service_branding_macos/CreateSelfServiceBrandingMacOS/CreateSelfServiceBrandingMacOS.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByID/DeleteSelfServiceBrandingMacOSByID.go b/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByID/DeleteSelfServiceBrandingMacOSByID.go index 9ea520b39..a69056e60 100644 --- a/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByID/DeleteSelfServiceBrandingMacOSByID.go +++ b/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByID/DeleteSelfServiceBrandingMacOSByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByName/DeleteSelfServiceBrandingMacOSByName.go b/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByName/DeleteSelfServiceBrandingMacOSByName.go index 4555e1e97..a540a4595 100644 --- a/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByName/DeleteSelfServiceBrandingMacOSByName.go +++ b/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByName/DeleteSelfServiceBrandingMacOSByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go b/examples/self_service_branding_macos/GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go index 84ecfd7b6..4eb744b02 100644 --- a/examples/self_service_branding_macos/GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go +++ b/examples/self_service_branding_macos/GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go @@ -12,7 +12,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/GetSelfServiceBrandingMacOSByID/GetSelfServiceBrandingMacOSByID.go b/examples/self_service_branding_macos/GetSelfServiceBrandingMacOSByID/GetSelfServiceBrandingMacOSByID.go index 997960323..e014c96f9 100644 --- a/examples/self_service_branding_macos/GetSelfServiceBrandingMacOSByID/GetSelfServiceBrandingMacOSByID.go +++ b/examples/self_service_branding_macos/GetSelfServiceBrandingMacOSByID/GetSelfServiceBrandingMacOSByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByID/UpdateSelfServiceBrandingMacOSByID.go b/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByID/UpdateSelfServiceBrandingMacOSByID.go index 6823089e9..e0ea87120 100644 --- a/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByID/UpdateSelfServiceBrandingMacOSByID.go +++ b/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByID/UpdateSelfServiceBrandingMacOSByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByName/UpdateSelfServiceBrandingMacOSByName.go b/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByName/UpdateSelfServiceBrandingMacOSByName.go index b7ff7ef18..c0af0bc68 100644 --- a/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByName/UpdateSelfServiceBrandingMacOSByName.go +++ b/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByName/UpdateSelfServiceBrandingMacOSByName.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_settings/GetSelfServiceSettings/GetSelfServiceSettings.go b/examples/self_service_settings/GetSelfServiceSettings/GetSelfServiceSettings.go index c352d7676..3b6990ceb 100644 --- a/examples/self_service_settings/GetSelfServiceSettings/GetSelfServiceSettings.go +++ b/examples/self_service_settings/GetSelfServiceSettings/GetSelfServiceSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_settings/UpdateSelfServiceSettings/UpdateSelfServiceSettings.go b/examples/self_service_settings/UpdateSelfServiceSettings/UpdateSelfServiceSettings.go index e6343c3c7..e39e9da0b 100644 --- a/examples/self_service_settings/UpdateSelfServiceSettings/UpdateSelfServiceSettings.go +++ b/examples/self_service_settings/UpdateSelfServiceSettings/UpdateSelfServiceSettings.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/CreateSite/CreateSite.go b/examples/sites/CreateSite/CreateSite.go index cad1cf88d..10a100b8f 100644 --- a/examples/sites/CreateSite/CreateSite.go +++ b/examples/sites/CreateSite/CreateSite.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/DeleteAllSites/DeleteAllSites.go b/examples/sites/DeleteAllSites/DeleteAllSites.go index 75827a2ff..3243c593d 100644 --- a/examples/sites/DeleteAllSites/DeleteAllSites.go +++ b/examples/sites/DeleteAllSites/DeleteAllSites.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/DeleteSiteByID/DeleteSiteByID.go b/examples/sites/DeleteSiteByID/DeleteSiteByID.go index c49e78425..e02dfffca 100644 --- a/examples/sites/DeleteSiteByID/DeleteSiteByID.go +++ b/examples/sites/DeleteSiteByID/DeleteSiteByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/DeleteSiteByName/DeleteSiteByName.go b/examples/sites/DeleteSiteByName/DeleteSiteByName.go index 5d74fc697..907a55291 100644 --- a/examples/sites/DeleteSiteByName/DeleteSiteByName.go +++ b/examples/sites/DeleteSiteByName/DeleteSiteByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/GetSiteByID/GetSiteByID.go b/examples/sites/GetSiteByID/GetSiteByID.go index 49e5297f1..8a0699372 100644 --- a/examples/sites/GetSiteByID/GetSiteByID.go +++ b/examples/sites/GetSiteByID/GetSiteByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/GetSiteByName/GetSiteByName.go b/examples/sites/GetSiteByName/GetSiteByName.go index bb8aa3834..b08be74fe 100644 --- a/examples/sites/GetSiteByName/GetSiteByName.go +++ b/examples/sites/GetSiteByName/GetSiteByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/GetSites/GetSites.go b/examples/sites/GetSites/GetSites.go index dcfc8d800..a2d83f6af 100644 --- a/examples/sites/GetSites/GetSites.go +++ b/examples/sites/GetSites/GetSites.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/UpdateSiteByID/UpdateSiteByID.go b/examples/sites/UpdateSiteByID/UpdateSiteByID.go index ebed7796d..c7384b27a 100644 --- a/examples/sites/UpdateSiteByID/UpdateSiteByID.go +++ b/examples/sites/UpdateSiteByID/UpdateSiteByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/UpdateSiteByName/UpdateSiteByName.go b/examples/sites/UpdateSiteByName/UpdateSiteByName.go index bd144b2c1..05c2a76c7 100644 --- a/examples/sites/UpdateSiteByName/UpdateSiteByName.go +++ b/examples/sites/UpdateSiteByName/UpdateSiteByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go b/examples/smart_computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go index dda925a12..2c0723c2b 100644 --- a/examples/smart_computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go +++ b/examples/smart_computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/DeleteComputerGroupByID/DeleteComputerGroupByID.go b/examples/smart_computer_groups/DeleteComputerGroupByID/DeleteComputerGroupByID.go index e14210a61..985beed19 100644 --- a/examples/smart_computer_groups/DeleteComputerGroupByID/DeleteComputerGroupByID.go +++ b/examples/smart_computer_groups/DeleteComputerGroupByID/DeleteComputerGroupByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetComputerGroupByID/GetComputerGroupByID.go b/examples/smart_computer_groups/GetComputerGroupByID/GetComputerGroupByID.go index 686946e55..bcde0e19d 100644 --- a/examples/smart_computer_groups/GetComputerGroupByID/GetComputerGroupByID.go +++ b/examples/smart_computer_groups/GetComputerGroupByID/GetComputerGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetSmartComputerGroupByName/GetSmartComputerGroupByName.go b/examples/smart_computer_groups/GetSmartComputerGroupByName/GetSmartComputerGroupByName.go index 99f34e8f7..a59ff4b91 100644 --- a/examples/smart_computer_groups/GetSmartComputerGroupByName/GetSmartComputerGroupByName.go +++ b/examples/smart_computer_groups/GetSmartComputerGroupByName/GetSmartComputerGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetSmartComputerGroupMembershipByID/GetSmartComputerGroupMembershipByID.go b/examples/smart_computer_groups/GetSmartComputerGroupMembershipByID/GetSmartComputerGroupMembershipByID.go index 4954a8f09..c9303f4a1 100644 --- a/examples/smart_computer_groups/GetSmartComputerGroupMembershipByID/GetSmartComputerGroupMembershipByID.go +++ b/examples/smart_computer_groups/GetSmartComputerGroupMembershipByID/GetSmartComputerGroupMembershipByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetSmartComputerGroups/GetSmartComputerGroups.go b/examples/smart_computer_groups/GetSmartComputerGroups/GetSmartComputerGroups.go index c6cf2570b..65026ff1d 100644 --- a/examples/smart_computer_groups/GetSmartComputerGroups/GetSmartComputerGroups.go +++ b/examples/smart_computer_groups/GetSmartComputerGroups/GetSmartComputerGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go b/examples/smart_computer_groups/GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go index 3cfeac333..a438cad3e 100644 --- a/examples/smart_computer_groups/GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go +++ b/examples/smart_computer_groups/GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/UpdateSmartComputerGroupByID/UpdateSmartComputerGroupByID.go b/examples/smart_computer_groups/UpdateSmartComputerGroupByID/UpdateSmartComputerGroupByID.go index 7344e5233..2a22413e3 100644 --- a/examples/smart_computer_groups/UpdateSmartComputerGroupByID/UpdateSmartComputerGroupByID.go +++ b/examples/smart_computer_groups/UpdateSmartComputerGroupByID/UpdateSmartComputerGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smtp_server/GetSMTPServerInformation/GetSMTPServerInformation.go b/examples/smtp_server/GetSMTPServerInformation/GetSMTPServerInformation.go index 58d95d27c..87543eb61 100644 --- a/examples/smtp_server/GetSMTPServerInformation/GetSMTPServerInformation.go +++ b/examples/smtp_server/GetSMTPServerInformation/GetSMTPServerInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smtp_server/UpdateSMTPServerInformationBasicAuth/UpdateSMTPServerInformationBasicAuth.go b/examples/smtp_server/UpdateSMTPServerInformationBasicAuth/UpdateSMTPServerInformationBasicAuth.go index fda3a9178..e9237004c 100644 --- a/examples/smtp_server/UpdateSMTPServerInformationBasicAuth/UpdateSMTPServerInformationBasicAuth.go +++ b/examples/smtp_server/UpdateSMTPServerInformationBasicAuth/UpdateSMTPServerInformationBasicAuth.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smtp_server/UpdateSMTPServerInformationGoogleAuth/UpdateSMTPServerInformationGoogleAuth.go b/examples/smtp_server/UpdateSMTPServerInformationGoogleAuth/UpdateSMTPServerInformationGoogleAuth.go index 496a49107..2fe2d434a 100644 --- a/examples/smtp_server/UpdateSMTPServerInformationGoogleAuth/UpdateSMTPServerInformationGoogleAuth.go +++ b/examples/smtp_server/UpdateSMTPServerInformationGoogleAuth/UpdateSMTPServerInformationGoogleAuth.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smtp_server/UpdateSMTPServerInformationGraphAPIAuth/UpdateSMTPServerInformationGraphAPIAuth.go b/examples/smtp_server/UpdateSMTPServerInformationGraphAPIAuth/UpdateSMTPServerInformationGraphAPIAuth.go index 228f47d18..a6b684559 100644 --- a/examples/smtp_server/UpdateSMTPServerInformationGraphAPIAuth/UpdateSMTPServerInformationGraphAPIAuth.go +++ b/examples/smtp_server/UpdateSMTPServerInformationGraphAPIAuth/UpdateSMTPServerInformationGraphAPIAuth.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go b/examples/software_update_servers/CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go index 3b3435af7..67b9bb892 100644 --- a/examples/software_update_servers/CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go +++ b/examples/software_update_servers/CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/DeleteSoftwareUpdateServerByID/DeleteSoftwareUpdateServerByID.go b/examples/software_update_servers/DeleteSoftwareUpdateServerByID/DeleteSoftwareUpdateServerByID.go index e19967e89..28bb8ad64 100644 --- a/examples/software_update_servers/DeleteSoftwareUpdateServerByID/DeleteSoftwareUpdateServerByID.go +++ b/examples/software_update_servers/DeleteSoftwareUpdateServerByID/DeleteSoftwareUpdateServerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/DeleteSoftwareUpdateServerByName/DeleteSoftwareUpdateServerByName.go b/examples/software_update_servers/DeleteSoftwareUpdateServerByName/DeleteSoftwareUpdateServerByName.go index f92549c9b..10a7ebfec 100644 --- a/examples/software_update_servers/DeleteSoftwareUpdateServerByName/DeleteSoftwareUpdateServerByName.go +++ b/examples/software_update_servers/DeleteSoftwareUpdateServerByName/DeleteSoftwareUpdateServerByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/GetSoftwareUpdateServers/GetSoftwareUpdateServers.go b/examples/software_update_servers/GetSoftwareUpdateServers/GetSoftwareUpdateServers.go index e6d9aef50..1543812bf 100644 --- a/examples/software_update_servers/GetSoftwareUpdateServers/GetSoftwareUpdateServers.go +++ b/examples/software_update_servers/GetSoftwareUpdateServers/GetSoftwareUpdateServers.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/GetSoftwareUpdateServersByID/GetSoftwareUpdateServersByID.go b/examples/software_update_servers/GetSoftwareUpdateServersByID/GetSoftwareUpdateServersByID.go index 3b62b8e86..99e8929d6 100644 --- a/examples/software_update_servers/GetSoftwareUpdateServersByID/GetSoftwareUpdateServersByID.go +++ b/examples/software_update_servers/GetSoftwareUpdateServersByID/GetSoftwareUpdateServersByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/GetSoftwareUpdateServersByName/GetSoftwareUpdateServersByName.go b/examples/software_update_servers/GetSoftwareUpdateServersByName/GetSoftwareUpdateServersByName.go index 1226eddd2..b6157f56c 100644 --- a/examples/software_update_servers/GetSoftwareUpdateServersByName/GetSoftwareUpdateServersByName.go +++ b/examples/software_update_servers/GetSoftwareUpdateServersByName/GetSoftwareUpdateServersByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/UpdateSoftwareUpdateServerByID/UpdateSoftwareUpdateServerByID.go b/examples/software_update_servers/UpdateSoftwareUpdateServerByID/UpdateSoftwareUpdateServerByID.go index 7dc01d821..3d589709a 100644 --- a/examples/software_update_servers/UpdateSoftwareUpdateServerByID/UpdateSoftwareUpdateServerByID.go +++ b/examples/software_update_servers/UpdateSoftwareUpdateServerByID/UpdateSoftwareUpdateServerByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/UpdateSoftwareUpdateServerByName/UpdateSoftwareUpdateServerByName.go b/examples/software_update_servers/UpdateSoftwareUpdateServerByName/UpdateSoftwareUpdateServerByName.go index 02c404a59..470845501 100644 --- a/examples/software_update_servers/UpdateSoftwareUpdateServerByName/UpdateSoftwareUpdateServerByName.go +++ b/examples/software_update_servers/UpdateSoftwareUpdateServerByName/UpdateSoftwareUpdateServerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go b/examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go index fa15ae058..b6cb79ee2 100644 --- a/examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go +++ b/examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go b/examples/sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go index aa2ab6329..1326adcf7 100644 --- a/examples/sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go +++ b/examples/sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/startup_status/GetStartupStatus/GetStartupStatus.go b/examples/startup_status/GetStartupStatus/GetStartupStatus.go index 9481d68b4..dc17e0a0d 100644 --- a/examples/startup_status/GetStartupStatus/GetStartupStatus.go +++ b/examples/startup_status/GetStartupStatus/GetStartupStatus.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/static_computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go b/examples/static_computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go index c857cb8da..79b5c5889 100644 --- a/examples/static_computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go +++ b/examples/static_computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/static_computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go b/examples/static_computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go index 65fdc889a..b95b2a409 100644 --- a/examples/static_computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go +++ b/examples/static_computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/static_computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go b/examples/static_computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go index 325a8af95..7cf992fbc 100644 --- a/examples/static_computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go +++ b/examples/static_computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/time_zones/GetTimeZones/GetTimeZones.go b/examples/time_zones/GetTimeZones/GetTimeZones.go index 86eb24e24..2eb7bff99 100644 --- a/examples/time_zones/GetTimeZones/GetTimeZones.go +++ b/examples/time_zones/GetTimeZones/GetTimeZones.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/CreateUserExtensionAttribute/CreateUserExtensionAttribute.go b/examples/user_extension_attributes/CreateUserExtensionAttribute/CreateUserExtensionAttribute.go index b71ba6049..21d38c5a4 100644 --- a/examples/user_extension_attributes/CreateUserExtensionAttribute/CreateUserExtensionAttribute.go +++ b/examples/user_extension_attributes/CreateUserExtensionAttribute/CreateUserExtensionAttribute.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/DeleteUserExtensionAttributeByID/DeleteUserExtensionAttributeByID.go b/examples/user_extension_attributes/DeleteUserExtensionAttributeByID/DeleteUserExtensionAttributeByID.go index faf11ec0d..ff0ee84f5 100644 --- a/examples/user_extension_attributes/DeleteUserExtensionAttributeByID/DeleteUserExtensionAttributeByID.go +++ b/examples/user_extension_attributes/DeleteUserExtensionAttributeByID/DeleteUserExtensionAttributeByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/DeleteUserExtensionAttributeByName/DeleteUserExtensionAttributeByName.go b/examples/user_extension_attributes/DeleteUserExtensionAttributeByName/DeleteUserExtensionAttributeByName.go index c3f784780..a7f158b3b 100644 --- a/examples/user_extension_attributes/DeleteUserExtensionAttributeByName/DeleteUserExtensionAttributeByName.go +++ b/examples/user_extension_attributes/DeleteUserExtensionAttributeByName/DeleteUserExtensionAttributeByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/GetUserExtensionAttributeByID/GetUserExtensionAttributeByID.go b/examples/user_extension_attributes/GetUserExtensionAttributeByID/GetUserExtensionAttributeByID.go index 64b42f7a3..c7b1a5a3f 100644 --- a/examples/user_extension_attributes/GetUserExtensionAttributeByID/GetUserExtensionAttributeByID.go +++ b/examples/user_extension_attributes/GetUserExtensionAttributeByID/GetUserExtensionAttributeByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/GetUserExtensionAttributeByName/GetUserExtensionAttributeByName.go b/examples/user_extension_attributes/GetUserExtensionAttributeByName/GetUserExtensionAttributeByName.go index 062992224..df338292c 100644 --- a/examples/user_extension_attributes/GetUserExtensionAttributeByName/GetUserExtensionAttributeByName.go +++ b/examples/user_extension_attributes/GetUserExtensionAttributeByName/GetUserExtensionAttributeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/GetUserExtensionAttributes/GetUserExtensionAttributes.go b/examples/user_extension_attributes/GetUserExtensionAttributes/GetUserExtensionAttributes.go index 1e1395194..a0c1bc095 100644 --- a/examples/user_extension_attributes/GetUserExtensionAttributes/GetUserExtensionAttributes.go +++ b/examples/user_extension_attributes/GetUserExtensionAttributes/GetUserExtensionAttributes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/UpdateUserExtensionAttributeByID/UpdateUserExtensionAttributeByID.go b/examples/user_extension_attributes/UpdateUserExtensionAttributeByID/UpdateUserExtensionAttributeByID.go index 266731692..738afaa59 100644 --- a/examples/user_extension_attributes/UpdateUserExtensionAttributeByID/UpdateUserExtensionAttributeByID.go +++ b/examples/user_extension_attributes/UpdateUserExtensionAttributeByID/UpdateUserExtensionAttributeByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/UpdateUserExtensionAttributeByName/UpdateUserExtensionAttributeByName.go b/examples/user_extension_attributes/UpdateUserExtensionAttributeByName/UpdateUserExtensionAttributeByName.go index e64879c40..b7246001d 100644 --- a/examples/user_extension_attributes/UpdateUserExtensionAttributeByName/UpdateUserExtensionAttributeByName.go +++ b/examples/user_extension_attributes/UpdateUserExtensionAttributeByName/UpdateUserExtensionAttributeByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go b/examples/user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go index 869c1d945..4947ca507 100644 --- a/examples/user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go +++ b/examples/user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go b/examples/user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go index d66b9e843..a7c49dd2e 100644 --- a/examples/user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go +++ b/examples/user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go b/examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go index c88429e41..ebad15bcf 100644 --- a/examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go +++ b/examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go b/examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go index 2ff3a8193..c2e85caee 100644 --- a/examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go +++ b/examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go b/examples/user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go index 7d65d8cf7..723519dac 100644 --- a/examples/user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go +++ b/examples/user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/GetUserGroups/GetUserGroups.go b/examples/user_groups/GetUserGroups/GetUserGroups.go index 1c8b7fa3d..6008f7c29 100644 --- a/examples/user_groups/GetUserGroups/GetUserGroups.go +++ b/examples/user_groups/GetUserGroups/GetUserGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go b/examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go index 17bdad71b..bbee83b0b 100644 --- a/examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go +++ b/examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go b/examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go index 953673276..f0dbf9af1 100644 --- a/examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go +++ b/examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go b/examples/user_groups/UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go index 956662e42..8199f3bfd 100644 --- a/examples/user_groups/UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go +++ b/examples/user_groups/UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go b/examples/user_groups/UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go index d93726668..8eb9b55ce 100644 --- a/examples/user_groups/UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go +++ b/examples/user_groups/UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByIDStaticAdditions/UpdateUserGroupByIDStaticAdditions.go b/examples/user_groups/UpdateUserGroupByIDStaticAdditions/UpdateUserGroupByIDStaticAdditions.go index 0b84a3929..e0132d1bb 100644 --- a/examples/user_groups/UpdateUserGroupByIDStaticAdditions/UpdateUserGroupByIDStaticAdditions.go +++ b/examples/user_groups/UpdateUserGroupByIDStaticAdditions/UpdateUserGroupByIDStaticAdditions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByIDStaticDeletions/UpdateUserGroupByIDStaticDeletions.go b/examples/user_groups/UpdateUserGroupByIDStaticDeletions/UpdateUserGroupByIDStaticDeletions.go index 166ea12c4..3856ab43a 100644 --- a/examples/user_groups/UpdateUserGroupByIDStaticDeletions/UpdateUserGroupByIDStaticDeletions.go +++ b/examples/user_groups/UpdateUserGroupByIDStaticDeletions/UpdateUserGroupByIDStaticDeletions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go b/examples/user_groups/UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go index 664c60f2a..79973b729 100644 --- a/examples/user_groups/UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go +++ b/examples/user_groups/UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go b/examples/user_groups/UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go index 48a5b5fb0..91742d6b2 100644 --- a/examples/user_groups/UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go +++ b/examples/user_groups/UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByNameStaticAdditions/UpdateUserGroupByNameStaticAdditions.go b/examples/user_groups/UpdateUserGroupByNameStaticAdditions/UpdateUserGroupByNameStaticAdditions.go index 0a40b7082..040d8d2af 100644 --- a/examples/user_groups/UpdateUserGroupByNameStaticAdditions/UpdateUserGroupByNameStaticAdditions.go +++ b/examples/user_groups/UpdateUserGroupByNameStaticAdditions/UpdateUserGroupByNameStaticAdditions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByNameStaticDeletions/UpdateUserGroupByNameStaticDeletions.go b/examples/user_groups/UpdateUserGroupByNameStaticDeletions/UpdateUserGroupByNameStaticDeletions.go index a7eab6d4e..99c35e7f0 100644 --- a/examples/user_groups/UpdateUserGroupByNameStaticDeletions/UpdateUserGroupByNameStaticDeletions.go +++ b/examples/user_groups/UpdateUserGroupByNameStaticDeletions/UpdateUserGroupByNameStaticDeletions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/CreateUser/CreateUser.go b/examples/users/CreateUser/CreateUser.go index d3e6f4ff2..f4d7637a3 100644 --- a/examples/users/CreateUser/CreateUser.go +++ b/examples/users/CreateUser/CreateUser.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/DeleteUserByEmail/DeleteUserByEmail.go b/examples/users/DeleteUserByEmail/DeleteUserByEmail.go index c4a7b5f57..674909897 100644 --- a/examples/users/DeleteUserByEmail/DeleteUserByEmail.go +++ b/examples/users/DeleteUserByEmail/DeleteUserByEmail.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/DeleteUserByID/DeleteUserByID.go b/examples/users/DeleteUserByID/DeleteUserByID.go index 6b981540b..c1cd750cd 100644 --- a/examples/users/DeleteUserByID/DeleteUserByID.go +++ b/examples/users/DeleteUserByID/DeleteUserByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/DeleteUserByName/DeleteUserByName.go b/examples/users/DeleteUserByName/DeleteUserByName.go index 8a9532324..616114c6f 100644 --- a/examples/users/DeleteUserByName/DeleteUserByName.go +++ b/examples/users/DeleteUserByName/DeleteUserByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/GetUserByEmail/GetUserByEmail.go b/examples/users/GetUserByEmail/GetUserByEmail.go index 31d8c8451..e1962d691 100644 --- a/examples/users/GetUserByEmail/GetUserByEmail.go +++ b/examples/users/GetUserByEmail/GetUserByEmail.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/GetUserByID/GetUserByID.go b/examples/users/GetUserByID/GetUserByID.go index e7f3f9bb0..5a940241a 100644 --- a/examples/users/GetUserByID/GetUserByID.go +++ b/examples/users/GetUserByID/GetUserByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/GetUserByName/GetUserByName.go b/examples/users/GetUserByName/GetUserByName.go index f15aa9380..a7d8f4a0e 100644 --- a/examples/users/GetUserByName/GetUserByName.go +++ b/examples/users/GetUserByName/GetUserByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/GetUsers/GetUsers.go b/examples/users/GetUsers/GetUsers.go index d3a8fb77b..5e0882a7f 100644 --- a/examples/users/GetUsers/GetUsers.go +++ b/examples/users/GetUsers/GetUsers.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/UpdateUserByEmail/UpdateUserByEmail.go b/examples/users/UpdateUserByEmail/UpdateUserByEmail.go index 3949fb250..afb94c9b1 100644 --- a/examples/users/UpdateUserByEmail/UpdateUserByEmail.go +++ b/examples/users/UpdateUserByEmail/UpdateUserByEmail.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/UpdateUserByID/UpdateUserByID.go b/examples/users/UpdateUserByID/UpdateUserByID.go index cea88fc53..55f2ee8a8 100644 --- a/examples/users/UpdateUserByID/UpdateUserByID.go +++ b/examples/users/UpdateUserByID/UpdateUserByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/UpdateUserByName/UpdateUserByName.go b/examples/users/UpdateUserByName/UpdateUserByName.go index ad7d08bc8..28db5a07d 100644 --- a/examples/users/UpdateUserByName/UpdateUserByName.go +++ b/examples/users/UpdateUserByName/UpdateUserByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/CreateVolumePurchasingSubscription/CreateVolumePurchasingSubscription.go b/examples/volume_purchasing_subscriptions/CreateVolumePurchasingSubscription/CreateVolumePurchasingSubscription.go index a8809d477..3a4281c8f 100644 --- a/examples/volume_purchasing_subscriptions/CreateVolumePurchasingSubscription/CreateVolumePurchasingSubscription.go +++ b/examples/volume_purchasing_subscriptions/CreateVolumePurchasingSubscription/CreateVolumePurchasingSubscription.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByID/DeleteVolumePurchasingSubscriptionByID.go b/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByID/DeleteVolumePurchasingSubscriptionByID.go index bfed0a61d..7e3ee2b03 100644 --- a/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByID/DeleteVolumePurchasingSubscriptionByID.go +++ b/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByID/DeleteVolumePurchasingSubscriptionByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByName/DeleteVolumePurchasingSubscriptionByName.go b/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByName/DeleteVolumePurchasingSubscriptionByName.go index 07c22d754..b98590472 100644 --- a/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByName/DeleteVolumePurchasingSubscriptionByName.go +++ b/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByName/DeleteVolumePurchasingSubscriptionByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByID/GetVolumePurchasingSubscriptionByID.go b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByID/GetVolumePurchasingSubscriptionByID.go index c9132f54c..ef1fa72f7 100644 --- a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByID/GetVolumePurchasingSubscriptionByID.go +++ b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByID/GetVolumePurchasingSubscriptionByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByName/GetVolumePurchasingSubscriptionByName.go b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByName/GetVolumePurchasingSubscriptionByName.go index 479742ab0..4d0dd0aad 100644 --- a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByName/GetVolumePurchasingSubscriptionByName.go +++ b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByName/GetVolumePurchasingSubscriptionByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptions/GetVolumePurchasingSubscriptions.go b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptions/GetVolumePurchasingSubscriptions.go index abd47faca..c38e4efaf 100644 --- a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptions/GetVolumePurchasingSubscriptions.go +++ b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptions/GetVolumePurchasingSubscriptions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByID/UpdateVolumePurchasingSubscriptionByID.go b/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByID/UpdateVolumePurchasingSubscriptionByID.go index 8813fc673..6f6ea1b5a 100644 --- a/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByID/UpdateVolumePurchasingSubscriptionByID.go +++ b/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByID/UpdateVolumePurchasingSubscriptionByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByName/UpdateVolumePurchasingSubscriptionByName.go b/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByName/UpdateVolumePurchasingSubscriptionByName.go index a13dfb41d..59563a41e 100644 --- a/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByName/UpdateVolumePurchasingSubscriptionByName.go +++ b/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByName/UpdateVolumePurchasingSubscriptionByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go b/examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go index 9cc53e1a9..1dd0cf182 100644 --- a/examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go +++ b/examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go b/examples/vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go index 3f47be08c..f6d47da89 100644 --- a/examples/vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go +++ b/examples/vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go b/examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go index 1841545e2..977b7c1fe 100644 --- a/examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go +++ b/examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go b/examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go index 7da5ba16b..f0515c369 100644 --- a/examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go +++ b/examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go b/examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go index 80df3484b..aede0e30a 100644 --- a/examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go +++ b/examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go b/examples/vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go index c791b165e..0a06b5ae1 100644 --- a/examples/vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go +++ b/examples/vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go b/examples/vpp_assignments/DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go index 22677d987..7f0dfbe9a 100644 --- a/examples/vpp_assignments/DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go +++ b/examples/vpp_assignments/DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/GetVPPAssignmentByID/GetVPPAssignmentByID.go b/examples/vpp_assignments/GetVPPAssignmentByID/GetVPPAssignmentByID.go index b6581398f..95eb8a946 100644 --- a/examples/vpp_assignments/GetVPPAssignmentByID/GetVPPAssignmentByID.go +++ b/examples/vpp_assignments/GetVPPAssignmentByID/GetVPPAssignmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go b/examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go index 8a7826d77..37d1c053d 100644 --- a/examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go +++ b/examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go b/examples/vpp_assignments/UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go index cc981fd0c..56a2ad7ae 100644 --- a/examples/vpp_assignments/UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go +++ b/examples/vpp_assignments/UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/CreateWebhook/CreateWebhook.go b/examples/webhooks/CreateWebhook/CreateWebhook.go index 48319568f..afcab159f 100644 --- a/examples/webhooks/CreateWebhook/CreateWebhook.go +++ b/examples/webhooks/CreateWebhook/CreateWebhook.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go b/examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go index fac7f59f4..509de7345 100644 --- a/examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go +++ b/examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go b/examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go index 071c1d7d2..53486fa38 100644 --- a/examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go +++ b/examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/GetWebhookByID/GetWebhookByID.go b/examples/webhooks/GetWebhookByID/GetWebhookByID.go index b0fc1fa3a..70433b1da 100644 --- a/examples/webhooks/GetWebhookByID/GetWebhookByID.go +++ b/examples/webhooks/GetWebhookByID/GetWebhookByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/GetWebhookByName/GetWebhookByName.go b/examples/webhooks/GetWebhookByName/GetWebhookByName.go index 4b1aaaca4..75de43d5a 100644 --- a/examples/webhooks/GetWebhookByName/GetWebhookByName.go +++ b/examples/webhooks/GetWebhookByName/GetWebhookByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/GetWebhooks/GetWebhooks.go b/examples/webhooks/GetWebhooks/GetWebhooks.go index be5e93b69..838454af0 100644 --- a/examples/webhooks/GetWebhooks/GetWebhooks.go +++ b/examples/webhooks/GetWebhooks/GetWebhooks.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go b/examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go index fdb0c1286..a08811ce8 100644 --- a/examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go +++ b/examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go b/examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go index 66f53dd3b..47b6e613d 100644 --- a/examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go +++ b/examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/api_roles/SetAllAvailableApiPriviledgesTorole/SetAllAvailableApiPriviledgesToRole.go b/recipes/api_roles/SetAllAvailableApiPriviledgesTorole/SetAllAvailableApiPriviledgesToRole.go index 34248c063..1256eccf3 100644 --- a/recipes/api_roles/SetAllAvailableApiPriviledgesTorole/SetAllAvailableApiPriviledgesToRole.go +++ b/recipes/api_roles/SetAllAvailableApiPriviledgesTorole/SetAllAvailableApiPriviledgesToRole.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_extension_attributes/DeleteAllComputerExtensionAttributes/DeleteAllComputerExtensionAttributes.go b/recipes/computer_extension_attributes/DeleteAllComputerExtensionAttributes/DeleteAllComputerExtensionAttributes.go index e650761a3..cab6e2a68 100644 --- a/recipes/computer_extension_attributes/DeleteAllComputerExtensionAttributes/DeleteAllComputerExtensionAttributes.go +++ b/recipes/computer_extension_attributes/DeleteAllComputerExtensionAttributes/DeleteAllComputerExtensionAttributes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_extension_attributes/ExportComputerExtensionAttributes/ExportComputerExtensionAttributes.go b/recipes/computer_extension_attributes/ExportComputerExtensionAttributes/ExportComputerExtensionAttributes.go index d42740084..53f7adc3c 100644 --- a/recipes/computer_extension_attributes/ExportComputerExtensionAttributes/ExportComputerExtensionAttributes.go +++ b/recipes/computer_extension_attributes/ExportComputerExtensionAttributes/ExportComputerExtensionAttributes.go @@ -25,7 +25,7 @@ func sanitizeFileName(fileName string) string { func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_history/GetAllComputerHistories/GetAllComputerHistories.go b/recipes/computer_history/GetAllComputerHistories/GetAllComputerHistories.go index 67181d68b..32561d26c 100644 --- a/recipes/computer_history/GetAllComputerHistories/GetAllComputerHistories.go +++ b/recipes/computer_history/GetAllComputerHistories/GetAllComputerHistories.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_history/GetAllComputersWithFailedCommands/GetAllComputersWithFailedCommands.go b/recipes/computer_history/GetAllComputersWithFailedCommands/GetAllComputersWithFailedCommands.go index f8894290c..86537bf0a 100644 --- a/recipes/computer_history/GetAllComputersWithFailedCommands/GetAllComputersWithFailedCommands.go +++ b/recipes/computer_history/GetAllComputersWithFailedCommands/GetAllComputersWithFailedCommands.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_inventory/SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go b/recipes/computer_inventory/SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go index 4dd760744..618eed715 100644 --- a/recipes/computer_inventory/SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go +++ b/recipes/computer_inventory/SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go @@ -12,7 +12,7 @@ var deviceID = "8675309" func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/jamf_pro_initialization_server/InitializeAndcheckStatus.go b/recipes/jamf_pro_initialization_server/InitializeAndcheckStatus.go index 4f53be9c7..0eb5e693a 100644 --- a/recipes/jamf_pro_initialization_server/InitializeAndcheckStatus.go +++ b/recipes/jamf_pro_initialization_server/InitializeAndcheckStatus.go @@ -17,7 +17,7 @@ const ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/local_administrator_password/GetLocalAdminPasswordCapableAccountsByComputerName/GetLocalAdminPasswordCapableAccountsByComputerName.go b/recipes/local_administrator_password/GetLocalAdminPasswordCapableAccountsByComputerName/GetLocalAdminPasswordCapableAccountsByComputerName.go index d89d9c341..a55c78ebf 100644 --- a/recipes/local_administrator_password/GetLocalAdminPasswordCapableAccountsByComputerName/GetLocalAdminPasswordCapableAccountsByComputerName.go +++ b/recipes/local_administrator_password/GetLocalAdminPasswordCapableAccountsByComputerName/GetLocalAdminPasswordCapableAccountsByComputerName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/local_administrator_password/SetLocalAdminPasswordForAllCapableAccountsByComputerName/SetLocalAdminPasswordForAllCapableAccountsByComputerName.go b/recipes/local_administrator_password/SetLocalAdminPasswordForAllCapableAccountsByComputerName/SetLocalAdminPasswordForAllCapableAccountsByComputerName.go index a01ee1776..e506cb6e2 100644 --- a/recipes/local_administrator_password/SetLocalAdminPasswordForAllCapableAccountsByComputerName/SetLocalAdminPasswordForAllCapableAccountsByComputerName.go +++ b/recipes/local_administrator_password/SetLocalAdminPasswordForAllCapableAccountsByComputerName/SetLocalAdminPasswordForAllCapableAccountsByComputerName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go b/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go index 0266b3f62..1973a81b4 100644 --- a/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go +++ b/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFullScope/CreateMacOSConfigurationProfileWithFullScope.go b/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFullScope/CreateMacOSConfigurationProfileWithFullScope.go index 1247d7d8a..8a020811b 100644 --- a/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFullScope/CreateMacOSConfigurationProfileWithFullScope.go +++ b/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFullScope/CreateMacOSConfigurationProfileWithFullScope.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go b/recipes/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go index 1bb93143f..66eb8b8cf 100644 --- a/recipes/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go +++ b/recipes/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/mdm/SetOrRemoveRecoveryLockForAppleSiliconMacs/SetOrRemoveRecoveryLockForAppleSiliconMacs.go b/recipes/mdm/SetOrRemoveRecoveryLockForAppleSiliconMacs/SetOrRemoveRecoveryLockForAppleSiliconMacs.go index 9743ea4c2..2c538933b 100644 --- a/recipes/mdm/SetOrRemoveRecoveryLockForAppleSiliconMacs/SetOrRemoveRecoveryLockForAppleSiliconMacs.go +++ b/recipes/mdm/SetOrRemoveRecoveryLockForAppleSiliconMacs/SetOrRemoveRecoveryLockForAppleSiliconMacs.go @@ -18,7 +18,7 @@ const ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go b/recipes/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go index 5290bdb34..03c67e77c 100644 --- a/recipes/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go +++ b/recipes/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/packages/package_uploader/main.go b/recipes/packages/package_uploader/main.go index c84e7f150..651afe289 100644 --- a/recipes/packages/package_uploader/main.go +++ b/recipes/packages/package_uploader/main.go @@ -16,7 +16,7 @@ func main() { // Load the client OAuth configuration // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Print the ASCII art uploader.PrintASCIILogo() diff --git a/recipes/patch_management/UploadPackageAndAssignToPatchPolicy/UploadPackageAndAssignToPatchPolicy.go b/recipes/patch_management/UploadPackageAndAssignToPatchPolicy/UploadPackageAndAssignToPatchPolicy.go index ee2bfc169..eedc2f87b 100644 --- a/recipes/patch_management/UploadPackageAndAssignToPatchPolicy/UploadPackageAndAssignToPatchPolicy.go +++ b/recipes/patch_management/UploadPackageAndAssignToPatchPolicy/UploadPackageAndAssignToPatchPolicy.go @@ -13,7 +13,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go b/recipes/policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go index 8d04311bf..8889f0067 100644 --- a/recipes/policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go +++ b/recipes/policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go b/recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go index 4b0de4ebb..b6144499c 100644 --- a/recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go +++ b/recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/privileges/Export_All_Assigned_Privileges_By_Api_Integration/Export_All_Assigned_Privileges_By_Api_Integration.go b/recipes/privileges/Export_All_Assigned_Privileges_By_Api_Integration/Export_All_Assigned_Privileges_By_Api_Integration.go index f44853cca..4af60a234 100644 --- a/recipes/privileges/Export_All_Assigned_Privileges_By_Api_Integration/Export_All_Assigned_Privileges_By_Api_Integration.go +++ b/recipes/privileges/Export_All_Assigned_Privileges_By_Api_Integration/Export_All_Assigned_Privileges_By_Api_Integration.go @@ -13,7 +13,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/privileges/Export_All_Available_Privileges_By_Type_To_Json/Export_All_Available_Privileges_By_Type_To_Json.go b/recipes/privileges/Export_All_Available_Privileges_By_Type_To_Json/Export_All_Available_Privileges_By_Type_To_Json.go index 527cac1a2..0ecca3715 100644 --- a/recipes/privileges/Export_All_Available_Privileges_By_Type_To_Json/Export_All_Available_Privileges_By_Type_To_Json.go +++ b/recipes/privileges/Export_All_Available_Privileges_By_Type_To_Json/Export_All_Available_Privileges_By_Type_To_Json.go @@ -12,7 +12,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/recipes/restricted_software/DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go b/recipes/restricted_software/DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go index 6e8bc606f..fbc321e84 100644 --- a/recipes/restricted_software/DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go +++ b/recipes/restricted_software/DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/scripts/DeleteAllScripts/DeleteAllScripts.go b/recipes/scripts/DeleteAllScripts/DeleteAllScripts.go index 870dd24f6..3c31ab955 100644 --- a/recipes/scripts/DeleteAllScripts/DeleteAllScripts.go +++ b/recipes/scripts/DeleteAllScripts/DeleteAllScripts.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "./clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/sdk/jamfpro/jamfproapi_file_share_distribution_points.go b/sdk/jamfpro/jamfproapi_file_share_distribution_points.go new file mode 100644 index 000000000..bcc8772ec --- /dev/null +++ b/sdk/jamfpro/jamfproapi_file_share_distribution_points.go @@ -0,0 +1,15 @@ +package jamfpro + +// import ( +// "fmt" +// "net/url" + +// "github.com/mitchellh/mapstructure" +// ) + +// const uriDistributionPoints = "/api/v1/distribution-points" + +// type ResponseDistributionPointList struct { +// TotalCount int `json:"totalCount"` +// Results []ResourceFileShareDistributionPoint `json:"results"` +// } \ No newline at end of file From 738a0677bf8b15f9a5cfdfacc1f30b26f6899e02 Mon Sep 17 00:00:00 2001 From: Bobby Date: Tue, 10 Jun 2025 11:02:37 +0100 Subject: [PATCH 04/20] whoops --- .../account_groups/CreateAccountGroup/CreateAccountGroup.go | 2 +- .../DeleteAccountGroupByID/DeleteAccountGroupByID.go | 2 +- .../DeleteAccountGroupByName/DeleteAccountGroupByName.go | 2 +- .../DeleteAllAccountGroups/DeleteAllAccountGroups.go | 2 +- .../account_groups/GetAccountGroupByID/GetAccountGroupByID.go | 2 +- .../GetAccountGroupByName/GetAccountGroupByName.go | 2 +- .../UpdateAccountGroupByID/UpdateAccountGroupByID.go | 2 +- .../UpdateAccountGroupByName/UpdateAccountGroupByName.go | 2 +- .../GetAccountPreferences/GetAccountPreferences.go | 2 +- .../UpdateAccountPreferences/UpdateAccountPreferences.go | 2 +- .../CreateAccountWithFullAccess/CreateAccountWithFullAccess.go | 2 +- .../CreateAccountWithGroupAccess.go | 2 +- .../CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go | 2 +- examples/accounts/DeleteAccountByID/DeleteAccountByID.go | 2 +- examples/accounts/DeleteAccountByName/DeleteAccountByName.go | 2 +- examples/accounts/GetAccountByID/GetAccountByID.go | 2 +- examples/accounts/GetAccountByName/GetAccountByName.go | 2 +- examples/accounts/GetAccounts/GetAccounts.go | 2 +- examples/accounts/UpdateAccountByID/UpdateAccountByID.go | 2 +- examples/accounts/UpdateAccountByName/UpdateAccountByName.go | 2 +- examples/activationcode/GetActivationCode/GetActivationCode.go | 2 +- .../activationcode/UpdateActivationCode/UpdateActivationCode.go | 2 +- .../CreateAdvancedComputerSearch.go | 2 +- .../DeleteAdvancedComputerSearchByID.go | 2 +- .../DeleteAdvancedComputerSearchByName.go | 2 +- .../GetAdvancedComputerSearchByID.go | 2 +- .../GetAdvancedComputerSearches/GetAdvancedComputerSearches.go | 2 +- .../GetAdvancedComputerSearchesByName.go | 2 +- .../UpdateAdvancedComputerSearchByID.go | 2 +- .../UpdateAdvancedComputerSearchByName.go | 2 +- .../CreateAdvancedMobileDeviceSearch.go | 2 +- .../DeleteAdvancedMobileDeviceSearchByID.go | 2 +- .../GetAdvancedMobileDeviceSearchByID.go | 2 +- .../GetAdvancedMobileDeviceSearchByName.go | 2 +- .../GetAdvancedMobileDeviceSearches.go | 2 +- .../UpdateAdvancedMobileDeviceSearchByID.go | 2 +- .../CreateAdvancedUserSearch/CreateAdvancedUserSearch.go | 2 +- .../DeleteAdvancedUserSearchByID.go | 2 +- .../DeleteAdvancedUserSearchByName.go | 2 +- .../GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go | 2 +- .../GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go | 2 +- .../GetAdvancedUserSearches/GetAdvancedUserSearches.go | 2 +- .../UpdateAdvancedUserSearchByID.go | 2 +- .../UpdateAdvancedUserSearchByName.go | 2 +- .../CreateAllowedFileExtension/CreateAllowedFileExtension.go | 2 +- .../DeleteAllowedFileExtensionByID.go | 2 +- .../GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go | 2 +- .../GetAllowedFileExtensionByName.go | 2 +- .../GetAllowedFileExtensions/GetAllowedFileExtensions.go | 2 +- examples/bookmarks/CreateBookmark/CreateBookmark.go | 2 +- examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go | 2 +- examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go | 2 +- examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go | 2 +- examples/bookmarks/GetBookmarks/GetBookmarks.go | 2 +- examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go | 2 +- examples/buildings/CreateBuilding/CreateBuilding.go | 2 +- .../CreateBuildingResourceHistoryByID.go | 2 +- examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go | 2 +- .../DeleteBuildingByNameByID/DeleteBuildingByNameByID.go | 2 +- .../DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go | 2 +- examples/buildings/GetBuildingByID/GetBuildingByID.go | 2 +- .../GetBuildingResourceHistoryByID.go | 2 +- examples/buildings/GetBuildings/GetBuildings.go | 2 +- examples/buildings/GetBuildingsByName/GetBuildingsByName.go | 2 +- examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go | 2 +- examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go | 2 +- examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go | 2 +- .../byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go | 2 +- .../DeleteBYOProfileByName/DeleteBYOProfileByName.go | 2 +- examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go | 2 +- examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go | 2 +- examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go | 2 +- .../byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go | 2 +- .../UpdateBYOProfileByName/UpdateBYOProfileByName.go | 2 +- examples/cache_settings/GetCacheSettings/GetCacheSettings.go | 2 +- .../cache_settings/UpdateCacheSettings/UpdateCacheSettings.go | 2 +- examples/categories/CreateCategory/CreateCategory.go | 2 +- examples/categories/DeleteCategoryByID/DeleteCategoryByID.go | 2 +- .../DeleteCategoryByNameByID/DeleteCategoryByNameByID.go | 2 +- .../DeleteMultipleCategoriesByID.go | 2 +- examples/categories/GetCategories/GetCategories.go | 2 +- examples/categories/GetCategoryByID/GetCategoryByID.go | 2 +- examples/categories/GetCategoryNameByID/GetCategoryNameByID.go | 2 +- examples/categories/UpdateCategoryByID/UpdateCategoryByID.go | 2 +- .../categories/UpdateCategoryByName/UpdateCategoryByName.go | 2 +- .../GetActiveCertificateAuthority.go | 2 +- examples/classes/CreateClassesByID/CreateClassesByID.go | 2 +- examples/classes/DeleteClassByID/DeleteClassByID.go | 2 +- examples/classes/DeleteClassByName/DeleteClassByName.go | 2 +- examples/classes/GetClasses/GetClasses.go | 2 +- examples/classes/GetClassesByID/GetClassesByID.go | 2 +- examples/classes/GetClassesByName/GetClassesByName.go | 2 +- examples/classes/UpdateClassesByID/UpdateClassesByID.go | 2 +- examples/classes/UpdateClassesByName/UpdateClassesByName.go | 2 +- .../GetClientCheckinSettings/GetClientCheckinSettings.go | 2 +- .../UpdateClientCheckinSettings/UpdateClientCheckinSettings.go | 2 +- .../CreateCloudIdentityProvider/CreateCloudIdentityProvider.go | 2 +- .../GetCloudDistributionPointUploadCapability.go | 2 +- .../GetCloudIdentityProviderConfigurationByID.go | 2 +- .../GetCloudIdentityProviderConfigurationByName.go | 2 +- .../GetCloudIdentityProviders/GetCloudIdentityProviders.go | 2 +- .../cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go | 2 +- .../CreateComputerExtensionAttributeWithPopUpMenu.go | 2 +- .../CreateComputerExtensionAttributeWithScript.go | 2 +- .../CreateComputerExtensionAttributeWithTextField.go | 2 +- .../DeleteComputerExtensionAttributeByID.go | 2 +- .../DeleteMultipleComputerExtensionAttributeByID.go | 2 +- .../GetComputerExtensionAttributeByID.go | 2 +- .../GetComputerExtensionAttributeByName.go | 2 +- .../GetComputerExtensionAttributes.go | 2 +- .../UpdateComputerExtensionAttributeByID.go | 2 +- .../UpdateComputerExtensionAttributeByName.go | 2 +- .../GetComputerHistoryByComputerID.go | 2 +- .../GetComputerHistoryByComputerIDAndDataSubset.go | 2 +- .../GetComputerHistoryByComputerMACAddress.go | 2 +- .../GetComputerHistoryByComputerMACAddressAndDataSubset.go | 2 +- .../GetComputerHistoryByComputerName.go | 2 +- .../GetComputerHistoryByComputerNameAndDataSubset.go | 2 +- .../GetComputerHistoryByComputerSerialNumber.go | 2 +- .../GetComputerHistoryByComputerSerialNumberAndDataSubset.go | 2 +- .../GetComputerHistoryByComputerUDID.go | 2 +- .../GetComputerHistoryByComputerUDIDAndDataSubset.go | 2 +- .../DeleteAttachmentByIDAndComputerID.go | 2 +- .../DeleteComputerInventoryByID/DeleteComputerInventoryByID.go | 2 +- .../computer_inventory/EraseComputerByID/EraseComputerByID.go | 2 +- .../GetComputerFileVaultInventoryByID.go | 2 +- .../GetComputerInventoryByID/GetComputerInventoryByID.go | 2 +- .../GetComputerInventoryByName/GetComputerInventoryByName.go | 2 +- .../GetComputerRecoveryLockPasswordByID.go | 2 +- .../GetComputersFileVaultInventory.go | 2 +- .../GetComputersInventory/GetComputersInventory.go | 2 +- .../RemoveComputerMDMProfile/RemoveComputerMDMProfile.go | 2 +- .../UpdateComputerInventoryByID/UpdateComputerInventoryByID.go | 2 +- .../UploadAttachmentAndAssignToComputerByID.go | 2 +- .../GetComputerInventoryCollectionInformation.go | 2 +- .../UpdateComputerInventoryCollectionInformation.go | 2 +- .../CreateComputerInventoryCollectionSettingsCustomPath.go | 2 +- .../DeleteComputerInventoryCollectionSettingsCustomPathByID.go | 2 +- .../GetComputerInventoryCollectionSettings.go | 2 +- .../UpdateComputerInventoryCollectionSettings.go | 2 +- .../CreateComputerInvitation/CreateComputerInvitation.go | 2 +- .../DeleteComputerInvitationByID.go | 2 +- .../GetComputerInvitationByID/GetComputerInvitationByID.go | 2 +- .../GetComputerInvitations/GetComputerInvitations.go | 2 +- .../GetComputerInvitationsByInvitationID.go | 2 +- .../CreateComputerPrestageFullConfig.go | 2 +- .../CreateComputerPrestageMinimumConfig.go | 2 +- .../DeleteComputerPrestageByID/DeleteComputerPrestageByID.go | 2 +- .../DeleteComputerPrestageByNameByID.go | 2 +- .../GetComputerPrestageByID/GetComputerPrestageByID.go | 2 +- .../GetComputerPrestageByName/GetComputerPrestageByName.go | 2 +- .../GetComputerPrestages/GetComputerPrestages.go | 2 +- .../GetDeviceScopeForComputerPrestage.go | 2 +- .../UpdateComputerPrestageByID/UpdateComputerPrestageByID.go | 2 +- .../UpdateComputerPrestageByName.go | 2 +- examples/computers/CreateComputer/CreateComputer.go | 2 +- examples/computers/DeleteComputerByID/DeleteComputerByID.go | 2 +- examples/computers/DeleteComputerByName/DeleteComputerByName.go | 2 +- examples/computers/GetComputerByID/GetComputerByID.go | 2 +- examples/computers/GetComputerByName/GetComputerByName.go | 2 +- examples/computers/GetComputers/GetComputers.go | 2 +- examples/computers/UpdateComputerByID/UpdateComputerByID.go | 2 +- examples/computers/UpdateComputerByName/UpdateComputerByName.go | 2 +- .../GetConditionalAccessDeviceComplianceFeatureEnablement.go | 2 +- .../declarative_device_management/ForceDDMSync/ForceDDMSync.go | 2 +- .../GetDDMStatusItem/GetDDMStatusItem.go | 2 +- .../GetDDMStatusItems/GetDDMStatusItems.go | 2 +- examples/departments/CreateDepartment/CreateDepartment.go | 2 +- .../departments/DeleteAllDepartments/DeleteAllDepartments.go | 2 +- .../departments/DeleteDepartmentByID/DeleteDepartmentByID.go | 2 +- .../DeleteDepartmentByName/DeleteDepartmentByName.go | 2 +- examples/departments/GetDepartmentByID/GetDepartmentByID.go | 2 +- examples/departments/GetDepartmentByName/GetDepartmentByName.go | 2 +- examples/departments/GetDepartments/GetDepartments.go | 2 +- .../departments/UpdateDepartmentByID/UpdateDepartmentByID.go | 2 +- .../UpdateDepartmentByName/UpdateDepartmentByName.go | 2 +- .../GetDeviceCommunicationSettings.go | 2 +- .../UpdateDeviceCommunicationSettings.go | 2 +- .../CreateDeviceEnrollmentWithMDMServerToken.go | 2 +- .../DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go | 2 +- .../GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go | 2 +- .../GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go | 2 +- .../GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go | 2 +- .../GetDeviceEnrollmentSyncStates.go | 2 +- .../GetDeviceEnrollments/GetDeviceEnrollments.go | 2 +- .../UpdateDeviceEnrollmentMDMServerToken.go | 2 +- .../UpdateDeviceEnrollmentMetadataByID.go | 2 +- .../CreateDirectoryBinding/CreateDirectoryBinding.go | 2 +- .../DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go | 2 +- .../DeleteDirectoryBindingByName.go | 2 +- .../GetDirectoryBindingByID/GetDirectoryBindingByID.go | 2 +- .../GetDirectoryBindingByName/GetDirectoryBindingByName.go | 2 +- .../GetDirectoryBindings/GetDirectoryBindings.go | 2 +- .../UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go | 2 +- .../UpdateDirectoryBindingByName.go | 2 +- .../CreateDiskEncryptionConfigurationIndividualRecoveryKey.go | 2 +- ...CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go | 2 +- .../DeleteDiskEncryptionConfigurationByID.go | 2 +- .../DeleteDiskEncryptionConfigurationByName.go | 2 +- .../GetDiskEncryptionConfigurationByID.go | 2 +- .../GetDiskEncryptionConfigurationByName.go | 2 +- .../GetDiskEncryptionConfigurations.go | 2 +- ...pdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go | 2 +- ...ateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go | 2 +- examples/dock_items/CreateDockItems/CreateDockItems.go | 2 +- examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go | 2 +- examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go | 2 +- .../dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go | 2 +- examples/dock_items/GetDockItems/GetDockItems.go | 2 +- examples/dock_items/GetDockItemsByID/GetDockItemsByID.go | 2 +- examples/dock_items/GetDockItemsByName/GetDockItemsByName.go | 2 +- examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go | 2 +- .../dock_items/UpdateDockItemsByName/UpdateDockItemByName.go | 2 +- examples/ebooks/CreateEbook/CreateEbook.go | 2 +- examples/ebooks/DeleteEbookByID/DeleteEbookByID.go | 2 +- examples/ebooks/DeleteEbookByName/DeleteEbookByName.go | 2 +- examples/ebooks/GetEbooks/GetEbooks.go | 2 +- examples/ebooks/GetEbooksByID/GetEbooksByID.go | 2 +- examples/ebooks/GetEbooksByName/GetEbooksByName.go | 2 +- .../GetEbooksByNameAndDataSubset.go | 2 +- examples/ebooks/UpdateEbookByID/UpdateEbookByID.go | 2 +- examples/ebooks/UpdateEbookByName/UpdateEbookByName.go | 2 +- .../CreateAccountDrivenUserEnrollmentAccessGroup.go | 2 +- .../DeleteMultipleEnrollmentMessagesByLanguageIDs.go | 2 +- .../GetAccountDrivenUserEnrollmentAccessGroupByID.go | 2 +- .../GetAccountDrivenUserEnrollmentAccessGroupByName.go | 2 +- .../GetAccountDrivenUserEnrollmentAccessGroups.go | 2 +- examples/enrollment/GetEnrollment/GetEnrollment.go | 2 +- .../enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go | 2 +- .../GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go | 2 +- .../GetEnrollmentMessageByLanguageID.go | 2 +- .../enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go | 2 +- .../UpdateAccountDrivenUserEnrollmentAccessGroupByID.go | 2 +- examples/enrollment/UpdateEnrollment/UpdateEnrollment.go | 2 +- .../UpdateEnrollmentMessageByLanguageID.go | 2 +- .../CreateEnrollmentCustomizationWithLDAPPrestagePane.go | 2 +- .../CreateEnrollmentCustomizationWithSSOPrestagePane.go | 2 +- .../CreateEnrollmentCustomizationWithTextPrestagePane.go | 2 +- .../DeleteEnrollmentCustomizationByID.go | 2 +- .../GetEnrollmentCustomizationByID.go | 2 +- .../GetEnrollmentCustomizationByName.go | 2 +- .../GetEnrollmentCustomizations/GetEnrollmentCustomizations.go | 2 +- .../GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go | 2 +- .../GetPrestagePanes/GetPrestagePanes.go | 2 +- .../GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go | 2 +- .../GetTextPrestagePaneByID/GetTextPrestagePaneByID.go | 2 +- .../UpdateEnrollmentCustomizationByID.go | 2 +- ...UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go | 2 +- .../UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go | 2 +- .../UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go | 2 +- .../UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go | 2 +- .../UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go | 2 +- .../UploadEnrollmentCustomizationsImage.go | 2 +- .../GetADUESessionTokenSettings/GetADUESessionTokenSettings.go | 2 +- .../GetEnrollmentSettings/GetEnrollmentSettings.go | 2 +- .../UpdateADUESessionTokenSettings.go | 2 +- .../CreateFileShareDistributionPoint.go | 2 +- .../DeleteFileShareDistributionPointByID.go | 2 +- .../DeleteFileShareDistributionPointByName.go | 2 +- .../GetFileShareDistributionPointByID.go | 2 +- .../GetFileShareDistributionPointByName.go | 2 +- .../GetFileShareDistributionPoints.go | 2 +- .../UpdateFileShareDistributionPointByID.go | 2 +- .../UpdateFileShareDistributionPointByName.go | 2 +- .../CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go | 2 +- .../CreateFileAttachmentsPolicies.go | 2 +- .../CreateFileAttachmentsPrinters.go | 2 +- .../GetGSXConnectionInformation/GetGSXConnectionInformation.go | 2 +- .../UpdateGSXConnectionInformation.go | 2 +- examples/health_check/GetHealthCheck/GetHealthCheck.go | 2 +- examples/ibeacons/CreateIBeacon/CreateIBeacon.go | 2 +- examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go | 2 +- examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go | 2 +- examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go | 2 +- examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go | 2 +- examples/ibeacons/GetIBeacons/GetIBeacons.go | 2 +- examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go | 2 +- examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go | 2 +- examples/icon/GetIconByID/GetIconByID.go | 2 +- examples/icon/UploadIcon/UploadIcon.go | 2 +- .../CreateApiIntegration/CreateApiIntegration.go | 2 +- .../DeleteApiIntegrationByID/DeleteApiIntegrationByID.go | 2 +- .../DeleteApiIntegrationByName/DeleteApiIntegrationByName.go | 2 +- .../GetApiIntegrationByID/GetApiIntegrationByID.go | 2 +- .../GetApiIntegrationByName/GetApiIntegrationByName.go | 2 +- .../GetApiIntegrations/GetApiIntegrations.go | 2 +- .../RefreshClientCredentialsByApiRoleID.go | 2 +- .../UpdateApiIntegrationByID/UpdateApiIntegrationByID.go | 2 +- .../UpdateApiIntegrationByName/UpdateApiIntegrationByName.go | 2 +- .../GetJamfAPIPrivileges/GetJamfAPIPrivileges.go | 2 +- .../GetJamfAPIRolePrivilegeByName.go | 2 +- examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go | 2 +- .../DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go | 2 +- .../DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go | 2 +- examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go | 2 +- .../jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go | 2 +- .../GetJamfApiRolesNameById/GetJamfApiRolesNameById.go | 2 +- .../UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go | 2 +- .../UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go | 2 +- .../AcceptJamfAppCatalogAppInstallerTermsAndConditions.go | 2 +- .../CreateJamfAppCatalogDeployment.go | 2 +- .../DeleteJamfAppCatalogDeploymentByID.go | 2 +- .../GetJamfAppCatalogAppInstallerByID.go | 2 +- .../GetJamfAppCatalogAppInstallerByName.go | 2 +- .../GetJamfAppCatalogAppInstallerByTitleID.go | 2 +- .../GetJamfAppCatalogAppInstallerByTitleName.go | 2 +- .../GetJamfAppCatalogAppInstallerGlobalSettings.go | 2 +- .../GetJamfAppCatalogAppInstallerTitles.go | 2 +- .../UpdateJamfAppCatalogAppInstallerGlobalSettings.go | 2 +- .../UpdateJamfAppCatalogDeploymentByID.go | 2 +- .../GetJamfConnectConfigProfileByConfigProfileUUID.go | 2 +- .../GetJamfConnectConfigProfileByID.go | 2 +- .../GetJamfConnectConfigProfileByName.go | 2 +- .../GetJamfConnectConfigProfiles.go | 2 +- .../GetJamfConnectSettings/GetJamfConnectSettings.go | 2 +- .../RetryJamfConnectDeploymentTasksByConfigProfileUUID.go | 2 +- .../UpdateJamfConnectConfigProfileByConfigProfileUUID.go | 2 +- .../UpdateJamfConnectConfigProfileByID.go | 2 +- .../DeleteJCDS2PackageByFileName.go | 2 +- .../DoPackageUpload/DoPackageUpload.go | 2 +- .../GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go | 2 +- .../GetJCDS2Packages/GetJCDS2Packages.go | 2 +- .../GetJCDS2Properties/GetJCDS2Properties.go | 2 +- .../RefreshJCDS2Inventory/RefreshJCDS2Inventory.go | 2 +- .../RenewJCDS2Credentials/RenewJCDS2Credentials.go | 2 +- .../GetJamfProInformation/GetJamfProInformation.go | 2 +- .../InitializeDatabaseConnection.go | 2 +- .../InitializeJamfProServer/InitializeJamfProServer.go | 2 +- .../jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go | 2 +- examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go | 2 +- .../ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go | 2 +- .../DeleteLDAPServerByName/DeleteLDAPServerByName.go | 2 +- examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go | 2 +- .../GetLDAPServerByIDAndGroupDataSubset.go | 2 +- .../GetLDAPServerByIDAndUserDataSubset.go | 2 +- .../GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go | 2 +- .../ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go | 2 +- .../GetLDAPServerByNameAndGroupDataSubset.go | 2 +- .../GetLDAPServerByNameAndUserDataSubset.go | 2 +- .../GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go | 2 +- examples/ldap_servers/GetLDAPServers/GetLDAPServers.go | 2 +- .../ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go | 2 +- .../UpdateLDAPServerByName/UpdateLDAPServerByName.go | 2 +- .../CreateLicensedSoftware/CreateLicensedSoftware.go | 2 +- .../DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go | 2 +- .../DeleteLicensedSoftwareByName.go | 2 +- .../GetLicensedSoftware/GetLicensedSoftware.go | 2 +- .../GetLicensedSoftwareByID/GetLicensedSoftwareByID.go | 2 +- .../GetLicensedSoftwareByName/GetLicensedSoftwareByName.go | 2 +- .../UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go | 2 +- .../UpdateLicensedSoftwareByName.go | 2 +- ...GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go | 2 +- .../GetListOfPendingLapsRotations.go | 2 +- .../GetLocalAdminPasswordCapableAccountsByClientManagementID.go | 2 +- .../GetLocalAdminPasswordFullHistoryByClientManagementID.go | 2 +- .../GetLocalAdminPasswordSettings.go | 2 +- .../GetLocalAdminPasswordViewedHistory.go | 2 +- .../SetLocalAdminPasswordByClientManagementID.go | 2 +- .../UpdateLocalAdminPasswordSettings.go | 2 +- examples/locales/GetLocales/GetLocales.go | 2 +- .../DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go | 2 +- .../GetLogFlushingSettings/GetLogFlushingSettings.go | 2 +- .../GetLogFlushingTaskByID/GetLogFlushingTaskByID.go | 2 +- .../log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go | 2 +- .../log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go | 2 +- .../GetLoginCustomization/GetLoginCustomization.go | 2 +- .../UpdateLoginCustomization/UpdateLoginCustomization.go | 2 +- .../CreateMacApplication/CreateMacApplication.go | 2 +- .../DeleteMacApplicationByID/DeleteMacApplicationByID.go | 2 +- .../DeleteMacApplicationByName/DeleteMacApplicationByName.go | 2 +- .../GetMacApplicationByID/GetMacApplicationByID.go | 2 +- .../GetMacApplicationByIDAndDataSubset.go | 2 +- .../GetMacApplicationByName/GetMacApplicationByName.go | 2 +- .../GetMacApplicationByNameAndDataSubset.go | 2 +- .../mac_applications/GetMacApplications/GetMacApplications.go | 2 +- .../UpdateMacApplicationByID/UpdateMacApplicationByID.go | 2 +- .../UpdateMacApplicationByName/UpdateMacApplicationByName.go | 2 +- .../CreateConfigProfileWithCustomSettingsSchema.go | 2 +- .../CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go | 2 +- .../GetConfigProfileByPayloadUUID.go | 2 +- .../GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go | 2 +- .../CreateMacOSConfigurationProfile.go | 2 +- .../DeleteAllMacOSConfigurationProfiles.go | 2 +- .../DeleteMacOSConfigurationProfileByID.go | 2 +- .../DeleteMacOSConfigurationProfileByName.go | 2 +- .../GetMacOSConfigurationProfileByID.go | 2 +- .../GetMacOSConfigurationProfileByName.go | 2 +- .../GetMacOSConfigurationProfileNameByID.go | 2 +- .../GetMacOSConfigurationProfiles.go | 2 +- .../UpdateMacOSConfigurationProfileByID.go | 2 +- .../UpdateMacOSConfigurationProfileByIDWithFileUpload.go | 2 +- .../UpdateMacOSConfigurationProfileByName.go | 2 +- .../CreateManagedSoftwareUpdatePlanByDeviceID.go | 2 +- .../CreateManagedSoftwareUpdatePlanByGroupID.go | 2 +- .../GetManagedSoftwareUpdateFeatureToggle.go | 2 +- .../GetManagedSoftwareUpdatePlans.go | 2 +- .../GetManagedSoftwareUpdatePlansByGroupID.go | 2 +- .../GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go | 2 +- .../UpdateManagedSoftwareUpdateFeatureToggle.go | 2 +- .../SendMDMCommandForCreationAndQueuing.go | 2 +- .../SendMDMCommandForMDMProfileRenewal.go | 2 +- .../SendMDMCommandForPackageDeployment.go | 2 +- .../CreateMobileDeviceApplication.go | 2 +- .../DeleteMobileDeviceApplicationByBundleID.go | 2 +- .../DeleteMobileDeviceApplicationByBundleIDAndVersion.go | 2 +- .../DeleteMobileDeviceApplicationByName.go | 2 +- .../DeleteMobileDeviceApplicationpByID.go | 2 +- .../GetMobileDeviceApplicationByAppBundleID.go | 2 +- .../GetMobileDeviceApplicationByAppBundleIDAndVersion.go | 2 +- .../GetMobileDeviceApplicationByID.go | 2 +- .../GetMobileDeviceApplicationByIDAndDataSubset.go | 2 +- .../GetMobileDeviceApplicationByName.go | 2 +- .../GetMobileDeviceApplicationByNameAndDataSubset.go | 2 +- .../GetMobileDeviceApplications/GetMobileDeviceApplications.go | 2 +- .../UpdateMobileDeviceApplicationByApplicationBundleID.go | 2 +- .../UpdateMobileDeviceApplicationByID.go | 2 +- .../UpdateMobileDeviceApplicationByIDAndAppVersion.go | 2 +- .../UpdateMobileDeviceApplicationByName.go | 2 +- .../CreateMobileDeviceConfigurationProfile.go | 2 +- .../DeleteMobileDeviceConfigurationProfileByID.go | 2 +- .../DeleteMobileDeviceConfigurationProfileByName.go | 2 +- .../GetMobileDeviceConfigurationProfileByID.go | 2 +- .../GetMobileDeviceConfigurationProfileByIDWithSubset.go | 2 +- .../GetMobileDeviceConfigurationProfileByName.go | 2 +- .../GetMobileDeviceConfigurationProfileByNameWithSubset.go | 2 +- .../GetMobileDeviceConfigurationProfiles.go | 2 +- .../UpdateMobileDeviceConfigurationProfileByID.go | 2 +- .../UpdateMobileDeviceConfigurationProfileByName.go | 2 +- .../CreateMobileDeviceGroupSmart.go | 2 +- .../CreateMobileDeviceGroupStatic.go | 2 +- .../DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go | 2 +- .../DeleteMobileDeviceGroupByName.go | 2 +- .../GetMobileDeviceGroups/GetMobileDeviceGroups.go | 2 +- .../GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go | 2 +- .../GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go | 2 +- .../UpdateMobileDeviceGroupByIDSmart.go | 2 +- .../UpdateMobileDeviceGroupByIDStatic.go | 2 +- .../UpdateMobileDeviceGroupByIDStaticGroupAdditions.go | 2 +- .../UpdateMobileDeviceGroupByIDStaticGroupDeletions.go | 2 +- .../UpdateMobileDeviceGroupByNameSmart.go | 2 +- .../UpdateMobileDeviceGroupByNameStatic.go | 2 +- .../CreateMobileDeviceEnrollmentProfile.go | 2 +- .../DeleteMobileDeviceEnrollmentProfileByID.go | 2 +- .../DeleteMobileDeviceEnrollmentProfileByInvitation.go | 2 +- .../DeleteMobileDeviceEnrollmentProfileByName.go | 2 +- .../GetMobileDeviceEnrollmentProfileByID.go | 2 +- .../GetMobileDeviceEnrollmentProfileByIDWithSubset.go | 2 +- .../GetMobileDeviceEnrollmentProfileByName.go | 2 +- .../GetMobileDeviceEnrollmentProfileByNameWithSubset.go | 2 +- .../GetMobileDeviceEnrollmentProfiles.go | 2 +- .../GetProfileByInvitation/GetProfileByInvitation.go | 2 +- .../UpdateMobileDeviceEnrollmentProfileByID.go | 2 +- .../UpdateMobileDeviceEnrollmentProfileByInvitation.go | 2 +- .../UpdateMobileDeviceEnrollmentProfileByName.go | 2 +- .../CreateMobileDeviceProvisioningProfileByID.go | 2 +- .../CreateMobileDeviceProvisioningProfileByName.go | 2 +- .../CreateMobileDeviceProvisioningProfileByUUID.go | 2 +- .../DeleteMobileDeviceProvisioningProfileByID.go | 2 +- .../DeleteMobileDeviceProvisioningProfileByName.go | 2 +- .../DeleteMobileDeviceProvisioningProfileByUUID.go | 2 +- .../GetMobileDeviceProvisioningProfileByID.go | 2 +- .../GetMobileDeviceProvisioningProfileByName.go | 2 +- .../GetMobileDeviceProvisioningProfileByUUID.go | 2 +- .../GetMobileDeviceProvisioningProfiles.go | 2 +- .../UpdateMobileDeviceProvisioningProfileByID.go | 2 +- .../UpdateMobileDeviceProvisioningProfileByName.go | 2 +- .../UpdateMobileDeviceProvisioningProfileByUUID.go | 2 +- .../mobile_devices/CreateMobileDevice/CreateMobileDevice.go | 2 +- .../DeleteMobileDeviceByID/DeleteMobileDeviceByID.go | 2 +- .../DeleteMobileDeviceByName/DeleteMobileDeviceByName.go | 2 +- .../GetMobileDeviceByIDAndDataSubset.go | 2 +- .../GetMobileDeviceByName/GetMobileDeviceByName.go | 2 +- .../GetMobileDeviceByNameAndDataSubset.go | 2 +- examples/mobile_devices/GetMobileDevices/GetMobileDevices.go | 2 +- .../mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go | 2 +- .../UpdateMobileDeviceByID/UpdateMobileDeviceByID.go | 2 +- .../UpdateMobileDeviceByName/UpdateMobileDeviceByName.go | 2 +- .../CreateMobileExtensionAttribute.go | 2 +- .../DeleteMobileExtensionAttributeByID.go | 2 +- .../DeleteMobileExtensionAttributeByName.go | 2 +- .../GetMobileExtensionAttributeByID.go | 2 +- .../GetMobileExtensionAttributeByName.go | 2 +- .../GetMobileExtensionAttributes.go | 2 +- .../UpdateMobileExtensionAttributeByID.go | 2 +- .../UpdateMobileExtensionAttributeByName.go | 2 +- .../CreateNetworkSegment/CreateNetworkSegment.go | 2 +- .../DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go | 2 +- .../DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go | 2 +- .../GetNetworkSegmentByID/GetNetworkSegmentByID.go | 2 +- .../GetNetworkSegmentByName/GetNetworkSegmentByName.go | 2 +- .../network_segments/GetNetworkSegments/GetNetworkSegments.go | 2 +- .../UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go | 2 +- .../UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go | 2 +- .../GetNotificationsForUserAndSite.go | 2 +- .../GenerateKeystoreForOIDCMessages.go | 2 +- .../GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go | 2 +- .../SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go | 2 +- examples/packages/CreatePackage/CreatePackage.go | 2 +- .../DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go | 2 +- .../DeletePackageManifestByID/DeletePackageManifestByID.go | 2 +- examples/packages/DeletePackagesByID/DeletePackageByID.go | 2 +- examples/packages/GetPackageByID/GetPackageByID.go | 2 +- examples/packages/GetPackageByName/GetPackageByName.go | 2 +- .../GetPackageHistoryByPackageID.go | 2 +- examples/packages/GetPackages/GetPackages.go | 2 +- .../packages/UpdatePackageManifestByID/UpdatePackageByID.go | 2 +- examples/packages/UploadPackage/UploadPackage.go | 2 +- .../AcceptPatchManagementDisclaimer.go | 2 +- .../CreateExternalPatchSource/CreateExternalPatchSource.go | 2 +- .../DeleteExternalPatchSourceByID.go | 2 +- .../GetPatchExternalSourceByID/GetPatchExternalSourceByID.go | 2 +- .../GetPatchExternalSourceByName.go | 2 +- .../GetPatchExternalSources/GetPatchExternalSources.go | 2 +- .../UpdateExternalPatchSourceByID.go | 2 +- .../AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go | 2 +- examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go | 2 +- .../DeletePatchPolicyByID/DeletePatchPolicyByID.go | 2 +- .../DeletePatchPolicyFromDashboard.go | 2 +- examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go | 2 +- .../patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go | 2 +- .../patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go | 2 +- .../GetPatchPolicyDashboardStatus.go | 2 +- .../UpdatePatchPolicyByID/UpdatePatchPolicyByID.go | 2 +- .../CreatePatchSoftwareTitleConfiguration.go | 2 +- .../GetPatchSoftwareTitleConfigurationById.go | 2 +- .../GetPatchSoftwareTitleConfigurationByName.go | 2 +- .../GetPatchSoftwareTitleDefinitions.go | 2 +- .../GetPatchSoftwareTitleDependencies.go | 2 +- .../GetPatchSoftwareTitleExtensionAttributes.go | 2 +- .../GetSoftwareTitleConfigurations.go | 2 +- .../UpdatePatchSoftwareTitleConfigurationById.go | 2 +- .../CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go | 2 +- .../CreateDirectoryBindingPolicy.go | 2 +- .../CreateDisableUserForFilevault2Policy.go | 2 +- .../CreateDiskEncryptionWithIndividualKeyPolicy.go | 2 +- .../CreateDiskEncryptionWithInstitutionalKeyPolicy.go | 2 +- examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go | 2 +- .../CreateEFIPasswordRemovePolicy.go | 2 +- .../CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go | 2 +- .../CreateFileAndProcessesPolicy.go | 2 +- .../policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go | 2 +- .../CreateManagementAccountPolicy.go | 2 +- .../CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go | 2 +- examples/policies/CreatePackagePolicy/CreatePackagePolicy.go | 2 +- .../CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go | 2 +- examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go | 2 +- .../CreateResetAccountPasswordPolicy.go | 2 +- .../CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go | 2 +- examples/policies/CreateScriptPolicy/CreateScriptPolicy.go | 2 +- .../policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go | 2 +- .../CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go | 2 +- .../CreateUserInterationPolicy/CreateUserInterationPolicy.go | 2 +- examples/policies/DeletePolicyByID/DeletePolicyByID.go | 2 +- examples/policies/DeletePolicyByName/DeletePolicyByName.go | 2 +- examples/policies/GetPolicies/GetPolicies.go | 2 +- examples/policies/GetPoliciesByType/GetPoliciesByType.go | 2 +- examples/policies/GetPolicyByCategory/GetPolicyByCategory.go | 2 +- examples/policies/GetPolicyByID/GetPolicyByID.go | 2 +- examples/policies/GetPolicyByName/GetPolicyByName.go | 2 +- examples/policies/UpdatePolicyByID/UpdatePolicyByID.go | 2 +- examples/policies/UpdatePolicyByName/UpdatePolicyByName.go | 2 +- .../GetPolicyProperties/GetPolicyProperties.go | 2 +- .../UpdatePolicyProperties/UpdatePolicyProperties.go | 2 +- examples/printers/CreatePrinters/CreatePrinters.go | 2 +- examples/printers/DeleteAllPrinters/DeleteAllPrinters.go | 2 +- examples/printers/DeletePrinterByID/DeletePrinterByID.go | 2 +- examples/printers/DeletePrinterByName/DeletePrinterByName.go | 2 +- examples/printers/GetPrinterByID/GetPrinterByID.go | 2 +- examples/printers/GetPrinterByName/GetPrinterByName.go | 2 +- examples/printers/GetPrinters/GetPrinters.go | 2 +- examples/printers/UpdatePrinterByID/UpdatePrinterByID.go | 2 +- examples/printers/UpdatePrinterByName/UpdatePrinterByName.go | 2 +- .../CreateRemovableMACAddress/CreateRemovableMACAddress.go | 2 +- .../DeleteRemovableMACAddressByID.go | 2 +- .../DeleteRemovableMACAddressByName.go | 2 +- .../GetRemovableMACAddressByID/GetRemovableMACAddressByID.go | 2 +- .../GetRemovableMACAddressByName.go | 2 +- .../GetRemovableMACAddresses/GetRemovableMACAddresses.go | 2 +- .../UpdateRemovableMACAddressByID.go | 2 +- .../UpdateRemovableMACAddressByName.go | 2 +- .../CreateRestrictedSoftware/CreateRestrictedSoftware.go | 2 +- .../DeleteRestrictedSoftwareByID.go | 2 +- .../DeleteRestrictedSoftwareByName.go | 2 +- .../GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go | 2 +- .../GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go | 2 +- .../GetRestrictedSoftwares/GetRestrictedSoftwares.go | 2 +- .../UpdateRestrictedSoftwareByID.go | 2 +- .../UpdateRestrictedSoftwareByName.go | 2 +- .../CreateReturnToServiceConfiguration.go | 2 +- .../GetReturnToServiceConfigurations.go | 2 +- examples/scripts/CreateScript/CreateScript.go | 2 +- .../CreateScriptWithFileUpload/CreateScriptWithFileUpload.go | 2 +- examples/scripts/DeleteAllScripts/DeleteAllScripts.go | 2 +- examples/scripts/DeleteScriptByID/DeleteScriptByID.go | 2 +- examples/scripts/DeleteScriptByName/DeleteScriptByName.go | 2 +- examples/scripts/GetScripts/GetScripts.go | 2 +- examples/scripts/GetScriptsByID/GetScriptsByID.go | 2 +- examples/scripts/GetScriptsByName/GetScriptsByName.go | 2 +- examples/scripts/UpdateScriptByID/UpdateScriptByID.go | 2 +- .../UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go | 2 +- examples/scripts/UpdateScriptByName/UpdateScriptByName.go | 2 +- .../UpdateScriptByNameWithFileUpload.go | 2 +- .../UploadSelfServiceBrandingImage.go | 2 +- .../CreateSelfServiceBrandingMacOS.go | 2 +- .../DeleteSelfServiceBrandingMacOSByID.go | 2 +- .../DeleteSelfServiceBrandingMacOSByName.go | 2 +- .../GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go | 2 +- .../GetSelfServiceBrandingMacOSByID.go | 2 +- .../UpdateSelfServiceBrandingMacOSByID.go | 2 +- .../UpdateSelfServiceBrandingMacOSByName.go | 2 +- .../GetSelfServiceSettings/GetSelfServiceSettings.go | 2 +- .../UpdateSelfServiceSettings/UpdateSelfServiceSettings.go | 2 +- examples/sites/CreateSite/CreateSite.go | 2 +- examples/sites/DeleteAllSites/DeleteAllSites.go | 2 +- examples/sites/DeleteSiteByID/DeleteSiteByID.go | 2 +- examples/sites/DeleteSiteByName/DeleteSiteByName.go | 2 +- examples/sites/GetSiteByID/GetSiteByID.go | 2 +- examples/sites/GetSiteByName/GetSiteByName.go | 2 +- examples/sites/GetSites/GetSites.go | 2 +- examples/sites/UpdateSiteByID/UpdateSiteByID.go | 2 +- examples/sites/UpdateSiteByName/UpdateSiteByName.go | 2 +- .../CreateSmartComputerGroup/CreateSmartComputerGroup.go | 2 +- .../DeleteComputerGroupByID/DeleteComputerGroupByID.go | 2 +- .../GetComputerGroupByID/GetComputerGroupByID.go | 2 +- .../GetSmartComputerGroupByName/GetSmartComputerGroupByName.go | 2 +- .../GetSmartComputerGroupMembershipByID.go | 2 +- .../GetSmartComputerGroups/GetSmartComputerGroups.go | 2 +- .../GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go | 2 +- .../UpdateSmartComputerGroupByID.go | 2 +- .../GetSMTPServerInformation/GetSMTPServerInformation.go | 2 +- .../UpdateSMTPServerInformationBasicAuth.go | 2 +- .../UpdateSMTPServerInformationGoogleAuth.go | 2 +- .../UpdateSMTPServerInformationGraphAPIAuth.go | 2 +- .../CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go | 2 +- .../DeleteSoftwareUpdateServerByID.go | 2 +- .../DeleteSoftwareUpdateServerByName.go | 2 +- .../GetSoftwareUpdateServers/GetSoftwareUpdateServers.go | 2 +- .../GetSoftwareUpdateServersByID.go | 2 +- .../GetSoftwareUpdateServersByName.go | 2 +- .../UpdateSoftwareUpdateServerByID.go | 2 +- .../UpdateSoftwareUpdateServerByName.go | 2 +- examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go | 2 +- .../sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go | 2 +- examples/startup_status/GetStartupStatus/GetStartupStatus.go | 2 +- .../CreateStaticComputerGroup/CreateStaticComputerGroup.go | 2 +- .../UpdateStaticComputerGroupByID.go | 2 +- .../UpdateStaticComputerGroupByName.go | 2 +- examples/time_zones/GetTimeZones/GetTimeZones.go | 2 +- .../CreateUserExtensionAttribute.go | 2 +- .../DeleteUserExtensionAttributeByID.go | 2 +- .../DeleteUserExtensionAttributeByName.go | 2 +- .../GetUserExtensionAttributeByID.go | 2 +- .../GetUserExtensionAttributeByName.go | 2 +- .../GetUserExtensionAttributes/GetUserExtensionAttributes.go | 2 +- .../UpdateUserExtensionAttributeByID.go | 2 +- .../UpdateUserExtensionAttributeByName.go | 2 +- .../user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go | 2 +- .../user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go | 2 +- examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go | 2 +- examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go | 2 +- .../user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go | 2 +- examples/user_groups/GetUserGroups/GetUserGroups.go | 2 +- examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go | 2 +- examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go | 2 +- .../UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go | 2 +- .../UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go | 2 +- .../UpdateUserGroupByIDStaticAdditions.go | 2 +- .../UpdateUserGroupByIDStaticDeletions.go | 2 +- .../UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go | 2 +- .../UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go | 2 +- .../UpdateUserGroupByNameStaticAdditions.go | 2 +- .../UpdateUserGroupByNameStaticDeletions.go | 2 +- examples/users/CreateUser/CreateUser.go | 2 +- examples/users/DeleteUserByEmail/DeleteUserByEmail.go | 2 +- examples/users/DeleteUserByID/DeleteUserByID.go | 2 +- examples/users/DeleteUserByName/DeleteUserByName.go | 2 +- examples/users/GetUserByEmail/GetUserByEmail.go | 2 +- examples/users/GetUserByID/GetUserByID.go | 2 +- examples/users/GetUserByName/GetUserByName.go | 2 +- examples/users/GetUsers/GetUsers.go | 2 +- examples/users/UpdateUserByEmail/UpdateUserByEmail.go | 2 +- examples/users/UpdateUserByID/UpdateUserByID.go | 2 +- examples/users/UpdateUserByName/UpdateUserByName.go | 2 +- .../CreateVolumePurchasingSubscription.go | 2 +- .../DeleteVolumePurchasingSubscriptionByID.go | 2 +- .../DeleteVolumePurchasingSubscriptionByName.go | 2 +- .../GetVolumePurchasingSubscriptionByID.go | 2 +- .../GetVolumePurchasingSubscriptionByName.go | 2 +- .../GetVolumePurchasingSubscriptions.go | 2 +- .../UpdateVolumePurchasingSubscriptionByID.go | 2 +- .../UpdateVolumePurchasingSubscriptionByName.go | 2 +- examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go | 2 +- .../vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go | 2 +- examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go | 2 +- examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go | 2 +- examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go | 2 +- .../vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go | 2 +- .../DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go | 2 +- .../GetVPPAssignmentByID/GetVPPAssignmentByID.go | 2 +- examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go | 2 +- .../UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go | 2 +- examples/webhooks/CreateWebhook/CreateWebhook.go | 2 +- examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go | 2 +- examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go | 2 +- examples/webhooks/GetWebhookByID/GetWebhookByID.go | 2 +- examples/webhooks/GetWebhookByName/GetWebhookByName.go | 2 +- examples/webhooks/GetWebhooks/GetWebhooks.go | 2 +- examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go | 2 +- examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go | 2 +- .../SetAllAvailableApiPriviledgesToRole.go | 2 +- .../DeleteAllComputerExtensionAttributes.go | 2 +- .../ExportComputerExtensionAttributes.go | 2 +- .../GetAllComputerHistories/GetAllComputerHistories.go | 2 +- .../GetAllComputersWithFailedCommands.go | 2 +- .../SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go | 2 +- .../jamf_pro_initialization_server/InitializeAndcheckStatus.go | 2 +- .../GetLocalAdminPasswordCapableAccountsByComputerName.go | 2 +- .../SetLocalAdminPasswordForAllCapableAccountsByComputerName.go | 2 +- .../CreateMacOSConfigurationProfileWithFileUpload.go | 2 +- .../CreateMacOSConfigurationProfileWithFullScope.go | 2 +- .../DeleteAllMacOSConfigurationProfiles.go | 2 +- .../SetOrRemoveRecoveryLockForAppleSiliconMacs.go | 2 +- .../CreateMacOSConfigurationProfileWithFileUpload.go | 2 +- recipes/packages/package_uploader/main.go | 2 +- .../UploadPackageAndAssignToPatchPolicy.go | 2 +- .../policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go | 2 +- recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go | 2 +- .../Export_All_Assigned_Privileges_By_Api_Integration.go | 2 +- .../Export_All_Available_Privileges_By_Type_To_Json.go | 2 +- .../DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go | 2 +- recipes/scripts/DeleteAllScripts/DeleteAllScripts.go | 2 +- 731 files changed, 731 insertions(+), 731 deletions(-) diff --git a/examples/account_groups/CreateAccountGroup/CreateAccountGroup.go b/examples/account_groups/CreateAccountGroup/CreateAccountGroup.go index e96bdded1..46c5283c7 100644 --- a/examples/account_groups/CreateAccountGroup/CreateAccountGroup.go +++ b/examples/account_groups/CreateAccountGroup/CreateAccountGroup.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/DeleteAccountGroupByID/DeleteAccountGroupByID.go b/examples/account_groups/DeleteAccountGroupByID/DeleteAccountGroupByID.go index 284b89111..a39885e29 100644 --- a/examples/account_groups/DeleteAccountGroupByID/DeleteAccountGroupByID.go +++ b/examples/account_groups/DeleteAccountGroupByID/DeleteAccountGroupByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/DeleteAccountGroupByName/DeleteAccountGroupByName.go b/examples/account_groups/DeleteAccountGroupByName/DeleteAccountGroupByName.go index 65f8c30cc..b7175e3ae 100644 --- a/examples/account_groups/DeleteAccountGroupByName/DeleteAccountGroupByName.go +++ b/examples/account_groups/DeleteAccountGroupByName/DeleteAccountGroupByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/DeleteAllAccountGroups/DeleteAllAccountGroups.go b/examples/account_groups/DeleteAllAccountGroups/DeleteAllAccountGroups.go index 23a04c631..90df31a6e 100644 --- a/examples/account_groups/DeleteAllAccountGroups/DeleteAllAccountGroups.go +++ b/examples/account_groups/DeleteAllAccountGroups/DeleteAllAccountGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/GetAccountGroupByID/GetAccountGroupByID.go b/examples/account_groups/GetAccountGroupByID/GetAccountGroupByID.go index 9acc4f63f..a2513ca9b 100644 --- a/examples/account_groups/GetAccountGroupByID/GetAccountGroupByID.go +++ b/examples/account_groups/GetAccountGroupByID/GetAccountGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/GetAccountGroupByName/GetAccountGroupByName.go b/examples/account_groups/GetAccountGroupByName/GetAccountGroupByName.go index e08ebac39..8af3c9306 100644 --- a/examples/account_groups/GetAccountGroupByName/GetAccountGroupByName.go +++ b/examples/account_groups/GetAccountGroupByName/GetAccountGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/UpdateAccountGroupByID/UpdateAccountGroupByID.go b/examples/account_groups/UpdateAccountGroupByID/UpdateAccountGroupByID.go index fe76884b8..abad048af 100644 --- a/examples/account_groups/UpdateAccountGroupByID/UpdateAccountGroupByID.go +++ b/examples/account_groups/UpdateAccountGroupByID/UpdateAccountGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_groups/UpdateAccountGroupByName/UpdateAccountGroupByName.go b/examples/account_groups/UpdateAccountGroupByName/UpdateAccountGroupByName.go index bfa2b259c..a7d53dbfc 100644 --- a/examples/account_groups/UpdateAccountGroupByName/UpdateAccountGroupByName.go +++ b/examples/account_groups/UpdateAccountGroupByName/UpdateAccountGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_preferences/GetAccountPreferences/GetAccountPreferences.go b/examples/account_preferences/GetAccountPreferences/GetAccountPreferences.go index 53a199eaf..f766f6204 100644 --- a/examples/account_preferences/GetAccountPreferences/GetAccountPreferences.go +++ b/examples/account_preferences/GetAccountPreferences/GetAccountPreferences.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/account_preferences/UpdateAccountPreferences/UpdateAccountPreferences.go b/examples/account_preferences/UpdateAccountPreferences/UpdateAccountPreferences.go index 4db3613e2..9347eaee1 100644 --- a/examples/account_preferences/UpdateAccountPreferences/UpdateAccountPreferences.go +++ b/examples/account_preferences/UpdateAccountPreferences/UpdateAccountPreferences.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/CreateAccountWithFullAccess/CreateAccountWithFullAccess.go b/examples/accounts/CreateAccountWithFullAccess/CreateAccountWithFullAccess.go index 1dd604dd6..31dbcd082 100644 --- a/examples/accounts/CreateAccountWithFullAccess/CreateAccountWithFullAccess.go +++ b/examples/accounts/CreateAccountWithFullAccess/CreateAccountWithFullAccess.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/CreateAccountWithGroupAccess/CreateAccountWithGroupAccess.go b/examples/accounts/CreateAccountWithGroupAccess/CreateAccountWithGroupAccess.go index 4139608fa..f1c28d6db 100644 --- a/examples/accounts/CreateAccountWithGroupAccess/CreateAccountWithGroupAccess.go +++ b/examples/accounts/CreateAccountWithGroupAccess/CreateAccountWithGroupAccess.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go b/examples/accounts/CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go index 80313dc2d..429309f5f 100644 --- a/examples/accounts/CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go +++ b/examples/accounts/CreateAccountWithSiteAccess/CreateAccountWithSiteAccess.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/DeleteAccountByID/DeleteAccountByID.go b/examples/accounts/DeleteAccountByID/DeleteAccountByID.go index 2cdba5ae7..5796ae558 100644 --- a/examples/accounts/DeleteAccountByID/DeleteAccountByID.go +++ b/examples/accounts/DeleteAccountByID/DeleteAccountByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/DeleteAccountByName/DeleteAccountByName.go b/examples/accounts/DeleteAccountByName/DeleteAccountByName.go index ae10ca112..5ed2ce342 100644 --- a/examples/accounts/DeleteAccountByName/DeleteAccountByName.go +++ b/examples/accounts/DeleteAccountByName/DeleteAccountByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/GetAccountByID/GetAccountByID.go b/examples/accounts/GetAccountByID/GetAccountByID.go index 3a1e975d1..355c358dc 100644 --- a/examples/accounts/GetAccountByID/GetAccountByID.go +++ b/examples/accounts/GetAccountByID/GetAccountByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/GetAccountByName/GetAccountByName.go b/examples/accounts/GetAccountByName/GetAccountByName.go index 5aeaf015d..d9f190c0b 100644 --- a/examples/accounts/GetAccountByName/GetAccountByName.go +++ b/examples/accounts/GetAccountByName/GetAccountByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/GetAccounts/GetAccounts.go b/examples/accounts/GetAccounts/GetAccounts.go index 4fc2ef026..9716cd38e 100644 --- a/examples/accounts/GetAccounts/GetAccounts.go +++ b/examples/accounts/GetAccounts/GetAccounts.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/UpdateAccountByID/UpdateAccountByID.go b/examples/accounts/UpdateAccountByID/UpdateAccountByID.go index 51f6f3225..c2ae97e62 100644 --- a/examples/accounts/UpdateAccountByID/UpdateAccountByID.go +++ b/examples/accounts/UpdateAccountByID/UpdateAccountByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/accounts/UpdateAccountByName/UpdateAccountByName.go b/examples/accounts/UpdateAccountByName/UpdateAccountByName.go index a137cad49..9f49ac6e0 100644 --- a/examples/accounts/UpdateAccountByName/UpdateAccountByName.go +++ b/examples/accounts/UpdateAccountByName/UpdateAccountByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/activationcode/GetActivationCode/GetActivationCode.go b/examples/activationcode/GetActivationCode/GetActivationCode.go index 03a3992b5..e28358ddd 100644 --- a/examples/activationcode/GetActivationCode/GetActivationCode.go +++ b/examples/activationcode/GetActivationCode/GetActivationCode.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/activationcode/UpdateActivationCode/UpdateActivationCode.go b/examples/activationcode/UpdateActivationCode/UpdateActivationCode.go index c80982157..60fe15f35 100644 --- a/examples/activationcode/UpdateActivationCode/UpdateActivationCode.go +++ b/examples/activationcode/UpdateActivationCode/UpdateActivationCode.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/CreateAdvancedComputerSearch/CreateAdvancedComputerSearch.go b/examples/advanced_computer_searches/CreateAdvancedComputerSearch/CreateAdvancedComputerSearch.go index 23b8ec99c..9a53b1803 100644 --- a/examples/advanced_computer_searches/CreateAdvancedComputerSearch/CreateAdvancedComputerSearch.go +++ b/examples/advanced_computer_searches/CreateAdvancedComputerSearch/CreateAdvancedComputerSearch.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByID/DeleteAdvancedComputerSearchByID.go b/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByID/DeleteAdvancedComputerSearchByID.go index c98a95a07..8978b24c4 100644 --- a/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByID/DeleteAdvancedComputerSearchByID.go +++ b/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByID/DeleteAdvancedComputerSearchByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByName/DeleteAdvancedComputerSearchByName.go b/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByName/DeleteAdvancedComputerSearchByName.go index d91bf63e7..8df26acee 100644 --- a/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByName/DeleteAdvancedComputerSearchByName.go +++ b/examples/advanced_computer_searches/DeleteAdvancedComputerSearchByName/DeleteAdvancedComputerSearchByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/GetAdvancedComputerSearchByID/GetAdvancedComputerSearchByID.go b/examples/advanced_computer_searches/GetAdvancedComputerSearchByID/GetAdvancedComputerSearchByID.go index 00a475c57..30d406d18 100644 --- a/examples/advanced_computer_searches/GetAdvancedComputerSearchByID/GetAdvancedComputerSearchByID.go +++ b/examples/advanced_computer_searches/GetAdvancedComputerSearchByID/GetAdvancedComputerSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/GetAdvancedComputerSearches/GetAdvancedComputerSearches.go b/examples/advanced_computer_searches/GetAdvancedComputerSearches/GetAdvancedComputerSearches.go index e60c39fbd..7e46f6ae1 100644 --- a/examples/advanced_computer_searches/GetAdvancedComputerSearches/GetAdvancedComputerSearches.go +++ b/examples/advanced_computer_searches/GetAdvancedComputerSearches/GetAdvancedComputerSearches.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/GetAdvancedComputerSearchesByName/GetAdvancedComputerSearchesByName.go b/examples/advanced_computer_searches/GetAdvancedComputerSearchesByName/GetAdvancedComputerSearchesByName.go index 99e70356d..50a892337 100644 --- a/examples/advanced_computer_searches/GetAdvancedComputerSearchesByName/GetAdvancedComputerSearchesByName.go +++ b/examples/advanced_computer_searches/GetAdvancedComputerSearchesByName/GetAdvancedComputerSearchesByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByID/UpdateAdvancedComputerSearchByID.go b/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByID/UpdateAdvancedComputerSearchByID.go index ad9eb9900..621b89945 100644 --- a/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByID/UpdateAdvancedComputerSearchByID.go +++ b/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByID/UpdateAdvancedComputerSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByName/UpdateAdvancedComputerSearchByName.go b/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByName/UpdateAdvancedComputerSearchByName.go index a08ff748d..7f8449f8c 100644 --- a/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByName/UpdateAdvancedComputerSearchByName.go +++ b/examples/advanced_computer_searches/UpdateAdvancedComputerSearchByName/UpdateAdvancedComputerSearchByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/CreateAdvancedMobileDeviceSearch/CreateAdvancedMobileDeviceSearch.go b/examples/advanced_mobile_device_searches/CreateAdvancedMobileDeviceSearch/CreateAdvancedMobileDeviceSearch.go index 64a24c754..9df3a30ba 100644 --- a/examples/advanced_mobile_device_searches/CreateAdvancedMobileDeviceSearch/CreateAdvancedMobileDeviceSearch.go +++ b/examples/advanced_mobile_device_searches/CreateAdvancedMobileDeviceSearch/CreateAdvancedMobileDeviceSearch.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/DeleteAdvancedMobileDeviceSearchByID/DeleteAdvancedMobileDeviceSearchByID.go b/examples/advanced_mobile_device_searches/DeleteAdvancedMobileDeviceSearchByID/DeleteAdvancedMobileDeviceSearchByID.go index 4fc55eb81..f80192496 100644 --- a/examples/advanced_mobile_device_searches/DeleteAdvancedMobileDeviceSearchByID/DeleteAdvancedMobileDeviceSearchByID.go +++ b/examples/advanced_mobile_device_searches/DeleteAdvancedMobileDeviceSearchByID/DeleteAdvancedMobileDeviceSearchByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByID/GetAdvancedMobileDeviceSearchByID.go b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByID/GetAdvancedMobileDeviceSearchByID.go index eae757dbf..20c7932bf 100644 --- a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByID/GetAdvancedMobileDeviceSearchByID.go +++ b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByID/GetAdvancedMobileDeviceSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByName/GetAdvancedMobileDeviceSearchByName.go b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByName/GetAdvancedMobileDeviceSearchByName.go index a041d08ce..b5228d761 100644 --- a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByName/GetAdvancedMobileDeviceSearchByName.go +++ b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearchByName/GetAdvancedMobileDeviceSearchByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearches/GetAdvancedMobileDeviceSearches.go b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearches/GetAdvancedMobileDeviceSearches.go index 5811a5a0a..6d5ffa9b6 100644 --- a/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearches/GetAdvancedMobileDeviceSearches.go +++ b/examples/advanced_mobile_device_searches/GetAdvancedMobileDeviceSearches/GetAdvancedMobileDeviceSearches.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_mobile_device_searches/UpdateAdvancedMobileDeviceSearchByID/UpdateAdvancedMobileDeviceSearchByID.go b/examples/advanced_mobile_device_searches/UpdateAdvancedMobileDeviceSearchByID/UpdateAdvancedMobileDeviceSearchByID.go index a2becb4e6..faff4a76e 100644 --- a/examples/advanced_mobile_device_searches/UpdateAdvancedMobileDeviceSearchByID/UpdateAdvancedMobileDeviceSearchByID.go +++ b/examples/advanced_mobile_device_searches/UpdateAdvancedMobileDeviceSearchByID/UpdateAdvancedMobileDeviceSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/CreateAdvancedUserSearch/CreateAdvancedUserSearch.go b/examples/advanced_user_searches/CreateAdvancedUserSearch/CreateAdvancedUserSearch.go index 589433bc2..9b353cfc7 100644 --- a/examples/advanced_user_searches/CreateAdvancedUserSearch/CreateAdvancedUserSearch.go +++ b/examples/advanced_user_searches/CreateAdvancedUserSearch/CreateAdvancedUserSearch.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/DeleteAdvancedUserSearchByID/DeleteAdvancedUserSearchByID.go b/examples/advanced_user_searches/DeleteAdvancedUserSearchByID/DeleteAdvancedUserSearchByID.go index 8900ec1a2..8e06289b1 100644 --- a/examples/advanced_user_searches/DeleteAdvancedUserSearchByID/DeleteAdvancedUserSearchByID.go +++ b/examples/advanced_user_searches/DeleteAdvancedUserSearchByID/DeleteAdvancedUserSearchByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/DeleteAdvancedUserSearchByName/DeleteAdvancedUserSearchByName.go b/examples/advanced_user_searches/DeleteAdvancedUserSearchByName/DeleteAdvancedUserSearchByName.go index 2fce42df2..472bc51d9 100644 --- a/examples/advanced_user_searches/DeleteAdvancedUserSearchByName/DeleteAdvancedUserSearchByName.go +++ b/examples/advanced_user_searches/DeleteAdvancedUserSearchByName/DeleteAdvancedUserSearchByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go b/examples/advanced_user_searches/GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go index f03155b2d..16c6c382b 100644 --- a/examples/advanced_user_searches/GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go +++ b/examples/advanced_user_searches/GetAdvancedUserSearchByID/GetAdvancedUserSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go b/examples/advanced_user_searches/GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go index 2b690832a..ad21b4ad7 100644 --- a/examples/advanced_user_searches/GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go +++ b/examples/advanced_user_searches/GetAdvancedUserSearchByName/GetAdvancedUserSearchByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/GetAdvancedUserSearches/GetAdvancedUserSearches.go b/examples/advanced_user_searches/GetAdvancedUserSearches/GetAdvancedUserSearches.go index c6e3e450a..a6c88df45 100644 --- a/examples/advanced_user_searches/GetAdvancedUserSearches/GetAdvancedUserSearches.go +++ b/examples/advanced_user_searches/GetAdvancedUserSearches/GetAdvancedUserSearches.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/UpdateAdvancedUserSearchByID/UpdateAdvancedUserSearchByID.go b/examples/advanced_user_searches/UpdateAdvancedUserSearchByID/UpdateAdvancedUserSearchByID.go index 2afd0a9a1..dcc3a7faf 100644 --- a/examples/advanced_user_searches/UpdateAdvancedUserSearchByID/UpdateAdvancedUserSearchByID.go +++ b/examples/advanced_user_searches/UpdateAdvancedUserSearchByID/UpdateAdvancedUserSearchByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/advanced_user_searches/UpdateAdvancedUserSearchByName/UpdateAdvancedUserSearchByName.go b/examples/advanced_user_searches/UpdateAdvancedUserSearchByName/UpdateAdvancedUserSearchByName.go index cda988b34..836ce8c76 100644 --- a/examples/advanced_user_searches/UpdateAdvancedUserSearchByName/UpdateAdvancedUserSearchByName.go +++ b/examples/advanced_user_searches/UpdateAdvancedUserSearchByName/UpdateAdvancedUserSearchByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/CreateAllowedFileExtension/CreateAllowedFileExtension.go b/examples/allowed_file_extensions/CreateAllowedFileExtension/CreateAllowedFileExtension.go index 39d787597..ffedb5ff1 100644 --- a/examples/allowed_file_extensions/CreateAllowedFileExtension/CreateAllowedFileExtension.go +++ b/examples/allowed_file_extensions/CreateAllowedFileExtension/CreateAllowedFileExtension.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/DeleteAllowedFileExtensionByID/DeleteAllowedFileExtensionByID.go b/examples/allowed_file_extensions/DeleteAllowedFileExtensionByID/DeleteAllowedFileExtensionByID.go index e7606c483..e5f078e75 100644 --- a/examples/allowed_file_extensions/DeleteAllowedFileExtensionByID/DeleteAllowedFileExtensionByID.go +++ b/examples/allowed_file_extensions/DeleteAllowedFileExtensionByID/DeleteAllowedFileExtensionByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go b/examples/allowed_file_extensions/GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go index 3e4dd6d07..eb62883c2 100644 --- a/examples/allowed_file_extensions/GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go +++ b/examples/allowed_file_extensions/GetAllowedFileExtensionByID/GetAllowedFileExtensionByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/GetAllowedFileExtensionByName/GetAllowedFileExtensionByName.go b/examples/allowed_file_extensions/GetAllowedFileExtensionByName/GetAllowedFileExtensionByName.go index 70b7fa626..78e880553 100644 --- a/examples/allowed_file_extensions/GetAllowedFileExtensionByName/GetAllowedFileExtensionByName.go +++ b/examples/allowed_file_extensions/GetAllowedFileExtensionByName/GetAllowedFileExtensionByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/allowed_file_extensions/GetAllowedFileExtensions/GetAllowedFileExtensions.go b/examples/allowed_file_extensions/GetAllowedFileExtensions/GetAllowedFileExtensions.go index 1bb0cebdb..95828e6ac 100644 --- a/examples/allowed_file_extensions/GetAllowedFileExtensions/GetAllowedFileExtensions.go +++ b/examples/allowed_file_extensions/GetAllowedFileExtensions/GetAllowedFileExtensions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/CreateBookmark/CreateBookmark.go b/examples/bookmarks/CreateBookmark/CreateBookmark.go index f40d45167..bf6ec7f3e 100644 --- a/examples/bookmarks/CreateBookmark/CreateBookmark.go +++ b/examples/bookmarks/CreateBookmark/CreateBookmark.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go b/examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go index 13480e40b..15341c1dd 100644 --- a/examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go +++ b/examples/bookmarks/DeleteBookmarkByID/DeleteBookmarkByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go b/examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go index 810b43944..58aae13cd 100644 --- a/examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go +++ b/examples/bookmarks/GetBookmarkByID/GetBookmarkByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go b/examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go index aef9eb3de..639bf43f5 100644 --- a/examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go +++ b/examples/bookmarks/GetBookmarkByName/GetBookmarkByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/GetBookmarks/GetBookmarks.go b/examples/bookmarks/GetBookmarks/GetBookmarks.go index ed6025c59..6ef63e877 100644 --- a/examples/bookmarks/GetBookmarks/GetBookmarks.go +++ b/examples/bookmarks/GetBookmarks/GetBookmarks.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go b/examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go index b5665e61f..5d114353d 100644 --- a/examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go +++ b/examples/bookmarks/UpdateBookmarkByID/UpdateBookmarkByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/CreateBuilding/CreateBuilding.go b/examples/buildings/CreateBuilding/CreateBuilding.go index 663f31d7d..ea7d9cace 100644 --- a/examples/buildings/CreateBuilding/CreateBuilding.go +++ b/examples/buildings/CreateBuilding/CreateBuilding.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/CreateBuildingResourceHistoryByID/CreateBuildingResourceHistoryByID.go b/examples/buildings/CreateBuildingResourceHistoryByID/CreateBuildingResourceHistoryByID.go index 6bf37ee07..1450d591e 100644 --- a/examples/buildings/CreateBuildingResourceHistoryByID/CreateBuildingResourceHistoryByID.go +++ b/examples/buildings/CreateBuildingResourceHistoryByID/CreateBuildingResourceHistoryByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go b/examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go index 1f8eb54f0..8ace9d98c 100644 --- a/examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go +++ b/examples/buildings/DeleteBuildingByID/DeleteBuildingByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/DeleteBuildingByNameByID/DeleteBuildingByNameByID.go b/examples/buildings/DeleteBuildingByNameByID/DeleteBuildingByNameByID.go index 62cb39a21..dac3c12f1 100644 --- a/examples/buildings/DeleteBuildingByNameByID/DeleteBuildingByNameByID.go +++ b/examples/buildings/DeleteBuildingByNameByID/DeleteBuildingByNameByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go b/examples/buildings/DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go index d44b083a0..a412e07b7 100644 --- a/examples/buildings/DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go +++ b/examples/buildings/DeleteMultipleBuildingsByID/DeleteMultipleBuildingsByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/GetBuildingByID/GetBuildingByID.go b/examples/buildings/GetBuildingByID/GetBuildingByID.go index ebab470e8..ddc2f336b 100644 --- a/examples/buildings/GetBuildingByID/GetBuildingByID.go +++ b/examples/buildings/GetBuildingByID/GetBuildingByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/GetBuildingResourceHistoryByID/GetBuildingResourceHistoryByID.go b/examples/buildings/GetBuildingResourceHistoryByID/GetBuildingResourceHistoryByID.go index 9a176e7f9..e315d4757 100644 --- a/examples/buildings/GetBuildingResourceHistoryByID/GetBuildingResourceHistoryByID.go +++ b/examples/buildings/GetBuildingResourceHistoryByID/GetBuildingResourceHistoryByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/GetBuildings/GetBuildings.go b/examples/buildings/GetBuildings/GetBuildings.go index 0b25a9d0e..a29ebf744 100644 --- a/examples/buildings/GetBuildings/GetBuildings.go +++ b/examples/buildings/GetBuildings/GetBuildings.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/GetBuildingsByName/GetBuildingsByName.go b/examples/buildings/GetBuildingsByName/GetBuildingsByName.go index 184ac8106..a8d2e8bbf 100644 --- a/examples/buildings/GetBuildingsByName/GetBuildingsByName.go +++ b/examples/buildings/GetBuildingsByName/GetBuildingsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go b/examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go index d118a6af3..a33149fd4 100644 --- a/examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go +++ b/examples/buildings/UpdateBuildingByID/UpdateBuildingByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go b/examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go index 3bd2a2522..c12e6b23d 100644 --- a/examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go +++ b/examples/buildings/UpdateBuildingByName/UpdateBuildingByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go b/examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go index aa501613b..875b7f6e1 100644 --- a/examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go +++ b/examples/byoprofiles/CreateBYOProfile/CreateBYOProfile.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go b/examples/byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go index 537637bdc..5cb11e1c6 100644 --- a/examples/byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go +++ b/examples/byoprofiles/DeleteBYOProfileByID/DeleteBYOProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/DeleteBYOProfileByName/DeleteBYOProfileByName.go b/examples/byoprofiles/DeleteBYOProfileByName/DeleteBYOProfileByName.go index aa4eba3ae..9d8000b83 100644 --- a/examples/byoprofiles/DeleteBYOProfileByName/DeleteBYOProfileByName.go +++ b/examples/byoprofiles/DeleteBYOProfileByName/DeleteBYOProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go b/examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go index d04ede3c6..917a37357 100644 --- a/examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go +++ b/examples/byoprofiles/GetBYOProfileByID/GetBYOProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go b/examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go index 3d24a2b13..f871356a7 100644 --- a/examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go +++ b/examples/byoprofiles/GetBYOProfileByName/GetBYOProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go b/examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go index cbdf3d653..279939c54 100644 --- a/examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go +++ b/examples/byoprofiles/GetBYOProfiles/GetBYOProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go b/examples/byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go index 382996909..fdcf47257 100644 --- a/examples/byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go +++ b/examples/byoprofiles/UpdateBYOProfileByID/UpdateBYOProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/byoprofiles/UpdateBYOProfileByName/UpdateBYOProfileByName.go b/examples/byoprofiles/UpdateBYOProfileByName/UpdateBYOProfileByName.go index ca05cbdbf..1ab35268a 100644 --- a/examples/byoprofiles/UpdateBYOProfileByName/UpdateBYOProfileByName.go +++ b/examples/byoprofiles/UpdateBYOProfileByName/UpdateBYOProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cache_settings/GetCacheSettings/GetCacheSettings.go b/examples/cache_settings/GetCacheSettings/GetCacheSettings.go index a392fde73..f4c12e70d 100644 --- a/examples/cache_settings/GetCacheSettings/GetCacheSettings.go +++ b/examples/cache_settings/GetCacheSettings/GetCacheSettings.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cache_settings/UpdateCacheSettings/UpdateCacheSettings.go b/examples/cache_settings/UpdateCacheSettings/UpdateCacheSettings.go index 991c8e0cf..8910a6334 100644 --- a/examples/cache_settings/UpdateCacheSettings/UpdateCacheSettings.go +++ b/examples/cache_settings/UpdateCacheSettings/UpdateCacheSettings.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/CreateCategory/CreateCategory.go b/examples/categories/CreateCategory/CreateCategory.go index 76dc0f75c..96480f748 100644 --- a/examples/categories/CreateCategory/CreateCategory.go +++ b/examples/categories/CreateCategory/CreateCategory.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/DeleteCategoryByID/DeleteCategoryByID.go b/examples/categories/DeleteCategoryByID/DeleteCategoryByID.go index 42e0c7d09..7ff17ea28 100644 --- a/examples/categories/DeleteCategoryByID/DeleteCategoryByID.go +++ b/examples/categories/DeleteCategoryByID/DeleteCategoryByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/DeleteCategoryByNameByID/DeleteCategoryByNameByID.go b/examples/categories/DeleteCategoryByNameByID/DeleteCategoryByNameByID.go index 5b9e4bc0c..b6b2862d8 100644 --- a/examples/categories/DeleteCategoryByNameByID/DeleteCategoryByNameByID.go +++ b/examples/categories/DeleteCategoryByNameByID/DeleteCategoryByNameByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/DeleteMultipleCategoriesByID/DeleteMultipleCategoriesByID.go b/examples/categories/DeleteMultipleCategoriesByID/DeleteMultipleCategoriesByID.go index b11bbe11d..e6a7fe38e 100644 --- a/examples/categories/DeleteMultipleCategoriesByID/DeleteMultipleCategoriesByID.go +++ b/examples/categories/DeleteMultipleCategoriesByID/DeleteMultipleCategoriesByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/GetCategories/GetCategories.go b/examples/categories/GetCategories/GetCategories.go index dba68d0fb..d1297a3a7 100644 --- a/examples/categories/GetCategories/GetCategories.go +++ b/examples/categories/GetCategories/GetCategories.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/GetCategoryByID/GetCategoryByID.go b/examples/categories/GetCategoryByID/GetCategoryByID.go index ece110c3c..e48668068 100644 --- a/examples/categories/GetCategoryByID/GetCategoryByID.go +++ b/examples/categories/GetCategoryByID/GetCategoryByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/GetCategoryNameByID/GetCategoryNameByID.go b/examples/categories/GetCategoryNameByID/GetCategoryNameByID.go index c6b927ac5..11e1939ab 100644 --- a/examples/categories/GetCategoryNameByID/GetCategoryNameByID.go +++ b/examples/categories/GetCategoryNameByID/GetCategoryNameByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/UpdateCategoryByID/UpdateCategoryByID.go b/examples/categories/UpdateCategoryByID/UpdateCategoryByID.go index 9edb76e32..40124afb7 100644 --- a/examples/categories/UpdateCategoryByID/UpdateCategoryByID.go +++ b/examples/categories/UpdateCategoryByID/UpdateCategoryByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/categories/UpdateCategoryByName/UpdateCategoryByName.go b/examples/categories/UpdateCategoryByName/UpdateCategoryByName.go index ef1e9996c..bef538735 100644 --- a/examples/categories/UpdateCategoryByName/UpdateCategoryByName.go +++ b/examples/categories/UpdateCategoryByName/UpdateCategoryByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/certificate_authority/GetActiveCertificateAuthority/GetActiveCertificateAuthority.go b/examples/certificate_authority/GetActiveCertificateAuthority/GetActiveCertificateAuthority.go index 7f8d4186d..ae29288fc 100644 --- a/examples/certificate_authority/GetActiveCertificateAuthority/GetActiveCertificateAuthority.go +++ b/examples/certificate_authority/GetActiveCertificateAuthority/GetActiveCertificateAuthority.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/CreateClassesByID/CreateClassesByID.go b/examples/classes/CreateClassesByID/CreateClassesByID.go index 49380085b..d6afe3bb9 100644 --- a/examples/classes/CreateClassesByID/CreateClassesByID.go +++ b/examples/classes/CreateClassesByID/CreateClassesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/DeleteClassByID/DeleteClassByID.go b/examples/classes/DeleteClassByID/DeleteClassByID.go index 4e412c480..9db992605 100644 --- a/examples/classes/DeleteClassByID/DeleteClassByID.go +++ b/examples/classes/DeleteClassByID/DeleteClassByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/DeleteClassByName/DeleteClassByName.go b/examples/classes/DeleteClassByName/DeleteClassByName.go index ca078bc17..5b2279aab 100644 --- a/examples/classes/DeleteClassByName/DeleteClassByName.go +++ b/examples/classes/DeleteClassByName/DeleteClassByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/GetClasses/GetClasses.go b/examples/classes/GetClasses/GetClasses.go index 8880b4e80..2821053bd 100644 --- a/examples/classes/GetClasses/GetClasses.go +++ b/examples/classes/GetClasses/GetClasses.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/GetClassesByID/GetClassesByID.go b/examples/classes/GetClassesByID/GetClassesByID.go index 94eee578f..9ad1668f0 100644 --- a/examples/classes/GetClassesByID/GetClassesByID.go +++ b/examples/classes/GetClassesByID/GetClassesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/GetClassesByName/GetClassesByName.go b/examples/classes/GetClassesByName/GetClassesByName.go index 8e05f2329..24bbc976b 100644 --- a/examples/classes/GetClassesByName/GetClassesByName.go +++ b/examples/classes/GetClassesByName/GetClassesByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/UpdateClassesByID/UpdateClassesByID.go b/examples/classes/UpdateClassesByID/UpdateClassesByID.go index d0490f953..104ca08c5 100644 --- a/examples/classes/UpdateClassesByID/UpdateClassesByID.go +++ b/examples/classes/UpdateClassesByID/UpdateClassesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/classes/UpdateClassesByName/UpdateClassesByName.go b/examples/classes/UpdateClassesByName/UpdateClassesByName.go index 8fb9c108d..092ad7970 100644 --- a/examples/classes/UpdateClassesByName/UpdateClassesByName.go +++ b/examples/classes/UpdateClassesByName/UpdateClassesByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/client_checkin_settings/GetClientCheckinSettings/GetClientCheckinSettings.go b/examples/client_checkin_settings/GetClientCheckinSettings/GetClientCheckinSettings.go index 3085b1c4b..a4f379274 100644 --- a/examples/client_checkin_settings/GetClientCheckinSettings/GetClientCheckinSettings.go +++ b/examples/client_checkin_settings/GetClientCheckinSettings/GetClientCheckinSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/client_checkin_settings/UpdateClientCheckinSettings/UpdateClientCheckinSettings.go b/examples/client_checkin_settings/UpdateClientCheckinSettings/UpdateClientCheckinSettings.go index 47b697e82..f24581abb 100644 --- a/examples/client_checkin_settings/UpdateClientCheckinSettings/UpdateClientCheckinSettings.go +++ b/examples/client_checkin_settings/UpdateClientCheckinSettings/UpdateClientCheckinSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_azure/CreateCloudIdentityProvider/CreateCloudIdentityProvider.go b/examples/cloud_azure/CreateCloudIdentityProvider/CreateCloudIdentityProvider.go index 507fabe20..4b41dae86 100644 --- a/examples/cloud_azure/CreateCloudIdentityProvider/CreateCloudIdentityProvider.go +++ b/examples/cloud_azure/CreateCloudIdentityProvider/CreateCloudIdentityProvider.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_distribution_points/GetCloudDistributionPointUploadCapability/GetCloudDistributionPointUploadCapability.go b/examples/cloud_distribution_points/GetCloudDistributionPointUploadCapability/GetCloudDistributionPointUploadCapability.go index 84714c538..30a68bb05 100644 --- a/examples/cloud_distribution_points/GetCloudDistributionPointUploadCapability/GetCloudDistributionPointUploadCapability.go +++ b/examples/cloud_distribution_points/GetCloudDistributionPointUploadCapability/GetCloudDistributionPointUploadCapability.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_idp/GetCloudIdentityProviderConfigurationByID/GetCloudIdentityProviderConfigurationByID.go b/examples/cloud_idp/GetCloudIdentityProviderConfigurationByID/GetCloudIdentityProviderConfigurationByID.go index 78902d5da..5ead0697e 100644 --- a/examples/cloud_idp/GetCloudIdentityProviderConfigurationByID/GetCloudIdentityProviderConfigurationByID.go +++ b/examples/cloud_idp/GetCloudIdentityProviderConfigurationByID/GetCloudIdentityProviderConfigurationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_idp/GetCloudIdentityProviderConfigurationByName/GetCloudIdentityProviderConfigurationByName.go b/examples/cloud_idp/GetCloudIdentityProviderConfigurationByName/GetCloudIdentityProviderConfigurationByName.go index 400695bde..04107cd84 100644 --- a/examples/cloud_idp/GetCloudIdentityProviderConfigurationByName/GetCloudIdentityProviderConfigurationByName.go +++ b/examples/cloud_idp/GetCloudIdentityProviderConfigurationByName/GetCloudIdentityProviderConfigurationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_idp/GetCloudIdentityProviders/GetCloudIdentityProviders.go b/examples/cloud_idp/GetCloudIdentityProviders/GetCloudIdentityProviders.go index d3d227e0b..7ef17315f 100644 --- a/examples/cloud_idp/GetCloudIdentityProviders/GetCloudIdentityProviders.go +++ b/examples/cloud_idp/GetCloudIdentityProviders/GetCloudIdentityProviders.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go b/examples/cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go index ad802d97b..e2df426fc 100644 --- a/examples/cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go +++ b/examples/cloud_ldap/GetDefaultIDPMappings/GetDefaultIDPMappings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithPopUpMenu/CreateComputerExtensionAttributeWithPopUpMenu.go b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithPopUpMenu/CreateComputerExtensionAttributeWithPopUpMenu.go index 852e3d329..bc12c6ee2 100644 --- a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithPopUpMenu/CreateComputerExtensionAttributeWithPopUpMenu.go +++ b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithPopUpMenu/CreateComputerExtensionAttributeWithPopUpMenu.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithScript/CreateComputerExtensionAttributeWithScript.go b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithScript/CreateComputerExtensionAttributeWithScript.go index 87c5a4231..a2973ed30 100644 --- a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithScript/CreateComputerExtensionAttributeWithScript.go +++ b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithScript/CreateComputerExtensionAttributeWithScript.go @@ -19,7 +19,7 @@ func loadScriptFromFile(filePath string) (string, error) { func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithTextField/CreateComputerExtensionAttributeWithTextField.go b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithTextField/CreateComputerExtensionAttributeWithTextField.go index c80fc1194..eefbe226d 100644 --- a/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithTextField/CreateComputerExtensionAttributeWithTextField.go +++ b/examples/computer_extension_attributes/CreateComputerExtensionAttributeWithTextField/CreateComputerExtensionAttributeWithTextField.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/DeleteComputerExtensionAttributeByID/DeleteComputerExtensionAttributeByID.go b/examples/computer_extension_attributes/DeleteComputerExtensionAttributeByID/DeleteComputerExtensionAttributeByID.go index 5b018b956..2762ab1ab 100644 --- a/examples/computer_extension_attributes/DeleteComputerExtensionAttributeByID/DeleteComputerExtensionAttributeByID.go +++ b/examples/computer_extension_attributes/DeleteComputerExtensionAttributeByID/DeleteComputerExtensionAttributeByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/DeleteMultipleComputerExtensionAttributeByID/DeleteMultipleComputerExtensionAttributeByID.go b/examples/computer_extension_attributes/DeleteMultipleComputerExtensionAttributeByID/DeleteMultipleComputerExtensionAttributeByID.go index c90d37a26..032ad44dc 100644 --- a/examples/computer_extension_attributes/DeleteMultipleComputerExtensionAttributeByID/DeleteMultipleComputerExtensionAttributeByID.go +++ b/examples/computer_extension_attributes/DeleteMultipleComputerExtensionAttributeByID/DeleteMultipleComputerExtensionAttributeByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/GetComputerExtensionAttributeByID/GetComputerExtensionAttributeByID.go b/examples/computer_extension_attributes/GetComputerExtensionAttributeByID/GetComputerExtensionAttributeByID.go index b67c5d841..a1743e798 100644 --- a/examples/computer_extension_attributes/GetComputerExtensionAttributeByID/GetComputerExtensionAttributeByID.go +++ b/examples/computer_extension_attributes/GetComputerExtensionAttributeByID/GetComputerExtensionAttributeByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/GetComputerExtensionAttributeByName/GetComputerExtensionAttributeByName.go b/examples/computer_extension_attributes/GetComputerExtensionAttributeByName/GetComputerExtensionAttributeByName.go index cd894830f..5453e9477 100644 --- a/examples/computer_extension_attributes/GetComputerExtensionAttributeByName/GetComputerExtensionAttributeByName.go +++ b/examples/computer_extension_attributes/GetComputerExtensionAttributeByName/GetComputerExtensionAttributeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/GetComputerExtensionAttributes/GetComputerExtensionAttributes.go b/examples/computer_extension_attributes/GetComputerExtensionAttributes/GetComputerExtensionAttributes.go index 31e5c4cdc..011d2a733 100644 --- a/examples/computer_extension_attributes/GetComputerExtensionAttributes/GetComputerExtensionAttributes.go +++ b/examples/computer_extension_attributes/GetComputerExtensionAttributes/GetComputerExtensionAttributes.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByID/UpdateComputerExtensionAttributeByID.go b/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByID/UpdateComputerExtensionAttributeByID.go index 0f46c2ddd..ed39cb9b0 100644 --- a/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByID/UpdateComputerExtensionAttributeByID.go +++ b/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByID/UpdateComputerExtensionAttributeByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByName/UpdateComputerExtensionAttributeByName.go b/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByName/UpdateComputerExtensionAttributeByName.go index 65bca14be..132388a06 100644 --- a/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByName/UpdateComputerExtensionAttributeByName.go +++ b/examples/computer_extension_attributes/UpdateComputerExtensionAttributeByName/UpdateComputerExtensionAttributeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerID/GetComputerHistoryByComputerID.go b/examples/computer_history/GetComputerHistoryByComputerID/GetComputerHistoryByComputerID.go index ea0b9d777..b437d6100 100644 --- a/examples/computer_history/GetComputerHistoryByComputerID/GetComputerHistoryByComputerID.go +++ b/examples/computer_history/GetComputerHistoryByComputerID/GetComputerHistoryByComputerID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerIDAndDataSubset/GetComputerHistoryByComputerIDAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerIDAndDataSubset/GetComputerHistoryByComputerIDAndDataSubset.go index 4cccd28df..d3938b798 100644 --- a/examples/computer_history/GetComputerHistoryByComputerIDAndDataSubset/GetComputerHistoryByComputerIDAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerIDAndDataSubset/GetComputerHistoryByComputerIDAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerMACAddress/GetComputerHistoryByComputerMACAddress.go b/examples/computer_history/GetComputerHistoryByComputerMACAddress/GetComputerHistoryByComputerMACAddress.go index a82082551..436574b8d 100644 --- a/examples/computer_history/GetComputerHistoryByComputerMACAddress/GetComputerHistoryByComputerMACAddress.go +++ b/examples/computer_history/GetComputerHistoryByComputerMACAddress/GetComputerHistoryByComputerMACAddress.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerMACAddressAndDataSubset/GetComputerHistoryByComputerMACAddressAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerMACAddressAndDataSubset/GetComputerHistoryByComputerMACAddressAndDataSubset.go index 547b51ca0..1aeb0a5f1 100644 --- a/examples/computer_history/GetComputerHistoryByComputerMACAddressAndDataSubset/GetComputerHistoryByComputerMACAddressAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerMACAddressAndDataSubset/GetComputerHistoryByComputerMACAddressAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerName/GetComputerHistoryByComputerName.go b/examples/computer_history/GetComputerHistoryByComputerName/GetComputerHistoryByComputerName.go index ed9d066fd..3b2c219f9 100644 --- a/examples/computer_history/GetComputerHistoryByComputerName/GetComputerHistoryByComputerName.go +++ b/examples/computer_history/GetComputerHistoryByComputerName/GetComputerHistoryByComputerName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerNameAndDataSubset/GetComputerHistoryByComputerNameAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerNameAndDataSubset/GetComputerHistoryByComputerNameAndDataSubset.go index a50106e8f..4db56083a 100644 --- a/examples/computer_history/GetComputerHistoryByComputerNameAndDataSubset/GetComputerHistoryByComputerNameAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerNameAndDataSubset/GetComputerHistoryByComputerNameAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerSerialNumber/GetComputerHistoryByComputerSerialNumber.go b/examples/computer_history/GetComputerHistoryByComputerSerialNumber/GetComputerHistoryByComputerSerialNumber.go index 3431e0a07..f38424c4e 100644 --- a/examples/computer_history/GetComputerHistoryByComputerSerialNumber/GetComputerHistoryByComputerSerialNumber.go +++ b/examples/computer_history/GetComputerHistoryByComputerSerialNumber/GetComputerHistoryByComputerSerialNumber.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerSerialNumberAndDataSubset/GetComputerHistoryByComputerSerialNumberAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerSerialNumberAndDataSubset/GetComputerHistoryByComputerSerialNumberAndDataSubset.go index fec44057c..0803d834f 100644 --- a/examples/computer_history/GetComputerHistoryByComputerSerialNumberAndDataSubset/GetComputerHistoryByComputerSerialNumberAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerSerialNumberAndDataSubset/GetComputerHistoryByComputerSerialNumberAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerUDID/GetComputerHistoryByComputerUDID.go b/examples/computer_history/GetComputerHistoryByComputerUDID/GetComputerHistoryByComputerUDID.go index 9e9e22fae..3374c19c4 100644 --- a/examples/computer_history/GetComputerHistoryByComputerUDID/GetComputerHistoryByComputerUDID.go +++ b/examples/computer_history/GetComputerHistoryByComputerUDID/GetComputerHistoryByComputerUDID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_history/GetComputerHistoryByComputerUDIDAndDataSubset/GetComputerHistoryByComputerUDIDAndDataSubset.go b/examples/computer_history/GetComputerHistoryByComputerUDIDAndDataSubset/GetComputerHistoryByComputerUDIDAndDataSubset.go index 31fd33ff4..ac8d15fdf 100644 --- a/examples/computer_history/GetComputerHistoryByComputerUDIDAndDataSubset/GetComputerHistoryByComputerUDIDAndDataSubset.go +++ b/examples/computer_history/GetComputerHistoryByComputerUDIDAndDataSubset/GetComputerHistoryByComputerUDIDAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/DeleteAttachmentByIDAndComputerID/DeleteAttachmentByIDAndComputerID.go b/examples/computer_inventory/DeleteAttachmentByIDAndComputerID/DeleteAttachmentByIDAndComputerID.go index 90ae1594f..896810332 100644 --- a/examples/computer_inventory/DeleteAttachmentByIDAndComputerID/DeleteAttachmentByIDAndComputerID.go +++ b/examples/computer_inventory/DeleteAttachmentByIDAndComputerID/DeleteAttachmentByIDAndComputerID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/DeleteComputerInventoryByID/DeleteComputerInventoryByID.go b/examples/computer_inventory/DeleteComputerInventoryByID/DeleteComputerInventoryByID.go index 007e91da4..69e5d5e6d 100644 --- a/examples/computer_inventory/DeleteComputerInventoryByID/DeleteComputerInventoryByID.go +++ b/examples/computer_inventory/DeleteComputerInventoryByID/DeleteComputerInventoryByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/EraseComputerByID/EraseComputerByID.go b/examples/computer_inventory/EraseComputerByID/EraseComputerByID.go index 3c74473af..679ba6850 100644 --- a/examples/computer_inventory/EraseComputerByID/EraseComputerByID.go +++ b/examples/computer_inventory/EraseComputerByID/EraseComputerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputerFileVaultInventoryByID/GetComputerFileVaultInventoryByID.go b/examples/computer_inventory/GetComputerFileVaultInventoryByID/GetComputerFileVaultInventoryByID.go index c2045a6ff..05d3604d1 100644 --- a/examples/computer_inventory/GetComputerFileVaultInventoryByID/GetComputerFileVaultInventoryByID.go +++ b/examples/computer_inventory/GetComputerFileVaultInventoryByID/GetComputerFileVaultInventoryByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputerInventoryByID/GetComputerInventoryByID.go b/examples/computer_inventory/GetComputerInventoryByID/GetComputerInventoryByID.go index 9459e1d57..0fb375ab5 100644 --- a/examples/computer_inventory/GetComputerInventoryByID/GetComputerInventoryByID.go +++ b/examples/computer_inventory/GetComputerInventoryByID/GetComputerInventoryByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputerInventoryByName/GetComputerInventoryByName.go b/examples/computer_inventory/GetComputerInventoryByName/GetComputerInventoryByName.go index 8bc1c0650..a2ac08cad 100644 --- a/examples/computer_inventory/GetComputerInventoryByName/GetComputerInventoryByName.go +++ b/examples/computer_inventory/GetComputerInventoryByName/GetComputerInventoryByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputerRecoveryLockPasswordByID/GetComputerRecoveryLockPasswordByID.go b/examples/computer_inventory/GetComputerRecoveryLockPasswordByID/GetComputerRecoveryLockPasswordByID.go index 8aebf9479..51f2d9c2a 100644 --- a/examples/computer_inventory/GetComputerRecoveryLockPasswordByID/GetComputerRecoveryLockPasswordByID.go +++ b/examples/computer_inventory/GetComputerRecoveryLockPasswordByID/GetComputerRecoveryLockPasswordByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputersFileVaultInventory/GetComputersFileVaultInventory.go b/examples/computer_inventory/GetComputersFileVaultInventory/GetComputersFileVaultInventory.go index a7c580e99..dabae9b95 100644 --- a/examples/computer_inventory/GetComputersFileVaultInventory/GetComputersFileVaultInventory.go +++ b/examples/computer_inventory/GetComputersFileVaultInventory/GetComputersFileVaultInventory.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/GetComputersInventory/GetComputersInventory.go b/examples/computer_inventory/GetComputersInventory/GetComputersInventory.go index bd360491f..9be582bb8 100644 --- a/examples/computer_inventory/GetComputersInventory/GetComputersInventory.go +++ b/examples/computer_inventory/GetComputersInventory/GetComputersInventory.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/RemoveComputerMDMProfile/RemoveComputerMDMProfile.go b/examples/computer_inventory/RemoveComputerMDMProfile/RemoveComputerMDMProfile.go index d7b5e8bbb..a67b3804e 100644 --- a/examples/computer_inventory/RemoveComputerMDMProfile/RemoveComputerMDMProfile.go +++ b/examples/computer_inventory/RemoveComputerMDMProfile/RemoveComputerMDMProfile.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/UpdateComputerInventoryByID/UpdateComputerInventoryByID.go b/examples/computer_inventory/UpdateComputerInventoryByID/UpdateComputerInventoryByID.go index 9b6f97bc9..3ca7f5bfd 100644 --- a/examples/computer_inventory/UpdateComputerInventoryByID/UpdateComputerInventoryByID.go +++ b/examples/computer_inventory/UpdateComputerInventoryByID/UpdateComputerInventoryByID.go @@ -15,7 +15,7 @@ var fsys embed.FS func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory/UploadAttachmentAndAssignToComputerByID/UploadAttachmentAndAssignToComputerByID.go b/examples/computer_inventory/UploadAttachmentAndAssignToComputerByID/UploadAttachmentAndAssignToComputerByID.go index a0db0e29c..84e6419bb 100644 --- a/examples/computer_inventory/UploadAttachmentAndAssignToComputerByID/UploadAttachmentAndAssignToComputerByID.go +++ b/examples/computer_inventory/UploadAttachmentAndAssignToComputerByID/UploadAttachmentAndAssignToComputerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_collection/GetComputerInventoryCollectionInformation/GetComputerInventoryCollectionInformation.go b/examples/computer_inventory_collection/GetComputerInventoryCollectionInformation/GetComputerInventoryCollectionInformation.go index c00a335c6..2306a1db7 100644 --- a/examples/computer_inventory_collection/GetComputerInventoryCollectionInformation/GetComputerInventoryCollectionInformation.go +++ b/examples/computer_inventory_collection/GetComputerInventoryCollectionInformation/GetComputerInventoryCollectionInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_collection/UpdateComputerInventoryCollectionInformation/UpdateComputerInventoryCollectionInformation.go b/examples/computer_inventory_collection/UpdateComputerInventoryCollectionInformation/UpdateComputerInventoryCollectionInformation.go index a3a4d2f64..4c0de9efe 100644 --- a/examples/computer_inventory_collection/UpdateComputerInventoryCollectionInformation/UpdateComputerInventoryCollectionInformation.go +++ b/examples/computer_inventory_collection/UpdateComputerInventoryCollectionInformation/UpdateComputerInventoryCollectionInformation.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_settings/CreateComputerInventoryCollectionSettingsCustomPath/CreateComputerInventoryCollectionSettingsCustomPath.go b/examples/computer_inventory_settings/CreateComputerInventoryCollectionSettingsCustomPath/CreateComputerInventoryCollectionSettingsCustomPath.go index d36889ee4..89bd5a546 100644 --- a/examples/computer_inventory_settings/CreateComputerInventoryCollectionSettingsCustomPath/CreateComputerInventoryCollectionSettingsCustomPath.go +++ b/examples/computer_inventory_settings/CreateComputerInventoryCollectionSettingsCustomPath/CreateComputerInventoryCollectionSettingsCustomPath.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_settings/DeleteComputerInventoryCollectionSettingsCustomPathByID/DeleteComputerInventoryCollectionSettingsCustomPathByID.go b/examples/computer_inventory_settings/DeleteComputerInventoryCollectionSettingsCustomPathByID/DeleteComputerInventoryCollectionSettingsCustomPathByID.go index e0f049ba2..0e8df9da8 100644 --- a/examples/computer_inventory_settings/DeleteComputerInventoryCollectionSettingsCustomPathByID/DeleteComputerInventoryCollectionSettingsCustomPathByID.go +++ b/examples/computer_inventory_settings/DeleteComputerInventoryCollectionSettingsCustomPathByID/DeleteComputerInventoryCollectionSettingsCustomPathByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_settings/GetComputerInventoryCollectionSettings/GetComputerInventoryCollectionSettings.go b/examples/computer_inventory_settings/GetComputerInventoryCollectionSettings/GetComputerInventoryCollectionSettings.go index 317513a87..8e074e941 100644 --- a/examples/computer_inventory_settings/GetComputerInventoryCollectionSettings/GetComputerInventoryCollectionSettings.go +++ b/examples/computer_inventory_settings/GetComputerInventoryCollectionSettings/GetComputerInventoryCollectionSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_inventory_settings/UpdateComputerInventoryCollectionSettings/UpdateComputerInventoryCollectionSettings.go b/examples/computer_inventory_settings/UpdateComputerInventoryCollectionSettings/UpdateComputerInventoryCollectionSettings.go index 953ee4849..e270ef6c9 100644 --- a/examples/computer_inventory_settings/UpdateComputerInventoryCollectionSettings/UpdateComputerInventoryCollectionSettings.go +++ b/examples/computer_inventory_settings/UpdateComputerInventoryCollectionSettings/UpdateComputerInventoryCollectionSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/CreateComputerInvitation/CreateComputerInvitation.go b/examples/computer_invitations/CreateComputerInvitation/CreateComputerInvitation.go index eea555163..674c43af8 100644 --- a/examples/computer_invitations/CreateComputerInvitation/CreateComputerInvitation.go +++ b/examples/computer_invitations/CreateComputerInvitation/CreateComputerInvitation.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/DeleteComputerInvitationByID/DeleteComputerInvitationByID.go b/examples/computer_invitations/DeleteComputerInvitationByID/DeleteComputerInvitationByID.go index e84b0810e..8c0069641 100644 --- a/examples/computer_invitations/DeleteComputerInvitationByID/DeleteComputerInvitationByID.go +++ b/examples/computer_invitations/DeleteComputerInvitationByID/DeleteComputerInvitationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/GetComputerInvitationByID/GetComputerInvitationByID.go b/examples/computer_invitations/GetComputerInvitationByID/GetComputerInvitationByID.go index 8dae4b165..24aa2c7ae 100644 --- a/examples/computer_invitations/GetComputerInvitationByID/GetComputerInvitationByID.go +++ b/examples/computer_invitations/GetComputerInvitationByID/GetComputerInvitationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/GetComputerInvitations/GetComputerInvitations.go b/examples/computer_invitations/GetComputerInvitations/GetComputerInvitations.go index 4057f09d0..58da659e1 100644 --- a/examples/computer_invitations/GetComputerInvitations/GetComputerInvitations.go +++ b/examples/computer_invitations/GetComputerInvitations/GetComputerInvitations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_invitations/GetComputerInvitationsByInvitationID/GetComputerInvitationsByInvitationID.go b/examples/computer_invitations/GetComputerInvitationsByInvitationID/GetComputerInvitationsByInvitationID.go index 2f0ee8cf3..d89549ccd 100644 --- a/examples/computer_invitations/GetComputerInvitationsByInvitationID/GetComputerInvitationsByInvitationID.go +++ b/examples/computer_invitations/GetComputerInvitationsByInvitationID/GetComputerInvitationsByInvitationID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/CreateComputerPrestageFullConfig/CreateComputerPrestageFullConfig.go b/examples/computer_prestages/CreateComputerPrestageFullConfig/CreateComputerPrestageFullConfig.go index 42ae3275b..8076f03a7 100644 --- a/examples/computer_prestages/CreateComputerPrestageFullConfig/CreateComputerPrestageFullConfig.go +++ b/examples/computer_prestages/CreateComputerPrestageFullConfig/CreateComputerPrestageFullConfig.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/CreateComputerPrestageMinimumConfig/CreateComputerPrestageMinimumConfig.go b/examples/computer_prestages/CreateComputerPrestageMinimumConfig/CreateComputerPrestageMinimumConfig.go index a56882802..1129339f8 100644 --- a/examples/computer_prestages/CreateComputerPrestageMinimumConfig/CreateComputerPrestageMinimumConfig.go +++ b/examples/computer_prestages/CreateComputerPrestageMinimumConfig/CreateComputerPrestageMinimumConfig.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/DeleteComputerPrestageByID/DeleteComputerPrestageByID.go b/examples/computer_prestages/DeleteComputerPrestageByID/DeleteComputerPrestageByID.go index eea83b042..71b3a8e9e 100644 --- a/examples/computer_prestages/DeleteComputerPrestageByID/DeleteComputerPrestageByID.go +++ b/examples/computer_prestages/DeleteComputerPrestageByID/DeleteComputerPrestageByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/DeleteComputerPrestageByNameByID/DeleteComputerPrestageByNameByID.go b/examples/computer_prestages/DeleteComputerPrestageByNameByID/DeleteComputerPrestageByNameByID.go index 5154aac33..a1b85fb3f 100644 --- a/examples/computer_prestages/DeleteComputerPrestageByNameByID/DeleteComputerPrestageByNameByID.go +++ b/examples/computer_prestages/DeleteComputerPrestageByNameByID/DeleteComputerPrestageByNameByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/GetComputerPrestageByID/GetComputerPrestageByID.go b/examples/computer_prestages/GetComputerPrestageByID/GetComputerPrestageByID.go index 94834992e..f1859e63b 100644 --- a/examples/computer_prestages/GetComputerPrestageByID/GetComputerPrestageByID.go +++ b/examples/computer_prestages/GetComputerPrestageByID/GetComputerPrestageByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/GetComputerPrestageByName/GetComputerPrestageByName.go b/examples/computer_prestages/GetComputerPrestageByName/GetComputerPrestageByName.go index 438a90430..54f6e35c3 100644 --- a/examples/computer_prestages/GetComputerPrestageByName/GetComputerPrestageByName.go +++ b/examples/computer_prestages/GetComputerPrestageByName/GetComputerPrestageByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/GetComputerPrestages/GetComputerPrestages.go b/examples/computer_prestages/GetComputerPrestages/GetComputerPrestages.go index a720337ab..f856164c9 100644 --- a/examples/computer_prestages/GetComputerPrestages/GetComputerPrestages.go +++ b/examples/computer_prestages/GetComputerPrestages/GetComputerPrestages.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/GetDeviceScopeForComputerPrestage/GetDeviceScopeForComputerPrestage.go b/examples/computer_prestages/GetDeviceScopeForComputerPrestage/GetDeviceScopeForComputerPrestage.go index 156567f79..b7e1adba2 100644 --- a/examples/computer_prestages/GetDeviceScopeForComputerPrestage/GetDeviceScopeForComputerPrestage.go +++ b/examples/computer_prestages/GetDeviceScopeForComputerPrestage/GetDeviceScopeForComputerPrestage.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/UpdateComputerPrestageByID/UpdateComputerPrestageByID.go b/examples/computer_prestages/UpdateComputerPrestageByID/UpdateComputerPrestageByID.go index d26fae2c2..388476955 100644 --- a/examples/computer_prestages/UpdateComputerPrestageByID/UpdateComputerPrestageByID.go +++ b/examples/computer_prestages/UpdateComputerPrestageByID/UpdateComputerPrestageByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computer_prestages/UpdateComputerPrestageByName/UpdateComputerPrestageByName.go b/examples/computer_prestages/UpdateComputerPrestageByName/UpdateComputerPrestageByName.go index 4e986a30f..b893ea957 100644 --- a/examples/computer_prestages/UpdateComputerPrestageByName/UpdateComputerPrestageByName.go +++ b/examples/computer_prestages/UpdateComputerPrestageByName/UpdateComputerPrestageByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/CreateComputer/CreateComputer.go b/examples/computers/CreateComputer/CreateComputer.go index b486dd435..23373d9ca 100644 --- a/examples/computers/CreateComputer/CreateComputer.go +++ b/examples/computers/CreateComputer/CreateComputer.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/DeleteComputerByID/DeleteComputerByID.go b/examples/computers/DeleteComputerByID/DeleteComputerByID.go index aac9b7fec..87bcce3cb 100644 --- a/examples/computers/DeleteComputerByID/DeleteComputerByID.go +++ b/examples/computers/DeleteComputerByID/DeleteComputerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/DeleteComputerByName/DeleteComputerByName.go b/examples/computers/DeleteComputerByName/DeleteComputerByName.go index cafb4d49c..b92e5bc0f 100644 --- a/examples/computers/DeleteComputerByName/DeleteComputerByName.go +++ b/examples/computers/DeleteComputerByName/DeleteComputerByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/GetComputerByID/GetComputerByID.go b/examples/computers/GetComputerByID/GetComputerByID.go index 1405fb515..3608dc476 100644 --- a/examples/computers/GetComputerByID/GetComputerByID.go +++ b/examples/computers/GetComputerByID/GetComputerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/GetComputerByName/GetComputerByName.go b/examples/computers/GetComputerByName/GetComputerByName.go index 0b7b01697..ccc20c4bc 100644 --- a/examples/computers/GetComputerByName/GetComputerByName.go +++ b/examples/computers/GetComputerByName/GetComputerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/GetComputers/GetComputers.go b/examples/computers/GetComputers/GetComputers.go index d1e798472..40cc8ce5e 100644 --- a/examples/computers/GetComputers/GetComputers.go +++ b/examples/computers/GetComputers/GetComputers.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/UpdateComputerByID/UpdateComputerByID.go b/examples/computers/UpdateComputerByID/UpdateComputerByID.go index 8eec3c810..a207e6b6a 100644 --- a/examples/computers/UpdateComputerByID/UpdateComputerByID.go +++ b/examples/computers/UpdateComputerByID/UpdateComputerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/computers/UpdateComputerByName/UpdateComputerByName.go b/examples/computers/UpdateComputerByName/UpdateComputerByName.go index a3aa836a7..c3e8b1232 100644 --- a/examples/computers/UpdateComputerByName/UpdateComputerByName.go +++ b/examples/computers/UpdateComputerByName/UpdateComputerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/conditional_access/GetConditionalAccessDeviceComplianceFeatureEnablement/GetConditionalAccessDeviceComplianceFeatureEnablement.go b/examples/conditional_access/GetConditionalAccessDeviceComplianceFeatureEnablement/GetConditionalAccessDeviceComplianceFeatureEnablement.go index 825c0e5a2..877e204f3 100644 --- a/examples/conditional_access/GetConditionalAccessDeviceComplianceFeatureEnablement/GetConditionalAccessDeviceComplianceFeatureEnablement.go +++ b/examples/conditional_access/GetConditionalAccessDeviceComplianceFeatureEnablement/GetConditionalAccessDeviceComplianceFeatureEnablement.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/declarative_device_management/ForceDDMSync/ForceDDMSync.go b/examples/declarative_device_management/ForceDDMSync/ForceDDMSync.go index 5fcbfeb7e..5e45802da 100644 --- a/examples/declarative_device_management/ForceDDMSync/ForceDDMSync.go +++ b/examples/declarative_device_management/ForceDDMSync/ForceDDMSync.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/declarative_device_management/GetDDMStatusItem/GetDDMStatusItem.go b/examples/declarative_device_management/GetDDMStatusItem/GetDDMStatusItem.go index 5b6182b56..00b5f6598 100644 --- a/examples/declarative_device_management/GetDDMStatusItem/GetDDMStatusItem.go +++ b/examples/declarative_device_management/GetDDMStatusItem/GetDDMStatusItem.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/declarative_device_management/GetDDMStatusItems/GetDDMStatusItems.go b/examples/declarative_device_management/GetDDMStatusItems/GetDDMStatusItems.go index 6e787ead4..6f4457a00 100644 --- a/examples/declarative_device_management/GetDDMStatusItems/GetDDMStatusItems.go +++ b/examples/declarative_device_management/GetDDMStatusItems/GetDDMStatusItems.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/CreateDepartment/CreateDepartment.go b/examples/departments/CreateDepartment/CreateDepartment.go index 2ac1a288c..eaa46b6d0 100644 --- a/examples/departments/CreateDepartment/CreateDepartment.go +++ b/examples/departments/CreateDepartment/CreateDepartment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/DeleteAllDepartments/DeleteAllDepartments.go b/examples/departments/DeleteAllDepartments/DeleteAllDepartments.go index f51e95e14..cb78cc506 100644 --- a/examples/departments/DeleteAllDepartments/DeleteAllDepartments.go +++ b/examples/departments/DeleteAllDepartments/DeleteAllDepartments.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/DeleteDepartmentByID/DeleteDepartmentByID.go b/examples/departments/DeleteDepartmentByID/DeleteDepartmentByID.go index 27281ebfd..945a8f1e9 100644 --- a/examples/departments/DeleteDepartmentByID/DeleteDepartmentByID.go +++ b/examples/departments/DeleteDepartmentByID/DeleteDepartmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/DeleteDepartmentByName/DeleteDepartmentByName.go b/examples/departments/DeleteDepartmentByName/DeleteDepartmentByName.go index 93fe360ca..324a84ed1 100644 --- a/examples/departments/DeleteDepartmentByName/DeleteDepartmentByName.go +++ b/examples/departments/DeleteDepartmentByName/DeleteDepartmentByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/GetDepartmentByID/GetDepartmentByID.go b/examples/departments/GetDepartmentByID/GetDepartmentByID.go index e694b3d5a..7992d206f 100644 --- a/examples/departments/GetDepartmentByID/GetDepartmentByID.go +++ b/examples/departments/GetDepartmentByID/GetDepartmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/GetDepartmentByName/GetDepartmentByName.go b/examples/departments/GetDepartmentByName/GetDepartmentByName.go index 921f3260b..7e04d4664 100644 --- a/examples/departments/GetDepartmentByName/GetDepartmentByName.go +++ b/examples/departments/GetDepartmentByName/GetDepartmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/GetDepartments/GetDepartments.go b/examples/departments/GetDepartments/GetDepartments.go index 1ab322e3c..6531a99ca 100644 --- a/examples/departments/GetDepartments/GetDepartments.go +++ b/examples/departments/GetDepartments/GetDepartments.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/UpdateDepartmentByID/UpdateDepartmentByID.go b/examples/departments/UpdateDepartmentByID/UpdateDepartmentByID.go index d9baa207c..1e1bcd9b3 100644 --- a/examples/departments/UpdateDepartmentByID/UpdateDepartmentByID.go +++ b/examples/departments/UpdateDepartmentByID/UpdateDepartmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/departments/UpdateDepartmentByName/UpdateDepartmentByName.go b/examples/departments/UpdateDepartmentByName/UpdateDepartmentByName.go index 97494c8eb..c6a8e561e 100644 --- a/examples/departments/UpdateDepartmentByName/UpdateDepartmentByName.go +++ b/examples/departments/UpdateDepartmentByName/UpdateDepartmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_communication_settings/GetDeviceCommunicationSettings/GetDeviceCommunicationSettings.go b/examples/device_communication_settings/GetDeviceCommunicationSettings/GetDeviceCommunicationSettings.go index 1e13bf862..216a766c1 100644 --- a/examples/device_communication_settings/GetDeviceCommunicationSettings/GetDeviceCommunicationSettings.go +++ b/examples/device_communication_settings/GetDeviceCommunicationSettings/GetDeviceCommunicationSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_communication_settings/UpdateDeviceCommunicationSettings/UpdateDeviceCommunicationSettings.go b/examples/device_communication_settings/UpdateDeviceCommunicationSettings/UpdateDeviceCommunicationSettings.go index c5b82349b..1621f2037 100644 --- a/examples/device_communication_settings/UpdateDeviceCommunicationSettings/UpdateDeviceCommunicationSettings.go +++ b/examples/device_communication_settings/UpdateDeviceCommunicationSettings/UpdateDeviceCommunicationSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/CreateDeviceEnrollmentWithMDMServerToken/CreateDeviceEnrollmentWithMDMServerToken.go b/examples/device_enrollments/CreateDeviceEnrollmentWithMDMServerToken/CreateDeviceEnrollmentWithMDMServerToken.go index d4475b198..0da703e86 100644 --- a/examples/device_enrollments/CreateDeviceEnrollmentWithMDMServerToken/CreateDeviceEnrollmentWithMDMServerToken.go +++ b/examples/device_enrollments/CreateDeviceEnrollmentWithMDMServerToken/CreateDeviceEnrollmentWithMDMServerToken.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go b/examples/device_enrollments/DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go index d9c38feac..74b70fad3 100644 --- a/examples/device_enrollments/DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go +++ b/examples/device_enrollments/DeleteDeviceEnrollmentByID/DeleteDeviceEnrollmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go b/examples/device_enrollments/GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go index 111a2cbf3..73489586c 100644 --- a/examples/device_enrollments/GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go +++ b/examples/device_enrollments/GetDeviceEnrollmentByID/GetDeviceEnrollmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go b/examples/device_enrollments/GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go index 4afa8c97b..58c7fd80b 100644 --- a/examples/device_enrollments/GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go +++ b/examples/device_enrollments/GetDeviceEnrollmentByName/GetDeviceEnrollmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go b/examples/device_enrollments/GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go index 633e1643b..1af186a7e 100644 --- a/examples/device_enrollments/GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go +++ b/examples/device_enrollments/GetDeviceEnrollmentHistory/GetDeviceEnrollmentHistory.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollmentSyncStates/GetDeviceEnrollmentSyncStates.go b/examples/device_enrollments/GetDeviceEnrollmentSyncStates/GetDeviceEnrollmentSyncStates.go index 2a8e57aac..4091f4ae7 100644 --- a/examples/device_enrollments/GetDeviceEnrollmentSyncStates/GetDeviceEnrollmentSyncStates.go +++ b/examples/device_enrollments/GetDeviceEnrollmentSyncStates/GetDeviceEnrollmentSyncStates.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/GetDeviceEnrollments/GetDeviceEnrollments.go b/examples/device_enrollments/GetDeviceEnrollments/GetDeviceEnrollments.go index 049cb5cc3..89b1a26f3 100644 --- a/examples/device_enrollments/GetDeviceEnrollments/GetDeviceEnrollments.go +++ b/examples/device_enrollments/GetDeviceEnrollments/GetDeviceEnrollments.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/UpdateDeviceEnrollmentMDMServerToken/UpdateDeviceEnrollmentMDMServerToken.go b/examples/device_enrollments/UpdateDeviceEnrollmentMDMServerToken/UpdateDeviceEnrollmentMDMServerToken.go index 6c5a56bb3..c0b6accef 100644 --- a/examples/device_enrollments/UpdateDeviceEnrollmentMDMServerToken/UpdateDeviceEnrollmentMDMServerToken.go +++ b/examples/device_enrollments/UpdateDeviceEnrollmentMDMServerToken/UpdateDeviceEnrollmentMDMServerToken.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/device_enrollments/UpdateDeviceEnrollmentMetadataByID/UpdateDeviceEnrollmentMetadataByID.go b/examples/device_enrollments/UpdateDeviceEnrollmentMetadataByID/UpdateDeviceEnrollmentMetadataByID.go index b534c851d..f2429f78c 100644 --- a/examples/device_enrollments/UpdateDeviceEnrollmentMetadataByID/UpdateDeviceEnrollmentMetadataByID.go +++ b/examples/device_enrollments/UpdateDeviceEnrollmentMetadataByID/UpdateDeviceEnrollmentMetadataByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/CreateDirectoryBinding/CreateDirectoryBinding.go b/examples/directory_bindings/CreateDirectoryBinding/CreateDirectoryBinding.go index 05ff56910..e51ccd612 100644 --- a/examples/directory_bindings/CreateDirectoryBinding/CreateDirectoryBinding.go +++ b/examples/directory_bindings/CreateDirectoryBinding/CreateDirectoryBinding.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go b/examples/directory_bindings/DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go index ac78c8b68..b5985d2f7 100644 --- a/examples/directory_bindings/DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go +++ b/examples/directory_bindings/DeleteDirectoryBindingByID/DeleteDirectoryBindingByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/DeleteDirectoryBindingByName/DeleteDirectoryBindingByName.go b/examples/directory_bindings/DeleteDirectoryBindingByName/DeleteDirectoryBindingByName.go index 4896426f0..45e8109b0 100644 --- a/examples/directory_bindings/DeleteDirectoryBindingByName/DeleteDirectoryBindingByName.go +++ b/examples/directory_bindings/DeleteDirectoryBindingByName/DeleteDirectoryBindingByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/GetDirectoryBindingByID/GetDirectoryBindingByID.go b/examples/directory_bindings/GetDirectoryBindingByID/GetDirectoryBindingByID.go index 25b67df8d..be8649bcc 100644 --- a/examples/directory_bindings/GetDirectoryBindingByID/GetDirectoryBindingByID.go +++ b/examples/directory_bindings/GetDirectoryBindingByID/GetDirectoryBindingByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/GetDirectoryBindingByName/GetDirectoryBindingByName.go b/examples/directory_bindings/GetDirectoryBindingByName/GetDirectoryBindingByName.go index 789eb9726..3ba9b3b8a 100644 --- a/examples/directory_bindings/GetDirectoryBindingByName/GetDirectoryBindingByName.go +++ b/examples/directory_bindings/GetDirectoryBindingByName/GetDirectoryBindingByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/GetDirectoryBindings/GetDirectoryBindings.go b/examples/directory_bindings/GetDirectoryBindings/GetDirectoryBindings.go index 4fb270533..5a167a66d 100644 --- a/examples/directory_bindings/GetDirectoryBindings/GetDirectoryBindings.go +++ b/examples/directory_bindings/GetDirectoryBindings/GetDirectoryBindings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go b/examples/directory_bindings/UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go index d90788cf6..a9a6e011a 100644 --- a/examples/directory_bindings/UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go +++ b/examples/directory_bindings/UpdateDirectoryBindingByID/UpdateDirectoryBindingByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/directory_bindings/UpdateDirectoryBindingByName/UpdateDirectoryBindingByName.go b/examples/directory_bindings/UpdateDirectoryBindingByName/UpdateDirectoryBindingByName.go index ec8c60a2a..b674d40fb 100644 --- a/examples/directory_bindings/UpdateDirectoryBindingByName/UpdateDirectoryBindingByName.go +++ b/examples/directory_bindings/UpdateDirectoryBindingByName/UpdateDirectoryBindingByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationIndividualRecoveryKey/CreateDiskEncryptionConfigurationIndividualRecoveryKey.go b/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationIndividualRecoveryKey/CreateDiskEncryptionConfigurationIndividualRecoveryKey.go index 56d7802e7..f8f935c48 100644 --- a/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationIndividualRecoveryKey/CreateDiskEncryptionConfigurationIndividualRecoveryKey.go +++ b/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationIndividualRecoveryKey/CreateDiskEncryptionConfigurationIndividualRecoveryKey.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go b/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go index abfe85819..92116aeb4 100644 --- a/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go +++ b/examples/disk_encryption_configurations/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey/CreateDiskEncryptionConfigurationInstitutionalRecoveryKey.go @@ -14,7 +14,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByID/DeleteDiskEncryptionConfigurationByID.go b/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByID/DeleteDiskEncryptionConfigurationByID.go index 05a952ffd..f0dd53ebf 100644 --- a/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByID/DeleteDiskEncryptionConfigurationByID.go +++ b/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByID/DeleteDiskEncryptionConfigurationByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByName/DeleteDiskEncryptionConfigurationByName.go b/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByName/DeleteDiskEncryptionConfigurationByName.go index 0172f8d76..d509739e1 100644 --- a/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByName/DeleteDiskEncryptionConfigurationByName.go +++ b/examples/disk_encryption_configurations/DeleteDiskEncryptionConfigurationByName/DeleteDiskEncryptionConfigurationByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByID/GetDiskEncryptionConfigurationByID.go b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByID/GetDiskEncryptionConfigurationByID.go index 8580b1115..86b466f98 100644 --- a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByID/GetDiskEncryptionConfigurationByID.go +++ b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByID/GetDiskEncryptionConfigurationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByName/GetDiskEncryptionConfigurationByName.go b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByName/GetDiskEncryptionConfigurationByName.go index 555a669e9..bbadcd428 100644 --- a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByName/GetDiskEncryptionConfigurationByName.go +++ b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurationByName/GetDiskEncryptionConfigurationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurations/GetDiskEncryptionConfigurations.go b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurations/GetDiskEncryptionConfigurations.go index 9dfcaf2c1..f526c9c1b 100644 --- a/examples/disk_encryption_configurations/GetDiskEncryptionConfigurations/GetDiskEncryptionConfigurations.go +++ b/examples/disk_encryption_configurations/GetDiskEncryptionConfigurations/GetDiskEncryptionConfigurations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go b/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go index 0bb86b4c3..50f1562d8 100644 --- a/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go +++ b/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByIDIndividualRecoveryKey.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go b/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go index e73292c9d..eb82cafe1 100644 --- a/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go +++ b/examples/disk_encryption_configurations/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey/UpdateDiskEncryptionConfigurationByNameIndividualRecoveryKey.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/CreateDockItems/CreateDockItems.go b/examples/dock_items/CreateDockItems/CreateDockItems.go index 0cce7fbab..5b8e4f244 100644 --- a/examples/dock_items/CreateDockItems/CreateDockItems.go +++ b/examples/dock_items/CreateDockItems/CreateDockItems.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go b/examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go index 41024619f..de15b2bbe 100644 --- a/examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go +++ b/examples/dock_items/DeleteAllDockItems/DeleteAllDockItems.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go b/examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go index a2a6cf85d..b06c5a5fc 100644 --- a/examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go +++ b/examples/dock_items/DeleteDockItemsByID/DeleteDockItemsByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go b/examples/dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go index d26f95f7a..7f7459ab6 100644 --- a/examples/dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go +++ b/examples/dock_items/DeleteDockItemsByName/DeleteDockItemsByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/GetDockItems/GetDockItems.go b/examples/dock_items/GetDockItems/GetDockItems.go index 80f809047..482a7999e 100644 --- a/examples/dock_items/GetDockItems/GetDockItems.go +++ b/examples/dock_items/GetDockItems/GetDockItems.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/GetDockItemsByID/GetDockItemsByID.go b/examples/dock_items/GetDockItemsByID/GetDockItemsByID.go index e53628e75..39d0cedbf 100644 --- a/examples/dock_items/GetDockItemsByID/GetDockItemsByID.go +++ b/examples/dock_items/GetDockItemsByID/GetDockItemsByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/GetDockItemsByName/GetDockItemsByName.go b/examples/dock_items/GetDockItemsByName/GetDockItemsByName.go index 3aa426ead..6cbe5ca8d 100644 --- a/examples/dock_items/GetDockItemsByName/GetDockItemsByName.go +++ b/examples/dock_items/GetDockItemsByName/GetDockItemsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go b/examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go index ad6f0da8b..2994ea07b 100644 --- a/examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go +++ b/examples/dock_items/UpdateDockItemsByID/UpdateDockItemByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/dock_items/UpdateDockItemsByName/UpdateDockItemByName.go b/examples/dock_items/UpdateDockItemsByName/UpdateDockItemByName.go index 184f04227..d0502b1a0 100644 --- a/examples/dock_items/UpdateDockItemsByName/UpdateDockItemByName.go +++ b/examples/dock_items/UpdateDockItemsByName/UpdateDockItemByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/CreateEbook/CreateEbook.go b/examples/ebooks/CreateEbook/CreateEbook.go index 60e768518..e40518127 100644 --- a/examples/ebooks/CreateEbook/CreateEbook.go +++ b/examples/ebooks/CreateEbook/CreateEbook.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/DeleteEbookByID/DeleteEbookByID.go b/examples/ebooks/DeleteEbookByID/DeleteEbookByID.go index 9aa151102..b55efe9fb 100644 --- a/examples/ebooks/DeleteEbookByID/DeleteEbookByID.go +++ b/examples/ebooks/DeleteEbookByID/DeleteEbookByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/DeleteEbookByName/DeleteEbookByName.go b/examples/ebooks/DeleteEbookByName/DeleteEbookByName.go index ff57beed9..cbf51a8b4 100644 --- a/examples/ebooks/DeleteEbookByName/DeleteEbookByName.go +++ b/examples/ebooks/DeleteEbookByName/DeleteEbookByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/GetEbooks/GetEbooks.go b/examples/ebooks/GetEbooks/GetEbooks.go index a65c65bba..327c0c891 100644 --- a/examples/ebooks/GetEbooks/GetEbooks.go +++ b/examples/ebooks/GetEbooks/GetEbooks.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/GetEbooksByID/GetEbooksByID.go b/examples/ebooks/GetEbooksByID/GetEbooksByID.go index d119c5dfc..2839bbaef 100644 --- a/examples/ebooks/GetEbooksByID/GetEbooksByID.go +++ b/examples/ebooks/GetEbooksByID/GetEbooksByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/GetEbooksByName/GetEbooksByName.go b/examples/ebooks/GetEbooksByName/GetEbooksByName.go index 9b582f32a..3be5b31ec 100644 --- a/examples/ebooks/GetEbooksByName/GetEbooksByName.go +++ b/examples/ebooks/GetEbooksByName/GetEbooksByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/GetEbooksByNameAndDataSubset/GetEbooksByNameAndDataSubset.go b/examples/ebooks/GetEbooksByNameAndDataSubset/GetEbooksByNameAndDataSubset.go index 445ae9ae0..ee5a559c7 100644 --- a/examples/ebooks/GetEbooksByNameAndDataSubset/GetEbooksByNameAndDataSubset.go +++ b/examples/ebooks/GetEbooksByNameAndDataSubset/GetEbooksByNameAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/UpdateEbookByID/UpdateEbookByID.go b/examples/ebooks/UpdateEbookByID/UpdateEbookByID.go index f6e56db6e..58aff144c 100644 --- a/examples/ebooks/UpdateEbookByID/UpdateEbookByID.go +++ b/examples/ebooks/UpdateEbookByID/UpdateEbookByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ebooks/UpdateEbookByName/UpdateEbookByName.go b/examples/ebooks/UpdateEbookByName/UpdateEbookByName.go index cce9831c1..ffb39ba11 100644 --- a/examples/ebooks/UpdateEbookByName/UpdateEbookByName.go +++ b/examples/ebooks/UpdateEbookByName/UpdateEbookByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/CreateAccountDrivenUserEnrollmentAccessGroup/CreateAccountDrivenUserEnrollmentAccessGroup.go b/examples/enrollment/CreateAccountDrivenUserEnrollmentAccessGroup/CreateAccountDrivenUserEnrollmentAccessGroup.go index b709383fb..bc2b89d70 100644 --- a/examples/enrollment/CreateAccountDrivenUserEnrollmentAccessGroup/CreateAccountDrivenUserEnrollmentAccessGroup.go +++ b/examples/enrollment/CreateAccountDrivenUserEnrollmentAccessGroup/CreateAccountDrivenUserEnrollmentAccessGroup.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/DeleteMultipleEnrollmentMessagesByLanguageIDs/DeleteMultipleEnrollmentMessagesByLanguageIDs.go b/examples/enrollment/DeleteMultipleEnrollmentMessagesByLanguageIDs/DeleteMultipleEnrollmentMessagesByLanguageIDs.go index f6814d4dd..1d4afd29a 100644 --- a/examples/enrollment/DeleteMultipleEnrollmentMessagesByLanguageIDs/DeleteMultipleEnrollmentMessagesByLanguageIDs.go +++ b/examples/enrollment/DeleteMultipleEnrollmentMessagesByLanguageIDs/DeleteMultipleEnrollmentMessagesByLanguageIDs.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByID/GetAccountDrivenUserEnrollmentAccessGroupByID.go b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByID/GetAccountDrivenUserEnrollmentAccessGroupByID.go index 642194356..5f4eea50f 100644 --- a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByID/GetAccountDrivenUserEnrollmentAccessGroupByID.go +++ b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByID/GetAccountDrivenUserEnrollmentAccessGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByName/GetAccountDrivenUserEnrollmentAccessGroupByName.go b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByName/GetAccountDrivenUserEnrollmentAccessGroupByName.go index 6d09f49e6..e327df6e6 100644 --- a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByName/GetAccountDrivenUserEnrollmentAccessGroupByName.go +++ b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroupByName/GetAccountDrivenUserEnrollmentAccessGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroups/GetAccountDrivenUserEnrollmentAccessGroups.go b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroups/GetAccountDrivenUserEnrollmentAccessGroups.go index 2ab9c39a4..c9512cf8c 100644 --- a/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroups/GetAccountDrivenUserEnrollmentAccessGroups.go +++ b/examples/enrollment/GetAccountDrivenUserEnrollmentAccessGroups/GetAccountDrivenUserEnrollmentAccessGroups.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetEnrollment/GetEnrollment.go b/examples/enrollment/GetEnrollment/GetEnrollment.go index e48a07c7a..fa9d852bd 100644 --- a/examples/enrollment/GetEnrollment/GetEnrollment.go +++ b/examples/enrollment/GetEnrollment/GetEnrollment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go b/examples/enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go index c2c67d92a..ed2ace45c 100644 --- a/examples/enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go +++ b/examples/enrollment/GetEnrollmentHistory/GetEnrollmentHistory.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go b/examples/enrollment/GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go index ed6e34ae6..4c18a7b58 100644 --- a/examples/enrollment/GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go +++ b/examples/enrollment/GetEnrollmentLanguageCodes/GetEnrollmentLanguageCodes.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/enrollment/GetEnrollmentMessageByLanguageID/GetEnrollmentMessageByLanguageID.go b/examples/enrollment/GetEnrollmentMessageByLanguageID/GetEnrollmentMessageByLanguageID.go index 96e8199b8..f2c4dd77a 100644 --- a/examples/enrollment/GetEnrollmentMessageByLanguageID/GetEnrollmentMessageByLanguageID.go +++ b/examples/enrollment/GetEnrollmentMessageByLanguageID/GetEnrollmentMessageByLanguageID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go b/examples/enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go index d4c818b6f..0c031e4e6 100644 --- a/examples/enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go +++ b/examples/enrollment/GetEnrollmentMessages/GetEnrollmentMessages.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/UpdateAccountDrivenUserEnrollmentAccessGroupByID/UpdateAccountDrivenUserEnrollmentAccessGroupByID.go b/examples/enrollment/UpdateAccountDrivenUserEnrollmentAccessGroupByID/UpdateAccountDrivenUserEnrollmentAccessGroupByID.go index 0bcb11de2..c2c11b39c 100644 --- a/examples/enrollment/UpdateAccountDrivenUserEnrollmentAccessGroupByID/UpdateAccountDrivenUserEnrollmentAccessGroupByID.go +++ b/examples/enrollment/UpdateAccountDrivenUserEnrollmentAccessGroupByID/UpdateAccountDrivenUserEnrollmentAccessGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/UpdateEnrollment/UpdateEnrollment.go b/examples/enrollment/UpdateEnrollment/UpdateEnrollment.go index 0a0a14230..cba2c0846 100644 --- a/examples/enrollment/UpdateEnrollment/UpdateEnrollment.go +++ b/examples/enrollment/UpdateEnrollment/UpdateEnrollment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment/UpdateEnrollmentMessageByLanguageID/UpdateEnrollmentMessageByLanguageID.go b/examples/enrollment/UpdateEnrollmentMessageByLanguageID/UpdateEnrollmentMessageByLanguageID.go index 5e8de0bf7..560e05453 100644 --- a/examples/enrollment/UpdateEnrollmentMessageByLanguageID/UpdateEnrollmentMessageByLanguageID.go +++ b/examples/enrollment/UpdateEnrollmentMessageByLanguageID/UpdateEnrollmentMessageByLanguageID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithLDAPPrestagePane/CreateEnrollmentCustomizationWithLDAPPrestagePane.go b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithLDAPPrestagePane/CreateEnrollmentCustomizationWithLDAPPrestagePane.go index ed572dfc4..165cd648f 100644 --- a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithLDAPPrestagePane/CreateEnrollmentCustomizationWithLDAPPrestagePane.go +++ b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithLDAPPrestagePane/CreateEnrollmentCustomizationWithLDAPPrestagePane.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithSSOPrestagePane/CreateEnrollmentCustomizationWithSSOPrestagePane.go b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithSSOPrestagePane/CreateEnrollmentCustomizationWithSSOPrestagePane.go index 0de04d4a1..4aee5cac1 100644 --- a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithSSOPrestagePane/CreateEnrollmentCustomizationWithSSOPrestagePane.go +++ b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithSSOPrestagePane/CreateEnrollmentCustomizationWithSSOPrestagePane.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithTextPrestagePane/CreateEnrollmentCustomizationWithTextPrestagePane.go b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithTextPrestagePane/CreateEnrollmentCustomizationWithTextPrestagePane.go index d7d7b6fbf..6228c1e11 100644 --- a/examples/enrollment_customizations/CreateEnrollmentCustomizationWithTextPrestagePane/CreateEnrollmentCustomizationWithTextPrestagePane.go +++ b/examples/enrollment_customizations/CreateEnrollmentCustomizationWithTextPrestagePane/CreateEnrollmentCustomizationWithTextPrestagePane.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/DeleteEnrollmentCustomization/DeleteEnrollmentCustomizationByID.go b/examples/enrollment_customizations/DeleteEnrollmentCustomization/DeleteEnrollmentCustomizationByID.go index c64ff4179..3f55b5802 100644 --- a/examples/enrollment_customizations/DeleteEnrollmentCustomization/DeleteEnrollmentCustomizationByID.go +++ b/examples/enrollment_customizations/DeleteEnrollmentCustomization/DeleteEnrollmentCustomizationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetEnrollmentCustomizationByID/GetEnrollmentCustomizationByID.go b/examples/enrollment_customizations/GetEnrollmentCustomizationByID/GetEnrollmentCustomizationByID.go index 80630c9f9..966b615fb 100644 --- a/examples/enrollment_customizations/GetEnrollmentCustomizationByID/GetEnrollmentCustomizationByID.go +++ b/examples/enrollment_customizations/GetEnrollmentCustomizationByID/GetEnrollmentCustomizationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetEnrollmentCustomizationByName/GetEnrollmentCustomizationByName.go b/examples/enrollment_customizations/GetEnrollmentCustomizationByName/GetEnrollmentCustomizationByName.go index 8d50b32a4..f4e361100 100644 --- a/examples/enrollment_customizations/GetEnrollmentCustomizationByName/GetEnrollmentCustomizationByName.go +++ b/examples/enrollment_customizations/GetEnrollmentCustomizationByName/GetEnrollmentCustomizationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetEnrollmentCustomizations/GetEnrollmentCustomizations.go b/examples/enrollment_customizations/GetEnrollmentCustomizations/GetEnrollmentCustomizations.go index 66e8e7e2e..95038c966 100644 --- a/examples/enrollment_customizations/GetEnrollmentCustomizations/GetEnrollmentCustomizations.go +++ b/examples/enrollment_customizations/GetEnrollmentCustomizations/GetEnrollmentCustomizations.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go b/examples/enrollment_customizations/GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go index e32ab1f7e..a0e3a684c 100644 --- a/examples/enrollment_customizations/GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go +++ b/examples/enrollment_customizations/GetLDAPPrestagePaneByID/GetLDAPPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetPrestagePanes/GetPrestagePanes.go b/examples/enrollment_customizations/GetPrestagePanes/GetPrestagePanes.go index 2b3f22657..581d8c359 100644 --- a/examples/enrollment_customizations/GetPrestagePanes/GetPrestagePanes.go +++ b/examples/enrollment_customizations/GetPrestagePanes/GetPrestagePanes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go b/examples/enrollment_customizations/GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go index 9fd4e0cd0..2199167f8 100644 --- a/examples/enrollment_customizations/GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go +++ b/examples/enrollment_customizations/GetSSOPrestagePaneByID/GetSSOPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/GetTextPrestagePaneByID/GetTextPrestagePaneByID.go b/examples/enrollment_customizations/GetTextPrestagePaneByID/GetTextPrestagePaneByID.go index a8fef9194..b20a867f0 100644 --- a/examples/enrollment_customizations/GetTextPrestagePaneByID/GetTextPrestagePaneByID.go +++ b/examples/enrollment_customizations/GetTextPrestagePaneByID/GetTextPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateEnrollmentCustomizationByID/UpdateEnrollmentCustomizationByID.go b/examples/enrollment_customizations/UpdateEnrollmentCustomizationByID/UpdateEnrollmentCustomizationByID.go index 03ed1d086..06c61bc3b 100644 --- a/examples/enrollment_customizations/UpdateEnrollmentCustomizationByID/UpdateEnrollmentCustomizationByID.go +++ b/examples/enrollment_customizations/UpdateEnrollmentCustomizationByID/UpdateEnrollmentCustomizationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go b/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go index 7ad182e25..2d2d7b7af 100644 --- a/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go +++ b/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText/UpdateEnrollmentCustomizationPrestagePanesWithLDAPandText.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go b/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go index e11691267..ebf4b65ab 100644 --- a/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go +++ b/examples/enrollment_customizations/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText/UpdateEnrollmentCustomizationPrestagePanesWithSSOandText.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go b/examples/enrollment_customizations/UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go index 4c36a6266..3ced4c47e 100644 --- a/examples/enrollment_customizations/UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go +++ b/examples/enrollment_customizations/UpdateLDAPPrestagePaneByID/UpdateLDAPPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go b/examples/enrollment_customizations/UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go index 244feeccf..6bdd52191 100644 --- a/examples/enrollment_customizations/UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go +++ b/examples/enrollment_customizations/UpdateSSOPrestagePaneByID/UpdateSSOPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go b/examples/enrollment_customizations/UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go index e2d65d2a6..899a4e093 100644 --- a/examples/enrollment_customizations/UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go +++ b/examples/enrollment_customizations/UpdateTextPrestagePaneByID/UpdateTextPrestagePaneByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_customizations/UploadEnrollmentCustomizationsImage/UploadEnrollmentCustomizationsImage.go b/examples/enrollment_customizations/UploadEnrollmentCustomizationsImage/UploadEnrollmentCustomizationsImage.go index e6ec4073a..b59623560 100644 --- a/examples/enrollment_customizations/UploadEnrollmentCustomizationsImage/UploadEnrollmentCustomizationsImage.go +++ b/examples/enrollment_customizations/UploadEnrollmentCustomizationsImage/UploadEnrollmentCustomizationsImage.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/enrollment_settings/GetADUESessionTokenSettings/GetADUESessionTokenSettings.go b/examples/enrollment_settings/GetADUESessionTokenSettings/GetADUESessionTokenSettings.go index ccc807e39..84bf615b4 100644 --- a/examples/enrollment_settings/GetADUESessionTokenSettings/GetADUESessionTokenSettings.go +++ b/examples/enrollment_settings/GetADUESessionTokenSettings/GetADUESessionTokenSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_settings/GetEnrollmentSettings/GetEnrollmentSettings.go b/examples/enrollment_settings/GetEnrollmentSettings/GetEnrollmentSettings.go index 4ceaf3901..fc5c712cb 100644 --- a/examples/enrollment_settings/GetEnrollmentSettings/GetEnrollmentSettings.go +++ b/examples/enrollment_settings/GetEnrollmentSettings/GetEnrollmentSettings.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/enrollment_settings/UpdateADUESessionTokenSettings/UpdateADUESessionTokenSettings.go b/examples/enrollment_settings/UpdateADUESessionTokenSettings/UpdateADUESessionTokenSettings.go index a04c87f9d..2d69079fc 100644 --- a/examples/enrollment_settings/UpdateADUESessionTokenSettings/UpdateADUESessionTokenSettings.go +++ b/examples/enrollment_settings/UpdateADUESessionTokenSettings/UpdateADUESessionTokenSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go index df05e9efd..a54f48c5c 100644 --- a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go +++ b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go index 22ad065a8..5eb14cdce 100644 --- a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go index 7aa18b3fd..9311b82a3 100644 --- a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go +++ b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go index 4aa341e68..e84edfa0d 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go b/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go index 5cb88b2ed..358f32a15 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go index 96cdd5649..0ed830acb 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go index 5f92cae11..ab793a63b 100644 --- a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go index dc06cf4be..8d2e6d100 100644 --- a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go +++ b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_uploads/CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go b/examples/file_uploads/CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go index 0351734a4..87fd70c8f 100644 --- a/examples/file_uploads/CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go +++ b/examples/file_uploads/CreateFileAttachmentsEbooks/CreateFileAttachmentsEbooks.go @@ -8,7 +8,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/file_uploads/CreateFileAttachmentsPolicies/CreateFileAttachmentsPolicies.go b/examples/file_uploads/CreateFileAttachmentsPolicies/CreateFileAttachmentsPolicies.go index 04785ce9f..698bde651 100644 --- a/examples/file_uploads/CreateFileAttachmentsPolicies/CreateFileAttachmentsPolicies.go +++ b/examples/file_uploads/CreateFileAttachmentsPolicies/CreateFileAttachmentsPolicies.go @@ -8,7 +8,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/file_uploads/CreateFileAttachmentsPrinters/CreateFileAttachmentsPrinters.go b/examples/file_uploads/CreateFileAttachmentsPrinters/CreateFileAttachmentsPrinters.go index 6a86657d3..a2ad1e133 100644 --- a/examples/file_uploads/CreateFileAttachmentsPrinters/CreateFileAttachmentsPrinters.go +++ b/examples/file_uploads/CreateFileAttachmentsPrinters/CreateFileAttachmentsPrinters.go @@ -8,7 +8,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/gsx_connection/GetGSXConnectionInformation/GetGSXConnectionInformation.go b/examples/gsx_connection/GetGSXConnectionInformation/GetGSXConnectionInformation.go index 9c2e9503a..66fdfa4ec 100644 --- a/examples/gsx_connection/GetGSXConnectionInformation/GetGSXConnectionInformation.go +++ b/examples/gsx_connection/GetGSXConnectionInformation/GetGSXConnectionInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/gsx_connection/UpdateGSXConnectionInformation/UpdateGSXConnectionInformation.go b/examples/gsx_connection/UpdateGSXConnectionInformation/UpdateGSXConnectionInformation.go index 9c7019ff2..783ed53eb 100644 --- a/examples/gsx_connection/UpdateGSXConnectionInformation/UpdateGSXConnectionInformation.go +++ b/examples/gsx_connection/UpdateGSXConnectionInformation/UpdateGSXConnectionInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/health_check/GetHealthCheck/GetHealthCheck.go b/examples/health_check/GetHealthCheck/GetHealthCheck.go index 7017fb63e..af31589bd 100644 --- a/examples/health_check/GetHealthCheck/GetHealthCheck.go +++ b/examples/health_check/GetHealthCheck/GetHealthCheck.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/CreateIBeacon/CreateIBeacon.go b/examples/ibeacons/CreateIBeacon/CreateIBeacon.go index a6b1cd14c..de8d25d66 100644 --- a/examples/ibeacons/CreateIBeacon/CreateIBeacon.go +++ b/examples/ibeacons/CreateIBeacon/CreateIBeacon.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go b/examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go index 4c229ddf0..0d54a8d4b 100644 --- a/examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go +++ b/examples/ibeacons/DeleteIBeaconByID/DeleteIBeaconByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go b/examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go index df9936cce..4d594751e 100644 --- a/examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go +++ b/examples/ibeacons/DeleteIBeaconByName/DeleteIBeaconByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go b/examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go index e01b17e13..ac2d3ad9b 100644 --- a/examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go +++ b/examples/ibeacons/GetIBeaconByID/GetIBeaconByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go b/examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go index 2ad0f83e8..acb73e815 100644 --- a/examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go +++ b/examples/ibeacons/GetIBeaconByName/GetIBeaconByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/GetIBeacons/GetIBeacons.go b/examples/ibeacons/GetIBeacons/GetIBeacons.go index 1c8ce4ff1..f3a77c5a6 100644 --- a/examples/ibeacons/GetIBeacons/GetIBeacons.go +++ b/examples/ibeacons/GetIBeacons/GetIBeacons.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go b/examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go index c114546e8..82ae7c52d 100644 --- a/examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go +++ b/examples/ibeacons/UpdateIBeaconByID/UpdateIBeaconByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go b/examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go index f39f6c96f..2f66c18c5 100644 --- a/examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go +++ b/examples/ibeacons/UpdateIBeaconByName/UpdateIBeaconByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/icon/GetIconByID/GetIconByID.go b/examples/icon/GetIconByID/GetIconByID.go index 85d52961c..2332ce98a 100644 --- a/examples/icon/GetIconByID/GetIconByID.go +++ b/examples/icon/GetIconByID/GetIconByID.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/icon/UploadIcon/UploadIcon.go b/examples/icon/UploadIcon/UploadIcon.go index 00c225c9c..a5f69cce9 100644 --- a/examples/icon/UploadIcon/UploadIcon.go +++ b/examples/icon/UploadIcon/UploadIcon.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/jamf_api_integrations/CreateApiIntegration/CreateApiIntegration.go b/examples/jamf_api_integrations/CreateApiIntegration/CreateApiIntegration.go index 027bf4945..74a6e6444 100644 --- a/examples/jamf_api_integrations/CreateApiIntegration/CreateApiIntegration.go +++ b/examples/jamf_api_integrations/CreateApiIntegration/CreateApiIntegration.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/DeleteApiIntegrationByID/DeleteApiIntegrationByID.go b/examples/jamf_api_integrations/DeleteApiIntegrationByID/DeleteApiIntegrationByID.go index 0c92900bb..e44a57115 100644 --- a/examples/jamf_api_integrations/DeleteApiIntegrationByID/DeleteApiIntegrationByID.go +++ b/examples/jamf_api_integrations/DeleteApiIntegrationByID/DeleteApiIntegrationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/DeleteApiIntegrationByName/DeleteApiIntegrationByName.go b/examples/jamf_api_integrations/DeleteApiIntegrationByName/DeleteApiIntegrationByName.go index 6a1f47cef..9765a5229 100644 --- a/examples/jamf_api_integrations/DeleteApiIntegrationByName/DeleteApiIntegrationByName.go +++ b/examples/jamf_api_integrations/DeleteApiIntegrationByName/DeleteApiIntegrationByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/GetApiIntegrationByID/GetApiIntegrationByID.go b/examples/jamf_api_integrations/GetApiIntegrationByID/GetApiIntegrationByID.go index e9a47b42f..be1cae7c4 100644 --- a/examples/jamf_api_integrations/GetApiIntegrationByID/GetApiIntegrationByID.go +++ b/examples/jamf_api_integrations/GetApiIntegrationByID/GetApiIntegrationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/GetApiIntegrationByName/GetApiIntegrationByName.go b/examples/jamf_api_integrations/GetApiIntegrationByName/GetApiIntegrationByName.go index 08e575130..eddbdc4c2 100644 --- a/examples/jamf_api_integrations/GetApiIntegrationByName/GetApiIntegrationByName.go +++ b/examples/jamf_api_integrations/GetApiIntegrationByName/GetApiIntegrationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/GetApiIntegrations/GetApiIntegrations.go b/examples/jamf_api_integrations/GetApiIntegrations/GetApiIntegrations.go index 7f366aa15..b3fc4d1c4 100644 --- a/examples/jamf_api_integrations/GetApiIntegrations/GetApiIntegrations.go +++ b/examples/jamf_api_integrations/GetApiIntegrations/GetApiIntegrations.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/RefreshClientCredentialsByApiRoleID/RefreshClientCredentialsByApiRoleID.go b/examples/jamf_api_integrations/RefreshClientCredentialsByApiRoleID/RefreshClientCredentialsByApiRoleID.go index 39f5add95..6d8045efe 100644 --- a/examples/jamf_api_integrations/RefreshClientCredentialsByApiRoleID/RefreshClientCredentialsByApiRoleID.go +++ b/examples/jamf_api_integrations/RefreshClientCredentialsByApiRoleID/RefreshClientCredentialsByApiRoleID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/UpdateApiIntegrationByID/UpdateApiIntegrationByID.go b/examples/jamf_api_integrations/UpdateApiIntegrationByID/UpdateApiIntegrationByID.go index 54e50e3f0..2a19bb78d 100644 --- a/examples/jamf_api_integrations/UpdateApiIntegrationByID/UpdateApiIntegrationByID.go +++ b/examples/jamf_api_integrations/UpdateApiIntegrationByID/UpdateApiIntegrationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_integrations/UpdateApiIntegrationByName/UpdateApiIntegrationByName.go b/examples/jamf_api_integrations/UpdateApiIntegrationByName/UpdateApiIntegrationByName.go index 36fea842a..9aec4ac80 100644 --- a/examples/jamf_api_integrations/UpdateApiIntegrationByName/UpdateApiIntegrationByName.go +++ b/examples/jamf_api_integrations/UpdateApiIntegrationByName/UpdateApiIntegrationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_privileges/GetJamfAPIPrivileges/GetJamfAPIPrivileges.go b/examples/jamf_api_privileges/GetJamfAPIPrivileges/GetJamfAPIPrivileges.go index 60498831e..937bbfa6f 100644 --- a/examples/jamf_api_privileges/GetJamfAPIPrivileges/GetJamfAPIPrivileges.go +++ b/examples/jamf_api_privileges/GetJamfAPIPrivileges/GetJamfAPIPrivileges.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_privileges/GetJamfAPIRolePrivilegeByName/GetJamfAPIRolePrivilegeByName.go b/examples/jamf_api_privileges/GetJamfAPIRolePrivilegeByName/GetJamfAPIRolePrivilegeByName.go index ff3980f31..af8d17c9f 100644 --- a/examples/jamf_api_privileges/GetJamfAPIRolePrivilegeByName/GetJamfAPIRolePrivilegeByName.go +++ b/examples/jamf_api_privileges/GetJamfAPIRolePrivilegeByName/GetJamfAPIRolePrivilegeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go b/examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go index 1e4e4077b..7d54dc8d0 100644 --- a/examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go +++ b/examples/jamf_api_roles/CreateJamfApiRole/CreateJamfApiRole.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go b/examples/jamf_api_roles/DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go index 3ee4ee86d..67b68ae44 100644 --- a/examples/jamf_api_roles/DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go +++ b/examples/jamf_api_roles/DeleteJamfApiRoleByID/DeleteJamfApiRoleByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go b/examples/jamf_api_roles/DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go index 602164d0f..b66a168dc 100644 --- a/examples/jamf_api_roles/DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go +++ b/examples/jamf_api_roles/DeleteJamfApiRoleByName/DeleteJamfApiRoleByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go b/examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go index 67b52521f..ffef79339 100644 --- a/examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go +++ b/examples/jamf_api_roles/GetJamfAPIRoles/GetJamfAPIRoles.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go b/examples/jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go index f61d69a52..7964ef3d8 100644 --- a/examples/jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go +++ b/examples/jamf_api_roles/GetJamfApiRolesByID/GetJamfApiRolesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/GetJamfApiRolesNameById/GetJamfApiRolesNameById.go b/examples/jamf_api_roles/GetJamfApiRolesNameById/GetJamfApiRolesNameById.go index 1e36344d7..a20f22f51 100644 --- a/examples/jamf_api_roles/GetJamfApiRolesNameById/GetJamfApiRolesNameById.go +++ b/examples/jamf_api_roles/GetJamfApiRolesNameById/GetJamfApiRolesNameById.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go b/examples/jamf_api_roles/UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go index 2b19d48a4..f2a890f6b 100644 --- a/examples/jamf_api_roles/UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go +++ b/examples/jamf_api_roles/UpdateJamfApiRoleByID/UpdateJamfApiRoleByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_api_roles/UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go b/examples/jamf_api_roles/UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go index 877ddc9d7..dd1b6813c 100644 --- a/examples/jamf_api_roles/UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go +++ b/examples/jamf_api_roles/UpdateJamfApiRoleByName/UpdateJamfApiRoleByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/AcceptJamfAppCatalogAppInstallerTermsAndConditions/AcceptJamfAppCatalogAppInstallerTermsAndConditions.go b/examples/jamf_app_catalog_app_installers/AcceptJamfAppCatalogAppInstallerTermsAndConditions/AcceptJamfAppCatalogAppInstallerTermsAndConditions.go index 9ce6372f2..c8ce40204 100644 --- a/examples/jamf_app_catalog_app_installers/AcceptJamfAppCatalogAppInstallerTermsAndConditions/AcceptJamfAppCatalogAppInstallerTermsAndConditions.go +++ b/examples/jamf_app_catalog_app_installers/AcceptJamfAppCatalogAppInstallerTermsAndConditions/AcceptJamfAppCatalogAppInstallerTermsAndConditions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/CreateJamfAppCatalogDeployment/CreateJamfAppCatalogDeployment.go b/examples/jamf_app_catalog_app_installers/CreateJamfAppCatalogDeployment/CreateJamfAppCatalogDeployment.go index cee9c2773..0fc392060 100644 --- a/examples/jamf_app_catalog_app_installers/CreateJamfAppCatalogDeployment/CreateJamfAppCatalogDeployment.go +++ b/examples/jamf_app_catalog_app_installers/CreateJamfAppCatalogDeployment/CreateJamfAppCatalogDeployment.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/DeleteJamfAppCatalogDeploymentByID/DeleteJamfAppCatalogDeploymentByID.go b/examples/jamf_app_catalog_app_installers/DeleteJamfAppCatalogDeploymentByID/DeleteJamfAppCatalogDeploymentByID.go index 3ab269718..1bf746f61 100644 --- a/examples/jamf_app_catalog_app_installers/DeleteJamfAppCatalogDeploymentByID/DeleteJamfAppCatalogDeploymentByID.go +++ b/examples/jamf_app_catalog_app_installers/DeleteJamfAppCatalogDeploymentByID/DeleteJamfAppCatalogDeploymentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByID/GetJamfAppCatalogAppInstallerByID.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByID/GetJamfAppCatalogAppInstallerByID.go index 29c622303..bf961c0f9 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByID/GetJamfAppCatalogAppInstallerByID.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByID/GetJamfAppCatalogAppInstallerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByName/GetJamfAppCatalogAppInstallerByName.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByName/GetJamfAppCatalogAppInstallerByName.go index e3777b630..069615109 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByName/GetJamfAppCatalogAppInstallerByName.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByName/GetJamfAppCatalogAppInstallerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleID/GetJamfAppCatalogAppInstallerByTitleID.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleID/GetJamfAppCatalogAppInstallerByTitleID.go index c14942b77..68abbb99f 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleID/GetJamfAppCatalogAppInstallerByTitleID.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleID/GetJamfAppCatalogAppInstallerByTitleID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleName/GetJamfAppCatalogAppInstallerByTitleName.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleName/GetJamfAppCatalogAppInstallerByTitleName.go index a1e94e40c..73af0b43d 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleName/GetJamfAppCatalogAppInstallerByTitleName.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerByTitleName/GetJamfAppCatalogAppInstallerByTitleName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerGlobalSettings/GetJamfAppCatalogAppInstallerGlobalSettings.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerGlobalSettings/GetJamfAppCatalogAppInstallerGlobalSettings.go index 864b7e2c5..62725e32d 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerGlobalSettings/GetJamfAppCatalogAppInstallerGlobalSettings.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerGlobalSettings/GetJamfAppCatalogAppInstallerGlobalSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerTitles/GetJamfAppCatalogAppInstallerTitles.go b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerTitles/GetJamfAppCatalogAppInstallerTitles.go index c13266898..ab70106b5 100644 --- a/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerTitles/GetJamfAppCatalogAppInstallerTitles.go +++ b/examples/jamf_app_catalog_app_installers/GetJamfAppCatalogAppInstallerTitles/GetJamfAppCatalogAppInstallerTitles.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogAppInstallerGlobalSettings/UpdateJamfAppCatalogAppInstallerGlobalSettings.go b/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogAppInstallerGlobalSettings/UpdateJamfAppCatalogAppInstallerGlobalSettings.go index 45177bfb2..f66cf3607 100644 --- a/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogAppInstallerGlobalSettings/UpdateJamfAppCatalogAppInstallerGlobalSettings.go +++ b/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogAppInstallerGlobalSettings/UpdateJamfAppCatalogAppInstallerGlobalSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogDeploymentByID/UpdateJamfAppCatalogDeploymentByID.go b/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogDeploymentByID/UpdateJamfAppCatalogDeploymentByID.go index 238b247ac..ab82c6b63 100644 --- a/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogDeploymentByID/UpdateJamfAppCatalogDeploymentByID.go +++ b/examples/jamf_app_catalog_app_installers/UpdateJamfAppCatalogDeploymentByID/UpdateJamfAppCatalogDeploymentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectConfigProfileByConfigProfileUUID/GetJamfConnectConfigProfileByConfigProfileUUID.go b/examples/jamf_connect/GetJamfConnectConfigProfileByConfigProfileUUID/GetJamfConnectConfigProfileByConfigProfileUUID.go index 36654a917..462c8ab34 100644 --- a/examples/jamf_connect/GetJamfConnectConfigProfileByConfigProfileUUID/GetJamfConnectConfigProfileByConfigProfileUUID.go +++ b/examples/jamf_connect/GetJamfConnectConfigProfileByConfigProfileUUID/GetJamfConnectConfigProfileByConfigProfileUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectConfigProfileByID/GetJamfConnectConfigProfileByID.go b/examples/jamf_connect/GetJamfConnectConfigProfileByID/GetJamfConnectConfigProfileByID.go index 6afaf6932..3601e97be 100644 --- a/examples/jamf_connect/GetJamfConnectConfigProfileByID/GetJamfConnectConfigProfileByID.go +++ b/examples/jamf_connect/GetJamfConnectConfigProfileByID/GetJamfConnectConfigProfileByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectConfigProfileByName/GetJamfConnectConfigProfileByName.go b/examples/jamf_connect/GetJamfConnectConfigProfileByName/GetJamfConnectConfigProfileByName.go index c8997bde8..e7a2b2b61 100644 --- a/examples/jamf_connect/GetJamfConnectConfigProfileByName/GetJamfConnectConfigProfileByName.go +++ b/examples/jamf_connect/GetJamfConnectConfigProfileByName/GetJamfConnectConfigProfileByName.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectConfigProfiles/GetJamfConnectConfigProfiles.go b/examples/jamf_connect/GetJamfConnectConfigProfiles/GetJamfConnectConfigProfiles.go index 64cde1ba1..502a84eed 100644 --- a/examples/jamf_connect/GetJamfConnectConfigProfiles/GetJamfConnectConfigProfiles.go +++ b/examples/jamf_connect/GetJamfConnectConfigProfiles/GetJamfConnectConfigProfiles.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/GetJamfConnectSettings/GetJamfConnectSettings.go b/examples/jamf_connect/GetJamfConnectSettings/GetJamfConnectSettings.go index 96a6ff3ae..7f6996e52 100644 --- a/examples/jamf_connect/GetJamfConnectSettings/GetJamfConnectSettings.go +++ b/examples/jamf_connect/GetJamfConnectSettings/GetJamfConnectSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/RetryJamfConnectDeploymentTasksByConfigProfileUUID/RetryJamfConnectDeploymentTasksByConfigProfileUUID.go b/examples/jamf_connect/RetryJamfConnectDeploymentTasksByConfigProfileUUID/RetryJamfConnectDeploymentTasksByConfigProfileUUID.go index 1183e03ea..a8ebde2ea 100644 --- a/examples/jamf_connect/RetryJamfConnectDeploymentTasksByConfigProfileUUID/RetryJamfConnectDeploymentTasksByConfigProfileUUID.go +++ b/examples/jamf_connect/RetryJamfConnectDeploymentTasksByConfigProfileUUID/RetryJamfConnectDeploymentTasksByConfigProfileUUID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/UpdateJamfConnectConfigProfileByConfigProfileUUID/UpdateJamfConnectConfigProfileByConfigProfileUUID.go b/examples/jamf_connect/UpdateJamfConnectConfigProfileByConfigProfileUUID/UpdateJamfConnectConfigProfileByConfigProfileUUID.go index 6ef8468bb..e56f13a62 100644 --- a/examples/jamf_connect/UpdateJamfConnectConfigProfileByConfigProfileUUID/UpdateJamfConnectConfigProfileByConfigProfileUUID.go +++ b/examples/jamf_connect/UpdateJamfConnectConfigProfileByConfigProfileUUID/UpdateJamfConnectConfigProfileByConfigProfileUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_connect/UpdateJamfConnectConfigProfileByID/UpdateJamfConnectConfigProfileByID.go b/examples/jamf_connect/UpdateJamfConnectConfigProfileByID/UpdateJamfConnectConfigProfileByID.go index 158b6c2e4..6b05f110b 100644 --- a/examples/jamf_connect/UpdateJamfConnectConfigProfileByID/UpdateJamfConnectConfigProfileByID.go +++ b/examples/jamf_connect/UpdateJamfConnectConfigProfileByID/UpdateJamfConnectConfigProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/DeleteJCDS2PackageByFileName/DeleteJCDS2PackageByFileName.go b/examples/jamf_content_distribution_server/DeleteJCDS2PackageByFileName/DeleteJCDS2PackageByFileName.go index 08cc93c8d..8bcf222ba 100644 --- a/examples/jamf_content_distribution_server/DeleteJCDS2PackageByFileName/DeleteJCDS2PackageByFileName.go +++ b/examples/jamf_content_distribution_server/DeleteJCDS2PackageByFileName/DeleteJCDS2PackageByFileName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/DoPackageUpload/DoPackageUpload.go b/examples/jamf_content_distribution_server/DoPackageUpload/DoPackageUpload.go index f23c1a6c5..c5e551d71 100644 --- a/examples/jamf_content_distribution_server/DoPackageUpload/DoPackageUpload.go +++ b/examples/jamf_content_distribution_server/DoPackageUpload/DoPackageUpload.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go b/examples/jamf_content_distribution_server/GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go index 9cc6a8689..92377c767 100644 --- a/examples/jamf_content_distribution_server/GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go +++ b/examples/jamf_content_distribution_server/GetJCDS2PackageURIByName/GetJCDS2PackageURIByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/GetJCDS2Packages/GetJCDS2Packages.go b/examples/jamf_content_distribution_server/GetJCDS2Packages/GetJCDS2Packages.go index ac7ebee0b..e877ca9ed 100644 --- a/examples/jamf_content_distribution_server/GetJCDS2Packages/GetJCDS2Packages.go +++ b/examples/jamf_content_distribution_server/GetJCDS2Packages/GetJCDS2Packages.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/GetJCDS2Properties/GetJCDS2Properties.go b/examples/jamf_content_distribution_server/GetJCDS2Properties/GetJCDS2Properties.go index f9b732b94..92b94cf5e 100644 --- a/examples/jamf_content_distribution_server/GetJCDS2Properties/GetJCDS2Properties.go +++ b/examples/jamf_content_distribution_server/GetJCDS2Properties/GetJCDS2Properties.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/RefreshJCDS2Inventory/RefreshJCDS2Inventory.go b/examples/jamf_content_distribution_server/RefreshJCDS2Inventory/RefreshJCDS2Inventory.go index 84be7cd54..7c409f3ad 100644 --- a/examples/jamf_content_distribution_server/RefreshJCDS2Inventory/RefreshJCDS2Inventory.go +++ b/examples/jamf_content_distribution_server/RefreshJCDS2Inventory/RefreshJCDS2Inventory.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_content_distribution_server/RenewJCDS2Credentials/RenewJCDS2Credentials.go b/examples/jamf_content_distribution_server/RenewJCDS2Credentials/RenewJCDS2Credentials.go index 026fe1b59..8a82bf8a0 100644 --- a/examples/jamf_content_distribution_server/RenewJCDS2Credentials/RenewJCDS2Credentials.go +++ b/examples/jamf_content_distribution_server/RenewJCDS2Credentials/RenewJCDS2Credentials.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_pro_information/GetJamfProInformation/GetJamfProInformation.go b/examples/jamf_pro_information/GetJamfProInformation/GetJamfProInformation.go index 42bceba29..37a4c22e3 100644 --- a/examples/jamf_pro_information/GetJamfProInformation/GetJamfProInformation.go +++ b/examples/jamf_pro_information/GetJamfProInformation/GetJamfProInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_pro_system_initialization/InitializeDatabaseConnection/InitializeDatabaseConnection.go b/examples/jamf_pro_system_initialization/InitializeDatabaseConnection/InitializeDatabaseConnection.go index 68bb7a5c3..c1e798daa 100644 --- a/examples/jamf_pro_system_initialization/InitializeDatabaseConnection/InitializeDatabaseConnection.go +++ b/examples/jamf_pro_system_initialization/InitializeDatabaseConnection/InitializeDatabaseConnection.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_pro_system_initialization/InitializeJamfProServer/InitializeJamfProServer.go b/examples/jamf_pro_system_initialization/InitializeJamfProServer/InitializeJamfProServer.go index 12c263fff..1a8c903c9 100644 --- a/examples/jamf_pro_system_initialization/InitializeJamfProServer/InitializeJamfProServer.go +++ b/examples/jamf_pro_system_initialization/InitializeJamfProServer/InitializeJamfProServer.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go b/examples/jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go index f291a5326..28c77c0a7 100644 --- a/examples/jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go +++ b/examples/jamf_pro_version/GetJamfProVersion/GetJamfProVersion.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go b/examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go index 0c603897b..dc612a474 100644 --- a/examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go +++ b/examples/ldap_servers/CreateLDAPServer/CreateLDAPServer.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go b/examples/ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go index c86d8f33f..39a75fccf 100644 --- a/examples/ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go +++ b/examples/ldap_servers/DeleteLDAPServerByID/DeleteLDAPServerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/DeleteLDAPServerByName/DeleteLDAPServerByName.go b/examples/ldap_servers/DeleteLDAPServerByName/DeleteLDAPServerByName.go index 6aabe03f1..004f703f5 100644 --- a/examples/ldap_servers/DeleteLDAPServerByName/DeleteLDAPServerByName.go +++ b/examples/ldap_servers/DeleteLDAPServerByName/DeleteLDAPServerByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go b/examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go index b88845b29..4b4dd4440 100644 --- a/examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go +++ b/examples/ldap_servers/GetLDAPServerByID/GetLDAPServerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByIDAndGroupDataSubset/GetLDAPServerByIDAndGroupDataSubset.go b/examples/ldap_servers/GetLDAPServerByIDAndGroupDataSubset/GetLDAPServerByIDAndGroupDataSubset.go index 9c5e2d5df..06e43d4d6 100644 --- a/examples/ldap_servers/GetLDAPServerByIDAndGroupDataSubset/GetLDAPServerByIDAndGroupDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByIDAndGroupDataSubset/GetLDAPServerByIDAndGroupDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByIDAndUserDataSubset/GetLDAPServerByIDAndUserDataSubset.go b/examples/ldap_servers/GetLDAPServerByIDAndUserDataSubset/GetLDAPServerByIDAndUserDataSubset.go index c0c8a5d9b..1201840e0 100644 --- a/examples/ldap_servers/GetLDAPServerByIDAndUserDataSubset/GetLDAPServerByIDAndUserDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByIDAndUserDataSubset/GetLDAPServerByIDAndUserDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByIDAndUserMembershipInGroupDataSubset/GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go b/examples/ldap_servers/GetLDAPServerByIDAndUserMembershipInGroupDataSubset/GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go index 56d889335..42a334e2f 100644 --- a/examples/ldap_servers/GetLDAPServerByIDAndUserMembershipInGroupDataSubset/GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByIDAndUserMembershipInGroupDataSubset/GetLDAPServerByIDAndUserMembershipInGroupDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go b/examples/ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go index 39eb9822f..dc1de30e9 100644 --- a/examples/ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go +++ b/examples/ldap_servers/GetLDAPServerByName/GetLDAPServerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByNameAndGroupDataSubset/GetLDAPServerByNameAndGroupDataSubset.go b/examples/ldap_servers/GetLDAPServerByNameAndGroupDataSubset/GetLDAPServerByNameAndGroupDataSubset.go index 2f1cd379a..1ff529aaa 100644 --- a/examples/ldap_servers/GetLDAPServerByNameAndGroupDataSubset/GetLDAPServerByNameAndGroupDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByNameAndGroupDataSubset/GetLDAPServerByNameAndGroupDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByNameAndUserDataSubset/GetLDAPServerByNameAndUserDataSubset.go b/examples/ldap_servers/GetLDAPServerByNameAndUserDataSubset/GetLDAPServerByNameAndUserDataSubset.go index afb060411..39e944c6d 100644 --- a/examples/ldap_servers/GetLDAPServerByNameAndUserDataSubset/GetLDAPServerByNameAndUserDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByNameAndUserDataSubset/GetLDAPServerByNameAndUserDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServerByNameAndUserMembershipInGroupDataSubset/GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go b/examples/ldap_servers/GetLDAPServerByNameAndUserMembershipInGroupDataSubset/GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go index 316ff567a..9b9468b7e 100644 --- a/examples/ldap_servers/GetLDAPServerByNameAndUserMembershipInGroupDataSubset/GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go +++ b/examples/ldap_servers/GetLDAPServerByNameAndUserMembershipInGroupDataSubset/GetLDAPServerByNameAndUserMembershipInGroupDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/GetLDAPServers/GetLDAPServers.go b/examples/ldap_servers/GetLDAPServers/GetLDAPServers.go index 37649db32..192a9498a 100644 --- a/examples/ldap_servers/GetLDAPServers/GetLDAPServers.go +++ b/examples/ldap_servers/GetLDAPServers/GetLDAPServers.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go b/examples/ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go index 3bcf71ddb..8257edaea 100644 --- a/examples/ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go +++ b/examples/ldap_servers/UpdateLDAPServerByID/UpdateLDAPServerByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/ldap_servers/UpdateLDAPServerByName/UpdateLDAPServerByName.go b/examples/ldap_servers/UpdateLDAPServerByName/UpdateLDAPServerByName.go index f6a242656..3d86fd7e7 100644 --- a/examples/ldap_servers/UpdateLDAPServerByName/UpdateLDAPServerByName.go +++ b/examples/ldap_servers/UpdateLDAPServerByName/UpdateLDAPServerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/CreateLicensedSoftware/CreateLicensedSoftware.go b/examples/licensed_software/CreateLicensedSoftware/CreateLicensedSoftware.go index f4dd08eae..cbe62a1d8 100644 --- a/examples/licensed_software/CreateLicensedSoftware/CreateLicensedSoftware.go +++ b/examples/licensed_software/CreateLicensedSoftware/CreateLicensedSoftware.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go b/examples/licensed_software/DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go index 9c707fb03..4bff65286 100644 --- a/examples/licensed_software/DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go +++ b/examples/licensed_software/DeleteLicensedSoftwareByID/DeleteLicensedSoftwareByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/DeleteLicensedSoftwareByName/DeleteLicensedSoftwareByName.go b/examples/licensed_software/DeleteLicensedSoftwareByName/DeleteLicensedSoftwareByName.go index 0a5cca403..b2d3ee440 100644 --- a/examples/licensed_software/DeleteLicensedSoftwareByName/DeleteLicensedSoftwareByName.go +++ b/examples/licensed_software/DeleteLicensedSoftwareByName/DeleteLicensedSoftwareByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/GetLicensedSoftware/GetLicensedSoftware.go b/examples/licensed_software/GetLicensedSoftware/GetLicensedSoftware.go index 44a2f48df..e1556fca5 100644 --- a/examples/licensed_software/GetLicensedSoftware/GetLicensedSoftware.go +++ b/examples/licensed_software/GetLicensedSoftware/GetLicensedSoftware.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/GetLicensedSoftwareByID/GetLicensedSoftwareByID.go b/examples/licensed_software/GetLicensedSoftwareByID/GetLicensedSoftwareByID.go index 998db00b9..1e84e5b0a 100644 --- a/examples/licensed_software/GetLicensedSoftwareByID/GetLicensedSoftwareByID.go +++ b/examples/licensed_software/GetLicensedSoftwareByID/GetLicensedSoftwareByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/GetLicensedSoftwareByName/GetLicensedSoftwareByName.go b/examples/licensed_software/GetLicensedSoftwareByName/GetLicensedSoftwareByName.go index b551bcc23..675b9d13b 100644 --- a/examples/licensed_software/GetLicensedSoftwareByName/GetLicensedSoftwareByName.go +++ b/examples/licensed_software/GetLicensedSoftwareByName/GetLicensedSoftwareByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go b/examples/licensed_software/UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go index 0ad3cbfb6..784c6c5d8 100644 --- a/examples/licensed_software/UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go +++ b/examples/licensed_software/UpdateLicensedSoftwareByID/UpdateLicensedSoftwareByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/licensed_software/UpdateLicensedSoftwareByName/UpdateLicensedSoftwareByName.go b/examples/licensed_software/UpdateLicensedSoftwareByName/UpdateLicensedSoftwareByName.go index 73786ef3d..72aa47c6b 100644 --- a/examples/licensed_software/UpdateLicensedSoftwareByName/UpdateLicensedSoftwareByName.go +++ b/examples/licensed_software/UpdateLicensedSoftwareByName/UpdateLicensedSoftwareByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go b/examples/local_administrator_password/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go index 06365cfa5..9361c8dda 100644 --- a/examples/local_administrator_password/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go +++ b/examples/local_administrator_password/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient/GetCurrentLocalAdminPasswordForSpecifiedUsernameOnAClient.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetListOfPendingLapsRotations/GetListOfPendingLapsRotations.go b/examples/local_administrator_password/GetListOfPendingLapsRotations/GetListOfPendingLapsRotations.go index d360c761b..90af428cf 100644 --- a/examples/local_administrator_password/GetListOfPendingLapsRotations/GetListOfPendingLapsRotations.go +++ b/examples/local_administrator_password/GetListOfPendingLapsRotations/GetListOfPendingLapsRotations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetLocalAdminPasswordCapableAccountsByClientManagementID/GetLocalAdminPasswordCapableAccountsByClientManagementID.go b/examples/local_administrator_password/GetLocalAdminPasswordCapableAccountsByClientManagementID/GetLocalAdminPasswordCapableAccountsByClientManagementID.go index dae27292d..6cbfbe77c 100644 --- a/examples/local_administrator_password/GetLocalAdminPasswordCapableAccountsByClientManagementID/GetLocalAdminPasswordCapableAccountsByClientManagementID.go +++ b/examples/local_administrator_password/GetLocalAdminPasswordCapableAccountsByClientManagementID/GetLocalAdminPasswordCapableAccountsByClientManagementID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetLocalAdminPasswordFullHistoryByClientManagementID/GetLocalAdminPasswordFullHistoryByClientManagementID.go b/examples/local_administrator_password/GetLocalAdminPasswordFullHistoryByClientManagementID/GetLocalAdminPasswordFullHistoryByClientManagementID.go index 516b307d1..31b07e974 100644 --- a/examples/local_administrator_password/GetLocalAdminPasswordFullHistoryByClientManagementID/GetLocalAdminPasswordFullHistoryByClientManagementID.go +++ b/examples/local_administrator_password/GetLocalAdminPasswordFullHistoryByClientManagementID/GetLocalAdminPasswordFullHistoryByClientManagementID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetLocalAdminPasswordSettings/GetLocalAdminPasswordSettings.go b/examples/local_administrator_password/GetLocalAdminPasswordSettings/GetLocalAdminPasswordSettings.go index 054424477..b0ae743ce 100644 --- a/examples/local_administrator_password/GetLocalAdminPasswordSettings/GetLocalAdminPasswordSettings.go +++ b/examples/local_administrator_password/GetLocalAdminPasswordSettings/GetLocalAdminPasswordSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/GetLocalAdminPasswordViewedHistory/GetLocalAdminPasswordViewedHistory.go b/examples/local_administrator_password/GetLocalAdminPasswordViewedHistory/GetLocalAdminPasswordViewedHistory.go index ce0b63eb7..097e46f51 100644 --- a/examples/local_administrator_password/GetLocalAdminPasswordViewedHistory/GetLocalAdminPasswordViewedHistory.go +++ b/examples/local_administrator_password/GetLocalAdminPasswordViewedHistory/GetLocalAdminPasswordViewedHistory.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/SetLocalAdminPasswordByClientManagementID/SetLocalAdminPasswordByClientManagementID.go b/examples/local_administrator_password/SetLocalAdminPasswordByClientManagementID/SetLocalAdminPasswordByClientManagementID.go index 4791b541e..77dbcfeec 100644 --- a/examples/local_administrator_password/SetLocalAdminPasswordByClientManagementID/SetLocalAdminPasswordByClientManagementID.go +++ b/examples/local_administrator_password/SetLocalAdminPasswordByClientManagementID/SetLocalAdminPasswordByClientManagementID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/local_administrator_password/UpdateLocalAdminPasswordSettings/UpdateLocalAdminPasswordSettings.go b/examples/local_administrator_password/UpdateLocalAdminPasswordSettings/UpdateLocalAdminPasswordSettings.go index 9dc4510c4..b7269cb33 100644 --- a/examples/local_administrator_password/UpdateLocalAdminPasswordSettings/UpdateLocalAdminPasswordSettings.go +++ b/examples/local_administrator_password/UpdateLocalAdminPasswordSettings/UpdateLocalAdminPasswordSettings.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/locales/GetLocales/GetLocales.go b/examples/locales/GetLocales/GetLocales.go index 74bc2dd9f..e89f7229c 100644 --- a/examples/locales/GetLocales/GetLocales.go +++ b/examples/locales/GetLocales/GetLocales.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go b/examples/log_flushing/DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go index 7d8b7f162..84c155328 100644 --- a/examples/log_flushing/DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go +++ b/examples/log_flushing/DeleteLogFlushingTaskByID/DeleteLogFlushingTaskByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/GetLogFlushingSettings/GetLogFlushingSettings.go b/examples/log_flushing/GetLogFlushingSettings/GetLogFlushingSettings.go index 5519521a3..f6ed7c0c8 100644 --- a/examples/log_flushing/GetLogFlushingSettings/GetLogFlushingSettings.go +++ b/examples/log_flushing/GetLogFlushingSettings/GetLogFlushingSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/GetLogFlushingTaskByID/GetLogFlushingTaskByID.go b/examples/log_flushing/GetLogFlushingTaskByID/GetLogFlushingTaskByID.go index 6e976b035..d39bf8984 100644 --- a/examples/log_flushing/GetLogFlushingTaskByID/GetLogFlushingTaskByID.go +++ b/examples/log_flushing/GetLogFlushingTaskByID/GetLogFlushingTaskByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go b/examples/log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go index fada38f92..77b55ebab 100644 --- a/examples/log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go +++ b/examples/log_flushing/GetLogFlushingTasks/GetLogFlushingTasks.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go b/examples/log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go index 22391acc8..762ba2d55 100644 --- a/examples/log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go +++ b/examples/log_flushing/QueueLogFlushingTask/QueueLogFlushingTask.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/login_customization/GetLoginCustomization/GetLoginCustomization.go b/examples/login_customization/GetLoginCustomization/GetLoginCustomization.go index 11dbf9a53..a8ea1878d 100644 --- a/examples/login_customization/GetLoginCustomization/GetLoginCustomization.go +++ b/examples/login_customization/GetLoginCustomization/GetLoginCustomization.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/login_customization/UpdateLoginCustomization/UpdateLoginCustomization.go b/examples/login_customization/UpdateLoginCustomization/UpdateLoginCustomization.go index e4848a106..e7fd896b3 100644 --- a/examples/login_customization/UpdateLoginCustomization/UpdateLoginCustomization.go +++ b/examples/login_customization/UpdateLoginCustomization/UpdateLoginCustomization.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/CreateMacApplication/CreateMacApplication.go b/examples/mac_applications/CreateMacApplication/CreateMacApplication.go index 11b9db178..c13b587d5 100644 --- a/examples/mac_applications/CreateMacApplication/CreateMacApplication.go +++ b/examples/mac_applications/CreateMacApplication/CreateMacApplication.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/DeleteMacApplicationByID/DeleteMacApplicationByID.go b/examples/mac_applications/DeleteMacApplicationByID/DeleteMacApplicationByID.go index 52e64801a..38c1b5351 100644 --- a/examples/mac_applications/DeleteMacApplicationByID/DeleteMacApplicationByID.go +++ b/examples/mac_applications/DeleteMacApplicationByID/DeleteMacApplicationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/DeleteMacApplicationByName/DeleteMacApplicationByName.go b/examples/mac_applications/DeleteMacApplicationByName/DeleteMacApplicationByName.go index 710d510f8..091117b05 100644 --- a/examples/mac_applications/DeleteMacApplicationByName/DeleteMacApplicationByName.go +++ b/examples/mac_applications/DeleteMacApplicationByName/DeleteMacApplicationByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplicationByID/GetMacApplicationByID.go b/examples/mac_applications/GetMacApplicationByID/GetMacApplicationByID.go index 66e8906ec..6cb9b0f80 100644 --- a/examples/mac_applications/GetMacApplicationByID/GetMacApplicationByID.go +++ b/examples/mac_applications/GetMacApplicationByID/GetMacApplicationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplicationByIDAndDataSubset/GetMacApplicationByIDAndDataSubset.go b/examples/mac_applications/GetMacApplicationByIDAndDataSubset/GetMacApplicationByIDAndDataSubset.go index e86454bf3..44838fd4c 100644 --- a/examples/mac_applications/GetMacApplicationByIDAndDataSubset/GetMacApplicationByIDAndDataSubset.go +++ b/examples/mac_applications/GetMacApplicationByIDAndDataSubset/GetMacApplicationByIDAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplicationByName/GetMacApplicationByName.go b/examples/mac_applications/GetMacApplicationByName/GetMacApplicationByName.go index 909ab53f1..003fe4a8a 100644 --- a/examples/mac_applications/GetMacApplicationByName/GetMacApplicationByName.go +++ b/examples/mac_applications/GetMacApplicationByName/GetMacApplicationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplicationByNameAndDataSubset/GetMacApplicationByNameAndDataSubset.go b/examples/mac_applications/GetMacApplicationByNameAndDataSubset/GetMacApplicationByNameAndDataSubset.go index 5df4ce759..bf89e4357 100644 --- a/examples/mac_applications/GetMacApplicationByNameAndDataSubset/GetMacApplicationByNameAndDataSubset.go +++ b/examples/mac_applications/GetMacApplicationByNameAndDataSubset/GetMacApplicationByNameAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/GetMacApplications/GetMacApplications.go b/examples/mac_applications/GetMacApplications/GetMacApplications.go index 326f8df73..f5cb6c2d0 100644 --- a/examples/mac_applications/GetMacApplications/GetMacApplications.go +++ b/examples/mac_applications/GetMacApplications/GetMacApplications.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/UpdateMacApplicationByID/UpdateMacApplicationByID.go b/examples/mac_applications/UpdateMacApplicationByID/UpdateMacApplicationByID.go index 403096638..02a10e08c 100644 --- a/examples/mac_applications/UpdateMacApplicationByID/UpdateMacApplicationByID.go +++ b/examples/mac_applications/UpdateMacApplicationByID/UpdateMacApplicationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mac_applications/UpdateMacApplicationByName/UpdateMacApplicationByName.go b/examples/mac_applications/UpdateMacApplicationByName/UpdateMacApplicationByName.go index e5c233749..3cfe58e4f 100644 --- a/examples/mac_applications/UpdateMacApplicationByName/UpdateMacApplicationByName.go +++ b/examples/mac_applications/UpdateMacApplicationByName/UpdateMacApplicationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchema/CreateConfigProfileWithCustomSettingsSchema.go b/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchema/CreateConfigProfileWithCustomSettingsSchema.go index 21a579b3a..729929e00 100644 --- a/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchema/CreateConfigProfileWithCustomSettingsSchema.go +++ b/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchema/CreateConfigProfileWithCustomSettingsSchema.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchemaCISlvl1/CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go b/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchemaCISlvl1/CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go index 8a25d2263..89b9a5bde 100644 --- a/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchemaCISlvl1/CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go +++ b/examples/macos_configuration_profile_custom_settings/CreateConfigProfileWithCustomSettingsSchemaCISlvl1/CreateConfigProfileWithCustomSettingsSchemaCISlvl1.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profile_custom_settings/GetConfigProfileByPayloadUUID/GetConfigProfileByPayloadUUID.go b/examples/macos_configuration_profile_custom_settings/GetConfigProfileByPayloadUUID/GetConfigProfileByPayloadUUID.go index 8d3b99761..d60480e9b 100644 --- a/examples/macos_configuration_profile_custom_settings/GetConfigProfileByPayloadUUID/GetConfigProfileByPayloadUUID.go +++ b/examples/macos_configuration_profile_custom_settings/GetConfigProfileByPayloadUUID/GetConfigProfileByPayloadUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profile_custom_settings/GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go b/examples/macos_configuration_profile_custom_settings/GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go index f80faa206..d270ff678 100644 --- a/examples/macos_configuration_profile_custom_settings/GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go +++ b/examples/macos_configuration_profile_custom_settings/GetCustomSettingsSchemaList/GetCustomSettingsSchemaList.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/CreateMacOSConfigurationProfile/CreateMacOSConfigurationProfile.go b/examples/macos_configuration_profiles/CreateMacOSConfigurationProfile/CreateMacOSConfigurationProfile.go index 3339ce589..3081ff872 100644 --- a/examples/macos_configuration_profiles/CreateMacOSConfigurationProfile/CreateMacOSConfigurationProfile.go +++ b/examples/macos_configuration_profiles/CreateMacOSConfigurationProfile/CreateMacOSConfigurationProfile.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go b/examples/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go index 4075c5875..757efcd0b 100644 --- a/examples/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go +++ b/examples/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByID/DeleteMacOSConfigurationProfileByID.go b/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByID/DeleteMacOSConfigurationProfileByID.go index 6eddd80d2..f435a0c0c 100644 --- a/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByID/DeleteMacOSConfigurationProfileByID.go +++ b/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByID/DeleteMacOSConfigurationProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByName/DeleteMacOSConfigurationProfileByName.go b/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByName/DeleteMacOSConfigurationProfileByName.go index 2fa12a22f..ecf865b8b 100644 --- a/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByName/DeleteMacOSConfigurationProfileByName.go +++ b/examples/macos_configuration_profiles/DeleteMacOSConfigurationProfileByName/DeleteMacOSConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByID/GetMacOSConfigurationProfileByID.go b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByID/GetMacOSConfigurationProfileByID.go index 605385219..6aa0be610 100644 --- a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByID/GetMacOSConfigurationProfileByID.go +++ b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByID/GetMacOSConfigurationProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByName/GetMacOSConfigurationProfileByName.go b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByName/GetMacOSConfigurationProfileByName.go index 3d23ff0a7..81ebc452d 100644 --- a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByName/GetMacOSConfigurationProfileByName.go +++ b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileByName/GetMacOSConfigurationProfileByName.go @@ -12,7 +12,7 @@ const () func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileNameByID/GetMacOSConfigurationProfileNameByID.go b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileNameByID/GetMacOSConfigurationProfileNameByID.go index e5fe13de8..82e637251 100644 --- a/examples/macos_configuration_profiles/GetMacOSConfigurationProfileNameByID/GetMacOSConfigurationProfileNameByID.go +++ b/examples/macos_configuration_profiles/GetMacOSConfigurationProfileNameByID/GetMacOSConfigurationProfileNameByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/GetMacOSConfigurationProfiles/GetMacOSConfigurationProfiles.go b/examples/macos_configuration_profiles/GetMacOSConfigurationProfiles/GetMacOSConfigurationProfiles.go index c184d78f4..4a7a81301 100644 --- a/examples/macos_configuration_profiles/GetMacOSConfigurationProfiles/GetMacOSConfigurationProfiles.go +++ b/examples/macos_configuration_profiles/GetMacOSConfigurationProfiles/GetMacOSConfigurationProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByID/UpdateMacOSConfigurationProfileByID.go b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByID/UpdateMacOSConfigurationProfileByID.go index 1d522987c..a591e60a4 100644 --- a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByID/UpdateMacOSConfigurationProfileByID.go +++ b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByID/UpdateMacOSConfigurationProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/UpdateMacOSConfigurationProfileByIDWithFileUpload.go b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/UpdateMacOSConfigurationProfileByIDWithFileUpload.go index f8f972b40..a071856d9 100644 --- a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/UpdateMacOSConfigurationProfileByIDWithFileUpload.go +++ b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/UpdateMacOSConfigurationProfileByIDWithFileUpload.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByName/UpdateMacOSConfigurationProfileByName.go b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByName/UpdateMacOSConfigurationProfileByName.go index 31f7f7e5b..074fd248f 100644 --- a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByName/UpdateMacOSConfigurationProfileByName.go +++ b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByName/UpdateMacOSConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByDeviceID/CreateManagedSoftwareUpdatePlanByDeviceID.go b/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByDeviceID/CreateManagedSoftwareUpdatePlanByDeviceID.go index 5edf5708e..6be96803d 100644 --- a/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByDeviceID/CreateManagedSoftwareUpdatePlanByDeviceID.go +++ b/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByDeviceID/CreateManagedSoftwareUpdatePlanByDeviceID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByGroupID/CreateManagedSoftwareUpdatePlanByGroupID.go b/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByGroupID/CreateManagedSoftwareUpdatePlanByGroupID.go index b51b82c7a..602dc2c07 100644 --- a/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByGroupID/CreateManagedSoftwareUpdatePlanByGroupID.go +++ b/examples/managed_software_updates/CreateManagedSoftwareUpdatePlanByGroupID/CreateManagedSoftwareUpdatePlanByGroupID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/GetManagedSoftwareUpdateFeatureToggle/GetManagedSoftwareUpdateFeatureToggle.go b/examples/managed_software_updates/GetManagedSoftwareUpdateFeatureToggle/GetManagedSoftwareUpdateFeatureToggle.go index cafd9f923..2997b9104 100644 --- a/examples/managed_software_updates/GetManagedSoftwareUpdateFeatureToggle/GetManagedSoftwareUpdateFeatureToggle.go +++ b/examples/managed_software_updates/GetManagedSoftwareUpdateFeatureToggle/GetManagedSoftwareUpdateFeatureToggle.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/GetManagedSoftwareUpdatePlans/GetManagedSoftwareUpdatePlans.go b/examples/managed_software_updates/GetManagedSoftwareUpdatePlans/GetManagedSoftwareUpdatePlans.go index 4583425d6..3ad01001f 100644 --- a/examples/managed_software_updates/GetManagedSoftwareUpdatePlans/GetManagedSoftwareUpdatePlans.go +++ b/examples/managed_software_updates/GetManagedSoftwareUpdatePlans/GetManagedSoftwareUpdatePlans.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/GetManagedSoftwareUpdatePlansByGroupID/GetManagedSoftwareUpdatePlansByGroupID.go b/examples/managed_software_updates/GetManagedSoftwareUpdatePlansByGroupID/GetManagedSoftwareUpdatePlansByGroupID.go index b4e4917d5..dd9489c38 100644 --- a/examples/managed_software_updates/GetManagedSoftwareUpdatePlansByGroupID/GetManagedSoftwareUpdatePlansByGroupID.go +++ b/examples/managed_software_updates/GetManagedSoftwareUpdatePlansByGroupID/GetManagedSoftwareUpdatePlansByGroupID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go b/examples/managed_software_updates/GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go index 36f232e07..3d1c8e15a 100644 --- a/examples/managed_software_updates/GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go +++ b/examples/managed_software_updates/GetManagedSoftwareUpdates/GetManagedSoftwareUpdates.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/managed_software_updates/UpdateManagedSoftwareUpdateFeatureToggle/UpdateManagedSoftwareUpdateFeatureToggle.go b/examples/managed_software_updates/UpdateManagedSoftwareUpdateFeatureToggle/UpdateManagedSoftwareUpdateFeatureToggle.go index 0c3bf228a..7eadcc7e7 100644 --- a/examples/managed_software_updates/UpdateManagedSoftwareUpdateFeatureToggle/UpdateManagedSoftwareUpdateFeatureToggle.go +++ b/examples/managed_software_updates/UpdateManagedSoftwareUpdateFeatureToggle/UpdateManagedSoftwareUpdateFeatureToggle.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mdm/SendMDMCommandForCreationAndQueuing/SendMDMCommandForCreationAndQueuing.go b/examples/mdm/SendMDMCommandForCreationAndQueuing/SendMDMCommandForCreationAndQueuing.go index e5b2fbaa2..ea451856d 100644 --- a/examples/mdm/SendMDMCommandForCreationAndQueuing/SendMDMCommandForCreationAndQueuing.go +++ b/examples/mdm/SendMDMCommandForCreationAndQueuing/SendMDMCommandForCreationAndQueuing.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mdm/SendMDMCommandForMDMProfileRenewal/SendMDMCommandForMDMProfileRenewal.go b/examples/mdm/SendMDMCommandForMDMProfileRenewal/SendMDMCommandForMDMProfileRenewal.go index 47ea8a2ef..478c2aa48 100644 --- a/examples/mdm/SendMDMCommandForMDMProfileRenewal/SendMDMCommandForMDMProfileRenewal.go +++ b/examples/mdm/SendMDMCommandForMDMProfileRenewal/SendMDMCommandForMDMProfileRenewal.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mdm/SendMDMCommandForPackageDeployment/SendMDMCommandForPackageDeployment.go b/examples/mdm/SendMDMCommandForPackageDeployment/SendMDMCommandForPackageDeployment.go index 0bdd67f6d..7871aa628 100644 --- a/examples/mdm/SendMDMCommandForPackageDeployment/SendMDMCommandForPackageDeployment.go +++ b/examples/mdm/SendMDMCommandForPackageDeployment/SendMDMCommandForPackageDeployment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/CreateMobileDeviceApplication/CreateMobileDeviceApplication.go b/examples/mobile_device_applications/CreateMobileDeviceApplication/CreateMobileDeviceApplication.go index 67b62d566..631d25db7 100644 --- a/examples/mobile_device_applications/CreateMobileDeviceApplication/CreateMobileDeviceApplication.go +++ b/examples/mobile_device_applications/CreateMobileDeviceApplication/CreateMobileDeviceApplication.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleID/DeleteMobileDeviceApplicationByBundleID.go b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleID/DeleteMobileDeviceApplicationByBundleID.go index 2d7165213..c25b6b43f 100644 --- a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleID/DeleteMobileDeviceApplicationByBundleID.go +++ b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleID/DeleteMobileDeviceApplicationByBundleID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleIDAndVersion/DeleteMobileDeviceApplicationByBundleIDAndVersion.go b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleIDAndVersion/DeleteMobileDeviceApplicationByBundleIDAndVersion.go index d651068b1..37a89b35c 100644 --- a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleIDAndVersion/DeleteMobileDeviceApplicationByBundleIDAndVersion.go +++ b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByBundleIDAndVersion/DeleteMobileDeviceApplicationByBundleIDAndVersion.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByName/DeleteMobileDeviceApplicationByName.go b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByName/DeleteMobileDeviceApplicationByName.go index aa80d4782..ea4c762f3 100644 --- a/examples/mobile_device_applications/DeleteMobileDeviceApplicationByName/DeleteMobileDeviceApplicationByName.go +++ b/examples/mobile_device_applications/DeleteMobileDeviceApplicationByName/DeleteMobileDeviceApplicationByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/DeleteMobileDeviceApplicationpByID/DeleteMobileDeviceApplicationpByID.go b/examples/mobile_device_applications/DeleteMobileDeviceApplicationpByID/DeleteMobileDeviceApplicationpByID.go index 1a9905cfe..9114c02e3 100644 --- a/examples/mobile_device_applications/DeleteMobileDeviceApplicationpByID/DeleteMobileDeviceApplicationpByID.go +++ b/examples/mobile_device_applications/DeleteMobileDeviceApplicationpByID/DeleteMobileDeviceApplicationpByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleID/GetMobileDeviceApplicationByAppBundleID.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleID/GetMobileDeviceApplicationByAppBundleID.go index aef4b1506..21f3e123e 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleID/GetMobileDeviceApplicationByAppBundleID.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleID/GetMobileDeviceApplicationByAppBundleID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleIDAndVersion/GetMobileDeviceApplicationByAppBundleIDAndVersion.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleIDAndVersion/GetMobileDeviceApplicationByAppBundleIDAndVersion.go index 44458ece1..7cdef4a29 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleIDAndVersion/GetMobileDeviceApplicationByAppBundleIDAndVersion.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByAppBundleIDAndVersion/GetMobileDeviceApplicationByAppBundleIDAndVersion.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByID/GetMobileDeviceApplicationByID.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByID/GetMobileDeviceApplicationByID.go index d83bac958..ba8a6932c 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByID/GetMobileDeviceApplicationByID.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByID/GetMobileDeviceApplicationByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByIDAndDataSubset/GetMobileDeviceApplicationByIDAndDataSubset.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByIDAndDataSubset/GetMobileDeviceApplicationByIDAndDataSubset.go index cd1c7b001..6d0300229 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByIDAndDataSubset/GetMobileDeviceApplicationByIDAndDataSubset.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByIDAndDataSubset/GetMobileDeviceApplicationByIDAndDataSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByName/GetMobileDeviceApplicationByName.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByName/GetMobileDeviceApplicationByName.go index 13cca7b25..1a68866a7 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByName/GetMobileDeviceApplicationByName.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByName/GetMobileDeviceApplicationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplicationByNameAndDataSubset/GetMobileDeviceApplicationByNameAndDataSubset.go b/examples/mobile_device_applications/GetMobileDeviceApplicationByNameAndDataSubset/GetMobileDeviceApplicationByNameAndDataSubset.go index a27409cae..bbd3c9461 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplicationByNameAndDataSubset/GetMobileDeviceApplicationByNameAndDataSubset.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplicationByNameAndDataSubset/GetMobileDeviceApplicationByNameAndDataSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/GetMobileDeviceApplications/GetMobileDeviceApplications.go b/examples/mobile_device_applications/GetMobileDeviceApplications/GetMobileDeviceApplications.go index 9e26c1435..106beacee 100644 --- a/examples/mobile_device_applications/GetMobileDeviceApplications/GetMobileDeviceApplications.go +++ b/examples/mobile_device_applications/GetMobileDeviceApplications/GetMobileDeviceApplications.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByApplicationBundleID/UpdateMobileDeviceApplicationByApplicationBundleID.go b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByApplicationBundleID/UpdateMobileDeviceApplicationByApplicationBundleID.go index c1b380dc8..f5bd77be8 100644 --- a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByApplicationBundleID/UpdateMobileDeviceApplicationByApplicationBundleID.go +++ b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByApplicationBundleID/UpdateMobileDeviceApplicationByApplicationBundleID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByID/UpdateMobileDeviceApplicationByID.go b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByID/UpdateMobileDeviceApplicationByID.go index 47b3bd751..fba76c774 100644 --- a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByID/UpdateMobileDeviceApplicationByID.go +++ b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByID/UpdateMobileDeviceApplicationByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByIDAndAppVersion/UpdateMobileDeviceApplicationByIDAndAppVersion.go b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByIDAndAppVersion/UpdateMobileDeviceApplicationByIDAndAppVersion.go index f81fdf1c6..0aa4dedd9 100644 --- a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByIDAndAppVersion/UpdateMobileDeviceApplicationByIDAndAppVersion.go +++ b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByIDAndAppVersion/UpdateMobileDeviceApplicationByIDAndAppVersion.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByName/UpdateMobileDeviceApplicationByName.go b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByName/UpdateMobileDeviceApplicationByName.go index 57c77e285..be144f7d1 100644 --- a/examples/mobile_device_applications/UpdateMobileDeviceApplicationByName/UpdateMobileDeviceApplicationByName.go +++ b/examples/mobile_device_applications/UpdateMobileDeviceApplicationByName/UpdateMobileDeviceApplicationByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfile/CreateMobileDeviceConfigurationProfile.go b/examples/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfile/CreateMobileDeviceConfigurationProfile.go index 4c128ca21..ef5e27a16 100644 --- a/examples/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfile/CreateMobileDeviceConfigurationProfile.go +++ b/examples/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfile/CreateMobileDeviceConfigurationProfile.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByID/DeleteMobileDeviceConfigurationProfileByID.go b/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByID/DeleteMobileDeviceConfigurationProfileByID.go index 0f29981c0..c8bb869b2 100644 --- a/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByID/DeleteMobileDeviceConfigurationProfileByID.go +++ b/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByID/DeleteMobileDeviceConfigurationProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByName/DeleteMobileDeviceConfigurationProfileByName.go b/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByName/DeleteMobileDeviceConfigurationProfileByName.go index ff049aae8..bcfd5ecd4 100644 --- a/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByName/DeleteMobileDeviceConfigurationProfileByName.go +++ b/examples/mobile_device_configuration_profiles/DeleteMobileDeviceConfigurationProfileByName/DeleteMobileDeviceConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByID/GetMobileDeviceConfigurationProfileByID.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByID/GetMobileDeviceConfigurationProfileByID.go index 844ef4c3b..838a48b25 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByID/GetMobileDeviceConfigurationProfileByID.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByID/GetMobileDeviceConfigurationProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByIDWithSubset/GetMobileDeviceConfigurationProfileByIDWithSubset.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByIDWithSubset/GetMobileDeviceConfigurationProfileByIDWithSubset.go index 357269d10..76d777622 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByIDWithSubset/GetMobileDeviceConfigurationProfileByIDWithSubset.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByIDWithSubset/GetMobileDeviceConfigurationProfileByIDWithSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByName/GetMobileDeviceConfigurationProfileByName.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByName/GetMobileDeviceConfigurationProfileByName.go index b86c78ffa..200042dae 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByName/GetMobileDeviceConfigurationProfileByName.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByName/GetMobileDeviceConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByNameWithSubset/GetMobileDeviceConfigurationProfileByNameWithSubset.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByNameWithSubset/GetMobileDeviceConfigurationProfileByNameWithSubset.go index 1e428a84a..a82a07535 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByNameWithSubset/GetMobileDeviceConfigurationProfileByNameWithSubset.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfileByNameWithSubset/GetMobileDeviceConfigurationProfileByNameWithSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfiles/GetMobileDeviceConfigurationProfiles.go b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfiles/GetMobileDeviceConfigurationProfiles.go index ab0e85281..61f5856a5 100644 --- a/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfiles/GetMobileDeviceConfigurationProfiles.go +++ b/examples/mobile_device_configuration_profiles/GetMobileDeviceConfigurationProfiles/GetMobileDeviceConfigurationProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByID/UpdateMobileDeviceConfigurationProfileByID.go b/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByID/UpdateMobileDeviceConfigurationProfileByID.go index d7bdc4c38..df1f91fb2 100644 --- a/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByID/UpdateMobileDeviceConfigurationProfileByID.go +++ b/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByID/UpdateMobileDeviceConfigurationProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByName/UpdateMobileDeviceConfigurationProfileByName.go b/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByName/UpdateMobileDeviceConfigurationProfileByName.go index 51c54f2f7..c57f01166 100644 --- a/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByName/UpdateMobileDeviceConfigurationProfileByName.go +++ b/examples/mobile_device_configuration_profiles/UpdateMobileDeviceConfigurationProfileByName/UpdateMobileDeviceConfigurationProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupSmart/CreateMobileDeviceGroupSmart.go b/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupSmart/CreateMobileDeviceGroupSmart.go index a9ef5f4f7..3350e9208 100644 --- a/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupSmart/CreateMobileDeviceGroupSmart.go +++ b/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupSmart/CreateMobileDeviceGroupSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupStatic/CreateMobileDeviceGroupStatic.go b/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupStatic/CreateMobileDeviceGroupStatic.go index e2adba068..0fbaafc85 100644 --- a/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupStatic/CreateMobileDeviceGroupStatic.go +++ b/examples/mobile_device_enrollment_groups/CreateMobileDeviceGroupStatic/CreateMobileDeviceGroupStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go b/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go index 4d54da5b9..873629599 100644 --- a/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go +++ b/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByID/DeleteMobileDeviceGroupByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByName/DeleteMobileDeviceGroupByName.go b/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByName/DeleteMobileDeviceGroupByName.go index a0d2fddb6..ce59ca067 100644 --- a/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByName/DeleteMobileDeviceGroupByName.go +++ b/examples/mobile_device_enrollment_groups/DeleteMobileDeviceGroupByName/DeleteMobileDeviceGroupByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroups/GetMobileDeviceGroups.go b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroups/GetMobileDeviceGroups.go index d9b350a60..210ca015c 100644 --- a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroups/GetMobileDeviceGroups.go +++ b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroups/GetMobileDeviceGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go index 9692eba46..6018aab9d 100644 --- a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go +++ b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByID/GetMobileDeviceGroupsByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go index 3691734c2..8e2b3018e 100644 --- a/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go +++ b/examples/mobile_device_enrollment_groups/GetMobileDeviceGroupsByName/GetMobileDeviceGroupsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDSmart/UpdateMobileDeviceGroupByIDSmart.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDSmart/UpdateMobileDeviceGroupByIDSmart.go index 866825216..9f2b7d2bb 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDSmart/UpdateMobileDeviceGroupByIDSmart.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDSmart/UpdateMobileDeviceGroupByIDSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStatic/UpdateMobileDeviceGroupByIDStatic.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStatic/UpdateMobileDeviceGroupByIDStatic.go index 715e66405..f336be39c 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStatic/UpdateMobileDeviceGroupByIDStatic.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStatic/UpdateMobileDeviceGroupByIDStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupAdditions/UpdateMobileDeviceGroupByIDStaticGroupAdditions.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupAdditions/UpdateMobileDeviceGroupByIDStaticGroupAdditions.go index 3b574e299..4e455f1c7 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupAdditions/UpdateMobileDeviceGroupByIDStaticGroupAdditions.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupAdditions/UpdateMobileDeviceGroupByIDStaticGroupAdditions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupDeletions/UpdateMobileDeviceGroupByIDStaticGroupDeletions.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupDeletions/UpdateMobileDeviceGroupByIDStaticGroupDeletions.go index 78e432ec4..5e64da29c 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupDeletions/UpdateMobileDeviceGroupByIDStaticGroupDeletions.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByIDStaticGroupDeletions/UpdateMobileDeviceGroupByIDStaticGroupDeletions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameSmart/UpdateMobileDeviceGroupByNameSmart.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameSmart/UpdateMobileDeviceGroupByNameSmart.go index 8d4c224f5..1aa6c0243 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameSmart/UpdateMobileDeviceGroupByNameSmart.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameSmart/UpdateMobileDeviceGroupByNameSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameStatic/UpdateMobileDeviceGroupByNameStatic.go b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameStatic/UpdateMobileDeviceGroupByNameStatic.go index 8f807ddf6..30713cbdf 100644 --- a/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameStatic/UpdateMobileDeviceGroupByNameStatic.go +++ b/examples/mobile_device_enrollment_groups/UpdateMobileDeviceGroupByNameStatic/UpdateMobileDeviceGroupByNameStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/CreateMobileDeviceEnrollmentProfile/CreateMobileDeviceEnrollmentProfile.go b/examples/mobile_device_enrollment_profiles/CreateMobileDeviceEnrollmentProfile/CreateMobileDeviceEnrollmentProfile.go index f0509caa1..933eba3ab 100644 --- a/examples/mobile_device_enrollment_profiles/CreateMobileDeviceEnrollmentProfile/CreateMobileDeviceEnrollmentProfile.go +++ b/examples/mobile_device_enrollment_profiles/CreateMobileDeviceEnrollmentProfile/CreateMobileDeviceEnrollmentProfile.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByID/DeleteMobileDeviceEnrollmentProfileByID.go b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByID/DeleteMobileDeviceEnrollmentProfileByID.go index ff8933a4e..d289fb1ba 100644 --- a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByID/DeleteMobileDeviceEnrollmentProfileByID.go +++ b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByID/DeleteMobileDeviceEnrollmentProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByInvitation/DeleteMobileDeviceEnrollmentProfileByInvitation.go b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByInvitation/DeleteMobileDeviceEnrollmentProfileByInvitation.go index 60e8d865d..2f1925311 100644 --- a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByInvitation/DeleteMobileDeviceEnrollmentProfileByInvitation.go +++ b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByInvitation/DeleteMobileDeviceEnrollmentProfileByInvitation.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByName/DeleteMobileDeviceEnrollmentProfileByName.go b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByName/DeleteMobileDeviceEnrollmentProfileByName.go index cbaafad3b..a0ef90e38 100644 --- a/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByName/DeleteMobileDeviceEnrollmentProfileByName.go +++ b/examples/mobile_device_enrollment_profiles/DeleteMobileDeviceEnrollmentProfileByName/DeleteMobileDeviceEnrollmentProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByID/GetMobileDeviceEnrollmentProfileByID.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByID/GetMobileDeviceEnrollmentProfileByID.go index 0f51ef7a6..3fce53990 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByID/GetMobileDeviceEnrollmentProfileByID.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByID/GetMobileDeviceEnrollmentProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByIDWithSubset/GetMobileDeviceEnrollmentProfileByIDWithSubset.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByIDWithSubset/GetMobileDeviceEnrollmentProfileByIDWithSubset.go index 949d8fdb7..9497d14e4 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByIDWithSubset/GetMobileDeviceEnrollmentProfileByIDWithSubset.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByIDWithSubset/GetMobileDeviceEnrollmentProfileByIDWithSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByName/GetMobileDeviceEnrollmentProfileByName.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByName/GetMobileDeviceEnrollmentProfileByName.go index d201e8a33..f8bcf6ff6 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByName/GetMobileDeviceEnrollmentProfileByName.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByName/GetMobileDeviceEnrollmentProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByNameWithSubset/GetMobileDeviceEnrollmentProfileByNameWithSubset.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByNameWithSubset/GetMobileDeviceEnrollmentProfileByNameWithSubset.go index 577bfc69b..254bc951f 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByNameWithSubset/GetMobileDeviceEnrollmentProfileByNameWithSubset.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfileByNameWithSubset/GetMobileDeviceEnrollmentProfileByNameWithSubset.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfiles/GetMobileDeviceEnrollmentProfiles.go b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfiles/GetMobileDeviceEnrollmentProfiles.go index 433e4f55d..8f4902a21 100644 --- a/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfiles/GetMobileDeviceEnrollmentProfiles.go +++ b/examples/mobile_device_enrollment_profiles/GetMobileDeviceEnrollmentProfiles/GetMobileDeviceEnrollmentProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/GetProfileByInvitation/GetProfileByInvitation.go b/examples/mobile_device_enrollment_profiles/GetProfileByInvitation/GetProfileByInvitation.go index 05a4caa76..172e7b629 100644 --- a/examples/mobile_device_enrollment_profiles/GetProfileByInvitation/GetProfileByInvitation.go +++ b/examples/mobile_device_enrollment_profiles/GetProfileByInvitation/GetProfileByInvitation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByID/UpdateMobileDeviceEnrollmentProfileByID.go b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByID/UpdateMobileDeviceEnrollmentProfileByID.go index 5f453a796..edde872f2 100644 --- a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByID/UpdateMobileDeviceEnrollmentProfileByID.go +++ b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByID/UpdateMobileDeviceEnrollmentProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByInvitation/UpdateMobileDeviceEnrollmentProfileByInvitation.go b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByInvitation/UpdateMobileDeviceEnrollmentProfileByInvitation.go index 6d8c24c74..4d806d9e2 100644 --- a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByInvitation/UpdateMobileDeviceEnrollmentProfileByInvitation.go +++ b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByInvitation/UpdateMobileDeviceEnrollmentProfileByInvitation.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByName/UpdateMobileDeviceEnrollmentProfileByName.go b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByName/UpdateMobileDeviceEnrollmentProfileByName.go index cf67ee95d..864c02494 100644 --- a/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByName/UpdateMobileDeviceEnrollmentProfileByName.go +++ b/examples/mobile_device_enrollment_profiles/UpdateMobileDeviceEnrollmentProfileByName/UpdateMobileDeviceEnrollmentProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByID/CreateMobileDeviceProvisioningProfileByID.go b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByID/CreateMobileDeviceProvisioningProfileByID.go index 6be747c11..4bf6f233d 100644 --- a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByID/CreateMobileDeviceProvisioningProfileByID.go +++ b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByID/CreateMobileDeviceProvisioningProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByName/CreateMobileDeviceProvisioningProfileByName.go b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByName/CreateMobileDeviceProvisioningProfileByName.go index a3dab1b0c..ccd4fe947 100644 --- a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByName/CreateMobileDeviceProvisioningProfileByName.go +++ b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByName/CreateMobileDeviceProvisioningProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByUUID/CreateMobileDeviceProvisioningProfileByUUID.go b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByUUID/CreateMobileDeviceProvisioningProfileByUUID.go index 8b7c3ef0a..a5f892b2d 100644 --- a/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByUUID/CreateMobileDeviceProvisioningProfileByUUID.go +++ b/examples/mobile_device_provisioning_profiles/CreateMobileDeviceProvisioningProfileByUUID/CreateMobileDeviceProvisioningProfileByUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByID/DeleteMobileDeviceProvisioningProfileByID.go b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByID/DeleteMobileDeviceProvisioningProfileByID.go index e8ebffa33..7f09bc058 100644 --- a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByID/DeleteMobileDeviceProvisioningProfileByID.go +++ b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByID/DeleteMobileDeviceProvisioningProfileByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByName/DeleteMobileDeviceProvisioningProfileByName.go b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByName/DeleteMobileDeviceProvisioningProfileByName.go index f10e8be15..5a77e473f 100644 --- a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByName/DeleteMobileDeviceProvisioningProfileByName.go +++ b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByName/DeleteMobileDeviceProvisioningProfileByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByUUID/DeleteMobileDeviceProvisioningProfileByUUID.go b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByUUID/DeleteMobileDeviceProvisioningProfileByUUID.go index 1b9ef902f..c2327aa7c 100644 --- a/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByUUID/DeleteMobileDeviceProvisioningProfileByUUID.go +++ b/examples/mobile_device_provisioning_profiles/DeleteMobileDeviceProvisioningProfileByUUID/DeleteMobileDeviceProvisioningProfileByUUID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByID/GetMobileDeviceProvisioningProfileByID.go b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByID/GetMobileDeviceProvisioningProfileByID.go index 568d49b26..e37f07843 100644 --- a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByID/GetMobileDeviceProvisioningProfileByID.go +++ b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByID/GetMobileDeviceProvisioningProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByName/GetMobileDeviceProvisioningProfileByName.go b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByName/GetMobileDeviceProvisioningProfileByName.go index 03432f089..32b898ec4 100644 --- a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByName/GetMobileDeviceProvisioningProfileByName.go +++ b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByName/GetMobileDeviceProvisioningProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByUUID/GetMobileDeviceProvisioningProfileByUUID.go b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByUUID/GetMobileDeviceProvisioningProfileByUUID.go index 94f88f710..97808d3ff 100644 --- a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByUUID/GetMobileDeviceProvisioningProfileByUUID.go +++ b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfileByUUID/GetMobileDeviceProvisioningProfileByUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfiles/GetMobileDeviceProvisioningProfiles.go b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfiles/GetMobileDeviceProvisioningProfiles.go index 6c3d7c5a9..b43c0c7be 100644 --- a/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfiles/GetMobileDeviceProvisioningProfiles.go +++ b/examples/mobile_device_provisioning_profiles/GetMobileDeviceProvisioningProfiles/GetMobileDeviceProvisioningProfiles.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByID/UpdateMobileDeviceProvisioningProfileByID.go b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByID/UpdateMobileDeviceProvisioningProfileByID.go index 65b8c2eb6..930b2568d 100644 --- a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByID/UpdateMobileDeviceProvisioningProfileByID.go +++ b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByID/UpdateMobileDeviceProvisioningProfileByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByName/UpdateMobileDeviceProvisioningProfileByName.go b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByName/UpdateMobileDeviceProvisioningProfileByName.go index 7306dd00c..b3b5aabc6 100644 --- a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByName/UpdateMobileDeviceProvisioningProfileByName.go +++ b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByName/UpdateMobileDeviceProvisioningProfileByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByUUID/UpdateMobileDeviceProvisioningProfileByUUID.go b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByUUID/UpdateMobileDeviceProvisioningProfileByUUID.go index 1befbc28a..742d1dc09 100644 --- a/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByUUID/UpdateMobileDeviceProvisioningProfileByUUID.go +++ b/examples/mobile_device_provisioning_profiles/UpdateMobileDeviceProvisioningProfileByUUID/UpdateMobileDeviceProvisioningProfileByUUID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/CreateMobileDevice/CreateMobileDevice.go b/examples/mobile_devices/CreateMobileDevice/CreateMobileDevice.go index 3236d723c..ece3e2c7c 100644 --- a/examples/mobile_devices/CreateMobileDevice/CreateMobileDevice.go +++ b/examples/mobile_devices/CreateMobileDevice/CreateMobileDevice.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/DeleteMobileDeviceByID/DeleteMobileDeviceByID.go b/examples/mobile_devices/DeleteMobileDeviceByID/DeleteMobileDeviceByID.go index 72d4c5ca3..076d41692 100644 --- a/examples/mobile_devices/DeleteMobileDeviceByID/DeleteMobileDeviceByID.go +++ b/examples/mobile_devices/DeleteMobileDeviceByID/DeleteMobileDeviceByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/DeleteMobileDeviceByName/DeleteMobileDeviceByName.go b/examples/mobile_devices/DeleteMobileDeviceByName/DeleteMobileDeviceByName.go index ab365019f..5ebfec501 100644 --- a/examples/mobile_devices/DeleteMobileDeviceByName/DeleteMobileDeviceByName.go +++ b/examples/mobile_devices/DeleteMobileDeviceByName/DeleteMobileDeviceByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDeviceByIDAndDataSubset/GetMobileDeviceByIDAndDataSubset.go b/examples/mobile_devices/GetMobileDeviceByIDAndDataSubset/GetMobileDeviceByIDAndDataSubset.go index 2bb44fdb7..a1c8731da 100644 --- a/examples/mobile_devices/GetMobileDeviceByIDAndDataSubset/GetMobileDeviceByIDAndDataSubset.go +++ b/examples/mobile_devices/GetMobileDeviceByIDAndDataSubset/GetMobileDeviceByIDAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDeviceByName/GetMobileDeviceByName.go b/examples/mobile_devices/GetMobileDeviceByName/GetMobileDeviceByName.go index e26544577..47a16b052 100644 --- a/examples/mobile_devices/GetMobileDeviceByName/GetMobileDeviceByName.go +++ b/examples/mobile_devices/GetMobileDeviceByName/GetMobileDeviceByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDeviceByNameAndDataSubset/GetMobileDeviceByNameAndDataSubset.go b/examples/mobile_devices/GetMobileDeviceByNameAndDataSubset/GetMobileDeviceByNameAndDataSubset.go index 6d6bd476e..1e1746301 100644 --- a/examples/mobile_devices/GetMobileDeviceByNameAndDataSubset/GetMobileDeviceByNameAndDataSubset.go +++ b/examples/mobile_devices/GetMobileDeviceByNameAndDataSubset/GetMobileDeviceByNameAndDataSubset.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDevices/GetMobileDevices.go b/examples/mobile_devices/GetMobileDevices/GetMobileDevices.go index f340cdf92..20febe502 100644 --- a/examples/mobile_devices/GetMobileDevices/GetMobileDevices.go +++ b/examples/mobile_devices/GetMobileDevices/GetMobileDevices.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go b/examples/mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go index 3878e5424..35ddb73af 100644 --- a/examples/mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go +++ b/examples/mobile_devices/GetMobileDevicesByID/GetMobileDevicesByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/UpdateMobileDeviceByID/UpdateMobileDeviceByID.go b/examples/mobile_devices/UpdateMobileDeviceByID/UpdateMobileDeviceByID.go index 9acde8173..10767f9c3 100644 --- a/examples/mobile_devices/UpdateMobileDeviceByID/UpdateMobileDeviceByID.go +++ b/examples/mobile_devices/UpdateMobileDeviceByID/UpdateMobileDeviceByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_devices/UpdateMobileDeviceByName/UpdateMobileDeviceByName.go b/examples/mobile_devices/UpdateMobileDeviceByName/UpdateMobileDeviceByName.go index 7ebb6f107..f14e9444b 100644 --- a/examples/mobile_devices/UpdateMobileDeviceByName/UpdateMobileDeviceByName.go +++ b/examples/mobile_devices/UpdateMobileDeviceByName/UpdateMobileDeviceByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/CreateMobileExtensionAttribute/CreateMobileExtensionAttribute.go b/examples/mobile_extension_attributes/CreateMobileExtensionAttribute/CreateMobileExtensionAttribute.go index 820213f54..b7032e309 100644 --- a/examples/mobile_extension_attributes/CreateMobileExtensionAttribute/CreateMobileExtensionAttribute.go +++ b/examples/mobile_extension_attributes/CreateMobileExtensionAttribute/CreateMobileExtensionAttribute.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByID/DeleteMobileExtensionAttributeByID.go b/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByID/DeleteMobileExtensionAttributeByID.go index 2ce183da2..07a6aed70 100644 --- a/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByID/DeleteMobileExtensionAttributeByID.go +++ b/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByID/DeleteMobileExtensionAttributeByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByName/DeleteMobileExtensionAttributeByName.go b/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByName/DeleteMobileExtensionAttributeByName.go index 116fc2fed..91b8e6004 100644 --- a/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByName/DeleteMobileExtensionAttributeByName.go +++ b/examples/mobile_extension_attributes/DeleteMobileExtensionAttributeByName/DeleteMobileExtensionAttributeByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/GetMobileExtensionAttributeByID/GetMobileExtensionAttributeByID.go b/examples/mobile_extension_attributes/GetMobileExtensionAttributeByID/GetMobileExtensionAttributeByID.go index b7d37cebb..cfb8790f5 100644 --- a/examples/mobile_extension_attributes/GetMobileExtensionAttributeByID/GetMobileExtensionAttributeByID.go +++ b/examples/mobile_extension_attributes/GetMobileExtensionAttributeByID/GetMobileExtensionAttributeByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/GetMobileExtensionAttributeByName/GetMobileExtensionAttributeByName.go b/examples/mobile_extension_attributes/GetMobileExtensionAttributeByName/GetMobileExtensionAttributeByName.go index 91770987a..ed484369a 100644 --- a/examples/mobile_extension_attributes/GetMobileExtensionAttributeByName/GetMobileExtensionAttributeByName.go +++ b/examples/mobile_extension_attributes/GetMobileExtensionAttributeByName/GetMobileExtensionAttributeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/GetMobileExtensionAttributes/GetMobileExtensionAttributes.go b/examples/mobile_extension_attributes/GetMobileExtensionAttributes/GetMobileExtensionAttributes.go index 76e66686b..3d1ffda63 100644 --- a/examples/mobile_extension_attributes/GetMobileExtensionAttributes/GetMobileExtensionAttributes.go +++ b/examples/mobile_extension_attributes/GetMobileExtensionAttributes/GetMobileExtensionAttributes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByID/UpdateMobileExtensionAttributeByID.go b/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByID/UpdateMobileExtensionAttributeByID.go index 003b11933..8d4e6e0b6 100644 --- a/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByID/UpdateMobileExtensionAttributeByID.go +++ b/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByID/UpdateMobileExtensionAttributeByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByName/UpdateMobileExtensionAttributeByName.go b/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByName/UpdateMobileExtensionAttributeByName.go index e847695e0..b21213cd3 100644 --- a/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByName/UpdateMobileExtensionAttributeByName.go +++ b/examples/mobile_extension_attributes/UpdateMobileExtensionAttributeByName/UpdateMobileExtensionAttributeByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/CreateNetworkSegment/CreateNetworkSegment.go b/examples/network_segments/CreateNetworkSegment/CreateNetworkSegment.go index eaee6a27b..13b6b9356 100644 --- a/examples/network_segments/CreateNetworkSegment/CreateNetworkSegment.go +++ b/examples/network_segments/CreateNetworkSegment/CreateNetworkSegment.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go b/examples/network_segments/DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go index 6e04bc730..2bbeae761 100644 --- a/examples/network_segments/DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go +++ b/examples/network_segments/DeleteNetworkSegmentByID/DeleteNetworkSegmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go b/examples/network_segments/DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go index a842d9bbf..ba0f74dd6 100644 --- a/examples/network_segments/DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go +++ b/examples/network_segments/DeleteNetworkSegmentByName/DeleteNetworkSegmentByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/GetNetworkSegmentByID/GetNetworkSegmentByID.go b/examples/network_segments/GetNetworkSegmentByID/GetNetworkSegmentByID.go index 101ff13c7..b8a6985c4 100644 --- a/examples/network_segments/GetNetworkSegmentByID/GetNetworkSegmentByID.go +++ b/examples/network_segments/GetNetworkSegmentByID/GetNetworkSegmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/GetNetworkSegmentByName/GetNetworkSegmentByName.go b/examples/network_segments/GetNetworkSegmentByName/GetNetworkSegmentByName.go index 899ccb9ae..08411b784 100644 --- a/examples/network_segments/GetNetworkSegmentByName/GetNetworkSegmentByName.go +++ b/examples/network_segments/GetNetworkSegmentByName/GetNetworkSegmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/GetNetworkSegments/GetNetworkSegments.go b/examples/network_segments/GetNetworkSegments/GetNetworkSegments.go index 60055e7eb..8298f3f26 100644 --- a/examples/network_segments/GetNetworkSegments/GetNetworkSegments.go +++ b/examples/network_segments/GetNetworkSegments/GetNetworkSegments.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go b/examples/network_segments/UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go index 65e5161d7..708596e68 100644 --- a/examples/network_segments/UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go +++ b/examples/network_segments/UpdateNetworkSegmentByID/UpdateNetworkSegmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/network_segments/UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go b/examples/network_segments/UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go index 53221045e..d1e7a50c1 100644 --- a/examples/network_segments/UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go +++ b/examples/network_segments/UpdateNetworkSegmentByName/UpdateNetworkSegmentByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/notifications/GetNotificationsForUserAndSite/GetNotificationsForUserAndSite.go b/examples/notifications/GetNotificationsForUserAndSite/GetNotificationsForUserAndSite.go index 3c5610ff2..c2c7a8d64 100644 --- a/examples/notifications/GetNotificationsForUserAndSite/GetNotificationsForUserAndSite.go +++ b/examples/notifications/GetNotificationsForUserAndSite/GetNotificationsForUserAndSite.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/oidc/GenerateKeystoreForOIDCMessages/GenerateKeystoreForOIDCMessages.go b/examples/oidc/GenerateKeystoreForOIDCMessages/GenerateKeystoreForOIDCMessages.go index f75a89307..06b7e47db 100644 --- a/examples/oidc/GenerateKeystoreForOIDCMessages/GenerateKeystoreForOIDCMessages.go +++ b/examples/oidc/GenerateKeystoreForOIDCMessages/GenerateKeystoreForOIDCMessages.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/oidc/GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go b/examples/oidc/GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go index b89fa5a72..02ef26c50 100644 --- a/examples/oidc/GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go +++ b/examples/oidc/GetPublicKeyOfOIDCKeystore/GetPublicKeyOfOIDCKeystore.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/oidc/SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go b/examples/oidc/SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go index 7b9a9a482..f46a38487 100644 --- a/examples/oidc/SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go +++ b/examples/oidc/SetRedirectURLForOIDCLogon/SetRedirectURLForOIDCLogon.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/CreatePackage/CreatePackage.go b/examples/packages/CreatePackage/CreatePackage.go index 44e179016..deff258b6 100644 --- a/examples/packages/CreatePackage/CreatePackage.go +++ b/examples/packages/CreatePackage/CreatePackage.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go b/examples/packages/DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go index ca7cc779a..861f2e6ca 100644 --- a/examples/packages/DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go +++ b/examples/packages/DeleteMultiplePackagesByID/DeleteMultiplePackagesByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/DeletePackageManifestByID/DeletePackageManifestByID.go b/examples/packages/DeletePackageManifestByID/DeletePackageManifestByID.go index 8bbdceaa5..feb61e8d3 100644 --- a/examples/packages/DeletePackageManifestByID/DeletePackageManifestByID.go +++ b/examples/packages/DeletePackageManifestByID/DeletePackageManifestByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/DeletePackagesByID/DeletePackageByID.go b/examples/packages/DeletePackagesByID/DeletePackageByID.go index bd5bd6803..dceef4a62 100644 --- a/examples/packages/DeletePackagesByID/DeletePackageByID.go +++ b/examples/packages/DeletePackagesByID/DeletePackageByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/GetPackageByID/GetPackageByID.go b/examples/packages/GetPackageByID/GetPackageByID.go index d025fd20d..cfab1fd02 100644 --- a/examples/packages/GetPackageByID/GetPackageByID.go +++ b/examples/packages/GetPackageByID/GetPackageByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/GetPackageByName/GetPackageByName.go b/examples/packages/GetPackageByName/GetPackageByName.go index 2e645c2dd..d338e9ca0 100644 --- a/examples/packages/GetPackageByName/GetPackageByName.go +++ b/examples/packages/GetPackageByName/GetPackageByName.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/packages/GetPackageHistoryByPackageID/GetPackageHistoryByPackageID.go b/examples/packages/GetPackageHistoryByPackageID/GetPackageHistoryByPackageID.go index bc3aefe2a..ecbaba4cc 100644 --- a/examples/packages/GetPackageHistoryByPackageID/GetPackageHistoryByPackageID.go +++ b/examples/packages/GetPackageHistoryByPackageID/GetPackageHistoryByPackageID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/GetPackages/GetPackages.go b/examples/packages/GetPackages/GetPackages.go index 0dc752a16..9398a2feb 100644 --- a/examples/packages/GetPackages/GetPackages.go +++ b/examples/packages/GetPackages/GetPackages.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/UpdatePackageManifestByID/UpdatePackageByID.go b/examples/packages/UpdatePackageManifestByID/UpdatePackageByID.go index d291253da..02386a9c5 100644 --- a/examples/packages/UpdatePackageManifestByID/UpdatePackageByID.go +++ b/examples/packages/UpdatePackageManifestByID/UpdatePackageByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/packages/UploadPackage/UploadPackage.go b/examples/packages/UploadPackage/UploadPackage.go index b58fbd7c8..169a33302 100644 --- a/examples/packages/UploadPackage/UploadPackage.go +++ b/examples/packages/UploadPackage/UploadPackage.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management/AcceptPatchManagementDisclaimer/AcceptPatchManagementDisclaimer.go b/examples/patch_management/AcceptPatchManagementDisclaimer/AcceptPatchManagementDisclaimer.go index 449f1e453..de213d784 100644 --- a/examples/patch_management/AcceptPatchManagementDisclaimer/AcceptPatchManagementDisclaimer.go +++ b/examples/patch_management/AcceptPatchManagementDisclaimer/AcceptPatchManagementDisclaimer.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/CreateExternalPatchSource/CreateExternalPatchSource.go b/examples/patch_management_external_sources/CreateExternalPatchSource/CreateExternalPatchSource.go index 33a5ec20f..1f1e23c53 100644 --- a/examples/patch_management_external_sources/CreateExternalPatchSource/CreateExternalPatchSource.go +++ b/examples/patch_management_external_sources/CreateExternalPatchSource/CreateExternalPatchSource.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/DeleteExternalPatchSourceByID/DeleteExternalPatchSourceByID.go b/examples/patch_management_external_sources/DeleteExternalPatchSourceByID/DeleteExternalPatchSourceByID.go index ad73dcd6f..29d982be6 100644 --- a/examples/patch_management_external_sources/DeleteExternalPatchSourceByID/DeleteExternalPatchSourceByID.go +++ b/examples/patch_management_external_sources/DeleteExternalPatchSourceByID/DeleteExternalPatchSourceByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/GetPatchExternalSourceByID/GetPatchExternalSourceByID.go b/examples/patch_management_external_sources/GetPatchExternalSourceByID/GetPatchExternalSourceByID.go index 603f2a6bc..2e3f79c4d 100644 --- a/examples/patch_management_external_sources/GetPatchExternalSourceByID/GetPatchExternalSourceByID.go +++ b/examples/patch_management_external_sources/GetPatchExternalSourceByID/GetPatchExternalSourceByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/GetPatchExternalSourceByName/GetPatchExternalSourceByName.go b/examples/patch_management_external_sources/GetPatchExternalSourceByName/GetPatchExternalSourceByName.go index a140d21cb..9dc9ab862 100644 --- a/examples/patch_management_external_sources/GetPatchExternalSourceByName/GetPatchExternalSourceByName.go +++ b/examples/patch_management_external_sources/GetPatchExternalSourceByName/GetPatchExternalSourceByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/GetPatchExternalSources/GetPatchExternalSources.go b/examples/patch_management_external_sources/GetPatchExternalSources/GetPatchExternalSources.go index 58f489bd3..fd1f68918 100644 --- a/examples/patch_management_external_sources/GetPatchExternalSources/GetPatchExternalSources.go +++ b/examples/patch_management_external_sources/GetPatchExternalSources/GetPatchExternalSources.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_management_external_sources/UpdateExternalPatchSourceByID/UpdateExternalPatchSourceByID.go b/examples/patch_management_external_sources/UpdateExternalPatchSourceByID/UpdateExternalPatchSourceByID.go index be84084ad..9ac4f49ff 100644 --- a/examples/patch_management_external_sources/UpdateExternalPatchSourceByID/UpdateExternalPatchSourceByID.go +++ b/examples/patch_management_external_sources/UpdateExternalPatchSourceByID/UpdateExternalPatchSourceByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go b/examples/patch_policies/AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go index ccbc7db2f..b22654ee5 100644 --- a/examples/patch_policies/AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go +++ b/examples/patch_policies/AddPatchPolicyToDashboard/AddPatchPolicyToDashboard.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go b/examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go index d265bb02f..307c384dc 100644 --- a/examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go +++ b/examples/patch_policies/CreatePatchPolicy/CreatePatchPolicy.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/DeletePatchPolicyByID/DeletePatchPolicyByID.go b/examples/patch_policies/DeletePatchPolicyByID/DeletePatchPolicyByID.go index 3d724f6b2..9267bc596 100644 --- a/examples/patch_policies/DeletePatchPolicyByID/DeletePatchPolicyByID.go +++ b/examples/patch_policies/DeletePatchPolicyByID/DeletePatchPolicyByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/DeletePatchPolicyFromDashboard/DeletePatchPolicyFromDashboard.go b/examples/patch_policies/DeletePatchPolicyFromDashboard/DeletePatchPolicyFromDashboard.go index f32fd294f..bc937fe6f 100644 --- a/examples/patch_policies/DeletePatchPolicyFromDashboard/DeletePatchPolicyFromDashboard.go +++ b/examples/patch_policies/DeletePatchPolicyFromDashboard/DeletePatchPolicyFromDashboard.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go b/examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go index 0d931ec98..fd3932bdf 100644 --- a/examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go +++ b/examples/patch_policies/GetPatchPolicies/GetPatchPolicies.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go b/examples/patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go index 844a241e5..c16d93fce 100644 --- a/examples/patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go +++ b/examples/patch_policies/GetPatchPolicyByID/GetPatchPolicyByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go b/examples/patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go index b000db352..5bc436d22 100644 --- a/examples/patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go +++ b/examples/patch_policies/GetPatchPolicyByName/GetPatchPolicyByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/GetPatchPolicyDashboardStatus/GetPatchPolicyDashboardStatus.go b/examples/patch_policies/GetPatchPolicyDashboardStatus/GetPatchPolicyDashboardStatus.go index a31f8f14a..506d33648 100644 --- a/examples/patch_policies/GetPatchPolicyDashboardStatus/GetPatchPolicyDashboardStatus.go +++ b/examples/patch_policies/GetPatchPolicyDashboardStatus/GetPatchPolicyDashboardStatus.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_policies/UpdatePatchPolicyByID/UpdatePatchPolicyByID.go b/examples/patch_policies/UpdatePatchPolicyByID/UpdatePatchPolicyByID.go index 14ba3020a..b89562686 100644 --- a/examples/patch_policies/UpdatePatchPolicyByID/UpdatePatchPolicyByID.go +++ b/examples/patch_policies/UpdatePatchPolicyByID/UpdatePatchPolicyByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go b/examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go index da3bb8dd6..2dbd4ceda 100644 --- a/examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go +++ b/examples/patch_software_title_configurations/CreatePatchSoftwareTitleConfiguration/CreatePatchSoftwareTitleConfiguration.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationById/GetPatchSoftwareTitleConfigurationById.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationById/GetPatchSoftwareTitleConfigurationById.go index 9621da4c2..b49fa01ea 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationById/GetPatchSoftwareTitleConfigurationById.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationById/GetPatchSoftwareTitleConfigurationById.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationByName/GetPatchSoftwareTitleConfigurationByName.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationByName/GetPatchSoftwareTitleConfigurationByName.go index 4cd5a654a..a8610b015 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationByName/GetPatchSoftwareTitleConfigurationByName.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleConfigurationByName/GetPatchSoftwareTitleConfigurationByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleDefinitions/GetPatchSoftwareTitleDefinitions.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleDefinitions/GetPatchSoftwareTitleDefinitions.go index a7b1133f2..8fe05f78a 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleDefinitions/GetPatchSoftwareTitleDefinitions.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleDefinitions/GetPatchSoftwareTitleDefinitions.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleDependencies/GetPatchSoftwareTitleDependencies.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleDependencies/GetPatchSoftwareTitleDependencies.go index 0c9ac8d1d..69cb0543e 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleDependencies/GetPatchSoftwareTitleDependencies.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleDependencies/GetPatchSoftwareTitleDependencies.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetPatchSoftwareTitleExtensionAttributes/GetPatchSoftwareTitleExtensionAttributes.go b/examples/patch_software_title_configurations/GetPatchSoftwareTitleExtensionAttributes/GetPatchSoftwareTitleExtensionAttributes.go index 85251a92d..c85998449 100644 --- a/examples/patch_software_title_configurations/GetPatchSoftwareTitleExtensionAttributes/GetPatchSoftwareTitleExtensionAttributes.go +++ b/examples/patch_software_title_configurations/GetPatchSoftwareTitleExtensionAttributes/GetPatchSoftwareTitleExtensionAttributes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/GetSoftwareTitleConfigurations/GetSoftwareTitleConfigurations.go b/examples/patch_software_title_configurations/GetSoftwareTitleConfigurations/GetSoftwareTitleConfigurations.go index 5d97a127f..3b6f4268c 100644 --- a/examples/patch_software_title_configurations/GetSoftwareTitleConfigurations/GetSoftwareTitleConfigurations.go +++ b/examples/patch_software_title_configurations/GetSoftwareTitleConfigurations/GetSoftwareTitleConfigurations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/patch_software_title_configurations/UpdatePatchSoftwareTitleConfigurationById/UpdatePatchSoftwareTitleConfigurationById.go b/examples/patch_software_title_configurations/UpdatePatchSoftwareTitleConfigurationById/UpdatePatchSoftwareTitleConfigurationById.go index 6ac2268a6..b757f1661 100644 --- a/examples/patch_software_title_configurations/UpdatePatchSoftwareTitleConfigurationById/UpdatePatchSoftwareTitleConfigurationById.go +++ b/examples/patch_software_title_configurations/UpdatePatchSoftwareTitleConfigurationById/UpdatePatchSoftwareTitleConfigurationById.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go b/examples/policies/CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go index 5a60c9bb6..bf42f3c44 100644 --- a/examples/policies/CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go +++ b/examples/policies/CreateDeleteAccountPolicy/CreateDeleteAccountPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDirectoryBindingPolicy/CreateDirectoryBindingPolicy.go b/examples/policies/CreateDirectoryBindingPolicy/CreateDirectoryBindingPolicy.go index c1d408ff4..796fd0b0f 100644 --- a/examples/policies/CreateDirectoryBindingPolicy/CreateDirectoryBindingPolicy.go +++ b/examples/policies/CreateDirectoryBindingPolicy/CreateDirectoryBindingPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDisableUserForFilevault2Policy/CreateDisableUserForFilevault2Policy.go b/examples/policies/CreateDisableUserForFilevault2Policy/CreateDisableUserForFilevault2Policy.go index 7752971ce..95ffb655d 100644 --- a/examples/policies/CreateDisableUserForFilevault2Policy/CreateDisableUserForFilevault2Policy.go +++ b/examples/policies/CreateDisableUserForFilevault2Policy/CreateDisableUserForFilevault2Policy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDiskEncryptionWithIndividualKeyPolicy/CreateDiskEncryptionWithIndividualKeyPolicy.go b/examples/policies/CreateDiskEncryptionWithIndividualKeyPolicy/CreateDiskEncryptionWithIndividualKeyPolicy.go index b181357e6..585f7edad 100644 --- a/examples/policies/CreateDiskEncryptionWithIndividualKeyPolicy/CreateDiskEncryptionWithIndividualKeyPolicy.go +++ b/examples/policies/CreateDiskEncryptionWithIndividualKeyPolicy/CreateDiskEncryptionWithIndividualKeyPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDiskEncryptionWithInstitutionalKeyPolicy/CreateDiskEncryptionWithInstitutionalKeyPolicy.go b/examples/policies/CreateDiskEncryptionWithInstitutionalKeyPolicy/CreateDiskEncryptionWithInstitutionalKeyPolicy.go index a07b6ca76..d911c034e 100644 --- a/examples/policies/CreateDiskEncryptionWithInstitutionalKeyPolicy/CreateDiskEncryptionWithInstitutionalKeyPolicy.go +++ b/examples/policies/CreateDiskEncryptionWithInstitutionalKeyPolicy/CreateDiskEncryptionWithInstitutionalKeyPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go b/examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go index 5b6c22ce0..b3b8f0e95 100644 --- a/examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go +++ b/examples/policies/CreateDockItemPolicy/CreateDockItemPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateEFIPasswordRemovePolicy/CreateEFIPasswordRemovePolicy.go b/examples/policies/CreateEFIPasswordRemovePolicy/CreateEFIPasswordRemovePolicy.go index 1d1173683..a8aa12837 100644 --- a/examples/policies/CreateEFIPasswordRemovePolicy/CreateEFIPasswordRemovePolicy.go +++ b/examples/policies/CreateEFIPasswordRemovePolicy/CreateEFIPasswordRemovePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go b/examples/policies/CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go index 937d20dfd..e12eee3e1 100644 --- a/examples/policies/CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go +++ b/examples/policies/CreateEFIPasswordSetPolicy/CreateEFIPasswordSetPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateFileAndProcessesPolicy/CreateFileAndProcessesPolicy.go b/examples/policies/CreateFileAndProcessesPolicy/CreateFileAndProcessesPolicy.go index 0c38be2f0..3222243ff 100644 --- a/examples/policies/CreateFileAndProcessesPolicy/CreateFileAndProcessesPolicy.go +++ b/examples/policies/CreateFileAndProcessesPolicy/CreateFileAndProcessesPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go b/examples/policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go index 69de63e89..485ed66ee 100644 --- a/examples/policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go +++ b/examples/policies/CreateMaintenancePolicy/CreateMaintenancePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateManagementAccountPolicy/CreateManagementAccountPolicy.go b/examples/policies/CreateManagementAccountPolicy/CreateManagementAccountPolicy.go index 637b80d24..bdfc2c45c 100644 --- a/examples/policies/CreateManagementAccountPolicy/CreateManagementAccountPolicy.go +++ b/examples/policies/CreateManagementAccountPolicy/CreateManagementAccountPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go b/examples/policies/CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go index 1e67b382d..3d7d20837 100644 --- a/examples/policies/CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go +++ b/examples/policies/CreateNewLocalAccountPolicy/CreateNewLocalAccountPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreatePackagePolicy/CreatePackagePolicy.go b/examples/policies/CreatePackagePolicy/CreatePackagePolicy.go index 02ee0c78e..944ec86af 100644 --- a/examples/policies/CreatePackagePolicy/CreatePackagePolicy.go +++ b/examples/policies/CreatePackagePolicy/CreatePackagePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go b/examples/policies/CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go index 54b743ccd..f39e05dc7 100644 --- a/examples/policies/CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go +++ b/examples/policies/CreatePolicyMinimumConfig/CreatePolicyMinimumConfig.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go b/examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go index 38df4a19e..a8c066b56 100644 --- a/examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go +++ b/examples/policies/CreatePrinterPolicy/CreatePrinterPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateResetAccountPasswordPolicy/CreateResetAccountPasswordPolicy.go b/examples/policies/CreateResetAccountPasswordPolicy/CreateResetAccountPasswordPolicy.go index c059a538d..88d5169b5 100644 --- a/examples/policies/CreateResetAccountPasswordPolicy/CreateResetAccountPasswordPolicy.go +++ b/examples/policies/CreateResetAccountPasswordPolicy/CreateResetAccountPasswordPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go b/examples/policies/CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go index 059927536..298de5301 100644 --- a/examples/policies/CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go +++ b/examples/policies/CreateRestartOptionsPolicy/CreateRestartOptionsPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateScriptPolicy/CreateScriptPolicy.go b/examples/policies/CreateScriptPolicy/CreateScriptPolicy.go index ffb3a104c..5bf2764f1 100644 --- a/examples/policies/CreateScriptPolicy/CreateScriptPolicy.go +++ b/examples/policies/CreateScriptPolicy/CreateScriptPolicy.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go b/examples/policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go index 98125536e..6826b77b4 100644 --- a/examples/policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go +++ b/examples/policies/CreateSelfServicePolicy/CreateSelfServicePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go b/examples/policies/CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go index 36f0e8155..03d859ab1 100644 --- a/examples/policies/CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go +++ b/examples/policies/CreateSoftwareUpdatePolicy/CreateSoftwareUpdatePolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/CreateUserInterationPolicy/CreateUserInterationPolicy.go b/examples/policies/CreateUserInterationPolicy/CreateUserInterationPolicy.go index 04a07210a..516e35d7c 100644 --- a/examples/policies/CreateUserInterationPolicy/CreateUserInterationPolicy.go +++ b/examples/policies/CreateUserInterationPolicy/CreateUserInterationPolicy.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/DeletePolicyByID/DeletePolicyByID.go b/examples/policies/DeletePolicyByID/DeletePolicyByID.go index 613a76d85..31253db14 100644 --- a/examples/policies/DeletePolicyByID/DeletePolicyByID.go +++ b/examples/policies/DeletePolicyByID/DeletePolicyByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/DeletePolicyByName/DeletePolicyByName.go b/examples/policies/DeletePolicyByName/DeletePolicyByName.go index e527a5b0b..cad998627 100644 --- a/examples/policies/DeletePolicyByName/DeletePolicyByName.go +++ b/examples/policies/DeletePolicyByName/DeletePolicyByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPolicies/GetPolicies.go b/examples/policies/GetPolicies/GetPolicies.go index 681f797b6..7cf1c2931 100644 --- a/examples/policies/GetPolicies/GetPolicies.go +++ b/examples/policies/GetPolicies/GetPolicies.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPoliciesByType/GetPoliciesByType.go b/examples/policies/GetPoliciesByType/GetPoliciesByType.go index fb564d9ec..f9ada30b2 100644 --- a/examples/policies/GetPoliciesByType/GetPoliciesByType.go +++ b/examples/policies/GetPoliciesByType/GetPoliciesByType.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPolicyByCategory/GetPolicyByCategory.go b/examples/policies/GetPolicyByCategory/GetPolicyByCategory.go index 075e5ec6c..52600960d 100644 --- a/examples/policies/GetPolicyByCategory/GetPolicyByCategory.go +++ b/examples/policies/GetPolicyByCategory/GetPolicyByCategory.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPolicyByID/GetPolicyByID.go b/examples/policies/GetPolicyByID/GetPolicyByID.go index bf1b93010..fa7bde171 100644 --- a/examples/policies/GetPolicyByID/GetPolicyByID.go +++ b/examples/policies/GetPolicyByID/GetPolicyByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/GetPolicyByName/GetPolicyByName.go b/examples/policies/GetPolicyByName/GetPolicyByName.go index 8a42fc357..5290eeafe 100644 --- a/examples/policies/GetPolicyByName/GetPolicyByName.go +++ b/examples/policies/GetPolicyByName/GetPolicyByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/UpdatePolicyByID/UpdatePolicyByID.go b/examples/policies/UpdatePolicyByID/UpdatePolicyByID.go index 0b17e82b4..9fbf1c713 100644 --- a/examples/policies/UpdatePolicyByID/UpdatePolicyByID.go +++ b/examples/policies/UpdatePolicyByID/UpdatePolicyByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policies/UpdatePolicyByName/UpdatePolicyByName.go b/examples/policies/UpdatePolicyByName/UpdatePolicyByName.go index 143b658e9..78fe1af7f 100644 --- a/examples/policies/UpdatePolicyByName/UpdatePolicyByName.go +++ b/examples/policies/UpdatePolicyByName/UpdatePolicyByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policy_properties/GetPolicyProperties/GetPolicyProperties.go b/examples/policy_properties/GetPolicyProperties/GetPolicyProperties.go index d012f22fc..85d3f4c67 100644 --- a/examples/policy_properties/GetPolicyProperties/GetPolicyProperties.go +++ b/examples/policy_properties/GetPolicyProperties/GetPolicyProperties.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/policy_properties/UpdatePolicyProperties/UpdatePolicyProperties.go b/examples/policy_properties/UpdatePolicyProperties/UpdatePolicyProperties.go index de6722eec..e8922bf29 100644 --- a/examples/policy_properties/UpdatePolicyProperties/UpdatePolicyProperties.go +++ b/examples/policy_properties/UpdatePolicyProperties/UpdatePolicyProperties.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/CreatePrinters/CreatePrinters.go b/examples/printers/CreatePrinters/CreatePrinters.go index 5949afcdb..3ccf1455f 100644 --- a/examples/printers/CreatePrinters/CreatePrinters.go +++ b/examples/printers/CreatePrinters/CreatePrinters.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/DeleteAllPrinters/DeleteAllPrinters.go b/examples/printers/DeleteAllPrinters/DeleteAllPrinters.go index 5f316887e..aab724065 100644 --- a/examples/printers/DeleteAllPrinters/DeleteAllPrinters.go +++ b/examples/printers/DeleteAllPrinters/DeleteAllPrinters.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/DeletePrinterByID/DeletePrinterByID.go b/examples/printers/DeletePrinterByID/DeletePrinterByID.go index 3e05a670c..d720ef1f0 100644 --- a/examples/printers/DeletePrinterByID/DeletePrinterByID.go +++ b/examples/printers/DeletePrinterByID/DeletePrinterByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/DeletePrinterByName/DeletePrinterByName.go b/examples/printers/DeletePrinterByName/DeletePrinterByName.go index 57117e71a..64ad3c9a8 100644 --- a/examples/printers/DeletePrinterByName/DeletePrinterByName.go +++ b/examples/printers/DeletePrinterByName/DeletePrinterByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/GetPrinterByID/GetPrinterByID.go b/examples/printers/GetPrinterByID/GetPrinterByID.go index 88fc6b131..3a0a3b8ed 100644 --- a/examples/printers/GetPrinterByID/GetPrinterByID.go +++ b/examples/printers/GetPrinterByID/GetPrinterByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/GetPrinterByName/GetPrinterByName.go b/examples/printers/GetPrinterByName/GetPrinterByName.go index 8ce76f7d5..a9d55c881 100644 --- a/examples/printers/GetPrinterByName/GetPrinterByName.go +++ b/examples/printers/GetPrinterByName/GetPrinterByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/GetPrinters/GetPrinters.go b/examples/printers/GetPrinters/GetPrinters.go index 8c1745d44..20d837f2b 100644 --- a/examples/printers/GetPrinters/GetPrinters.go +++ b/examples/printers/GetPrinters/GetPrinters.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/UpdatePrinterByID/UpdatePrinterByID.go b/examples/printers/UpdatePrinterByID/UpdatePrinterByID.go index 9c52c0ea7..7f5855879 100644 --- a/examples/printers/UpdatePrinterByID/UpdatePrinterByID.go +++ b/examples/printers/UpdatePrinterByID/UpdatePrinterByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/printers/UpdatePrinterByName/UpdatePrinterByName.go b/examples/printers/UpdatePrinterByName/UpdatePrinterByName.go index 43f3aa9ba..b09b7fb71 100644 --- a/examples/printers/UpdatePrinterByName/UpdatePrinterByName.go +++ b/examples/printers/UpdatePrinterByName/UpdatePrinterByName.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/CreateRemovableMACAddress/CreateRemovableMACAddress.go b/examples/removeable_mac_addresses/CreateRemovableMACAddress/CreateRemovableMACAddress.go index 448f18296..732814152 100644 --- a/examples/removeable_mac_addresses/CreateRemovableMACAddress/CreateRemovableMACAddress.go +++ b/examples/removeable_mac_addresses/CreateRemovableMACAddress/CreateRemovableMACAddress.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/DeleteRemovableMACAddressByID/DeleteRemovableMACAddressByID.go b/examples/removeable_mac_addresses/DeleteRemovableMACAddressByID/DeleteRemovableMACAddressByID.go index dbdfda310..1688ca6d6 100644 --- a/examples/removeable_mac_addresses/DeleteRemovableMACAddressByID/DeleteRemovableMACAddressByID.go +++ b/examples/removeable_mac_addresses/DeleteRemovableMACAddressByID/DeleteRemovableMACAddressByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/DeleteRemovableMACAddressByName/DeleteRemovableMACAddressByName.go b/examples/removeable_mac_addresses/DeleteRemovableMACAddressByName/DeleteRemovableMACAddressByName.go index 3fdcac401..3900240fa 100644 --- a/examples/removeable_mac_addresses/DeleteRemovableMACAddressByName/DeleteRemovableMACAddressByName.go +++ b/examples/removeable_mac_addresses/DeleteRemovableMACAddressByName/DeleteRemovableMACAddressByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/GetRemovableMACAddressByID/GetRemovableMACAddressByID.go b/examples/removeable_mac_addresses/GetRemovableMACAddressByID/GetRemovableMACAddressByID.go index c19bfc103..4f6f73417 100644 --- a/examples/removeable_mac_addresses/GetRemovableMACAddressByID/GetRemovableMACAddressByID.go +++ b/examples/removeable_mac_addresses/GetRemovableMACAddressByID/GetRemovableMACAddressByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/GetRemovableMACAddressByName/GetRemovableMACAddressByName.go b/examples/removeable_mac_addresses/GetRemovableMACAddressByName/GetRemovableMACAddressByName.go index c30c74e7d..6d5324332 100644 --- a/examples/removeable_mac_addresses/GetRemovableMACAddressByName/GetRemovableMACAddressByName.go +++ b/examples/removeable_mac_addresses/GetRemovableMACAddressByName/GetRemovableMACAddressByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/GetRemovableMACAddresses/GetRemovableMACAddresses.go b/examples/removeable_mac_addresses/GetRemovableMACAddresses/GetRemovableMACAddresses.go index 8d513eb47..2c5ffb5bc 100644 --- a/examples/removeable_mac_addresses/GetRemovableMACAddresses/GetRemovableMACAddresses.go +++ b/examples/removeable_mac_addresses/GetRemovableMACAddresses/GetRemovableMACAddresses.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/UpdateRemovableMACAddressByID/UpdateRemovableMACAddressByID.go b/examples/removeable_mac_addresses/UpdateRemovableMACAddressByID/UpdateRemovableMACAddressByID.go index d64db0916..7b7a1edb2 100644 --- a/examples/removeable_mac_addresses/UpdateRemovableMACAddressByID/UpdateRemovableMACAddressByID.go +++ b/examples/removeable_mac_addresses/UpdateRemovableMACAddressByID/UpdateRemovableMACAddressByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/removeable_mac_addresses/UpdateRemovableMACAddressByName/UpdateRemovableMACAddressByName.go b/examples/removeable_mac_addresses/UpdateRemovableMACAddressByName/UpdateRemovableMACAddressByName.go index 1ec0972bb..db96cc008 100644 --- a/examples/removeable_mac_addresses/UpdateRemovableMACAddressByName/UpdateRemovableMACAddressByName.go +++ b/examples/removeable_mac_addresses/UpdateRemovableMACAddressByName/UpdateRemovableMACAddressByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/CreateRestrictedSoftware/CreateRestrictedSoftware.go b/examples/restricted_software/CreateRestrictedSoftware/CreateRestrictedSoftware.go index 9eb058c4b..ef4ca94fd 100644 --- a/examples/restricted_software/CreateRestrictedSoftware/CreateRestrictedSoftware.go +++ b/examples/restricted_software/CreateRestrictedSoftware/CreateRestrictedSoftware.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/DeleteRestrictedSoftwareByID/DeleteRestrictedSoftwareByID.go b/examples/restricted_software/DeleteRestrictedSoftwareByID/DeleteRestrictedSoftwareByID.go index 82b759746..9b70767c6 100644 --- a/examples/restricted_software/DeleteRestrictedSoftwareByID/DeleteRestrictedSoftwareByID.go +++ b/examples/restricted_software/DeleteRestrictedSoftwareByID/DeleteRestrictedSoftwareByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/DeleteRestrictedSoftwareByName/DeleteRestrictedSoftwareByName.go b/examples/restricted_software/DeleteRestrictedSoftwareByName/DeleteRestrictedSoftwareByName.go index 9a5505d34..bf61df830 100644 --- a/examples/restricted_software/DeleteRestrictedSoftwareByName/DeleteRestrictedSoftwareByName.go +++ b/examples/restricted_software/DeleteRestrictedSoftwareByName/DeleteRestrictedSoftwareByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go b/examples/restricted_software/GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go index 10ee189ad..5f8dc3330 100644 --- a/examples/restricted_software/GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go +++ b/examples/restricted_software/GetRestrictedSoftwareByID/GetRestrictedSoftwareByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go b/examples/restricted_software/GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go index fb2e3e640..ac8a9620e 100644 --- a/examples/restricted_software/GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go +++ b/examples/restricted_software/GetRestrictedSoftwareByName/GetRestrictedSoftwareByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/GetRestrictedSoftwares/GetRestrictedSoftwares.go b/examples/restricted_software/GetRestrictedSoftwares/GetRestrictedSoftwares.go index 3d32bc22d..7a391e2dc 100644 --- a/examples/restricted_software/GetRestrictedSoftwares/GetRestrictedSoftwares.go +++ b/examples/restricted_software/GetRestrictedSoftwares/GetRestrictedSoftwares.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/UpdateRestrictedSoftwareByID/UpdateRestrictedSoftwareByID.go b/examples/restricted_software/UpdateRestrictedSoftwareByID/UpdateRestrictedSoftwareByID.go index 1e97ed101..995ebeb51 100644 --- a/examples/restricted_software/UpdateRestrictedSoftwareByID/UpdateRestrictedSoftwareByID.go +++ b/examples/restricted_software/UpdateRestrictedSoftwareByID/UpdateRestrictedSoftwareByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/restricted_software/UpdateRestrictedSoftwareByName/UpdateRestrictedSoftwareByName.go b/examples/restricted_software/UpdateRestrictedSoftwareByName/UpdateRestrictedSoftwareByName.go index 7e6601a41..92518febd 100644 --- a/examples/restricted_software/UpdateRestrictedSoftwareByName/UpdateRestrictedSoftwareByName.go +++ b/examples/restricted_software/UpdateRestrictedSoftwareByName/UpdateRestrictedSoftwareByName.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/return_to_service/CreateReturnToServiceConfiguration/CreateReturnToServiceConfiguration.go b/examples/return_to_service/CreateReturnToServiceConfiguration/CreateReturnToServiceConfiguration.go index 5da907a88..a7e613300 100644 --- a/examples/return_to_service/CreateReturnToServiceConfiguration/CreateReturnToServiceConfiguration.go +++ b/examples/return_to_service/CreateReturnToServiceConfiguration/CreateReturnToServiceConfiguration.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/return_to_service/GetReturnToServiceConfigurations/GetReturnToServiceConfigurations.go b/examples/return_to_service/GetReturnToServiceConfigurations/GetReturnToServiceConfigurations.go index 6a2a5aac5..fdb3b19a2 100644 --- a/examples/return_to_service/GetReturnToServiceConfigurations/GetReturnToServiceConfigurations.go +++ b/examples/return_to_service/GetReturnToServiceConfigurations/GetReturnToServiceConfigurations.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/CreateScript/CreateScript.go b/examples/scripts/CreateScript/CreateScript.go index b87687173..9db281f3d 100644 --- a/examples/scripts/CreateScript/CreateScript.go +++ b/examples/scripts/CreateScript/CreateScript.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/CreateScriptWithFileUpload/CreateScriptWithFileUpload.go b/examples/scripts/CreateScriptWithFileUpload/CreateScriptWithFileUpload.go index 5fd3a6659..c4c87b0c3 100644 --- a/examples/scripts/CreateScriptWithFileUpload/CreateScriptWithFileUpload.go +++ b/examples/scripts/CreateScriptWithFileUpload/CreateScriptWithFileUpload.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/DeleteAllScripts/DeleteAllScripts.go b/examples/scripts/DeleteAllScripts/DeleteAllScripts.go index b5dad1dca..39089ff64 100644 --- a/examples/scripts/DeleteAllScripts/DeleteAllScripts.go +++ b/examples/scripts/DeleteAllScripts/DeleteAllScripts.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/DeleteScriptByID/DeleteScriptByID.go b/examples/scripts/DeleteScriptByID/DeleteScriptByID.go index 1d3143a33..e8cdc9729 100644 --- a/examples/scripts/DeleteScriptByID/DeleteScriptByID.go +++ b/examples/scripts/DeleteScriptByID/DeleteScriptByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/DeleteScriptByName/DeleteScriptByName.go b/examples/scripts/DeleteScriptByName/DeleteScriptByName.go index da29ec868..9de401d7a 100644 --- a/examples/scripts/DeleteScriptByName/DeleteScriptByName.go +++ b/examples/scripts/DeleteScriptByName/DeleteScriptByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/GetScripts/GetScripts.go b/examples/scripts/GetScripts/GetScripts.go index 28f8f98fd..4720ee712 100644 --- a/examples/scripts/GetScripts/GetScripts.go +++ b/examples/scripts/GetScripts/GetScripts.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/GetScriptsByID/GetScriptsByID.go b/examples/scripts/GetScriptsByID/GetScriptsByID.go index c54c09b74..197fd8a47 100644 --- a/examples/scripts/GetScriptsByID/GetScriptsByID.go +++ b/examples/scripts/GetScriptsByID/GetScriptsByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/GetScriptsByName/GetScriptsByName.go b/examples/scripts/GetScriptsByName/GetScriptsByName.go index 940e3ef87..20748a5c3 100644 --- a/examples/scripts/GetScriptsByName/GetScriptsByName.go +++ b/examples/scripts/GetScriptsByName/GetScriptsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/UpdateScriptByID/UpdateScriptByID.go b/examples/scripts/UpdateScriptByID/UpdateScriptByID.go index 5776c5f4c..7e328a50d 100644 --- a/examples/scripts/UpdateScriptByID/UpdateScriptByID.go +++ b/examples/scripts/UpdateScriptByID/UpdateScriptByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go b/examples/scripts/UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go index 379a90427..bb241f06c 100644 --- a/examples/scripts/UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go +++ b/examples/scripts/UpdateScriptByIDWithFile/UpdateScriptByIDWithFile.go @@ -12,7 +12,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/UpdateScriptByName/UpdateScriptByName.go b/examples/scripts/UpdateScriptByName/UpdateScriptByName.go index 5297b4d9a..1b8987a5e 100644 --- a/examples/scripts/UpdateScriptByName/UpdateScriptByName.go +++ b/examples/scripts/UpdateScriptByName/UpdateScriptByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/scripts/UpdateScriptByNameWithFileUpload/UpdateScriptByNameWithFileUpload.go b/examples/scripts/UpdateScriptByNameWithFileUpload/UpdateScriptByNameWithFileUpload.go index 5c425687f..950158226 100644 --- a/examples/scripts/UpdateScriptByNameWithFileUpload/UpdateScriptByNameWithFileUpload.go +++ b/examples/scripts/UpdateScriptByNameWithFileUpload/UpdateScriptByNameWithFileUpload.go @@ -12,7 +12,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service/UploadSelfServiceBrandingImage/UploadSelfServiceBrandingImage.go b/examples/self_service/UploadSelfServiceBrandingImage/UploadSelfServiceBrandingImage.go index 2fba9d56c..073f03df1 100644 --- a/examples/self_service/UploadSelfServiceBrandingImage/UploadSelfServiceBrandingImage.go +++ b/examples/self_service/UploadSelfServiceBrandingImage/UploadSelfServiceBrandingImage.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/self_service_branding_macos/CreateSelfServiceBrandingMacOS/CreateSelfServiceBrandingMacOS.go b/examples/self_service_branding_macos/CreateSelfServiceBrandingMacOS/CreateSelfServiceBrandingMacOS.go index a0f6f3bcf..0d40efdff 100644 --- a/examples/self_service_branding_macos/CreateSelfServiceBrandingMacOS/CreateSelfServiceBrandingMacOS.go +++ b/examples/self_service_branding_macos/CreateSelfServiceBrandingMacOS/CreateSelfServiceBrandingMacOS.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByID/DeleteSelfServiceBrandingMacOSByID.go b/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByID/DeleteSelfServiceBrandingMacOSByID.go index a69056e60..9ea520b39 100644 --- a/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByID/DeleteSelfServiceBrandingMacOSByID.go +++ b/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByID/DeleteSelfServiceBrandingMacOSByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByName/DeleteSelfServiceBrandingMacOSByName.go b/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByName/DeleteSelfServiceBrandingMacOSByName.go index a540a4595..4555e1e97 100644 --- a/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByName/DeleteSelfServiceBrandingMacOSByName.go +++ b/examples/self_service_branding_macos/DeleteSelfServiceBrandingMacOSByName/DeleteSelfServiceBrandingMacOSByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go b/examples/self_service_branding_macos/GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go index 4eb744b02..84ecfd7b6 100644 --- a/examples/self_service_branding_macos/GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go +++ b/examples/self_service_branding_macos/GetSelfServiceBrandingMacOS/GetSelfServiceBrandingMacOS.go @@ -12,7 +12,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/GetSelfServiceBrandingMacOSByID/GetSelfServiceBrandingMacOSByID.go b/examples/self_service_branding_macos/GetSelfServiceBrandingMacOSByID/GetSelfServiceBrandingMacOSByID.go index e014c96f9..997960323 100644 --- a/examples/self_service_branding_macos/GetSelfServiceBrandingMacOSByID/GetSelfServiceBrandingMacOSByID.go +++ b/examples/self_service_branding_macos/GetSelfServiceBrandingMacOSByID/GetSelfServiceBrandingMacOSByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByID/UpdateSelfServiceBrandingMacOSByID.go b/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByID/UpdateSelfServiceBrandingMacOSByID.go index e0ea87120..6823089e9 100644 --- a/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByID/UpdateSelfServiceBrandingMacOSByID.go +++ b/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByID/UpdateSelfServiceBrandingMacOSByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByName/UpdateSelfServiceBrandingMacOSByName.go b/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByName/UpdateSelfServiceBrandingMacOSByName.go index c0af0bc68..b7ff7ef18 100644 --- a/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByName/UpdateSelfServiceBrandingMacOSByName.go +++ b/examples/self_service_branding_macos/UpdateSelfServiceBrandingMacOSByName/UpdateSelfServiceBrandingMacOSByName.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_settings/GetSelfServiceSettings/GetSelfServiceSettings.go b/examples/self_service_settings/GetSelfServiceSettings/GetSelfServiceSettings.go index 3b6990ceb..c352d7676 100644 --- a/examples/self_service_settings/GetSelfServiceSettings/GetSelfServiceSettings.go +++ b/examples/self_service_settings/GetSelfServiceSettings/GetSelfServiceSettings.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/self_service_settings/UpdateSelfServiceSettings/UpdateSelfServiceSettings.go b/examples/self_service_settings/UpdateSelfServiceSettings/UpdateSelfServiceSettings.go index e39e9da0b..e6343c3c7 100644 --- a/examples/self_service_settings/UpdateSelfServiceSettings/UpdateSelfServiceSettings.go +++ b/examples/self_service_settings/UpdateSelfServiceSettings/UpdateSelfServiceSettings.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/CreateSite/CreateSite.go b/examples/sites/CreateSite/CreateSite.go index 10a100b8f..cad1cf88d 100644 --- a/examples/sites/CreateSite/CreateSite.go +++ b/examples/sites/CreateSite/CreateSite.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/DeleteAllSites/DeleteAllSites.go b/examples/sites/DeleteAllSites/DeleteAllSites.go index 3243c593d..75827a2ff 100644 --- a/examples/sites/DeleteAllSites/DeleteAllSites.go +++ b/examples/sites/DeleteAllSites/DeleteAllSites.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/DeleteSiteByID/DeleteSiteByID.go b/examples/sites/DeleteSiteByID/DeleteSiteByID.go index e02dfffca..c49e78425 100644 --- a/examples/sites/DeleteSiteByID/DeleteSiteByID.go +++ b/examples/sites/DeleteSiteByID/DeleteSiteByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/DeleteSiteByName/DeleteSiteByName.go b/examples/sites/DeleteSiteByName/DeleteSiteByName.go index 907a55291..5d74fc697 100644 --- a/examples/sites/DeleteSiteByName/DeleteSiteByName.go +++ b/examples/sites/DeleteSiteByName/DeleteSiteByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/GetSiteByID/GetSiteByID.go b/examples/sites/GetSiteByID/GetSiteByID.go index 8a0699372..49e5297f1 100644 --- a/examples/sites/GetSiteByID/GetSiteByID.go +++ b/examples/sites/GetSiteByID/GetSiteByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/GetSiteByName/GetSiteByName.go b/examples/sites/GetSiteByName/GetSiteByName.go index b08be74fe..bb8aa3834 100644 --- a/examples/sites/GetSiteByName/GetSiteByName.go +++ b/examples/sites/GetSiteByName/GetSiteByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/GetSites/GetSites.go b/examples/sites/GetSites/GetSites.go index a2d83f6af..dcfc8d800 100644 --- a/examples/sites/GetSites/GetSites.go +++ b/examples/sites/GetSites/GetSites.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/UpdateSiteByID/UpdateSiteByID.go b/examples/sites/UpdateSiteByID/UpdateSiteByID.go index c7384b27a..ebed7796d 100644 --- a/examples/sites/UpdateSiteByID/UpdateSiteByID.go +++ b/examples/sites/UpdateSiteByID/UpdateSiteByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sites/UpdateSiteByName/UpdateSiteByName.go b/examples/sites/UpdateSiteByName/UpdateSiteByName.go index 05c2a76c7..bd144b2c1 100644 --- a/examples/sites/UpdateSiteByName/UpdateSiteByName.go +++ b/examples/sites/UpdateSiteByName/UpdateSiteByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go b/examples/smart_computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go index 2c0723c2b..dda925a12 100644 --- a/examples/smart_computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go +++ b/examples/smart_computer_groups/CreateSmartComputerGroup/CreateSmartComputerGroup.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/DeleteComputerGroupByID/DeleteComputerGroupByID.go b/examples/smart_computer_groups/DeleteComputerGroupByID/DeleteComputerGroupByID.go index 985beed19..e14210a61 100644 --- a/examples/smart_computer_groups/DeleteComputerGroupByID/DeleteComputerGroupByID.go +++ b/examples/smart_computer_groups/DeleteComputerGroupByID/DeleteComputerGroupByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetComputerGroupByID/GetComputerGroupByID.go b/examples/smart_computer_groups/GetComputerGroupByID/GetComputerGroupByID.go index bcde0e19d..686946e55 100644 --- a/examples/smart_computer_groups/GetComputerGroupByID/GetComputerGroupByID.go +++ b/examples/smart_computer_groups/GetComputerGroupByID/GetComputerGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetSmartComputerGroupByName/GetSmartComputerGroupByName.go b/examples/smart_computer_groups/GetSmartComputerGroupByName/GetSmartComputerGroupByName.go index a59ff4b91..99f34e8f7 100644 --- a/examples/smart_computer_groups/GetSmartComputerGroupByName/GetSmartComputerGroupByName.go +++ b/examples/smart_computer_groups/GetSmartComputerGroupByName/GetSmartComputerGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetSmartComputerGroupMembershipByID/GetSmartComputerGroupMembershipByID.go b/examples/smart_computer_groups/GetSmartComputerGroupMembershipByID/GetSmartComputerGroupMembershipByID.go index c9303f4a1..4954a8f09 100644 --- a/examples/smart_computer_groups/GetSmartComputerGroupMembershipByID/GetSmartComputerGroupMembershipByID.go +++ b/examples/smart_computer_groups/GetSmartComputerGroupMembershipByID/GetSmartComputerGroupMembershipByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetSmartComputerGroups/GetSmartComputerGroups.go b/examples/smart_computer_groups/GetSmartComputerGroups/GetSmartComputerGroups.go index 65026ff1d..c6cf2570b 100644 --- a/examples/smart_computer_groups/GetSmartComputerGroups/GetSmartComputerGroups.go +++ b/examples/smart_computer_groups/GetSmartComputerGroups/GetSmartComputerGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go b/examples/smart_computer_groups/GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go index a438cad3e..3cfeac333 100644 --- a/examples/smart_computer_groups/GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go +++ b/examples/smart_computer_groups/GetSmartComputerGroupsV2/GetSmartComputerGroupsV2.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smart_computer_groups/UpdateSmartComputerGroupByID/UpdateSmartComputerGroupByID.go b/examples/smart_computer_groups/UpdateSmartComputerGroupByID/UpdateSmartComputerGroupByID.go index 2a22413e3..7344e5233 100644 --- a/examples/smart_computer_groups/UpdateSmartComputerGroupByID/UpdateSmartComputerGroupByID.go +++ b/examples/smart_computer_groups/UpdateSmartComputerGroupByID/UpdateSmartComputerGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smtp_server/GetSMTPServerInformation/GetSMTPServerInformation.go b/examples/smtp_server/GetSMTPServerInformation/GetSMTPServerInformation.go index 87543eb61..58d95d27c 100644 --- a/examples/smtp_server/GetSMTPServerInformation/GetSMTPServerInformation.go +++ b/examples/smtp_server/GetSMTPServerInformation/GetSMTPServerInformation.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smtp_server/UpdateSMTPServerInformationBasicAuth/UpdateSMTPServerInformationBasicAuth.go b/examples/smtp_server/UpdateSMTPServerInformationBasicAuth/UpdateSMTPServerInformationBasicAuth.go index e9237004c..fda3a9178 100644 --- a/examples/smtp_server/UpdateSMTPServerInformationBasicAuth/UpdateSMTPServerInformationBasicAuth.go +++ b/examples/smtp_server/UpdateSMTPServerInformationBasicAuth/UpdateSMTPServerInformationBasicAuth.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smtp_server/UpdateSMTPServerInformationGoogleAuth/UpdateSMTPServerInformationGoogleAuth.go b/examples/smtp_server/UpdateSMTPServerInformationGoogleAuth/UpdateSMTPServerInformationGoogleAuth.go index 2fe2d434a..496a49107 100644 --- a/examples/smtp_server/UpdateSMTPServerInformationGoogleAuth/UpdateSMTPServerInformationGoogleAuth.go +++ b/examples/smtp_server/UpdateSMTPServerInformationGoogleAuth/UpdateSMTPServerInformationGoogleAuth.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/smtp_server/UpdateSMTPServerInformationGraphAPIAuth/UpdateSMTPServerInformationGraphAPIAuth.go b/examples/smtp_server/UpdateSMTPServerInformationGraphAPIAuth/UpdateSMTPServerInformationGraphAPIAuth.go index a6b684559..228f47d18 100644 --- a/examples/smtp_server/UpdateSMTPServerInformationGraphAPIAuth/UpdateSMTPServerInformationGraphAPIAuth.go +++ b/examples/smtp_server/UpdateSMTPServerInformationGraphAPIAuth/UpdateSMTPServerInformationGraphAPIAuth.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go b/examples/software_update_servers/CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go index 67b9bb892..3b3435af7 100644 --- a/examples/software_update_servers/CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go +++ b/examples/software_update_servers/CreateSoftwareUpdateServer/CreateSoftwareUpdateServer.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/DeleteSoftwareUpdateServerByID/DeleteSoftwareUpdateServerByID.go b/examples/software_update_servers/DeleteSoftwareUpdateServerByID/DeleteSoftwareUpdateServerByID.go index 28bb8ad64..e19967e89 100644 --- a/examples/software_update_servers/DeleteSoftwareUpdateServerByID/DeleteSoftwareUpdateServerByID.go +++ b/examples/software_update_servers/DeleteSoftwareUpdateServerByID/DeleteSoftwareUpdateServerByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/DeleteSoftwareUpdateServerByName/DeleteSoftwareUpdateServerByName.go b/examples/software_update_servers/DeleteSoftwareUpdateServerByName/DeleteSoftwareUpdateServerByName.go index 10a7ebfec..f92549c9b 100644 --- a/examples/software_update_servers/DeleteSoftwareUpdateServerByName/DeleteSoftwareUpdateServerByName.go +++ b/examples/software_update_servers/DeleteSoftwareUpdateServerByName/DeleteSoftwareUpdateServerByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/GetSoftwareUpdateServers/GetSoftwareUpdateServers.go b/examples/software_update_servers/GetSoftwareUpdateServers/GetSoftwareUpdateServers.go index 1543812bf..e6d9aef50 100644 --- a/examples/software_update_servers/GetSoftwareUpdateServers/GetSoftwareUpdateServers.go +++ b/examples/software_update_servers/GetSoftwareUpdateServers/GetSoftwareUpdateServers.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/GetSoftwareUpdateServersByID/GetSoftwareUpdateServersByID.go b/examples/software_update_servers/GetSoftwareUpdateServersByID/GetSoftwareUpdateServersByID.go index 99e8929d6..3b62b8e86 100644 --- a/examples/software_update_servers/GetSoftwareUpdateServersByID/GetSoftwareUpdateServersByID.go +++ b/examples/software_update_servers/GetSoftwareUpdateServersByID/GetSoftwareUpdateServersByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/GetSoftwareUpdateServersByName/GetSoftwareUpdateServersByName.go b/examples/software_update_servers/GetSoftwareUpdateServersByName/GetSoftwareUpdateServersByName.go index b6157f56c..1226eddd2 100644 --- a/examples/software_update_servers/GetSoftwareUpdateServersByName/GetSoftwareUpdateServersByName.go +++ b/examples/software_update_servers/GetSoftwareUpdateServersByName/GetSoftwareUpdateServersByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/UpdateSoftwareUpdateServerByID/UpdateSoftwareUpdateServerByID.go b/examples/software_update_servers/UpdateSoftwareUpdateServerByID/UpdateSoftwareUpdateServerByID.go index 3d589709a..7dc01d821 100644 --- a/examples/software_update_servers/UpdateSoftwareUpdateServerByID/UpdateSoftwareUpdateServerByID.go +++ b/examples/software_update_servers/UpdateSoftwareUpdateServerByID/UpdateSoftwareUpdateServerByID.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/software_update_servers/UpdateSoftwareUpdateServerByName/UpdateSoftwareUpdateServerByName.go b/examples/software_update_servers/UpdateSoftwareUpdateServerByName/UpdateSoftwareUpdateServerByName.go index 470845501..02c404a59 100644 --- a/examples/software_update_servers/UpdateSoftwareUpdateServerByName/UpdateSoftwareUpdateServerByName.go +++ b/examples/software_update_servers/UpdateSoftwareUpdateServerByName/UpdateSoftwareUpdateServerByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go b/examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go index b6cb79ee2..fa15ae058 100644 --- a/examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go +++ b/examples/sso_failover/GetSSOFailoverURL/GetSSOFailoverURL.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go b/examples/sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go index 1326adcf7..aa2ab6329 100644 --- a/examples/sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go +++ b/examples/sso_failover/UpdateSSOFailoverURL/UpdateSSOFailoverURL.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/startup_status/GetStartupStatus/GetStartupStatus.go b/examples/startup_status/GetStartupStatus/GetStartupStatus.go index dc17e0a0d..9481d68b4 100644 --- a/examples/startup_status/GetStartupStatus/GetStartupStatus.go +++ b/examples/startup_status/GetStartupStatus/GetStartupStatus.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/static_computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go b/examples/static_computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go index 79b5c5889..c857cb8da 100644 --- a/examples/static_computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go +++ b/examples/static_computer_groups/CreateStaticComputerGroup/CreateStaticComputerGroup.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/static_computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go b/examples/static_computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go index b95b2a409..65fdc889a 100644 --- a/examples/static_computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go +++ b/examples/static_computer_groups/UpdateStaticComputerGroupByID/UpdateStaticComputerGroupByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/static_computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go b/examples/static_computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go index 7cf992fbc..325a8af95 100644 --- a/examples/static_computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go +++ b/examples/static_computer_groups/UpdateStaticComputerGroupByName/UpdateStaticComputerGroupByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/time_zones/GetTimeZones/GetTimeZones.go b/examples/time_zones/GetTimeZones/GetTimeZones.go index 2eb7bff99..86eb24e24 100644 --- a/examples/time_zones/GetTimeZones/GetTimeZones.go +++ b/examples/time_zones/GetTimeZones/GetTimeZones.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/CreateUserExtensionAttribute/CreateUserExtensionAttribute.go b/examples/user_extension_attributes/CreateUserExtensionAttribute/CreateUserExtensionAttribute.go index 21d38c5a4..b71ba6049 100644 --- a/examples/user_extension_attributes/CreateUserExtensionAttribute/CreateUserExtensionAttribute.go +++ b/examples/user_extension_attributes/CreateUserExtensionAttribute/CreateUserExtensionAttribute.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/DeleteUserExtensionAttributeByID/DeleteUserExtensionAttributeByID.go b/examples/user_extension_attributes/DeleteUserExtensionAttributeByID/DeleteUserExtensionAttributeByID.go index ff0ee84f5..faf11ec0d 100644 --- a/examples/user_extension_attributes/DeleteUserExtensionAttributeByID/DeleteUserExtensionAttributeByID.go +++ b/examples/user_extension_attributes/DeleteUserExtensionAttributeByID/DeleteUserExtensionAttributeByID.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/DeleteUserExtensionAttributeByName/DeleteUserExtensionAttributeByName.go b/examples/user_extension_attributes/DeleteUserExtensionAttributeByName/DeleteUserExtensionAttributeByName.go index a7f158b3b..c3f784780 100644 --- a/examples/user_extension_attributes/DeleteUserExtensionAttributeByName/DeleteUserExtensionAttributeByName.go +++ b/examples/user_extension_attributes/DeleteUserExtensionAttributeByName/DeleteUserExtensionAttributeByName.go @@ -8,7 +8,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/GetUserExtensionAttributeByID/GetUserExtensionAttributeByID.go b/examples/user_extension_attributes/GetUserExtensionAttributeByID/GetUserExtensionAttributeByID.go index c7b1a5a3f..64b42f7a3 100644 --- a/examples/user_extension_attributes/GetUserExtensionAttributeByID/GetUserExtensionAttributeByID.go +++ b/examples/user_extension_attributes/GetUserExtensionAttributeByID/GetUserExtensionAttributeByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/GetUserExtensionAttributeByName/GetUserExtensionAttributeByName.go b/examples/user_extension_attributes/GetUserExtensionAttributeByName/GetUserExtensionAttributeByName.go index df338292c..062992224 100644 --- a/examples/user_extension_attributes/GetUserExtensionAttributeByName/GetUserExtensionAttributeByName.go +++ b/examples/user_extension_attributes/GetUserExtensionAttributeByName/GetUserExtensionAttributeByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/GetUserExtensionAttributes/GetUserExtensionAttributes.go b/examples/user_extension_attributes/GetUserExtensionAttributes/GetUserExtensionAttributes.go index a0c1bc095..1e1395194 100644 --- a/examples/user_extension_attributes/GetUserExtensionAttributes/GetUserExtensionAttributes.go +++ b/examples/user_extension_attributes/GetUserExtensionAttributes/GetUserExtensionAttributes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/UpdateUserExtensionAttributeByID/UpdateUserExtensionAttributeByID.go b/examples/user_extension_attributes/UpdateUserExtensionAttributeByID/UpdateUserExtensionAttributeByID.go index 738afaa59..266731692 100644 --- a/examples/user_extension_attributes/UpdateUserExtensionAttributeByID/UpdateUserExtensionAttributeByID.go +++ b/examples/user_extension_attributes/UpdateUserExtensionAttributeByID/UpdateUserExtensionAttributeByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_extension_attributes/UpdateUserExtensionAttributeByName/UpdateUserExtensionAttributeByName.go b/examples/user_extension_attributes/UpdateUserExtensionAttributeByName/UpdateUserExtensionAttributeByName.go index b7246001d..e64879c40 100644 --- a/examples/user_extension_attributes/UpdateUserExtensionAttributeByName/UpdateUserExtensionAttributeByName.go +++ b/examples/user_extension_attributes/UpdateUserExtensionAttributeByName/UpdateUserExtensionAttributeByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go b/examples/user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go index 4947ca507..869c1d945 100644 --- a/examples/user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go +++ b/examples/user_groups/CreateUserGroupSmart/CreateUserGroupSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go b/examples/user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go index a7c49dd2e..d66b9e843 100644 --- a/examples/user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go +++ b/examples/user_groups/CreateUserGroupStatic/CreateUserGroupStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go b/examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go index ebad15bcf..c88429e41 100644 --- a/examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go +++ b/examples/user_groups/DeleteAllUserGroups/DeleteAllUserGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go b/examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go index c2e85caee..2ff3a8193 100644 --- a/examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go +++ b/examples/user_groups/DeleteUserGroupByID/DeleteUserGroupByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go b/examples/user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go index 723519dac..7d65d8cf7 100644 --- a/examples/user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go +++ b/examples/user_groups/DeleteUserGroupByName/DeleteUserGroupByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/GetUserGroups/GetUserGroups.go b/examples/user_groups/GetUserGroups/GetUserGroups.go index 6008f7c29..1c8b7fa3d 100644 --- a/examples/user_groups/GetUserGroups/GetUserGroups.go +++ b/examples/user_groups/GetUserGroups/GetUserGroups.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go b/examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go index bbee83b0b..17bdad71b 100644 --- a/examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go +++ b/examples/user_groups/GetUserGroupsByID/GetUserGroupsByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go b/examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go index f0dbf9af1..953673276 100644 --- a/examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go +++ b/examples/user_groups/GetUserGroupsByName/GetUserGroupsByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go b/examples/user_groups/UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go index 8199f3bfd..956662e42 100644 --- a/examples/user_groups/UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go +++ b/examples/user_groups/UpdateUserGroupByIDSmart/UpdateUserGroupByIDSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go b/examples/user_groups/UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go index 8eb9b55ce..d93726668 100644 --- a/examples/user_groups/UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go +++ b/examples/user_groups/UpdateUserGroupByIDStatic/UpdateUserGroupByIDStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByIDStaticAdditions/UpdateUserGroupByIDStaticAdditions.go b/examples/user_groups/UpdateUserGroupByIDStaticAdditions/UpdateUserGroupByIDStaticAdditions.go index e0132d1bb..0b84a3929 100644 --- a/examples/user_groups/UpdateUserGroupByIDStaticAdditions/UpdateUserGroupByIDStaticAdditions.go +++ b/examples/user_groups/UpdateUserGroupByIDStaticAdditions/UpdateUserGroupByIDStaticAdditions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByIDStaticDeletions/UpdateUserGroupByIDStaticDeletions.go b/examples/user_groups/UpdateUserGroupByIDStaticDeletions/UpdateUserGroupByIDStaticDeletions.go index 3856ab43a..166ea12c4 100644 --- a/examples/user_groups/UpdateUserGroupByIDStaticDeletions/UpdateUserGroupByIDStaticDeletions.go +++ b/examples/user_groups/UpdateUserGroupByIDStaticDeletions/UpdateUserGroupByIDStaticDeletions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go b/examples/user_groups/UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go index 79973b729..664c60f2a 100644 --- a/examples/user_groups/UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go +++ b/examples/user_groups/UpdateUserGroupByNameSmart/UpdateUserGroupByNameSmart.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go b/examples/user_groups/UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go index 91742d6b2..48a5b5fb0 100644 --- a/examples/user_groups/UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go +++ b/examples/user_groups/UpdateUserGroupByNameStatic/UpdateUserGroupByNameStatic.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByNameStaticAdditions/UpdateUserGroupByNameStaticAdditions.go b/examples/user_groups/UpdateUserGroupByNameStaticAdditions/UpdateUserGroupByNameStaticAdditions.go index 040d8d2af..0a40b7082 100644 --- a/examples/user_groups/UpdateUserGroupByNameStaticAdditions/UpdateUserGroupByNameStaticAdditions.go +++ b/examples/user_groups/UpdateUserGroupByNameStaticAdditions/UpdateUserGroupByNameStaticAdditions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/user_groups/UpdateUserGroupByNameStaticDeletions/UpdateUserGroupByNameStaticDeletions.go b/examples/user_groups/UpdateUserGroupByNameStaticDeletions/UpdateUserGroupByNameStaticDeletions.go index 99c35e7f0..a7eab6d4e 100644 --- a/examples/user_groups/UpdateUserGroupByNameStaticDeletions/UpdateUserGroupByNameStaticDeletions.go +++ b/examples/user_groups/UpdateUserGroupByNameStaticDeletions/UpdateUserGroupByNameStaticDeletions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/CreateUser/CreateUser.go b/examples/users/CreateUser/CreateUser.go index f4d7637a3..d3e6f4ff2 100644 --- a/examples/users/CreateUser/CreateUser.go +++ b/examples/users/CreateUser/CreateUser.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/DeleteUserByEmail/DeleteUserByEmail.go b/examples/users/DeleteUserByEmail/DeleteUserByEmail.go index 674909897..c4a7b5f57 100644 --- a/examples/users/DeleteUserByEmail/DeleteUserByEmail.go +++ b/examples/users/DeleteUserByEmail/DeleteUserByEmail.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/DeleteUserByID/DeleteUserByID.go b/examples/users/DeleteUserByID/DeleteUserByID.go index c1cd750cd..6b981540b 100644 --- a/examples/users/DeleteUserByID/DeleteUserByID.go +++ b/examples/users/DeleteUserByID/DeleteUserByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/DeleteUserByName/DeleteUserByName.go b/examples/users/DeleteUserByName/DeleteUserByName.go index 616114c6f..8a9532324 100644 --- a/examples/users/DeleteUserByName/DeleteUserByName.go +++ b/examples/users/DeleteUserByName/DeleteUserByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/GetUserByEmail/GetUserByEmail.go b/examples/users/GetUserByEmail/GetUserByEmail.go index e1962d691..31d8c8451 100644 --- a/examples/users/GetUserByEmail/GetUserByEmail.go +++ b/examples/users/GetUserByEmail/GetUserByEmail.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/GetUserByID/GetUserByID.go b/examples/users/GetUserByID/GetUserByID.go index 5a940241a..e7f3f9bb0 100644 --- a/examples/users/GetUserByID/GetUserByID.go +++ b/examples/users/GetUserByID/GetUserByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/GetUserByName/GetUserByName.go b/examples/users/GetUserByName/GetUserByName.go index a7d8f4a0e..f15aa9380 100644 --- a/examples/users/GetUserByName/GetUserByName.go +++ b/examples/users/GetUserByName/GetUserByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/GetUsers/GetUsers.go b/examples/users/GetUsers/GetUsers.go index 5e0882a7f..d3a8fb77b 100644 --- a/examples/users/GetUsers/GetUsers.go +++ b/examples/users/GetUsers/GetUsers.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/UpdateUserByEmail/UpdateUserByEmail.go b/examples/users/UpdateUserByEmail/UpdateUserByEmail.go index afb94c9b1..3949fb250 100644 --- a/examples/users/UpdateUserByEmail/UpdateUserByEmail.go +++ b/examples/users/UpdateUserByEmail/UpdateUserByEmail.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/UpdateUserByID/UpdateUserByID.go b/examples/users/UpdateUserByID/UpdateUserByID.go index 55f2ee8a8..cea88fc53 100644 --- a/examples/users/UpdateUserByID/UpdateUserByID.go +++ b/examples/users/UpdateUserByID/UpdateUserByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/users/UpdateUserByName/UpdateUserByName.go b/examples/users/UpdateUserByName/UpdateUserByName.go index 28db5a07d..ad7d08bc8 100644 --- a/examples/users/UpdateUserByName/UpdateUserByName.go +++ b/examples/users/UpdateUserByName/UpdateUserByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/CreateVolumePurchasingSubscription/CreateVolumePurchasingSubscription.go b/examples/volume_purchasing_subscriptions/CreateVolumePurchasingSubscription/CreateVolumePurchasingSubscription.go index 3a4281c8f..a8809d477 100644 --- a/examples/volume_purchasing_subscriptions/CreateVolumePurchasingSubscription/CreateVolumePurchasingSubscription.go +++ b/examples/volume_purchasing_subscriptions/CreateVolumePurchasingSubscription/CreateVolumePurchasingSubscription.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByID/DeleteVolumePurchasingSubscriptionByID.go b/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByID/DeleteVolumePurchasingSubscriptionByID.go index 7e3ee2b03..bfed0a61d 100644 --- a/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByID/DeleteVolumePurchasingSubscriptionByID.go +++ b/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByID/DeleteVolumePurchasingSubscriptionByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByName/DeleteVolumePurchasingSubscriptionByName.go b/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByName/DeleteVolumePurchasingSubscriptionByName.go index b98590472..07c22d754 100644 --- a/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByName/DeleteVolumePurchasingSubscriptionByName.go +++ b/examples/volume_purchasing_subscriptions/DeleteVolumePurchasingSubscriptionByName/DeleteVolumePurchasingSubscriptionByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByID/GetVolumePurchasingSubscriptionByID.go b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByID/GetVolumePurchasingSubscriptionByID.go index ef1fa72f7..c9132f54c 100644 --- a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByID/GetVolumePurchasingSubscriptionByID.go +++ b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByID/GetVolumePurchasingSubscriptionByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByName/GetVolumePurchasingSubscriptionByName.go b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByName/GetVolumePurchasingSubscriptionByName.go index 4d0dd0aad..479742ab0 100644 --- a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByName/GetVolumePurchasingSubscriptionByName.go +++ b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptionByName/GetVolumePurchasingSubscriptionByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptions/GetVolumePurchasingSubscriptions.go b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptions/GetVolumePurchasingSubscriptions.go index c38e4efaf..abd47faca 100644 --- a/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptions/GetVolumePurchasingSubscriptions.go +++ b/examples/volume_purchasing_subscriptions/GetVolumePurchasingSubscriptions/GetVolumePurchasingSubscriptions.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByID/UpdateVolumePurchasingSubscriptionByID.go b/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByID/UpdateVolumePurchasingSubscriptionByID.go index 6f6ea1b5a..8813fc673 100644 --- a/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByID/UpdateVolumePurchasingSubscriptionByID.go +++ b/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByID/UpdateVolumePurchasingSubscriptionByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByName/UpdateVolumePurchasingSubscriptionByName.go b/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByName/UpdateVolumePurchasingSubscriptionByName.go index 59563a41e..a13dfb41d 100644 --- a/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByName/UpdateVolumePurchasingSubscriptionByName.go +++ b/examples/volume_purchasing_subscriptions/UpdateVolumePurchasingSubscriptionByName/UpdateVolumePurchasingSubscriptionByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go b/examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go index 1dd0cf182..9cc53e1a9 100644 --- a/examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go +++ b/examples/vpp_accounts/CreateVPPAccount/CreateVPPAccount.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go b/examples/vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go index f6d47da89..3f47be08c 100644 --- a/examples/vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go +++ b/examples/vpp_accounts/DeleteVPPAccountByID/DeleteVPPAccountByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go b/examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go index 977b7c1fe..1841545e2 100644 --- a/examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go +++ b/examples/vpp_accounts/GetVPPAccountByID/GetVPPAccountByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go b/examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go index f0515c369..7da5ba16b 100644 --- a/examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go +++ b/examples/vpp_accounts/GetVPPAccounts/GetVPPAccounts.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go b/examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go index aede0e30a..80df3484b 100644 --- a/examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go +++ b/examples/vpp_accounts/UpdateVPPAccount/UpdateVPPAccount.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go b/examples/vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go index 0a06b5ae1..c791b165e 100644 --- a/examples/vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go +++ b/examples/vpp_assignments/CreateVPPAssignment/CreateVPPAssignment.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go b/examples/vpp_assignments/DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go index 7f0dfbe9a..22677d987 100644 --- a/examples/vpp_assignments/DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go +++ b/examples/vpp_assignments/DeleteVPPAssignmentByID/DeleteVPPAssignmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/GetVPPAssignmentByID/GetVPPAssignmentByID.go b/examples/vpp_assignments/GetVPPAssignmentByID/GetVPPAssignmentByID.go index 95eb8a946..b6581398f 100644 --- a/examples/vpp_assignments/GetVPPAssignmentByID/GetVPPAssignmentByID.go +++ b/examples/vpp_assignments/GetVPPAssignmentByID/GetVPPAssignmentByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go b/examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go index 37d1c053d..8a7826d77 100644 --- a/examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go +++ b/examples/vpp_assignments/GetVPPAssignments/GetVPPAssignments.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/vpp_assignments/UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go b/examples/vpp_assignments/UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go index 56a2ad7ae..cc981fd0c 100644 --- a/examples/vpp_assignments/UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go +++ b/examples/vpp_assignments/UpdateVPPAssignmentByID/UpdateVPPAssignmentByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/CreateWebhook/CreateWebhook.go b/examples/webhooks/CreateWebhook/CreateWebhook.go index afcab159f..48319568f 100644 --- a/examples/webhooks/CreateWebhook/CreateWebhook.go +++ b/examples/webhooks/CreateWebhook/CreateWebhook.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go b/examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go index 509de7345..fac7f59f4 100644 --- a/examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go +++ b/examples/webhooks/DeleteWebhookByID/DeleteWebhookByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go b/examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go index 53486fa38..071c1d7d2 100644 --- a/examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go +++ b/examples/webhooks/DeleteWebhookByName/DeleteWebhookByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/GetWebhookByID/GetWebhookByID.go b/examples/webhooks/GetWebhookByID/GetWebhookByID.go index 70433b1da..b0fc1fa3a 100644 --- a/examples/webhooks/GetWebhookByID/GetWebhookByID.go +++ b/examples/webhooks/GetWebhookByID/GetWebhookByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/GetWebhookByName/GetWebhookByName.go b/examples/webhooks/GetWebhookByName/GetWebhookByName.go index 75de43d5a..4b1aaaca4 100644 --- a/examples/webhooks/GetWebhookByName/GetWebhookByName.go +++ b/examples/webhooks/GetWebhookByName/GetWebhookByName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/GetWebhooks/GetWebhooks.go b/examples/webhooks/GetWebhooks/GetWebhooks.go index 838454af0..be5e93b69 100644 --- a/examples/webhooks/GetWebhooks/GetWebhooks.go +++ b/examples/webhooks/GetWebhooks/GetWebhooks.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go b/examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go index a08811ce8..fdb0c1286 100644 --- a/examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go +++ b/examples/webhooks/UpdateWebhookByID/UpdateWebhookByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go b/examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go index 47b6e613d..66f53dd3b 100644 --- a/examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go +++ b/examples/webhooks/UpdateWebhookByName/UpdateWebhookByName.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/api_roles/SetAllAvailableApiPriviledgesTorole/SetAllAvailableApiPriviledgesToRole.go b/recipes/api_roles/SetAllAvailableApiPriviledgesTorole/SetAllAvailableApiPriviledgesToRole.go index 1256eccf3..34248c063 100644 --- a/recipes/api_roles/SetAllAvailableApiPriviledgesTorole/SetAllAvailableApiPriviledgesToRole.go +++ b/recipes/api_roles/SetAllAvailableApiPriviledgesTorole/SetAllAvailableApiPriviledgesToRole.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_extension_attributes/DeleteAllComputerExtensionAttributes/DeleteAllComputerExtensionAttributes.go b/recipes/computer_extension_attributes/DeleteAllComputerExtensionAttributes/DeleteAllComputerExtensionAttributes.go index cab6e2a68..e650761a3 100644 --- a/recipes/computer_extension_attributes/DeleteAllComputerExtensionAttributes/DeleteAllComputerExtensionAttributes.go +++ b/recipes/computer_extension_attributes/DeleteAllComputerExtensionAttributes/DeleteAllComputerExtensionAttributes.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_extension_attributes/ExportComputerExtensionAttributes/ExportComputerExtensionAttributes.go b/recipes/computer_extension_attributes/ExportComputerExtensionAttributes/ExportComputerExtensionAttributes.go index 53f7adc3c..d42740084 100644 --- a/recipes/computer_extension_attributes/ExportComputerExtensionAttributes/ExportComputerExtensionAttributes.go +++ b/recipes/computer_extension_attributes/ExportComputerExtensionAttributes/ExportComputerExtensionAttributes.go @@ -25,7 +25,7 @@ func sanitizeFileName(fileName string) string { func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_history/GetAllComputerHistories/GetAllComputerHistories.go b/recipes/computer_history/GetAllComputerHistories/GetAllComputerHistories.go index 32561d26c..67181d68b 100644 --- a/recipes/computer_history/GetAllComputerHistories/GetAllComputerHistories.go +++ b/recipes/computer_history/GetAllComputerHistories/GetAllComputerHistories.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_history/GetAllComputersWithFailedCommands/GetAllComputersWithFailedCommands.go b/recipes/computer_history/GetAllComputersWithFailedCommands/GetAllComputersWithFailedCommands.go index 86537bf0a..f8894290c 100644 --- a/recipes/computer_history/GetAllComputersWithFailedCommands/GetAllComputersWithFailedCommands.go +++ b/recipes/computer_history/GetAllComputersWithFailedCommands/GetAllComputersWithFailedCommands.go @@ -11,7 +11,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/computer_inventory/SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go b/recipes/computer_inventory/SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go index 618eed715..4dd760744 100644 --- a/recipes/computer_inventory/SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go +++ b/recipes/computer_inventory/SetDeviceStateToUnmanaged/SetDeviceStateToUnmanaged.go @@ -12,7 +12,7 @@ var deviceID = "8675309" func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/jamf_pro_initialization_server/InitializeAndcheckStatus.go b/recipes/jamf_pro_initialization_server/InitializeAndcheckStatus.go index 0eb5e693a..4f53be9c7 100644 --- a/recipes/jamf_pro_initialization_server/InitializeAndcheckStatus.go +++ b/recipes/jamf_pro_initialization_server/InitializeAndcheckStatus.go @@ -17,7 +17,7 @@ const ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/local_administrator_password/GetLocalAdminPasswordCapableAccountsByComputerName/GetLocalAdminPasswordCapableAccountsByComputerName.go b/recipes/local_administrator_password/GetLocalAdminPasswordCapableAccountsByComputerName/GetLocalAdminPasswordCapableAccountsByComputerName.go index a55c78ebf..d89d9c341 100644 --- a/recipes/local_administrator_password/GetLocalAdminPasswordCapableAccountsByComputerName/GetLocalAdminPasswordCapableAccountsByComputerName.go +++ b/recipes/local_administrator_password/GetLocalAdminPasswordCapableAccountsByComputerName/GetLocalAdminPasswordCapableAccountsByComputerName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/local_administrator_password/SetLocalAdminPasswordForAllCapableAccountsByComputerName/SetLocalAdminPasswordForAllCapableAccountsByComputerName.go b/recipes/local_administrator_password/SetLocalAdminPasswordForAllCapableAccountsByComputerName/SetLocalAdminPasswordForAllCapableAccountsByComputerName.go index e506cb6e2..a01ee1776 100644 --- a/recipes/local_administrator_password/SetLocalAdminPasswordForAllCapableAccountsByComputerName/SetLocalAdminPasswordForAllCapableAccountsByComputerName.go +++ b/recipes/local_administrator_password/SetLocalAdminPasswordForAllCapableAccountsByComputerName/SetLocalAdminPasswordForAllCapableAccountsByComputerName.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go b/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go index 1973a81b4..0266b3f62 100644 --- a/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go +++ b/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFullScope/CreateMacOSConfigurationProfileWithFullScope.go b/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFullScope/CreateMacOSConfigurationProfileWithFullScope.go index 8a020811b..1247d7d8a 100644 --- a/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFullScope/CreateMacOSConfigurationProfileWithFullScope.go +++ b/recipes/macos_configuration_profiles/CreateMacOSConfigurationProfileWithFullScope/CreateMacOSConfigurationProfileWithFullScope.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go b/recipes/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go index 66eb8b8cf..1bb93143f 100644 --- a/recipes/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go +++ b/recipes/macos_configuration_profiles/DeleteAllMacOSConfigurationProfiles/DeleteAllMacOSConfigurationProfiles.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/mdm/SetOrRemoveRecoveryLockForAppleSiliconMacs/SetOrRemoveRecoveryLockForAppleSiliconMacs.go b/recipes/mdm/SetOrRemoveRecoveryLockForAppleSiliconMacs/SetOrRemoveRecoveryLockForAppleSiliconMacs.go index 2c538933b..9743ea4c2 100644 --- a/recipes/mdm/SetOrRemoveRecoveryLockForAppleSiliconMacs/SetOrRemoveRecoveryLockForAppleSiliconMacs.go +++ b/recipes/mdm/SetOrRemoveRecoveryLockForAppleSiliconMacs/SetOrRemoveRecoveryLockForAppleSiliconMacs.go @@ -18,7 +18,7 @@ const ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go b/recipes/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go index 03c67e77c..5290bdb34 100644 --- a/recipes/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go +++ b/recipes/mobile_device_configuration_profiles/CreateMobileDeviceConfigurationProfileWithFileUpload/CreateMacOSConfigurationProfileWithFileUpload.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/packages/package_uploader/main.go b/recipes/packages/package_uploader/main.go index 651afe289..c84e7f150 100644 --- a/recipes/packages/package_uploader/main.go +++ b/recipes/packages/package_uploader/main.go @@ -16,7 +16,7 @@ func main() { // Load the client OAuth configuration // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Print the ASCII art uploader.PrintASCIILogo() diff --git a/recipes/patch_management/UploadPackageAndAssignToPatchPolicy/UploadPackageAndAssignToPatchPolicy.go b/recipes/patch_management/UploadPackageAndAssignToPatchPolicy/UploadPackageAndAssignToPatchPolicy.go index eedc2f87b..ee2bfc169 100644 --- a/recipes/patch_management/UploadPackageAndAssignToPatchPolicy/UploadPackageAndAssignToPatchPolicy.go +++ b/recipes/patch_management/UploadPackageAndAssignToPatchPolicy/UploadPackageAndAssignToPatchPolicy.go @@ -13,7 +13,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go b/recipes/policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go index 8889f0067..8d04311bf 100644 --- a/recipes/policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go +++ b/recipes/policies/CreateScriptPolicyFull/CreateScriptPolicyFull.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go b/recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go index b6144499c..4b0de4ebb 100644 --- a/recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go +++ b/recipes/policies/DeleteAllPolicies/DeleteAllPolicies.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/privileges/Export_All_Assigned_Privileges_By_Api_Integration/Export_All_Assigned_Privileges_By_Api_Integration.go b/recipes/privileges/Export_All_Assigned_Privileges_By_Api_Integration/Export_All_Assigned_Privileges_By_Api_Integration.go index 4af60a234..f44853cca 100644 --- a/recipes/privileges/Export_All_Assigned_Privileges_By_Api_Integration/Export_All_Assigned_Privileges_By_Api_Integration.go +++ b/recipes/privileges/Export_All_Assigned_Privileges_By_Api_Integration/Export_All_Assigned_Privileges_By_Api_Integration.go @@ -13,7 +13,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/privileges/Export_All_Available_Privileges_By_Type_To_Json/Export_All_Available_Privileges_By_Type_To_Json.go b/recipes/privileges/Export_All_Available_Privileges_By_Type_To_Json/Export_All_Available_Privileges_By_Type_To_Json.go index 0ecca3715..527cac1a2 100644 --- a/recipes/privileges/Export_All_Available_Privileges_By_Type_To_Json/Export_All_Available_Privileges_By_Type_To_Json.go +++ b/recipes/privileges/Export_All_Available_Privileges_By_Type_To_Json/Export_All_Available_Privileges_By_Type_To_Json.go @@ -12,7 +12,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/recipes/restricted_software/DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go b/recipes/restricted_software/DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go index fbc321e84..6e8bc606f 100644 --- a/recipes/restricted_software/DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go +++ b/recipes/restricted_software/DeleteAllRestrictedSoftware/DeleteAllRestrictedSoftware.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/recipes/scripts/DeleteAllScripts/DeleteAllScripts.go b/recipes/scripts/DeleteAllScripts/DeleteAllScripts.go index 3c31ab955..870dd24f6 100644 --- a/recipes/scripts/DeleteAllScripts/DeleteAllScripts.go +++ b/recipes/scripts/DeleteAllScripts/DeleteAllScripts.go @@ -9,7 +9,7 @@ import ( ) func main() { - configFilePath := "./clientconfig.json" + configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) From 6c84b900bfb4af0d2fece82cc428a3c89842c9d8 Mon Sep 17 00:00:00 2001 From: Bobby Date: Tue, 10 Jun 2025 11:02:48 +0100 Subject: [PATCH 05/20] rm lbg --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33cf6abdb..bf4d375c8 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ For those who prefer using configuration files for setting up the client, the SD "log_export_path": "/your/log/path/", // optional, ensure permissions to file path "export_logs": true, // or false "hide_sensitive_data": false, // redact sensitive data from logs - "instance_domain": "https://lbgsandbox.jamfcloud.com", + "instance_domain": "https://yourinstance.jamfcloud.com", "auth_method": "oauth2", // or "basic" "client_id": "your_client_id", // Required if using oauth2 "client_secret": "your_client_secret", // Required if using oauth2 From 1ae89737e942c059c6c5f811e91819869463abcb Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 23 Jun 2025 16:32:46 +0100 Subject: [PATCH 06/20] move original file to deprecatef --- .../sdk/classicapi_file_share_distribution_points.go.deprecated | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sdk/jamfpro/classicapi_file_share_distribution_points.go => deprecated/sdk/classicapi_file_share_distribution_points.go.deprecated (100%) diff --git a/sdk/jamfpro/classicapi_file_share_distribution_points.go b/deprecated/sdk/classicapi_file_share_distribution_points.go.deprecated similarity index 100% rename from sdk/jamfpro/classicapi_file_share_distribution_points.go rename to deprecated/sdk/classicapi_file_share_distribution_points.go.deprecated From 277397e141281fdbd1f288ea1c8367517d52c738 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 23 Jun 2025 16:45:47 +0100 Subject: [PATCH 07/20] update example to handle json instead of XML --- .../GetFileShareDistributionPoints.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go index 0ed830acb..560d6ca74 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go @@ -1,7 +1,7 @@ package main import ( - "encoding/xml" + "encoding/json" "fmt" "log" @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "/Users/lloyds/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) @@ -25,7 +25,7 @@ func main() { } // Pretty print the distribution points in XML - distributionPointsXML, err := xml.MarshalIndent(distributionPoints, "", " ") // Indent with 4 spaces + distributionPointsXML, err := json.Marshal(distributionPoints) // Indent with 4 spaces if err != nil { log.Fatalf("Error marshaling distribution points data: %v", err) } From 6089c6ee7f23000130b57c524582b9943fcc2e8d Mon Sep 17 00:00:00 2001 From: Bobby Date: Tue, 24 Jun 2025 16:44:59 +0100 Subject: [PATCH 08/20] deprecated --- ...oapi_jamf_protect.go => jamfproapi_jamf_protect.go.deprecated} | 0 ...oapi_sso_settings.go => jamfproapi_sso_settings.go.deprecated} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename deprecated/sdk/{jamfproapi_jamf_protect.go => jamfproapi_jamf_protect.go.deprecated} (100%) rename deprecated/sdk/{jamfproapi_sso_settings.go => jamfproapi_sso_settings.go.deprecated} (100%) diff --git a/deprecated/sdk/jamfproapi_jamf_protect.go b/deprecated/sdk/jamfproapi_jamf_protect.go.deprecated similarity index 100% rename from deprecated/sdk/jamfproapi_jamf_protect.go rename to deprecated/sdk/jamfproapi_jamf_protect.go.deprecated diff --git a/deprecated/sdk/jamfproapi_sso_settings.go b/deprecated/sdk/jamfproapi_sso_settings.go.deprecated similarity index 100% rename from deprecated/sdk/jamfproapi_sso_settings.go rename to deprecated/sdk/jamfproapi_sso_settings.go.deprecated From eac3ac5b429c7b0c6bf94d604368bc3232eb01c3 Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 2 Jul 2025 10:51:25 +0100 Subject: [PATCH 09/20] minimum works for creating --- .../CreateFileShareDistributionPoint.go | 82 ++++++++----- ...mfproapi_file_share_distribution_points.go | 114 ++++++++++++++++-- 2 files changed, 158 insertions(+), 38 deletions(-) diff --git a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go index a54f48c5c..563ae049f 100644 --- a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go +++ b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go @@ -1,7 +1,7 @@ package main import ( - "encoding/xml" + "encoding/json" "fmt" "log" @@ -10,49 +10,75 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" - + configFilePath := "/Users/lloyds/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { log.Fatalf("Failed to initialize Jamf Pro client: %v", err) } + // Define variables for pointer fields + + // // New distribution point to create + // newDistributionPoint := jamfpro.ResourceFileShareDistributionPoint{ + // ID: "323", + // Name: "distribution-point-example", + // ServerName: "servername", + // Principal: false, + // BackupDistributionPointID: "", + // FileSharingConnectionType: "", + // HTTPSEnabled: true, + // HTTPSPort: 443, + // HTTPSSecurityType: "", + // HTTPSContext: "mebo", + // HTTPSUsername: "meep", + // EnableLoadBalancing: false, + // ShareName: "sharename", + // Workgroup: "workgroup", + // Port: 443, + // ReadWriteUsername: "username", + // ReadWritePassword: "password", + // ReadOnlyUsername: "username", + // ReadOnlyPassword: "password", + // SSHUsername: "username", + // SSHPassword: "password", + // LocalPathToShare: "parf", + // } + // New distribution point to create newDistributionPoint := jamfpro.ResourceFileShareDistributionPoint{ - Name: "New York Share", - IPAddress: "ny.company.com", - IsMaster: true, - EnableLoadBalancing: false, - SSHUsername: "casperadmin", - Password: "password", - ConnectionType: "SMB", - ShareName: "Caspershare", - WorkgroupOrDomain: "COMPANY", - SharePort: 139, - ReadOnlyUsername: "casperinstall", - ReadOnlyPassword: "password", - ReadWriteUsername: "casperwrite", - ReadWritePassword: "password", - HTTPDownloadsEnabled: true, - HTTPURL: "http://ny.company.com/CasperShare", - Context: "CasperShare", - Protocol: "http", - Port: 80, - NoAuthenticationRequired: false, - UsernamePasswordRequired: true, - HTTPUsername: "casperinstall", - HTTPPassword: "password", + // ID: "323", + Name: "distribution-point-examplesswwsssssw", + ServerName: "servername", + // Principal: false, + // BackupDistributionPointID: "", + FileSharingConnectionType: "NONE", + HTTPSEnabled: true, + HTTPSPort: 443, + HTTPSSecurityType: "NONE", + // HTTPSContext: "mebo", + // HTTPSUsername: "meep", + // EnableLoadBalancing: false, + // ShareName: "sharename", + // Workgroup: "workgroup", + // Port: 443, + // ReadWriteUsername: "username", + // ReadWritePassword: "password", + // ReadOnlyUsername: "username", + // ReadOnlyPassword: "password", + // SSHUsername: "username", + // SSHPassword: "password", + // LocalPathToShare: "parf", } // Call CreateDistributionPoint function createdDistributionPoint, err := client.CreateDistributionPoint(&newDistributionPoint) if err != nil { - log.Fatalf("Error creating distribution point: %v", err) + log.Fatalf("Error creating distribution point: %v, %v", err, newDistributionPoint) } // Pretty print the newly created distribution point in XML - createdDistributionPointXML, err := xml.MarshalIndent(createdDistributionPoint, "", " ") + createdDistributionPointXML, err := json.MarshalIndent(createdDistributionPoint, "", " ") if err != nil { log.Fatalf("Error marshaling created distribution point data: %v", err) } diff --git a/sdk/jamfpro/jamfproapi_file_share_distribution_points.go b/sdk/jamfpro/jamfproapi_file_share_distribution_points.go index bcc8772ec..d81747147 100644 --- a/sdk/jamfpro/jamfproapi_file_share_distribution_points.go +++ b/sdk/jamfpro/jamfproapi_file_share_distribution_points.go @@ -1,15 +1,109 @@ package jamfpro -// import ( -// "fmt" -// "net/url" +import ( + "encoding/json" + "fmt" +) -// "github.com/mitchellh/mapstructure" -// ) +const uriDistributionPoints = "/api/v1/distribution-points" -// const uriDistributionPoints = "/api/v1/distribution-points" +type ResponseDistributionPointList struct { + TotalCount int `json:"totalCount"` + Results []ResourceFileShareDistributionPoint `json:"results"` +} -// type ResponseDistributionPointList struct { -// TotalCount int `json:"totalCount"` -// Results []ResourceFileShareDistributionPoint `json:"results"` -// } \ No newline at end of file +type ResourceFileShareDistributionPoint struct { + ShareName string `json:"shareName,omitempty"` + Workgroup string `json:"workgroup,omitempty"` + Port int `json:"port,omitempty"` + ReadWriteUsername string `json:"readWriteUsername,omitempty"` + ReadWritePassword string `json:"readWritePassword,omitempty"` + ReadOnlyUsername string `json:"readOnlyUsername,omitempty"` + ReadOnlyPassword string `json:"readOnlyPassword,omitempty"` + ID string `json:"id,omitempty"` + Name string `json:"name"` + ServerName string `json:"serverName"` + Principal bool `json:"principal,omitempty"` + BackupDistributionPointID string `json:"backupDistributionPointId,omitempty"` + SSHUsername string `json:"sshUsername,omitempty"` + SSHPassword string `json:"sshPassword,omitempty"` + LocalPathToShare string `json:"localPathToShare,omitempty"` + FileSharingConnectionType string `json:"fileSharingConnectionType"` + HTTPSEnabled bool `json:"httpsEnabled"` + HTTPSPort int `json:"httpsPort"` + HTTPSContext string `json:"httpsContext,omitempty"` + HTTPSSecurityType string `json:"httpsSecurityType"` + HTTPSUsername string `json:"httpsUsername,omitempty"` + HTTPSPassword string `json:"httpsPassword,omitempty"` + EnableLoadBalancing bool `json:"enableLoadBalancing,omitempty"` +} + +type ResponseFileShareDistributionPointCreatedAndUpdated struct { + ID string `json:"id,omitempty"` + Href string `json:"href,omitempty"` +} + +func (c *Client) GetDistributionPoints() (*ResponseDistributionPointList, error) { + endpoint := uriDistributionPoints + + var distributionPoints ResponseDistributionPointList + + _, err := c.HTTP.DoRequest("GET", endpoint, nil, &distributionPoints) + + if err != nil { + return nil, fmt.Errorf(errMsgFailedGet, "distribution point", err) + } + + return &distributionPoints, nil +} + +// GetDistributionPointByID retrieves a single distribution point by its ID. +func (c *Client) CreateDistributionPoint(payload *ResourceFileShareDistributionPoint) (*ResponseFileShareDistributionPointCreatedAndUpdated, error) { + endpoint := uriDistributionPoints + var createdResponseObject ResponseFileShareDistributionPointCreatedAndUpdated + + //TODO: Remove + fmt.Println("DEBUBDEBUGDBEUG") + // Marshal and log the payload + payloadBytes, err := json.MarshalIndent(payload, "", " ") + if err != nil { + return nil, fmt.Errorf("failed to marshal payload: %v", err) + } + fmt.Printf("Distribution Point Payload:\n%s\n", string(payloadBytes)) + + resp, err := c.HTTP.DoRequest("POST", endpoint, payload, &createdResponseObject) + if err != nil { + return nil, fmt.Errorf(errMsgFailedCreate, "distribution point", err) + } + + if resp != nil && resp.Body != nil { + defer resp.Body.Close() + } + + return &createdResponseObject, nil + // return nil, nil +} + +// func (c *Client) getDistributonPointsByName() { + +// } + +// func (c *Client) CreateDistributionPoint() { + +// } + +// func (c *Client) updateDistributionPointByID() { + +// } + +// func (c *Client) updateDistributionPointByName() { + +// } + +// func (c *Client) deleteDistributionPointByID() { + +// } + +// func (c *Client) DeleteDistributionPointByName() { + +// } From d13a6d0ab5fa1ba5ba768812a8f8bcaadb670e50 Mon Sep 17 00:00:00 2001 From: Bobby Date: Thu, 3 Jul 2025 14:33:58 +0100 Subject: [PATCH 10/20] Fixed source of build errors for unit tests --- sdk/jamfpro/classicapi_command_flush.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/jamfpro/classicapi_command_flush.go b/sdk/jamfpro/classicapi_command_flush.go index 8abae47fa..f05672c8f 100644 --- a/sdk/jamfpro/classicapi_command_flush.go +++ b/sdk/jamfpro/classicapi_command_flush.go @@ -145,7 +145,7 @@ func (c *Client) ClearPendingMobileDeviceMDMCommandsByMobileDeviceGroupID(mobile // ClearFailedAndPendingMDMCommandsByComputerID clears all failed & pending MDM commands for a specific computer. func (c *Client) ClearFailedAndPendingComputerMDMCommandsByComputerID(computerId string) error { - endpoint := fmt.Sprintf("%s/computers/id/%s/status/Pending%2BFailed", uriCommandFlush, computerId) + endpoint := fmt.Sprintf("%s/computers/id/%s/status/Pending+Failed", uriCommandFlush, computerId) resp, err := c.HTTP.DoRequest("DELETE", endpoint, nil, nil) if err != nil { @@ -162,7 +162,7 @@ func (c *Client) ClearFailedAndPendingComputerMDMCommandsByComputerID(computerId // ClearFailedAndPendingComputerMDMCommandsByComputerGroupID clears all failed & pending MDM commands for a specific // smart or static computer group. func (c *Client) ClearFailedAndPendingComputerMDMCommandsByComputerGroupID(computerGroupId string) error { - endpoint := fmt.Sprintf("%s/computergroups/id/%s/status/Pending%2BFailed", uriCommandFlush, computerGroupId) + endpoint := fmt.Sprintf("%s/computergroups/id/%s/status/Pending+Failed", uriCommandFlush, computerGroupId) resp, err := c.HTTP.DoRequest("DELETE", endpoint, nil, nil) if err != nil { @@ -179,7 +179,7 @@ func (c *Client) ClearFailedAndPendingComputerMDMCommandsByComputerGroupID(compu // ClearFailedAndPendingMobileDeviceMDMCommandsByMobileDeviceID clears all failed & pending MDM commands // for a specific mobile device. func (c *Client) ClearFailedAndPendingMobileDeviceMDMCommandsByMobileDeviceID(mobileDeviceID string) error { - endpoint := fmt.Sprintf("%s/mobiledevices/id/%s/status/Pending%2BFailed", uriCommandFlush, mobileDeviceID) + endpoint := fmt.Sprintf("%s/mobiledevices/id/%s/status/Pending+Failed", uriCommandFlush, mobileDeviceID) resp, err := c.HTTP.DoRequest("DELETE", endpoint, nil, nil) if err != nil { @@ -196,7 +196,7 @@ func (c *Client) ClearFailedAndPendingMobileDeviceMDMCommandsByMobileDeviceID(mo // ClearFailedAndPendingMobileDeviceMDMCommandsByMobileDeviceGroupID clears all failed MDM commands // for a specific mobile device group. func (c *Client) ClearFailedAndPendingMobileDeviceMDMCommandsByMobileDeviceGroupID(mobileDeviceGroupId string) error { - endpoint := fmt.Sprintf("%s/mobiledevicegroups/id/%s/status/Pending%2BFailed", uriCommandFlush, mobileDeviceGroupId) + endpoint := fmt.Sprintf("%s/mobiledevicegroups/id/%s/status/Pending+Failed", uriCommandFlush, mobileDeviceGroupId) resp, err := c.HTTP.DoRequest("DELETE", endpoint, nil, nil) if err != nil { From 62685849476466519b0a2d28a814adb55b038e19 Mon Sep 17 00:00:00 2001 From: Bobby Date: Thu, 3 Jul 2025 14:34:28 +0100 Subject: [PATCH 11/20] beninging of unit test file for struct marhalling --- ...api_file_share_distribution_points_test.go | 112 ++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go diff --git a/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go b/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go new file mode 100644 index 000000000..29e2f86c4 --- /dev/null +++ b/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go @@ -0,0 +1,112 @@ +package jamfpro + +import ( + "encoding/json" + "reflect" + "testing" +) + +func TestResourceFileShareDistributionPoint_MarshalJSON(t *testing.T) { + tests := []struct { + name string + input ResourceFileShareDistributionPoint + expected map[string]interface{} + }{ + { + name: "Full struct with all fields", + input: ResourceFileShareDistributionPoint{ + ShareName: "TestShare", + Workgroup: "TestWorkgroup", + Port: 445, + ReadWriteUsername: "rwuser", + ReadWritePassword: "rwpass", + ReadOnlyUsername: "rouser", + ReadOnlyPassword: "ropass", + ID: "1", + Name: "Test Distribution Point", + ServerName: "server.example.com", + Principal: true, + BackupDistributionPointID: "2", + SSHUsername: "sshuser", + SSHPassword: "sshpass", + LocalPathToShare: "/path/to/share", + FileSharingConnectionType: "SMB", + HTTPSEnabled: true, + HTTPSPort: 443, + HTTPSContext: "context", + HTTPSSecurityType: "BASIC", + HTTPSUsername: "httpsuser", + HTTPSPassword: "httpspass", + EnableLoadBalancing: true, + }, + expected: map[string]interface{}{ + "shareName": "TestShare", + "workgroup": "TestWorkgroup", + "port": float64(445), + "readWriteUsername": "rwuser", + "readWritePassword": "rwpass", + "readOnlyUsername": "rouser", + "readOnlyPassword": "ropass", + "id": "1", + "name": "Test Distribution Point", + "serverName": "server.example.com", + "principal": true, + "backupDistributionPointId": "2", + "sshUsername": "sshuser", + "sshPassword": "sshpass", + "localPathToShare": "/path/to/share", + "fileSharingConnectionType": "SMB", + "httpsEnabled": true, + "httpsPort": float64(443), + "httpsContext": "context", + "httpsSecurityType": "BASIC", + "httpsUsername": "httpsuser", + "httpsPassword": "httpspass", + "enableLoadBalancing": true, + }, + }, + { + name: "Minimal required fields only", + input: ResourceFileShareDistributionPoint{ + Name: "Minimal DP", + ServerName: "minimal.example.com", + FileSharingConnectionType: "AFP", + HTTPSEnabled: false, + HTTPSPort: 443, + HTTPSSecurityType: "NONE", + }, + expected: map[string]interface{}{ + "name": "Minimal DP", + "serverName": "minimal.example.com", + "fileSharingConnectionType": "AFP", + "httpsEnabled": false, + "httpsPort": float64(443), + "httpsSecurityType": "NONE", + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + // Marshal the input struct + actualBytes, err := json.Marshal(tt.input) + if err != nil { + t.Errorf("Failed to marshal struct: %v", err) + return + } + + // Create a map from the actual JSON for comparison + var actualMap map[string]interface{} + err = json.Unmarshal(actualBytes, &actualMap) + if err != nil { + t.Errorf("Failed to unmarshal JSON: %v", err) + return + } + + // Compare the maps + if !reflect.DeepEqual(actualMap, tt.expected) { + t.Errorf("JSON marshalling mismatch:\nwant: %v\ngot: %v", tt.expected, actualMap) + } + }) + } +} From dc2a478a9fc763df533a518050235a1ca40147b6 Mon Sep 17 00:00:00 2001 From: Bobby Date: Fri, 4 Jul 2025 13:54:02 +0100 Subject: [PATCH 12/20] tests --- ...api_file_share_distribution_points_test.go | 188 ++++++++++++------ 1 file changed, 129 insertions(+), 59 deletions(-) diff --git a/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go b/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go index 29e2f86c4..78d4cdd2a 100644 --- a/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go +++ b/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go @@ -6,63 +6,80 @@ import ( "testing" ) +// This testing function could be done better, as marshalling in an out of maps can cause formatting differences +// which will not be representative of how the api would recieve the unmarshalled struct. +// @TODO: make use of jsonfiles in the mocks folder to import and export configurations. func TestResourceFileShareDistributionPoint_MarshalJSON(t *testing.T) { tests := []struct { name string input ResourceFileShareDistributionPoint - expected map[string]interface{} + expected map[string]any }{ + // { + // name: "Full struct with all fields", + // input: ResourceFileShareDistributionPoint{ + // ShareName: "TestShare", + // Workgroup: "TestWorkgroup", + // Port: 445, + // ReadWriteUsername: "rwuser", + // ReadWritePassword: "rwpass", + // ReadOnlyUsername: "rouser", + // ReadOnlyPassword: "ropass", + // ID: "1", + // Name: "Test Distribution Point", + // ServerName: "server.example.com", + // Principal: true, + // BackupDistributionPointID: "2", + // SSHUsername: "sshuser", + // SSHPassword: "sshpass", + // LocalPathToShare: "/path/to/share", + // FileSharingConnectionType: "SMB", + // HTTPSEnabled: true, + // HTTPSPort: 443, + // HTTPSContext: "context", + // HTTPSSecurityType: "BASIC", + // HTTPSUsername: "httpsuser", + // HTTPSPassword: "httpspass", + // EnableLoadBalancing: true, + // }, + // expected: map[string]interface{}{ + // "shareName": "TestShare", + // "workgroup": "TestWorkgroup", + // "port": float64(445), + // "readWriteUsername": "rwuser", + // "readWritePassword": "rwpass", + // "readOnlyUsername": "rouser", + // "readOnlyPassword": "ropass", + // "id": "1", + // "name": "Test Distribution Point", + // "serverName": "server.example.com", + // "principal": true, + // "backupDistributionPointId": "2", + // "sshUsername": "sshuser", + // "sshPassword": "sshpass", + // "localPathToShare": "/path/to/share", + // "fileSharingConnectionType": "SMB", + // "httpsEnabled": true, + // "httpsPort": float64(443), + // "httpsContext": "context", + // "httpsSecurityType": "BASIC", + // "httpsUsername": "httpsuser", + // "httpsPassword": "httpspass", + // "enableLoadBalancing": true, + // }, + // }, { - name: "Full struct with all fields", + name: "Required keys are correctly zeroed and present", input: ResourceFileShareDistributionPoint{ - ShareName: "TestShare", - Workgroup: "TestWorkgroup", - Port: 445, - ReadWriteUsername: "rwuser", - ReadWritePassword: "rwpass", - ReadOnlyUsername: "rouser", - ReadOnlyPassword: "ropass", - ID: "1", - Name: "Test Distribution Point", - ServerName: "server.example.com", - Principal: true, - BackupDistributionPointID: "2", - SSHUsername: "sshuser", - SSHPassword: "sshpass", - LocalPathToShare: "/path/to/share", - FileSharingConnectionType: "SMB", - HTTPSEnabled: true, - HTTPSPort: 443, - HTTPSContext: "context", - HTTPSSecurityType: "BASIC", - HTTPSUsername: "httpsuser", - HTTPSPassword: "httpspass", - EnableLoadBalancing: true, + }, - expected: map[string]interface{}{ - "shareName": "TestShare", - "workgroup": "TestWorkgroup", - "port": float64(445), - "readWriteUsername": "rwuser", - "readWritePassword": "rwpass", - "readOnlyUsername": "rouser", - "readOnlyPassword": "ropass", - "id": "1", - "name": "Test Distribution Point", - "serverName": "server.example.com", - "principal": true, - "backupDistributionPointId": "2", - "sshUsername": "sshuser", - "sshPassword": "sshpass", - "localPathToShare": "/path/to/share", - "fileSharingConnectionType": "SMB", - "httpsEnabled": true, - "httpsPort": float64(443), - "httpsContext": "context", - "httpsSecurityType": "BASIC", - "httpsUsername": "httpsuser", - "httpsPassword": "httpspass", - "enableLoadBalancing": true, + expected: map[string]any{ + "fileSharingConnectionType":"", + "httpsEnabled": false, + "httpsPort": float64(0), + "httpsSecurityType": "", + "name": "", + "serverName": "", }, }, { @@ -70,20 +87,72 @@ func TestResourceFileShareDistributionPoint_MarshalJSON(t *testing.T) { input: ResourceFileShareDistributionPoint{ Name: "Minimal DP", ServerName: "minimal.example.com", - FileSharingConnectionType: "AFP", + FileSharingConnectionType: "NONE", HTTPSEnabled: false, HTTPSPort: 443, HTTPSSecurityType: "NONE", }, - expected: map[string]interface{}{ + // expected: "{\"name\":\"Minimal DP\",\"serverName\":\"minimal.example.com\",\"fileSharingConnectionType\":\"NONE\",\"httpsEnabled\":false,\"httpsPort\":443,\"httpsSecurityType\":\"NONE\"}", + expected: map[string]any{ "name": "Minimal DP", "serverName": "minimal.example.com", - "fileSharingConnectionType": "AFP", + "fileSharingConnectionType": "NONE", "httpsEnabled": false, "httpsPort": float64(443), "httpsSecurityType": "NONE", }, }, + { + name: "Maximal fields for SMB", + input: ResourceFileShareDistributionPoint{ + Principal: true, + BackupDistributionPointID: "3", + FileSharingConnectionType: "SMB", + Port: 139, + HTTPSEnabled: true, + HTTPSPort: 443, + HTTPSSecurityType: "USERNAME_PASSWORD", + EnableLoadBalancing: true, + Name: "distributionpointname", + ServerName: "servername", + SSHUsername: "sshusername1", + SSHPassword: "sshpassword1", + LocalPathToShare: "/path/dir/file", + ShareName: "sharename", + Workgroup: "workgroupname", + ReadWriteUsername: "readusername", + ReadWritePassword: "readpassword1", + ReadOnlyUsername: "readonlyusername", + ReadOnlyPassword: "readonlypassword", + HTTPSContext: "httpcontext", + HTTPSUsername: "httpsusername", + HTTPSPassword: "httpspassword", + }, + expected: map[string]any{ + "principal": true, + "backupDistributionPointId": "3", + "fileSharingConnectionType": "SMB", + "port": float64(139), + "httpsEnabled": true, + "httpsPort": float64(443), + "httpsSecurityType": "USERNAME_PASSWORD", + "enableLoadBalancing": true, + "name": "distributionpointname", + "serverName": "servername", + "sshUsername": "sshusername1", + "sshPassword": "sshpassword1", + "localPathToShare": "/path/dir/file", + "shareName": "sharename", + "workgroup": "workgroupname", + "readWriteUsername": "readusername", + "readWritePassword": "readpassword1", + "readOnlyUsername": "readonlyusername", + "readOnlyPassword": "readonlypassword", + "httpsContext": "httpcontext", + "httpsUsername": "httpsusername", + "httpsPassword": "httpspassword", + }, + }, } for _, tt := range tests { @@ -95,17 +164,18 @@ func TestResourceFileShareDistributionPoint_MarshalJSON(t *testing.T) { return } - // Create a map from the actual JSON for comparison - var actualMap map[string]interface{} - err = json.Unmarshal(actualBytes, &actualMap) - if err != nil { - t.Errorf("Failed to unmarshal JSON: %v", err) + // Unmarshal actual result back to map for comparison + var actualMap map[string]any + if err := json.Unmarshal(actualBytes, &actualMap); err != nil { + t.Errorf("Failed to unmarshal actual result: %v", err) return } - // Compare the maps + // Compare the maps directly (order-independent) if !reflect.DeepEqual(actualMap, tt.expected) { - t.Errorf("JSON marshalling mismatch:\nwant: %v\ngot: %v", tt.expected, actualMap) + actualJSON, _ := json.MarshalIndent(actualMap, "", " ") + expectedJSON, _ := json.MarshalIndent(tt.expected, "", " ") + t.Errorf("JSON marshalling mismatch:\nwant: %s\ngot: %s", expectedJSON, actualJSON) } }) } From 2a550bc26c9cc9f4923578205b3d84c5c4fe00dc Mon Sep 17 00:00:00 2001 From: Bobby Date: Fri, 4 Jul 2025 14:00:27 +0100 Subject: [PATCH 13/20] maxim maximoo --- ...api_file_share_distribution_points_test.go | 108 +++++++++--------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go b/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go index 78d4cdd2a..43e47bb7b 100644 --- a/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go +++ b/sdk/jamfpro/jamfproapi_file_share_distribution_points_test.go @@ -15,59 +15,59 @@ func TestResourceFileShareDistributionPoint_MarshalJSON(t *testing.T) { input ResourceFileShareDistributionPoint expected map[string]any }{ - // { - // name: "Full struct with all fields", - // input: ResourceFileShareDistributionPoint{ - // ShareName: "TestShare", - // Workgroup: "TestWorkgroup", - // Port: 445, - // ReadWriteUsername: "rwuser", - // ReadWritePassword: "rwpass", - // ReadOnlyUsername: "rouser", - // ReadOnlyPassword: "ropass", - // ID: "1", - // Name: "Test Distribution Point", - // ServerName: "server.example.com", - // Principal: true, - // BackupDistributionPointID: "2", - // SSHUsername: "sshuser", - // SSHPassword: "sshpass", - // LocalPathToShare: "/path/to/share", - // FileSharingConnectionType: "SMB", - // HTTPSEnabled: true, - // HTTPSPort: 443, - // HTTPSContext: "context", - // HTTPSSecurityType: "BASIC", - // HTTPSUsername: "httpsuser", - // HTTPSPassword: "httpspass", - // EnableLoadBalancing: true, - // }, - // expected: map[string]interface{}{ - // "shareName": "TestShare", - // "workgroup": "TestWorkgroup", - // "port": float64(445), - // "readWriteUsername": "rwuser", - // "readWritePassword": "rwpass", - // "readOnlyUsername": "rouser", - // "readOnlyPassword": "ropass", - // "id": "1", - // "name": "Test Distribution Point", - // "serverName": "server.example.com", - // "principal": true, - // "backupDistributionPointId": "2", - // "sshUsername": "sshuser", - // "sshPassword": "sshpass", - // "localPathToShare": "/path/to/share", - // "fileSharingConnectionType": "SMB", - // "httpsEnabled": true, - // "httpsPort": float64(443), - // "httpsContext": "context", - // "httpsSecurityType": "BASIC", - // "httpsUsername": "httpsuser", - // "httpsPassword": "httpspass", - // "enableLoadBalancing": true, - // }, - // }, + { + name: "Full struct with all fields", + input: ResourceFileShareDistributionPoint{ + ShareName: "TestShare", + Workgroup: "TestWorkgroup", + Port: 445, + ReadWriteUsername: "rwuser", + ReadWritePassword: "rwpass", + ReadOnlyUsername: "rouser", + ReadOnlyPassword: "ropass", + ID: "1", + Name: "Test Distribution Point", + ServerName: "server.example.com", + Principal: true, + BackupDistributionPointID: "2", + SSHUsername: "sshuser", + SSHPassword: "sshpass", + LocalPathToShare: "/path/to/share", + FileSharingConnectionType: "SMB", + HTTPSEnabled: true, + HTTPSPort: 443, + HTTPSContext: "context", + HTTPSSecurityType: "BASIC", + HTTPSUsername: "httpsuser", + HTTPSPassword: "httpspass", + EnableLoadBalancing: true, + }, + expected: map[string]any{ + "shareName": "TestShare", + "workgroup": "TestWorkgroup", + "port": float64(445), + "readWriteUsername": "rwuser", + "readWritePassword": "rwpass", + "readOnlyUsername": "rouser", + "readOnlyPassword": "ropass", + "id": "1", + "name": "Test Distribution Point", + "serverName": "server.example.com", + "principal": true, + "backupDistributionPointId": "2", + "sshUsername": "sshuser", + "sshPassword": "sshpass", + "localPathToShare": "/path/to/share", + "fileSharingConnectionType": "SMB", + "httpsEnabled": true, + "httpsPort": float64(443), + "httpsContext": "context", + "httpsSecurityType": "BASIC", + "httpsUsername": "httpsuser", + "httpsPassword": "httpspass", + "enableLoadBalancing": true, + }, + }, { name: "Required keys are correctly zeroed and present", input: ResourceFileShareDistributionPoint{ @@ -179,4 +179,4 @@ func TestResourceFileShareDistributionPoint_MarshalJSON(t *testing.T) { } }) } -} +} \ No newline at end of file From 56d031778db083a44213a66520e9047dcd08b226 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 7 Jul 2025 10:59:10 +0100 Subject: [PATCH 14/20] examples updated --- .../CreateFileShareDistributionPoint.go | 96 +++++++++---------- .../DeleteFileShareDistributionPointByID.go | 4 +- .../DeleteFileShareDistributionPointByName.go | 30 ------ .../GetFileShareDistributionPointByName.go | 36 ------- .../UpdateFileShareDistributionPointByName.go | 63 ------------ 5 files changed, 47 insertions(+), 182 deletions(-) delete mode 100644 examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go delete mode 100644 examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go delete mode 100644 examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go diff --git a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go index 563ae049f..43ca4241e 100644 --- a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go +++ b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go @@ -19,58 +19,52 @@ func main() { // Define variables for pointer fields - // // New distribution point to create - // newDistributionPoint := jamfpro.ResourceFileShareDistributionPoint{ - // ID: "323", - // Name: "distribution-point-example", - // ServerName: "servername", - // Principal: false, - // BackupDistributionPointID: "", - // FileSharingConnectionType: "", - // HTTPSEnabled: true, - // HTTPSPort: 443, - // HTTPSSecurityType: "", - // HTTPSContext: "mebo", - // HTTPSUsername: "meep", - // EnableLoadBalancing: false, - // ShareName: "sharename", - // Workgroup: "workgroup", - // Port: 443, - // ReadWriteUsername: "username", - // ReadWritePassword: "password", - // ReadOnlyUsername: "username", - // ReadOnlyPassword: "password", - // SSHUsername: "username", - // SSHPassword: "password", - // LocalPathToShare: "parf", - // } + // List of distribution points to create + distributionPoints := []jamfpro.ResourceFileShareDistributionPoint{ + { + Name: "example-distribution-point-min", + ServerName: "servername", + FileSharingConnectionType: "NONE", + HTTPSEnabled: true, + HTTPSPort: 443, + HTTPSSecurityType: "NONE", + }, + { + Name: "example-distribution-point-max-smb", + ServerName: "servername", + Principal: false, + // If EnableLoadBalancing is true, BackupDistributionPointID needs to have the + // valid ID if another distribution point + EnableLoadBalancing: true, + BackupDistributionPointID: "108", + FileSharingConnectionType: "SMB", + HTTPSEnabled: true, + HTTPSPort: 443, + HTTPSSecurityType: "USERNAME_PASSWORD", + HTTPSContext: "mebo", + HTTPSUsername: "meep", + HTTPSPassword: "mebo", + ShareName: "sharename", + Workgroup: "workgroup", + Port: 443, + ReadWriteUsername: "username", + ReadWritePassword: "password", + ReadOnlyUsername: "username", + ReadOnlyPassword: "password", + SSHUsername: "username", + SSHPassword: "password", + LocalPathToShare: "parf", + }, + } - // New distribution point to create - newDistributionPoint := jamfpro.ResourceFileShareDistributionPoint{ - // ID: "323", - Name: "distribution-point-examplesswwsssssw", - ServerName: "servername", - // Principal: false, - // BackupDistributionPointID: "", - FileSharingConnectionType: "NONE", - HTTPSEnabled: true, - HTTPSPort: 443, - HTTPSSecurityType: "NONE", - // HTTPSContext: "mebo", - // HTTPSUsername: "meep", - // EnableLoadBalancing: false, - // ShareName: "sharename", - // Workgroup: "workgroup", - // Port: 443, - // ReadWriteUsername: "username", - // ReadWritePassword: "password", - // ReadOnlyUsername: "username", - // ReadOnlyPassword: "password", - // SSHUsername: "username", - // SSHPassword: "password", - // LocalPathToShare: "parf", + // Loop through the list and create each distribution point + for _, distributionPoint := range distributionPoints { + createDistributionPointandLog(client, distributionPoint) } +} + +func createDistributionPointandLog(client *jamfpro.Client, newDistributionPoint jamfpro.ResourceFileShareDistributionPoint) { // Call CreateDistributionPoint function createdDistributionPoint, err := client.CreateDistributionPoint(&newDistributionPoint) if err != nil { @@ -78,9 +72,9 @@ func main() { } // Pretty print the newly created distribution point in XML - createdDistributionPointXML, err := json.MarshalIndent(createdDistributionPoint, "", " ") + createdDistributionPointJSON, err := json.MarshalIndent(createdDistributionPoint, "", " ") if err != nil { log.Fatalf("Error marshaling created distribution point data: %v", err) } - fmt.Println("Created Distribution Point:\n", string(createdDistributionPointXML)) + fmt.Println("Created Distribution Point:\n", string(createdDistributionPointJSON)) } diff --git a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go index 5eb14cdce..a48734994 100644 --- a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "/Users/lloyds/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) @@ -18,7 +18,7 @@ func main() { } // ID of the distribution point to delete - distributionPointID := "1" // Replace with the actual ID + distributionPointID := "136" // Replace with the actual ID // Call DeleteDistributionPointByID function err = client.DeleteDistributionPointByID(distributionPointID) diff --git a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go deleted file mode 100644 index 9311b82a3..000000000 --- a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByName/DeleteFileShareDistributionPointByName.go +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "fmt" - "log" - - "github.com/deploymenttheory/go-api-sdk-jamfpro/sdk/jamfpro" -) - -func main() { - // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" - - // Initialize the Jamf Pro client with the HTTP client configuration - client, err := jamfpro.BuildClientWithConfigFile(configFilePath) - if err != nil { - log.Fatalf("Failed to initialize Jamf Pro client: %v", err) - } - - // Name of the distribution point to delete - distributionPointName := "New York Share" // Replace with the actual name - - // Call DeleteDistributionPointByName function - err = client.DeleteDistributionPointByName(distributionPointName) - if err != nil { - log.Fatalf("Error deleting distribution point by name '%s': %v", distributionPointName, err) - } - - fmt.Printf("Distribution Point '%s' deleted successfully\n", distributionPointName) -} diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go b/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go deleted file mode 100644 index 358f32a15..000000000 --- a/examples/file_share_distribution_points/GetFileShareDistributionPointByName/GetFileShareDistributionPointByName.go +++ /dev/null @@ -1,36 +0,0 @@ -package main - -import ( - "encoding/xml" - "fmt" - "log" - - "github.com/deploymenttheory/go-api-sdk-jamfpro/sdk/jamfpro" -) - -func main() { - // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" - - // Initialize the Jamf Pro client with the HTTP client configuration - client, err := jamfpro.BuildClientWithConfigFile(configFilePath) - if err != nil { - log.Fatalf("Failed to initialize Jamf Pro client: %v", err) - } - - // Name of the distribution point to fetch - distributionPointName := "New York Share" // Replace with the actual name - - // Call GetDistributionPointByName function - distributionPoint, err := client.GetDistributionPointByName(distributionPointName) - if err != nil { - log.Fatalf("Error fetching distribution point: %v", err) - } - - // Pretty print the distribution point in XML - distributionPointXML, err := xml.MarshalIndent(distributionPoint, "", " ") - if err != nil { - log.Fatalf("Error marshaling distribution point data: %v", err) - } - fmt.Println("Fetched Distribution Point:\n", string(distributionPointXML)) -} diff --git a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go deleted file mode 100644 index 8d2e6d100..000000000 --- a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByName/UpdateFileShareDistributionPointByName.go +++ /dev/null @@ -1,63 +0,0 @@ -package main - -import ( - "encoding/xml" - "fmt" - "log" - - "github.com/deploymenttheory/go-api-sdk-jamfpro/sdk/jamfpro" -) - -func main() { - // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" - - // Initialize the Jamf Pro client with the HTTP client configuration - client, err := jamfpro.BuildClientWithConfigFile(configFilePath) - if err != nil { - log.Fatalf("Failed to initialize Jamf Pro client: %v", err) - } - - // New distribution point to create - updateDistributionPoint := jamfpro.ResourceFileShareDistributionPoint{ - Name: "New York Share", - IPAddress: "ny.company.com", - IsMaster: true, - EnableLoadBalancing: false, - SSHUsername: "casperadmin", - Password: "password", - ConnectionType: "SMB", - ShareName: "Caspershare", - WorkgroupOrDomain: "COMPANY", - SharePort: 139, - ReadOnlyUsername: "casperinstall", - ReadOnlyPassword: "password", - ReadWriteUsername: "casperwrite", - ReadWritePassword: "password", - HTTPDownloadsEnabled: true, - HTTPURL: "http://ny.company.com/CasperShare", - Context: "CasperShare", - Protocol: "http", - Port: 80, - NoAuthenticationRequired: false, - UsernamePasswordRequired: true, - HTTPUsername: "casperinstall", - HTTPPassword: "password", - } - - // Name of the distribution point to update - distributionPointName := "Tokyo Share" // Replace with the actual name - - // Call UpdateDistributionPointByName function - updatedDistributionPoint, err := client.UpdateDistributionPointByName(distributionPointName, &updateDistributionPoint) - if err != nil { - log.Fatalf("Error updating distribution point: %v", err) - } - - // Pretty print the updated distribution point in XML - updatedDistributionPointXML, err := xml.MarshalIndent(updatedDistributionPoint, "", " ") - if err != nil { - log.Fatalf("Error marshaling updated distribution point data: %v", err) - } - fmt.Println("Updated Distribution Point:\n", string(updatedDistributionPointXML)) -} From 28732a0e306f77a2b6ca137b191a938864aa2b03 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 7 Jul 2025 14:06:06 +0100 Subject: [PATCH 15/20] all provider endpoints implemented --- ...mfproapi_file_share_distribution_points.go | 63 ++++++++++++------- 1 file changed, 39 insertions(+), 24 deletions(-) diff --git a/sdk/jamfpro/jamfproapi_file_share_distribution_points.go b/sdk/jamfpro/jamfproapi_file_share_distribution_points.go index d81747147..687a4864c 100644 --- a/sdk/jamfpro/jamfproapi_file_share_distribution_points.go +++ b/sdk/jamfpro/jamfproapi_file_share_distribution_points.go @@ -1,7 +1,6 @@ package jamfpro import ( - "encoding/json" "fmt" ) @@ -51,7 +50,7 @@ func (c *Client) GetDistributionPoints() (*ResponseDistributionPointList, error) _, err := c.HTTP.DoRequest("GET", endpoint, nil, &distributionPoints) if err != nil { - return nil, fmt.Errorf(errMsgFailedGet, "distribution point", err) + return nil, fmt.Errorf(errMsgFailedGet, "file share distribution point", err) } return &distributionPoints, nil @@ -62,18 +61,9 @@ func (c *Client) CreateDistributionPoint(payload *ResourceFileShareDistributionP endpoint := uriDistributionPoints var createdResponseObject ResponseFileShareDistributionPointCreatedAndUpdated - //TODO: Remove - fmt.Println("DEBUBDEBUGDBEUG") - // Marshal and log the payload - payloadBytes, err := json.MarshalIndent(payload, "", " ") - if err != nil { - return nil, fmt.Errorf("failed to marshal payload: %v", err) - } - fmt.Printf("Distribution Point Payload:\n%s\n", string(payloadBytes)) - resp, err := c.HTTP.DoRequest("POST", endpoint, payload, &createdResponseObject) if err != nil { - return nil, fmt.Errorf(errMsgFailedCreate, "distribution point", err) + return nil, fmt.Errorf(errMsgFailedCreate, "file share distribution point", err) } if resp != nil && resp.Body != nil { @@ -84,26 +74,51 @@ func (c *Client) CreateDistributionPoint(payload *ResourceFileShareDistributionP // return nil, nil } -// func (c *Client) getDistributonPointsByName() { +func (c *Client) GetDistributionPointByID(id string) (*ResourceFileShareDistributionPoint, error) { + var out ResourceFileShareDistributionPoint + endpoint := fmt.Sprintf("%s/%s", uriDistributionPoints, id) -// } + resp, err := c.HTTP.DoRequest("GET", endpoint, nil, &out) -// func (c *Client) CreateDistributionPoint() { + if resp != nil && resp.Body != nil { + defer resp.Body.Close() + } -// } + if err != nil { + fmt.Printf(errMsgFailedGetByID, "file share distribution point", id, err) + return nil, err + } -// func (c *Client) updateDistributionPointByID() { + return &out, nil +} -// } +func (c *Client) UpdateDistributionPointByID(id string, distributionPointUpdate *ResourceFileShareDistributionPoint) (*ResourceFileShareDistributionPoint, error) { + endpoint := fmt.Sprintf("%s/%s", uriDistributionPoints, id) + + var response ResourceFileShareDistributionPoint + resp, err := c.HTTP.DoRequest("PUT", endpoint, distributionPointUpdate, &response) + if err != nil { + return nil, fmt.Errorf(errMsgFailedUpdateByID, "file share distribution point", id, err) + } -// func (c *Client) updateDistributionPointByName() { + if resp != nil && resp.Body != nil { + defer resp.Body.Close() + } -// } + return &response, nil +} -// func (c *Client) deleteDistributionPointByID() { +func (c *Client) DeleteDistributionPointByID(id string) error { + endpoint := fmt.Sprintf("%s/%s", uriDistributionPoints, id) -// } + resp, err := c.HTTP.DoRequest("DELETE", endpoint, nil, nil) + if err != nil { + return fmt.Errorf(errMsgFailedDeleteByID, "file share distribution point", id, err) + } -// func (c *Client) DeleteDistributionPointByName() { + if resp != nil && resp.Body != nil { + defer resp.Body.Close() + } -// } + return nil +} From d1effb26609564547ce588800a66a5da37424af2 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 7 Jul 2025 14:07:51 +0100 Subject: [PATCH 16/20] finalising examples --- .../CreateFileShareDistributionPoint.go | 7 +- .../GetFileShareDistributionPointByID.go | 20 +++-- .../UpdateFileShareDistributionPointByID.go | 85 +++++++++++-------- 3 files changed, 63 insertions(+), 49 deletions(-) diff --git a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go index 43ca4241e..d3ab47514 100644 --- a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go +++ b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go @@ -41,9 +41,9 @@ func main() { HTTPSEnabled: true, HTTPSPort: 443, HTTPSSecurityType: "USERNAME_PASSWORD", - HTTPSContext: "mebo", - HTTPSUsername: "meep", - HTTPSPassword: "mebo", + HTTPSContext: "context", + HTTPSUsername: "username", + HTTPSPassword: "password", ShareName: "sharename", Workgroup: "workgroup", Port: 443, @@ -71,7 +71,6 @@ func createDistributionPointandLog(client *jamfpro.Client, newDistributionPoint log.Fatalf("Error creating distribution point: %v, %v", err, newDistributionPoint) } - // Pretty print the newly created distribution point in XML createdDistributionPointJSON, err := json.MarshalIndent(createdDistributionPoint, "", " ") if err != nil { log.Fatalf("Error marshaling created distribution point data: %v", err) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go index e84edfa0d..aab9498b3 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go @@ -1,16 +1,17 @@ package main import ( - "encoding/xml" + "encoding/json" "fmt" "log" "github.com/deploymenttheory/go-api-sdk-jamfpro/sdk/jamfpro" ) + func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" + configFilePath := "/Users/lloyds/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) @@ -18,19 +19,22 @@ func main() { log.Fatalf("Failed to initialize Jamf Pro client: %v", err) } - // ID of the distribution point to fetch - distributionPointID := "1" // Replace with actual ID + // ID of the distribution point to delete + distributionPointID := "135" // Replace with the actual ID + fmt.Print("\nhello???") // Call GetDistributionPointByID function distributionPoint, err := client.GetDistributionPointByID(distributionPointID) if err != nil { log.Fatalf("Error fetching distribution point: %v", err) } - // Pretty print the distribution point in XML - distributionPointXML, err := xml.MarshalIndent(distributionPoint, "", " ") + // Pretty print the newly created distribution point in XML + distributionPointJSON, err := json.MarshalIndent(distributionPoint, "", " ") if err != nil { - log.Fatalf("Error marshaling distribution point data: %v", err) + log.Fatalf("Error marshaling created distribution point data: %v", err) } - fmt.Println("Fetched Distribution Point:\n", string(distributionPointXML)) + fmt.Println("Created Distribution Point:\n", string(distributionPointJSON)) + + fmt.Println("Distribution Point retrieved successfully") } diff --git a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go index ab793a63b..bf1dc0b3a 100644 --- a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go @@ -1,7 +1,7 @@ package main import ( - "encoding/xml" + "encoding/json" "fmt" "log" @@ -10,54 +10,65 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/dafyddwatkins/localtesting/jamfpro/clientconfig.json" - + configFilePath := "/Users/lloyds/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { log.Fatalf("Failed to initialize Jamf Pro client: %v", err) } - // New distribution point to create - updateDistributionPoint := jamfpro.ResourceFileShareDistributionPoint{ - Name: "Tokyo Share", - IPAddress: "tokyo.company.com", - IsMaster: true, - EnableLoadBalancing: false, - SSHUsername: "casperadmin", - Password: "password", - ConnectionType: "SMB", - ShareName: "Caspershare", - WorkgroupOrDomain: "COMPANY", - SharePort: 139, - ReadOnlyUsername: "casperinstall", - ReadOnlyPassword: "password", - ReadWriteUsername: "casperwrite", - ReadWritePassword: "password", - HTTPDownloadsEnabled: true, - HTTPURL: "http://ny.company.com/CasperShare", - Context: "CasperShare", - Protocol: "http", - Port: 80, - NoAuthenticationRequired: false, - UsernamePasswordRequired: true, - HTTPUsername: "casperinstall", - HTTPPassword: "password", + // Define variables for pointer fields + + // List of distribution points to create + updatedDistributionPoint := jamfpro.ResourceFileShareDistributionPoint{ + + + Name: "example-updated-distribution-pointss", + ServerName: "servername", + Principal: false, + // If EnableLoadBalancing is true, BackupDistributionPointID needs to have the + // valid ID if another distribution point + EnableLoadBalancing: true, + BackupDistributionPointID: "108", + FileSharingConnectionType: "SMB", + HTTPSEnabled: true, + HTTPSPort: 443, + HTTPSSecurityType: "USERNAME_PASSWORD", + HTTPSContext: "context", + HTTPSUsername: "username", + HTTPSPassword: "password", + ShareName: "sharename", + Workgroup: "workgroup", + Port: 443, + ReadWriteUsername: "username", + ReadWritePassword: "password", + ReadOnlyUsername: "username", + ReadOnlyPassword: "password", + SSHUsername: "username", + SSHPassword: "password", + LocalPathToShare: "parf", + } - // ID of the distribution point to update - distributionPointID := "1" // Replace with the actual ID + targetDistributionPoint := "135" + + // Loop through the list and create each distribution point + updateDistributionPointandLog(client, updatedDistributionPoint, targetDistributionPoint) + + +} - // Call UpdateDistributionPointByID function - updatedDistributionPoint, err := client.UpdateDistributionPointByID(distributionPointID, &updateDistributionPoint) +func updateDistributionPointandLog(client *jamfpro.Client, distributionPointUpdateData jamfpro.ResourceFileShareDistributionPoint, id string) { + // Call CreateDistributionPoint function + updatedDistributionPoint, err := client.UpdateDistributionPointByID(id, &distributionPointUpdateData) if err != nil { - log.Fatalf("Error updating distribution point: %v", err) + log.Fatalf("Error creating distribution point: %v, %v", err, distributionPointUpdateData) } - // Pretty print the updated distribution point in XML - updatedDistributionPointXML, err := xml.MarshalIndent(updatedDistributionPoint, "", " ") + // Pretty print the newly created distribution point in XML + updatedDistributionPointJSON, err := json.MarshalIndent(updatedDistributionPoint, "", " ") if err != nil { - log.Fatalf("Error marshaling updated distribution point data: %v", err) + log.Fatalf("Error marshaling created distribution point data: %v", err) } - fmt.Println("Updated Distribution Point:\n", string(updatedDistributionPointXML)) + fmt.Println("Updated Distribution Point:\n", string(updatedDistributionPointJSON)) } From 2a81ebcefe7e3956c318683bc31b606b9e410033 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 7 Jul 2025 14:10:32 +0100 Subject: [PATCH 17/20] examples touched --- .../CreateFileShareDistributionPoint.go | 4 ++-- .../GetFileShareDistributionPointByID.go | 4 +--- .../GetFileShareDistributionPoints.go | 16 +++++++++------- .../UpdateFileShareDistributionPointByID.go | 3 --- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go index d3ab47514..bb0170bcd 100644 --- a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go +++ b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go @@ -22,8 +22,8 @@ func main() { // List of distribution points to create distributionPoints := []jamfpro.ResourceFileShareDistributionPoint{ { - Name: "example-distribution-point-min", - ServerName: "servername", + Name: "example-distribution-point-min", + ServerName: "servername", FileSharingConnectionType: "NONE", HTTPSEnabled: true, HTTPSPort: 443, diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go index aab9498b3..0108d18ac 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go @@ -8,7 +8,6 @@ import ( "github.com/deploymenttheory/go-api-sdk-jamfpro/sdk/jamfpro" ) - func main() { // Define the path to the JSON configuration file configFilePath := "/Users/lloyds/Documents/clientconfig.json" @@ -22,7 +21,6 @@ func main() { // ID of the distribution point to delete distributionPointID := "135" // Replace with the actual ID - fmt.Print("\nhello???") // Call GetDistributionPointByID function distributionPoint, err := client.GetDistributionPointByID(distributionPointID) if err != nil { @@ -34,7 +32,7 @@ func main() { if err != nil { log.Fatalf("Error marshaling created distribution point data: %v", err) } - fmt.Println("Created Distribution Point:\n", string(distributionPointJSON)) + fmt.Println("Retrieved Distribution Point:\n", string(distributionPointJSON)) fmt.Println("Distribution Point retrieved successfully") } diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go index 560d6ca74..d63180435 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go @@ -18,16 +18,18 @@ func main() { log.Fatalf("Failed to initialize Jamf Pro client: %v", err) } - // Call GetDistributionPoints function - distributionPoints, err := client.GetDistributionPoints() + // Call GetDistributionPointByID function + distributionPoint, err := client.GetDistributionPoints() if err != nil { - log.Fatalf("Error fetching distribution points: %v", err) + log.Fatalf("Error fetching distribution point: %v", err) } - // Pretty print the distribution points in XML - distributionPointsXML, err := json.Marshal(distributionPoints) // Indent with 4 spaces + // Pretty print the newly created distribution point in XML + distributionPointJSON, err := json.MarshalIndent(distributionPoint, "", " ") if err != nil { - log.Fatalf("Error marshaling distribution points data: %v", err) + log.Fatalf("Error marshaling created distribution point data: %v", err) } - fmt.Println("Fetched Distribution Points:\n", string(distributionPointsXML)) + fmt.Println("Retrieved Distribution Point:\n", string(distributionPointJSON)) + + fmt.Println("Distribution Point retrieved successfully") } diff --git a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go index bf1dc0b3a..fef753e0e 100644 --- a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go @@ -22,7 +22,6 @@ func main() { // List of distribution points to create updatedDistributionPoint := jamfpro.ResourceFileShareDistributionPoint{ - Name: "example-updated-distribution-pointss", ServerName: "servername", Principal: false, @@ -47,7 +46,6 @@ func main() { SSHUsername: "username", SSHPassword: "password", LocalPathToShare: "parf", - } targetDistributionPoint := "135" @@ -55,7 +53,6 @@ func main() { // Loop through the list and create each distribution point updateDistributionPointandLog(client, updatedDistributionPoint, targetDistributionPoint) - } func updateDistributionPointandLog(client *jamfpro.Client, distributionPointUpdateData jamfpro.ResourceFileShareDistributionPoint, id string) { From 9cc2797d578cb5855c329fd66e8975c8cd4b50f7 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 7 Jul 2025 15:20:35 +0100 Subject: [PATCH 18/20] update docs --- README.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index bf4d375c8..b325cd589 100644 --- a/README.md +++ b/README.md @@ -1133,40 +1133,41 @@ This documentation provides details on the API endpoints available for managing This documentation outlines the operations available for managing Distribution Points within Jamf Pro using the Classic API, which supports XML data structures. + + ## Operations -- [x] ✅ **GET** `/JSSResource/distributionpoints` +- [x] ✅ **GET** `/v1/distribution-points` - `GetDistributionPoints` operation retrieves a serialized list of all distribution points. -- [x] ✅ **GET** `/JSSResource/distributionpoints/id/{id}` +- [x] ✅ **GET** `/v1/distribution-points/{id}` - `GetDistributionPointByID` operation fetches a single distribution point by its ID. -- [x] ✅ **GET** `/JSSResource/distributionpoints/name/{name}` - - `GetDistributionPointByName` operation retrieves a distribution point by its name. + -- [x] ✅ **POST** `/JSSResource/distributionpoints/id/0` - - `CreateDistributionPoint` operation creates a new distribution point with the provided details. The ID `0` in the endpoint indicates creation. +- [x] ✅ **POST** `/v1/distribution-points` + - `CreateDistributionPoint` operation creates a new distribution point with the provided details. -- [x] ✅ **PUT** `/JSSResource/distributionpoints/id/{id}` +- [x] ✅ **PUT** `/v1/distribution-points/{id}` - `UpdateDistributionPointByID` operation updates an existing distribution point by its ID. -- [x] ✅ **PUT** `/JSSResource/distributionpoints/name/{name}` - - `UpdateDistributionPointByName` operation updates an existing distribution point by its name. + -- [x] ✅ **DELETE** `/JSSResource/distributionpoints/id/{id}` +- [x] ✅ **DELETE** `/v1/distribution-points/{id}` - `DeleteDistributionPointByID` operation deletes a distribution point by its ID. -- [x] ✅ **DELETE** `/JSSResource/distributionpoints/name/{name}` - - `DeleteDistributionPointByName` operation deletes a distribution point by its name. + ## Summary - Total Endpoints Covered: 3 - - `/JSSResource/distributionpoints` - - `/JSSResource/distributionpoints/id/{id}` - - `/JSSResource/distributionpoints/name/{name}` + - `/v1/distribution-points + - `/v1/distribution-points/{id}` -- Total Operations Covered: 8 +- Total Operations Covered: 5 ### Jamf Pro Classic API - Directory Bindings From 114db1710de630cb4a5a1e177dcc7cf4be93e8b1 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 7 Jul 2025 15:28:43 +0100 Subject: [PATCH 19/20] update readme --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b325cd589..1fa325ebd 100644 --- a/README.md +++ b/README.md @@ -1129,7 +1129,7 @@ This documentation provides details on the API endpoints available for managing - Total Operations Covered: 8 -### Jamf Pro Classic API - Distribution Points +### Jamf Pro API - Distribution Points This documentation outlines the operations available for managing Distribution Points within Jamf Pro using the Classic API, which supports XML data structures. @@ -1161,10 +1161,22 @@ This documentation outlines the operations available for managing Distribution P +- [] ❌ **POST** `/v1/distribution-points/delete-multiple` + - Currently not implemented + +- [] ❌ **PATCH** `/v1/distribution-points/{id}` + - Currently not implemented + +- [] ❌ **GET** `/v1/distribution-points/{id}/history` + - Currently not implemented + +- [] ❌ **POST** `/v1/distribution-points/{id}/history` + - Currently not implemented + ## Summary - Total Endpoints Covered: 3 - - `/v1/distribution-points + - `/v1/distribution-points` - `/v1/distribution-points/{id}` - Total Operations Covered: 5 From 12ac335f44c5bc115f5eae9d8ac1392edea41bf1 Mon Sep 17 00:00:00 2001 From: Bobby Date: Thu, 10 Jul 2025 10:14:36 +0100 Subject: [PATCH 20/20] We do not speak of this --- .../CreateFileShareDistributionPoint.go | 2 +- .../DeleteFileShareDistributionPointByID.go | 2 +- .../GetFileShareDistributionPointByID.go | 2 +- .../GetFileShareDistributionPoints.go | 2 +- .../UpdateFileShareDistributionPointByID.go | 2 +- .../DOCK.mobileconfig | 4 ++-- .../support_files/accessibility-chara-sub-test.mobileconfig | 2 +- .../Test from iMazing JL Friday 19.mobileconfig | 2 +- examples/support_files/sec-baseline-test.mobileconfig | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go index bb0170bcd..2aca3dee7 100644 --- a/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go +++ b/examples/file_share_distribution_points/CreateFileShareDistributionPoint/CreateFileShareDistributionPoint.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/lloyds/Documents/clientconfig.json" + configFilePath := "/Users/work/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go index a48734994..38d70a766 100644 --- a/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/DeleteFileShareDistributionPointByID/DeleteFileShareDistributionPointByID.go @@ -9,7 +9,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/lloyds/Documents/clientconfig.json" + configFilePath := "/Users/work/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go index 0108d18ac..db306301c 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPointByID/GetFileShareDistributionPointByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/lloyds/Documents/clientconfig.json" + configFilePath := "/Users/work/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go index d63180435..00ccfe732 100644 --- a/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go +++ b/examples/file_share_distribution_points/GetFileShareDistributionPoints/GetFileShareDistributionPoints.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/lloyds/Documents/clientconfig.json" + configFilePath := "/Users/work/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) diff --git a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go index fef753e0e..0cac53f41 100644 --- a/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go +++ b/examples/file_share_distribution_points/UpdateFileShareDistributionPointByID/UpdateFileShareDistributionPointByID.go @@ -10,7 +10,7 @@ import ( func main() { // Define the path to the JSON configuration file - configFilePath := "/Users/lloyds/Documents/clientconfig.json" + configFilePath := "/Users/work/Documents/clientconfig.json" // Initialize the Jamf Pro client with the HTTP client configuration client, err := jamfpro.BuildClientWithConfigFile(configFilePath) if err != nil { diff --git a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/DOCK.mobileconfig b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/DOCK.mobileconfig index ac01b92bb..d045745ef 100644 --- a/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/DOCK.mobileconfig +++ b/examples/macos_configuration_profiles/UpdateMacOSConfigurationProfileByIDWithFileUpload/DOCK.mobileconfig @@ -14,7 +14,7 @@ PayloadIdentifier 6756212F-E97A-4EEF-91C1-F8C5CD3A11F9 PayloadOrganization - Lloyds Bank + DeploymentTheory PayloadType com.apple.dock PayloadUUID @@ -76,7 +76,7 @@ PayloadIdentifier 2359960C-3E2F-4159-B3D2-90D7804AEFF2 PayloadOrganization - Lloyds Bank + DeploymentTheory PayloadRemovalDisallowed PayloadScope diff --git a/examples/support_files/accessibility-chara-sub-test.mobileconfig b/examples/support_files/accessibility-chara-sub-test.mobileconfig index 31b274a1d..ed47e053f 100644 --- a/examples/support_files/accessibility-chara-sub-test.mobileconfig +++ b/examples/support_files/accessibility-chara-sub-test.mobileconfig @@ -1 +1 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1"><dict><key>PayloadUUID</key><string>5D73158F-BAD0-4D93-9D32-DC4837D6A6AC</string><key>PayloadType</key><string>Configuration</string><key>PayloadOrganization</key><string>Lloyds Bank</string><key>PayloadIdentifier</key><string>5D73158F-BAD0-4D93-9D32-DC4837D6A6AC</string><key>PayloadDisplayName</key><string>accessibility</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>PayloadRemovalDisallowed</key><true/><key>PayloadScope</key><string>System</string><key>PayloadContent</key><array><dict><key>PayloadUUID</key><string>955481F6-5C70-40F7-A96B-78AF47E9C3AA</string><key>PayloadType</key><string>com.apple.universalaccess</string><key>PayloadOrganization</key><string>Lloyds Bank</string><key>PayloadIdentifier</key><string>955481F6-5C70-40F7-A96B-78AF47E9C3AA</string><key>PayloadDisplayName</key><string>Accessibility</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>closeViewScrollWheelToggle</key><true/><key>closeViewHotkeysEnabled</key><true/><key>closeViewNearPoint</key><integer>10</integer><key>closeViewFarPoint</key><integer>1</integer><key>closeViewShowPreview</key><true/><key>closeViewSmoothImages</key><true/><key>whiteOnBlack</key><true/><key>grayscale</key><true/><key>contrast</key><integer>0</integer><key>mouseDriverCursorSize</key><integer>1</integer><key>voiceOverOnOffKey</key><true/><key>flashScreen</key><true/><key>stereoAsMono</key><true/><key>stickyKey</key><true/><key>stickyKeyBeepOnModifier</key><true/><key>stickyKeyShowWindow</key><true/><key>slowKey</key><true/><key>slowKeyBeepOn</key><true/><key>slowKeyDelay</key><integer>0</integer><key>mouseDriver</key><true/><key>mouseDriverInitialDelay</key><real>1.0</real><key>mouseDriverMaxSpeed</key><integer>3</integer><key>mouseDriverIgnoreTrackpad</key><false/></dict></array></dict></plist> \ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1"><dict><key>PayloadUUID</key><string>5D73158F-BAD0-4D93-9D32-DC4837D6A6AC</string><key>PayloadType</key><string>Configuration</string><key>PayloadOrganization</key><string>DeploymentTheory</string><key>PayloadIdentifier</key><string>5D73158F-BAD0-4D93-9D32-DC4837D6A6AC</string><key>PayloadDisplayName</key><string>accessibility</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>PayloadRemovalDisallowed</key><true/><key>PayloadScope</key><string>System</string><key>PayloadContent</key><array><dict><key>PayloadUUID</key><string>955481F6-5C70-40F7-A96B-78AF47E9C3AA</string><key>PayloadType</key><string>com.apple.universalaccess</string><key>PayloadOrganization</key><string>DeploymentTheory</string><key>PayloadIdentifier</key><string>955481F6-5C70-40F7-A96B-78AF47E9C3AA</string><key>PayloadDisplayName</key><string>Accessibility</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>closeViewScrollWheelToggle</key><true/><key>closeViewHotkeysEnabled</key><true/><key>closeViewNearPoint</key><integer>10</integer><key>closeViewFarPoint</key><integer>1</integer><key>closeViewShowPreview</key><true/><key>closeViewSmoothImages</key><true/><key>whiteOnBlack</key><true/><key>grayscale</key><true/><key>contrast</key><integer>0</integer><key>mouseDriverCursorSize</key><integer>1</integer><key>voiceOverOnOffKey</key><true/><key>flashScreen</key><true/><key>stereoAsMono</key><true/><key>stickyKey</key><true/><key>stickyKeyBeepOnModifier</key><true/><key>stickyKeyShowWindow</key><true/><key>slowKey</key><true/><key>slowKeyBeepOn</key><true/><key>slowKeyDelay</key><integer>0</integer><key>mouseDriver</key><true/><key>mouseDriverInitialDelay</key><real>1.0</real><key>mouseDriverMaxSpeed</key><integer>3</integer><key>mouseDriverIgnoreTrackpad</key><false/></dict></array></dict></plist> \ No newline at end of file diff --git a/examples/support_files/configprofile_export/Test from iMazing JL Friday 19.mobileconfig b/examples/support_files/configprofile_export/Test from iMazing JL Friday 19.mobileconfig index c384299b3..a19d4a72d 100644 --- a/examples/support_files/configprofile_export/Test from iMazing JL Friday 19.mobileconfig +++ b/examples/support_files/configprofile_export/Test from iMazing JL Friday 19.mobileconfig @@ -1 +1 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1"><dict><key>PayloadUUID</key><string>04fdf599-0c06-4564-a996-5954c30c0491</string><key>PayloadType</key><string>Configuration</string><key>PayloadOrganization</key><string>Lloyds Bank</string><key>PayloadIdentifier</key><string>04fdf599-0c06-4564-a996-5954c30c0491</string><key>PayloadDisplayName</key><string>Test from iMazing JL Friday 19</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>PayloadRemovalDisallowed</key><true/><key>PayloadScope</key><string>System</string><key>PayloadContent</key><array><dict><key>PayloadUUID</key><string>2F65D244-8BFC-46CE-8FC3-8222EE47F57D</string><key>PayloadType</key><string>com.apple.shareddeviceconfiguration</string><key>PayloadOrganization</key><string>Lloyds Bank</string><key>PayloadIdentifier</key><string>com.apple.shareddeviceconfiguration.2F65D244-8BFC-46CE-8FC3-8222EE47F57D</string><key>PayloadDisplayName</key><string>Lock Screen Message</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>LockScreenFootnote</key><string>Look up</string><key>IfLostReturnToMessage</key><string>If lost make this script work before returning</string></dict></array></dict></plist> \ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1"><dict><key>PayloadUUID</key><string>04fdf599-0c06-4564-a996-5954c30c0491</string><key>PayloadType</key><string>Configuration</string><key>PayloadOrganization</key><string>DeploymentTheory</string><key>PayloadIdentifier</key><string>04fdf599-0c06-4564-a996-5954c30c0491</string><key>PayloadDisplayName</key><string>Test from iMazing JL Friday 19</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>PayloadRemovalDisallowed</key><true/><key>PayloadScope</key><string>System</string><key>PayloadContent</key><array><dict><key>PayloadUUID</key><string>2F65D244-8BFC-46CE-8FC3-8222EE47F57D</string><key>PayloadType</key><string>com.apple.shareddeviceconfiguration</string><key>PayloadOrganization</key><string>DeploymentTheory</string><key>PayloadIdentifier</key><string>com.apple.shareddeviceconfiguration.2F65D244-8BFC-46CE-8FC3-8222EE47F57D</string><key>PayloadDisplayName</key><string>Lock Screen Message</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>LockScreenFootnote</key><string>Look up</string><key>IfLostReturnToMessage</key><string>If lost make this script work before returning</string></dict></array></dict></plist> \ No newline at end of file diff --git a/examples/support_files/sec-baseline-test.mobileconfig b/examples/support_files/sec-baseline-test.mobileconfig index da3c9473f..3d17f0207 100644 --- a/examples/support_files/sec-baseline-test.mobileconfig +++ b/examples/support_files/sec-baseline-test.mobileconfig @@ -1 +1 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1"><dict><key>PayloadUUID</key><string>76e6fef7-dd98-491e-9cb8-30e2b8bbec6c</string><key>PayloadType</key><string>Configuration</string><key>PayloadOrganization</key><string>macOS Security Compliance Project</string><key>PayloadIdentifier</key><string>76e6fef7-dd98-491e-9cb8-30e2b8bbec6c</string><key>PayloadDisplayName</key><string>WiFi Test</string><key>PayloadDescription</key><string>Created: 2023-11-16Configuration settings for the com.apple.loginwindow preference domain.</string><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>ConsentText</key><dict><key>default</key><string>THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER.</string></dict><key>PayloadRemovalDisallowed</key><true/><key>PayloadScope</key><string>System</string><key>PayloadContent</key><array><dict><key>PayloadUUID</key><string>681643d5-68a3-4e14-9978-155e1ecf8c0c</string><key>PayloadType</key><string>com.apple.loginwindow</string><key>PayloadOrganization</key><string>Lloyds Bank</string><key>PayloadIdentifier</key><string>alacarte.macOS.cis_lvl1.681643d5-68a3-4e14-9978-155e1ecf8c0c</string><key>PayloadDisplayName</key><string>Login Window</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>LoginwindowText</key><string>Center for Internet Security Test Message</string><key>SHOWFULLNAME</key><true/><key>HideLocalUsers</key><false/><key>HideMobileAccounts</key><false/><key>IncludeNetworkUser</key><false/><key>HideAdminUsers</key><false/><key>SHOWOTHERUSERS_MANAGED</key><true/><key>ShutDownDisabled</key><true/><key>UseComputerNameForComputerRecordName</key><false/><key>EnableExternalAccounts</key><true/><key>DisableConsoleAccess</key><false/><key>com.apple.login.mcx.DisableAutoLoginClient</key><true/><key>AdminMayDisableMCX</key><false/><key>LocalUserLoginEnabled</key><true/><key>LocalUsersHaveWorkgroups</key><false/><key>FlattenUserWorkgroups</key><false/><key>CombineUserWorkgroups</key><true/><key>AlwaysShowWorkgroupDialog</key><false/><key>RetriesUntilHint</key><integer>0</integer><key>AllowList</key><array/><key>DenyList</key><array/></dict></array></dict></plist> \ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1"><dict><key>PayloadUUID</key><string>76e6fef7-dd98-491e-9cb8-30e2b8bbec6c</string><key>PayloadType</key><string>Configuration</string><key>PayloadOrganization</key><string>macOS Security Compliance Project</string><key>PayloadIdentifier</key><string>76e6fef7-dd98-491e-9cb8-30e2b8bbec6c</string><key>PayloadDisplayName</key><string>WiFi Test</string><key>PayloadDescription</key><string>Created: 2023-11-16Configuration settings for the com.apple.loginwindow preference domain.</string><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>ConsentText</key><dict><key>default</key><string>THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER.</string></dict><key>PayloadRemovalDisallowed</key><true/><key>PayloadScope</key><string>System</string><key>PayloadContent</key><array><dict><key>PayloadUUID</key><string>681643d5-68a3-4e14-9978-155e1ecf8c0c</string><key>PayloadType</key><string>com.apple.loginwindow</string><key>PayloadOrganization</key><string>DeploymentTheory</string><key>PayloadIdentifier</key><string>alacarte.macOS.cis_lvl1.681643d5-68a3-4e14-9978-155e1ecf8c0c</string><key>PayloadDisplayName</key><string>Login Window</string><key>PayloadDescription</key><string/><key>PayloadVersion</key><integer>1</integer><key>PayloadEnabled</key><true/><key>LoginwindowText</key><string>Center for Internet Security Test Message</string><key>SHOWFULLNAME</key><true/><key>HideLocalUsers</key><false/><key>HideMobileAccounts</key><false/><key>IncludeNetworkUser</key><false/><key>HideAdminUsers</key><false/><key>SHOWOTHERUSERS_MANAGED</key><true/><key>ShutDownDisabled</key><true/><key>UseComputerNameForComputerRecordName</key><false/><key>EnableExternalAccounts</key><true/><key>DisableConsoleAccess</key><false/><key>com.apple.login.mcx.DisableAutoLoginClient</key><true/><key>AdminMayDisableMCX</key><false/><key>LocalUserLoginEnabled</key><true/><key>LocalUsersHaveWorkgroups</key><false/><key>FlattenUserWorkgroups</key><false/><key>CombineUserWorkgroups</key><true/><key>AlwaysShowWorkgroupDialog</key><false/><key>RetriesUntilHint</key><integer>0</integer><key>AllowList</key><array/><key>DenyList</key><array/></dict></array></dict></plist> \ No newline at end of file